PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old September 19th, 2005, 08:38 PM   #1 (permalink)
MRGTB
Guest
 
Posts: n/a
Gallery Moderation added to CMPS 2 moderation block

How can I add a link in the CMPS 2 Moderation block to show galley images awaiting moderation.

Just like you have done with the adv_links directory Brian
  Reply With Quote
Old September 21st, 2005, 10:31 AM   #2 (permalink)
MRGTB
Guest
 
Posts: n/a
Re: Gallery Moderation added to 2 moderation

Anybody?

I know how to use the same links directory method here: http://www.vbadvanced.com/forum/showthread.php?t=1909

To add the a link to the moderator block section on the cmps page for the Gallery. I just need to know the MSQL Query I need to add to the moderator.php file in the modules folder for it to work so it counts images waiting to be validated in the cmps moderator block.
  Reply With Quote
Old September 21st, 2005, 12:00 PM   #3 (permalink)
Brian
Guest
 
Posts: n/a
Re: Gallery Moderation added to 2 moderation

SELECT COUNT(*) AS count FROM " . TABLE_PREFIX . "adv_gallery_images WHERE valid = 0
  Reply With Quote
Old September 21st, 2005, 12:39 PM   #4 (permalink)
MRGTB
Guest
 
Posts: n/a
Re: Gallery Moderation added to 2 moderation

cheers!
  Reply With Quote
Old September 21st, 2005, 01:13 PM   #5 (permalink)
MRGTB
Guest
 
Posts: n/a
Re: Gallery Moderation added to 2 moderation

Can I just ask you if this is right Brian below. I have highlighted the line add for the gallery in red. Can just check the full code over for me to make sure I add it correctly using adv_gallery_images name in the path. I'm not sure if that is correct!

Code:
Content visible to verified customers only.
  Reply With Quote
Old September 21st, 2005, 01:21 PM   #6 (permalink)
Brian
Guest
 
Posts: n/a
Re: Gallery Moderation added to 2 moderation

It doesn't really matter what you use for the variable, but $adv_gallery_images should be good since it will be unique. Now just add $adv_gallery_images[count] in your moderation template and that should do the trick.
  Reply With Quote
Old September 21st, 2005, 01:24 PM   #7 (permalink)
MRGTB
Guest
 
Posts: n/a
Re: Gallery Moderation added to 2 moderation

I added this: Is that fine:

Code:
Content visible to verified customers only.
  Reply With Quote
Old September 21st, 2005, 01:29 PM   #8 (permalink)
Brian
Guest
 
Posts: n/a
Re: Gallery Moderation added to 2 moderation

Looks fine to me.
  Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Require Moderation? Socalgal Photopost Pro How Do I...? 2 October 29th, 2005 03:53 PM
disable moderation? berniec How Do I? - vBulletin 3.0.X 3 June 27th, 2005 02:36 PM
No moderation? Injektilo Before You Buy 2 June 19th, 2005 10:16 AM
Reviews all go to moderation memobug ReviewPost Bug Reports 12 April 28th, 2005 03:17 PM


All times are GMT -5. The time now is 01:27 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0