Icy Phoenix

     
 


Post new topic  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post How To Avoid The Webmaster Be In "Top Posters" 
 
Hi, dear supporters and users, y want to know how disallow to Webmaster from the "Top Posters List"

The users said me that i am ever the top poster and to they not like that, cause they want be too in the top.

Thanks.
 



 
Corporacion-UmbrellaSend private messageSend e-mail to user  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: How To Avoid The Webmaster Be In "Top Posters" 
 
Corporacion-Umbrella wrote: [View Post]
Hi, dear supporters and users, y want to know how disallow to Webmaster from the "Top Posters List"

The users said me that i am ever the top poster and to they not like that, cause they want be too in the top.

Thanks.

Top posters on Forum Index?
You have to hardcode this... you can exclude only your ID or all ADMINS...

Tell me what you want to do and someone will try to post a solution.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How To Avoid The Webmaster Be In "Top Posters" 
 
[quote user="Mighty Gorgon" post="19953"]
Corporacion-Umbrella wrote: [View Post]

Top posters on Forum Index?
You have to hardcode this... you can exclude only your ID or all ADMINS...

Tell me what you want to do and someone will try to post a solution.


Yeah MG, the To Poster Users In Index, in this image you can see exactly.

dibujoyd5


If is possible avoid the ID of Webmaster (Me)?

Thanks for your help.
 



 
Corporacion-UmbrellaSend private messageSend e-mail to user  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How To Avoid The Webmaster Be In "Top Posters" 
 
Hey

Open blocks/blocks_imp_top_posters

and try this

replace

Code: [Download] [Hide] [Select]
WHERE user_id <> " . ANONYMOUS . "


with

Code: [Download] [Hide] [Select]
WHERE user_id <> " . ANONYMOUS . " OR user_id <> = 2

 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How To Avoid The Webmaster Be In "Top Posters" 
 
Zuker, the action create an error:

Code: [Download] [Hide] [Select]
Could not query users

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= 02 ORDER BY user_posts DESC LIMIT 5' at line 3

SELECT username, user_id, user_posts, user_avatar, user_avatar_type, user_allowavatar FROM ip_users WHERE user_id <> -1 OR user_id <> = 02 ORDER BY user_posts DESC LIMIT 5

Line : 38
File : blocks_imp_top_posters.php


I hope that you can help me.

The user ID is correct, for Webmaster is 2.

CU and THKS.
 



 
Corporacion-UmbrellaSend private messageSend e-mail to user  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How To Avoid The Webmaster Be In "Top Posters" 
 
Try this

OPEN blocks/blocks_imp_top_posters.php

FIND

Code: [Download] [Hide] [Select]
WHERE user_id <> " . ANONYMOUS . "


REPLACE WITH

Code: [Download] [Hide] [Select]
WHERE user_id NOT IN ('" . ANONYMOUS . "', '2')

 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How To Avoid The Webmaster Be In "Top Posters" 
 
Thanks, now is doed.

Well Done MG and Zuker.

Thanks for your appreciate work.

Have you a great day.

See you.
 



 
Corporacion-UmbrellaSend private messageSend e-mail to user  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How To Avoid The Webmaster Be In "Top Posters" 
 
i left the '' MG? or what whas wrong

where and or should work together
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How To Avoid The Webmaster Be In "Top Posters" 
 
Zuker wrote: [View Post]
i left the '' MG? or what whas wrong

where and or should work together


You shown the footpath to MG for do the correct code.

Thanks for 2 you.
 



 
Corporacion-UmbrellaSend private messageSend e-mail to user  
Back to topPage bottom
Post new topic  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron