vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - vBadvanced & Photopost quick moderation of images and comments on the front page (https://vborg.vbsupport.ru/showthread.php?t=132025)

phill2003 11-19-2006 10:00 PM

vBadvanced & Photopost quick moderation of images and comments on the front page
 
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---
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

Code:

<div><phrase 1="$events[count]" 2="$modcpdir/moderate.php?do=events">$vbphrase[x_events]</phrase></div>
                        </if>

Underneath that add

Code:

<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 11:03 AM

I have vb 3.6.x and vba 3.0 but dont work... help!

Cocko 07-25-2008 05: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 05: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?


All times are GMT. The time now is 01:45 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
  • Page Generation 0.01687 seconds
  • Memory Usage 1,721KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete