Disable Post Report Link for a forum
If you want to NOT show the Post Report Link in one forum, forumid 'x', then you can write a simple plugin (change 'x' to be the forumid):
hook_location: postbit_display_complete PHP Code:
hook_location: report_start PHP Code:
|
nice tips
thanks a lot |
And...
Disable Post Report Link for a user, based on ['userid']... How to be? Thanks |
Quote:
|
Thanks Lynne
Works fine!! |
This works great and thanks for the tip. I have one user who seems to want to use the 'report a post' to just to irk our mods. What I'd like to do is this:
if this person tries to report a post, I simply want it to go right back to the forum home page - 'not 'print no permission' message. Do you have any suggestions. Thanks Rich |
You could just use a standard redirect (report_start hook location):
PHP Code:
|
I put this in the report.php at this location
Code:
($hook = vBulletinHook::fetch_hook('report_start')) ? eval($hook) : false; Am I putting it in the correct location? Thanks for your help --------------- Added [DATE]1254362474[/DATE] at [TIME]1254362474[/TIME] --------------- disregard - I figured it out.. thanks for your help! |
it works great
thank u |
Sorry to lift it up... how to make it for several forums (for 4.2)?
PHP Code:
PHP Code:
|
All times are GMT. The time now is 12:33 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|