PDA

View Full Version : Add-On Releases - vBadvanced & Photopost quick moderation of images and comments on the front page


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.

shadowevil
11-20-2006, 12:59 PM
first post .... installed

StuntFactoryX
11-20-2006, 02:08 PM
is this for pro or vbgallery?

phill2003
11-20-2006, 03:32 PM
Photopost pro.

stomph
01-13-2007, 06:42 AM
Thank you!

Ricsca
08-13-2007, 12:03 PM
I have vb 3.6.x and vba 3.0 but dont work... help!

Cocko
07-25-2008, 06:14 PM
Last question is near one year old *lol*

Now, I have the same issue. After Upgrading
to vBadvanced CMPS 3.0.1 this hack fails.

Anybody got fixed?

Thanx for reply. ;)

Cocko
07-25-2008, 06:45 PM
have found the fix: in admincp cmps main settings add global variable

imagevariable
commsvariable

behcet
01-02-2009, 08:05 PM
vbgallery pls

Alfa1
01-02-2009, 08:36 PM
vBulletin Notifications shows all moderated items, except Photopost Pro's comments and photo's. So to me it would make more sense to add it to the notification menu. Does anyone have an idea how to do so?