The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Add button to quick reply?

4 posters

Go down

Solved Add button to quick reply?

Post by Mr. Eddster March 8th 2012, 23:26

Hi I was wondering if it was possible to add the Add button to quick reply? Page_white_flash button to the quick reply?
Mr. Eddster
Mr. Eddster
Forumember

Male Posts : 382
Reputation : 7
Language : English

http://sports-forumbuzz.canadian-forum.com/

Back to top Go down

Solved Re: Add button to quick reply?

Post by Tennisdude March 9th 2012, 02:00

I believe the quick reply cannot be modified. I haven't been able to modify it.
avatar
Tennisdude
Forumember

Male Posts : 66
Reputation : 1
Language : English

http://Universalmln.forumotion.com

Back to top Go down

Solved Re: Add button to quick reply?

Post by Mr. Eddster March 9th 2012, 04:34

Tennisdude wrote:I believe the quick reply cannot be modified. I haven't been able to modify it.

Maybe theres a way to edit a template? *shrug*
Mr. Eddster
Mr. Eddster
Forumember

Male Posts : 382
Reputation : 7
Language : English

http://sports-forumbuzz.canadian-forum.com/

Back to top Go down

Solved Re: Add button to quick reply?

Post by Mr. Eddster March 9th 2012, 21:54

Rideem3 wrote:Hi, there's a tutorial here:
[url=http://malware-site.www/showthread.php?tid=47
http://malware-site.www/showthread.php?tid=47[/quote[/url]]

Ya this didnt work. :/

All I want to do is put the Add button to quick reply? Page_white_flash button in my Quick Reply box!
Mr. Eddster
Mr. Eddster
Forumember

Male Posts : 382
Reputation : 7
Language : English

http://sports-forumbuzz.canadian-forum.com/

Back to top Go down

Solved Re: Add button to quick reply?

Post by Mr. Eddster March 10th 2012, 23:18

bump!
Mr. Eddster
Mr. Eddster
Forumember

Male Posts : 382
Reputation : 7
Language : English

http://sports-forumbuzz.canadian-forum.com/

Back to top Go down

Solved Re: Add button to quick reply?

Post by Mr. Eddster March 12th 2012, 00:14

bump! Is it possible that I could add the flash button to the quick reply???
Mr. Eddster
Mr. Eddster
Forumember

Male Posts : 382
Reputation : 7
Language : English

http://sports-forumbuzz.canadian-forum.com/

Back to top Go down

Solved Re: Add button to quick reply?

Post by Mr. Eddster March 12th 2012, 23:45

bump...
Mr. Eddster
Mr. Eddster
Forumember

Male Posts : 382
Reputation : 7
Language : English

http://sports-forumbuzz.canadian-forum.com/

Back to top Go down

Solved Re: Add button to quick reply?

Post by Darren1 March 13th 2012, 01:50

Hi,

Try this URL: http://www.malware-site.www/forum/viewtopic.php?f=9&t=47
I havent tried the tutorial, but I assure you, it will work, going of the Auther's name Wink

And yes, I have also added new codes to the Quick reply myself, just been awile and forgot how I did it lol.
Darren1
Darren1
Helper
Helper

Male Posts : 11853
Reputation : 566
Language : English

Back to top Go down

Solved Re: Add button to quick reply?

Post by kirk March 13th 2012, 23:29

just add the flash tags or your members will have to do a full reply with the main editor,

There is no longer anywhere in the viewtopic_body template to modify quick reply,

So all i can think of is putting the whole subject box in replace of the {Quick Reply} tag

But as you see there is nowhere to modify it in the viewtopic_body body template.

Code:
<!-- BEGIN switch_user_logged_in -->
<a name="quickreply"></a>
{QUICK_REPLY_FORM}
<!-- END switch_user_logged_in -->

If the quick reply was set up like the main edit box is in the posting_body template, then all you would have to do is add this option.

Code:
<div style="visibility:hidden" class="select" id="flash">
            <p><img src="{PATH_IMG_FA}wysiwyg/width.png" alt="{L_WIDTH}" title="{L_WIDTH}" style="vertical-align:middle" /> <input type="text" autocomplete="off" class="inputbox" style="width:25px" id="flash_width" title="{L_WIDTH}" onkeypress="if (event.keyCode==13){constructBBcode('flash',new Array('flash_width','flash_height'),'flash_url');selectWysiwyg(this,'flash');return false}" />
              x <img src="{PATH_IMG_FA}wysiwyg/height.png" alt="{L_HEIGHT}" title="{L_HEIGHT}" style="vertical-align:middle" /> <input type="text" autocomplete="off" class="inputbox" style="width:25px" id="flash_height" title="{L_HEIGHT}" onkeypress="if (event.keyCode==13){constructBBcode('flash',new Array('flash_width','flash_height'),'flash_url');selectWysiwyg(this,'flash');return false}" />  px</p>
            <p><img src="{PATH_IMG_FA}wysiwyg/link.png" alt="{L_URL}" title="{L_URL}" style="vertical-align:middle" /> <input type="text" autocomplete="off" class="inputbox" style="width:150px" id="flash_url" title="{L_URL}" onkeypress="if (event.keyCode==13){constructBBcode('flash',new Array('flash_width','flash_height'),'flash_url');selectWysiwyg(this,'flash');return false}" /></p>
            <p style="text-align:center"><input type="button" class="button2" onclick="constructBBcode('flash',new Array('flash_width','flash_height'),'flash_url');selectWysiwyg(this,'flash')" value="{L_OK}" /></p>
         </div>

But there is no where to add it, Unless it is in a different template, So yeah i am stumped on how to add it now, At time time things like this was very easy to add,But a lot has changed with the last few updates so a lot of things are different now for certain things,
However you can try asking Rideem3, he may have a easy solution's that i am over looking?

Or who knows these days seems like Jquery is the answer for everything?
kirk
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Solved Re: Add button to quick reply?

Post by Mr. Eddster March 13th 2012, 23:47

kirk wrote:just add the flash tags or your members will have to do a full reply with the main editor,

There is no longer anywhere in the viewtopic_body template to modify quick reply,

So all i can think of is putting the whole subject box in replace of the {Quick Reply} tag

But as you see there is nowhere to modify it in the viewtopic_body body template.

Code:


{QUICK_REPLY_FORM}

If the quick reply was set up like the main edit box is in the posting_body template, then all you would have to do is add this option.

Code:


[img]{PATH_IMG_FA}wysiwyg/width.png[/img]
x [img]{PATH_IMG_FA}wysiwyg/height.png[/img] px

[img]{PATH_IMG_FA}wysiwyg/link.png[/img]





But there is no where to add it, Unless it is in a different template, So yeah i am stumped on how to add it now, At time time things like this was very easy to add,But a lot has changed with the last few updates so a lot of things are different now for certain things,
However you can try asking Rideem3, he may have a easy solution's that i am over looking?

Or who knows these days seems like Jquery is the answer for everything?

Ok. Quick question: on that 1st code you gave me, I see that in the "viewtopic_body" section. So I have to leave it that way? And I add that 2nd code to the "posting_body" template, correct?

Edit: I put that 2nd code into the "posting_body" template and nothing happened.
Mr. Eddster
Mr. Eddster
Forumember

Male Posts : 382
Reputation : 7
Language : English

http://sports-forumbuzz.canadian-forum.com/

Back to top Go down

Solved Re: Add button to quick reply?

Post by kirk March 13th 2012, 23:57

no actually i was explaining there is no where to add the second code to the viewtopic_bodytemplate.. I was saying if the quick reply was set up more like the main editor in the posting_body template, then it would be very simple to add, But the quick reply is no longer set up to alter things there in the template like it used to be a few years ago.. I know i have added my own things in there before as well,

Also keep in mind i was trying to figure out doing it through template.
Rideem3 method is through java/jquery. so he may be able to write something that will add the flash like you are asking,

And i will check on my phpbb2 forum, if the template is set different and i do have the option to modify quick reply this way on phpbb2, then i can just give you that code and it will work fine.

That is only if phpbb2 version has the options to do so or not, I actually think all this changed a few updates ago Sad
kirk
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Solved Re: Add button to quick reply?

Post by Mr. Eddster March 14th 2012, 00:02

kirk wrote:no actually i was explaining there is no where to add the second code to the viewtopic_bodytemplate.. I was saying if the quick reply was set up more like the main editor in the posting_body template, then it would be very simple to add, But the quick reply is no longer set up to alter things there in the template like it used to be a few years ago.. I know i have added my own things in there before as well,

Also keep in mind i was trying to figure out doing it through template.
Rideem3 method is through java/jquery. so he may be able to write something that will add the flash like you are asking,

And i will check on my phpbb2 forum, if the template is set different and i do have the option to modify quick reply this way on phpbb2, then i can just give you that code and it will work fine.

That is only if phpbb2 version has the options to do so or not, I actually think all this changed a few updates ago Sad

Ahh thats ok. Im a punbb forum. Smile

So theres no possible way to add the flash button to the quick reply?
Mr. Eddster
Mr. Eddster
Forumember

Male Posts : 382
Reputation : 7
Language : English

http://sports-forumbuzz.canadian-forum.com/

Back to top Go down

Solved Re: Add button to quick reply?

Post by Mr. Eddster March 15th 2012, 02:50

So there is no possible way to add the flash button to the quick reply box? Smile
Mr. Eddster
Mr. Eddster
Forumember

Male Posts : 382
Reputation : 7
Language : English

http://sports-forumbuzz.canadian-forum.com/

Back to top Go down

Solved Re: Add button to quick reply?

Post by Darren1 March 15th 2012, 16:02

Have you viewed my link above?
It explains how to do it Very Happy
Darren1
Darren1
Helper
Helper

Male Posts : 11853
Reputation : 566
Language : English

Back to top Go down

Solved Re: Add button to quick reply?

Post by Mr. Eddster March 15th 2012, 22:11

Rideem3 wrote:Hi, go to Admin Panel -> Modules -> JavaScript Codes Management -> Make sure it's on -> Create new -> Title it flash -> Select in the topics -> Paste:
Copy the code from here: http://pastebin.com/tXiZhdfh

Hit save.

I can't paste the code here because certain things will get parsed. Wink
It didnt show up! Confused Is there any settings that need to be on/off for this to work? I made sure javascript is on! And I copied it exactly like it showed.
Mr. Eddster
Mr. Eddster
Forumember

Male Posts : 382
Reputation : 7
Language : English

http://sports-forumbuzz.canadian-forum.com/

Back to top Go down

Solved Re: Add button to quick reply?

Post by Mr. Eddster March 15th 2012, 22:14

Rideem3 wrote:It works as I've tested it. Wink

Forum URL?


Woah something weird really happened. I put in that code, and ALL of my buttons (bold, underline, strikethrough, list, EVERYTHING) disappeared in the quoting system! SO I deleted the javascript!Shocked

But here's the url:

http://hankthetank.canadian-forum.com/
Mr. Eddster
Mr. Eddster
Forumember

Male Posts : 382
Reputation : 7
Language : English

http://sports-forumbuzz.canadian-forum.com/

Back to top Go down

Solved Re: Add button to quick reply?

Post by Mr. Eddster March 15th 2012, 22:16

Rideem3 wrote:Could you please provide me a test admin account? Thanks. Wink

Check PM in a few. Smile
Mr. Eddster
Mr. Eddster
Forumember

Male Posts : 382
Reputation : 7
Language : English

http://sports-forumbuzz.canadian-forum.com/

Back to top Go down

Solved Re: Add button to quick reply?

Post by Mr. Eddster March 15th 2012, 22:26

Rideem3 wrote:I have successfully accessed the forum, and have successfully installed the button. The code was fine. Wink

Haha I dont mean to sound like an idiot, but the button still isnt there for me! Shit
Mr. Eddster
Mr. Eddster
Forumember

Male Posts : 382
Reputation : 7
Language : English

http://sports-forumbuzz.canadian-forum.com/

Back to top Go down

Solved Re: Add button to quick reply?

Post by Mr. Eddster March 15th 2012, 22:30

Rideem3 wrote:Press CTRL + F5 for a hard refresh Wink

Also, I noticed your using internet explorer. Internet explorer handles JavaScript in a different way from the most updated and popular browsers such as Firefox & Google chrome. I recommend you update your browser to either firefox or google chrome Wink
Ahhh yes it works on chrome but not explorer! I guess this is solved! Thank you very much!Very Happy
Mr. Eddster
Mr. Eddster
Forumember

Male Posts : 382
Reputation : 7
Language : English

http://sports-forumbuzz.canadian-forum.com/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum