The vB Geek

The vB Geek (http://www.thevbgeek.com/index.php)
-   Geek Article and Review System (http://www.thevbgeek.com/forumdisplay.php?f=26)
-   -   Disable quote in quick reply (http://www.thevbgeek.com/showthread.php?t=1399)

ccplim 04-28-2006 10:09 AM

Disable quote in quick reply
 
I want to enable the quick reply so that my members can just click on the quick reply button at the end of the article and post a comment.

However, I also noticed that by doing this, the cursor will actually jump to the quick reply box below with an option of whether to "quote message in quick reply" or not.

Is there a way where we can disable the option to quote message in quick reply? I do not want any member to quote the original article and end up with an ultra long commet.

Any help on this will be greatly appreciated.

Thanks!

The Geek 04-28-2006 07:46 PM

hmmm. You can create a copy of your showthread template... call it GARS_showthread
Then adjust the QR how you see fit. Then edit your admincp->gars->templates->default showthread page to use GARS_showthread

Hope that makes sense ;)

ccplim 04-30-2006 05:23 PM

Thanks The Geek! Will try that out :)

ccplim 05-09-2006 07:45 AM

I tried on your solution and was able to disable the checkbox for the quick reply quote when I open up individual article.

However, when I click on the quick reply button at the end of the article, the checkbox became enable again :confused:

If I am not mistaken, the following quote below that I ave extracted from GARB_pb actually 'control' the action of the button? If that is the case, is there anything that I need to add/delete to the below quote to disable the checkbox? (I am suspecting that it might be something to do with id="qr_$post[postid]" but I just couldn't figure out how to go about doing it due to my limited knowledge :o

PHP Code:

<if condition="$show['quickreply'] AND !$show['threadedmode']">
                <
a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
            </if> 

Also, I tried changing the "quick_reply_to_this_message" to some other messages but nothing show up when I point my cursor to the icon (ps. I have already reloaded the template).

The Geek 05-09-2006 01:56 PM

I think you would remove that code AND the quick reply code from the showthread template.
Ill see if I can put an override ability in 2.0 so you wont have to do template tweaks.

ccplim 05-10-2006 06:20 AM

Thanks! Looks like that is the only thing I can do at the moment :)


All times are GMT. The time now is 08:18 AM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.