PDA

View Full Version : edit post/thread restricted after "x" hours/days of creating thread/post


vitrag24
02-28-2011, 08:40 AM
edit post/thread restricted after "x" hours/days of creating thread/post

Certain usergroups/users shd be excluded from this rule..

any settings in vb 4.2.1 for this?

or any mod?

thx..

Lynne
02-28-2011, 02:37 PM
Probably just a simple plugin using global_bootstrap_complete:

if (is_member_of($vbulletin->userinfo, x,y,z)) $vbulletin->options['edittimelimit'] = yyy;

vitrag24
02-28-2011, 05:00 PM
Probably just a simple plugin using global_bootstrap_complete:

if (is_member_of($vbulletin->userinfo, x,y,z)) $vbulletin->options['edittimelimit'] = yyy;

Thx but I dont understand how to use/do it.

Can u explain excatly?

Lynne
02-28-2011, 09:27 PM
Here's a link to the section in the manual - Plugin System (http://www.vbulletin.com/docs/html/plugin_system)

vitrag24
03-26-2011, 05:22 AM
can u mention code with step by step?
thx..

borbole
03-26-2011, 02:30 PM
can u mention code with step by step?
thx..

Go to the Plugins & Products area at your Acp->Add New Plugin and for the Hook Location choose the one posted by Lynne above and add the php code at Plugin PHP Code. Then set a title and set Plugin is Active to yes.