PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old July 14th, 2005, 10:47 PM   #1 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
Unhappy How do I remove a user from the "Top Posters"?

In my gallery I am the one uploading most of the images, 41,585 to be exact. I don't want it to display my name, BUT my registration system is using my forum registration and I am not the only admin on my forums. Does that mean that the other person that has admin on my forum also has admin on my gallery as well? If so, I want it to not show my name on the "Top Posters", but I don't want it to hide the other admin.

Can somebody help me with how I can do this? It has been bugging me for a long time. Any help you can provide me with I would really appreciate it.

Thanks in advance.
Johnny Doomo is offline   Reply With Quote
Old September 8th, 2005, 03:35 PM   #2 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
bumpy
Johnny Doomo is offline   Reply With Quote
Old January 26th, 2006, 11:29 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Apr 2005
Posts: 56
I am by NO MEANS an expert, so take my advice for what it's worth, but this is how I did it.

You need to make this edit in the following four files:
index.php
showphoto.php
showgallery.php
showmembers.php

Find this:
Quote:
$queryz = ppmysql_query("SELECT cat,id,title,rating FROM {$Globals['pp_db_prefix']}photos ORDER BY rating DESC,views DESC LIMIT {$Globals['mostpoppal']}", $link);
Replace with this:
Quote:
$queryz = ppmysql_query("SELECT user,userid,COUNT(*) AS pcount FROM {$Globals['pp_db_prefix']}photos WHERE user NOT LIKE 'username' GROUP BY user ORDER BY pcount DESC LIMIT {$Globals['numtoppal']}", $link);
Replace username with the username you want to exclude.

You can see mine here: http://vfrworld.com/photos

Good luck!
Michael
volarium is offline   Reply With Quote
Old January 27th, 2006, 09:30 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
NOT LIKE OR simply !=
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 7th, 2006, 04:22 PM   #5 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
Quote:
Originally Posted by Chuck S
NOT LIKE OR simply !=
What do you mean? You mean replace the "NOT LIKE OR" with "!="?
Johnny Doomo is offline   Reply With Quote
Old April 7th, 2006, 07:16 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
You can use NOT LIKE
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 9th, 2006, 12:55 AM   #7 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
I tried this and it didn't work. I am trying to get rid of the admin user and the "user" unregistered. Can somebody help me more on what I need to add to get this to work? I need them both gone, but as a test I tried each one individually and neither disappeared after changing it.

Any ideas?
Johnny Doomo is offline   Reply With Quote
Old April 9th, 2006, 09:46 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
Code:
Content visible to verified customers only.
Guaranteed no photos will be pulled by Johnny Doomo but anyway good luck with your hacking
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 11th, 2006, 10:59 PM   #9 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
Nope that doesn't work. It still shows me in the top uploaders. Is the top posters pal cached? Do I need to change the code and wait a while or change a setting in the admincp?
Johnny Doomo is offline   Reply With Quote
Old April 12th, 2006, 06:50 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
It could be a cache issue but your free to continue any discussion on code modifications in the mod forum.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 12th, 2006, 10:16 AM   #11 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
discussion? More like empty requests that never get replies.
Johnny Doomo is offline   Reply With Quote
Old April 12th, 2006, 10:39 AM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
Sorry if you feel that way about our mod forum Johnny.

The suggestion I posted above works and I would think your issue if that of cache
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   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
Can I remove the "Member List" link at the top of each page? How? rs25.com Classifieds Installation & Upgrades 2 February 28th, 2006 09:44 PM
User permission set to "YES" - but database field shows "0" skippy Classifieds Bug Reports 3 November 11th, 2005 02:45 PM
Make "send e-card" a link on top bar tyranny How Do I? - vBulletin 3.5.X 1 October 25th, 2005 06:11 PM
"Top Posters" ?? iphoto Photopost Pro How Do I...? 1 February 9th, 2005 10:37 AM


All times are GMT -5. The time now is 02:29 AM.

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