PDA

View Full Version : Quick Reply Off In One Forum


Daisyboo
12-31-2008, 05:56 PM
I have Zoints anon mod on my forum but it doesn't work when posters use the quick reply, so I want to be able to 'turn off' the quick reply in that forum only.
Can anyone help me work this out or know what I need to do?

Thank you!

Lynne
12-31-2008, 06:04 PM
Try this:

hook location "fetch_foruminfo"

if ($forumid == 'xx')
{
$vbulletin->options['quickreply'] = '0';
}

Daisyboo
12-31-2008, 06:10 PM
Thanks Lynn, could you explain how I find that, I don't think I've had any experience with hook locations. I can do edits ok, I'm just not sure how to locate that.
Thank you!

Lynne
12-31-2008, 06:15 PM
You create a plugin and where it says Hook Location, you select the hook location I stated. Put the code in the Plugin PHP Code area, and set the plugin to Active and Save.

Daisyboo
12-31-2008, 06:24 PM
Brilliant it worked perfectly!! Thank you so much!

Where it says Execution Order Use this field to enter the order in which code at the same hook will be executed. = 5

This was set at 5 and I didn't change it - is that right?

Lynne
12-31-2008, 07:06 PM
That's fine. I've rarely found I have to change that.

Dismounted
01-01-2009, 03:50 AM
The execution order is usually only changed when there are incompatibilities between modifications.

Daisyboo
01-02-2009, 08:14 AM
Thanks !