PDA

View Full Version : need a plugin and couldnt find it


oddball91
03-12-2011, 08:34 PM
I think this is the right place to post it.

I need a plugin for my forum, I couldn't find it and really don't know enough about programming to do it on my own. Here is what I would need it to do, so any help would be great, I think its pretty easy to do from what I was told.

On my forum, i want it so unpaid members have to wait 30 sec between posts and searches. If the user buys a paid membership, they would no longer have to wait the 30sec to post or do searches.

i talked to someone with a forum that does it, he couldnt give me the code but this is what he told me. He said he hooked in to the style_fetch hook, and checks if a user is a member of the paid usergroup. If they are, he override the vbulletin options to set their floodchecktime to 0.

oddball91
03-14-2011, 11:02 PM
Anyone?

oddball91
03-17-2011, 04:53 AM
no one?

Lynne
03-17-2011, 07:38 PM
How about something like ...
if (is_member_of ($vbulletin->userinfo, x)) $vbulletin->options['searchfloodtime'] = yy;Not tested, so test on your test site.

oddball91
03-18-2011, 08:38 PM
thank you , ill try that