phill2003
11-19-2006, 10:00 PM
This will put 2 more links into the quick moderation block on the front page of vBadvanced cmps these are to allow you to see on the front page if you have any comments or images that need moderating how many there are and it links to the moderation que.
See attached image
***************Installation Instructions*************************
1. First open imagecomms_moderation.php and set up all the variables inside.
2. upload it to your photopost folder on your server
3. in your vbulletin admin cp go to plugins and products--add new plugin
Once there choose.
product-- vbulletin
hook location-- global_start
title image_coms_block
execution order 5
(change the path to your own path)
plugin php code--- include('/home/path/to/your/gallery/imagecomms_moderation.php');
save.
go to style & tamplates - style manager
in the right window expand the templates for the style you are using.
open the adv_portal_moderation template and find
<div><phrase 1="$events[count]" 2="$modcpdir/moderate.php?do=events">$vbphrase[x_events]</phrase></div>
</if>
Underneath that add
<if condition="is_member_of ($bbuserinfo, 6)">
<div>$imagevariable</div>
</if>
<if condition="is_member_of ($bbuserinfo, 6)">
<div>$commsvariable</div></if>
*if you want your moderators/supermoderators to see it as well add the usergroup ids to the conditional
click save and it should be installed, go look in the moderation block on the front page and it should (fingers crossed) be there.
Any problems post in here and i will do my best to help.
See attached image
***************Installation Instructions*************************
1. First open imagecomms_moderation.php and set up all the variables inside.
2. upload it to your photopost folder on your server
3. in your vbulletin admin cp go to plugins and products--add new plugin
Once there choose.
product-- vbulletin
hook location-- global_start
title image_coms_block
execution order 5
(change the path to your own path)
plugin php code--- include('/home/path/to/your/gallery/imagecomms_moderation.php');
save.
go to style & tamplates - style manager
in the right window expand the templates for the style you are using.
open the adv_portal_moderation template and find
<div><phrase 1="$events[count]" 2="$modcpdir/moderate.php?do=events">$vbphrase[x_events]</phrase></div>
</if>
Underneath that add
<if condition="is_member_of ($bbuserinfo, 6)">
<div>$imagevariable</div>
</if>
<if condition="is_member_of ($bbuserinfo, 6)">
<div>$commsvariable</div></if>
*if you want your moderators/supermoderators to see it as well add the usergroup ids to the conditional
click save and it should be installed, go look in the moderation block on the front page and it should (fingers crossed) be there.
Any problems post in here and i will do my best to help.