The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Add button to quick reply?

View previous topic View next topic Go down

Solved Add button to quick reply?

Post by Mr. Eddster on March 8th 2012, 10:26 pm

Hi I was wondering if it was possible to add the button to the quick reply?

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 on March 9th 2012, 1:00 am

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

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 on March 9th 2012, 3:34 am

@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
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 on March 9th 2012, 8:54 pm

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 button in my Quick Reply box!

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 on March 10th 2012, 10:18 pm

bump!

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 on March 11th 2012, 11:14 pm

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

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 on March 12th 2012, 10:45 pm

bump...

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 on March 13th 2012, 12:50 am

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
Helper
Helper

Male Posts : 11853
Reputation : 563
Language : English

Back to top Go down

Solved Re: Add button to quick reply?

Post by kirk on March 13th 2012, 10:29 pm

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
Forumaster

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

Back to top Go down

Solved Re: Add button to quick reply?

Post by Mr. Eddster on March 13th 2012, 10:47 pm

@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
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 on March 13th 2012, 10:57 pm

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
Forumaster

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

Back to top Go down

Solved Re: Add button to quick reply?

Post by Mr. Eddster on March 13th 2012, 11:02 pm

@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
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 on March 15th 2012, 1:50 am

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

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 on March 15th 2012, 3:02 pm

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

Darren1
Helper
Helper

Male Posts : 11853
Reputation : 563
Language : English

Back to top Go down

Solved Re: Add button to quick reply?

Post by Mr. Eddster on March 15th 2012, 9:11 pm

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
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 on March 15th 2012, 9:14 pm

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
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 on March 15th 2012, 9:16 pm

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

Check PM in a few. Smile

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 on March 15th 2012, 9:26 pm

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
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 on March 15th 2012, 9:30 pm

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
Forumember

Male Posts : 382
Reputation : 7
Language : English

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

Back to top Go down

View previous topic View next topic Back to top


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