Author Topic: disable ratings/votes in control panel stats  (Read 6828 times)

0 Members and 1 Guest are viewing this topic.

Offline bgmurphy

  • Full Member
  • ***
  • Posts: 113
    • View Profile
disable ratings/votes in control panel stats
« on: June 04, 2003, 12:33:58 AM »
hey all -    :D  

can someone point me to the php file(s) and line code so i can comment out the ratings and votes - they are not an essential function for me under admin log-in !!

all help is appreciated

thanx
bruce

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
disable ratings/votes in control panel stats
« Reply #1 on: June 04, 2003, 02:07:09 AM »
just set permissions for ratung in the categories properties to "Admin"
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline bgmurphy

  • Full Member
  • ***
  • Posts: 113
    • View Profile
disable ratings/votes in control panel stats
« Reply #2 on: June 04, 2003, 05:49:50 AM »
v@no -

 i want to comment out the coding so there it does not appear in the control panel STATS display when i log-in to control panel as admin ---- these to stats are  not required for me !!

net result is all i see is :

STATS
top categories
top hits
[ top rating ] - hidden
[ top votes ] - hidden
top downloads ..

does that make more sense?? !!!  :!:

i know how to make the comments/ratings disappear for users


thanx
bruce

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
disable ratings/votes in control panel stats
« Reply #3 on: June 04, 2003, 07:01:16 AM »
ah, ok...who would guess that u were talking about STATS...;)

open /admin/home.php
find:
Code: [Select]
show_table_separator($lang['top_image_rating'], 4);
replace with:
Code: [Select]
/*  show_table_separator($lang['top_image_rating'], 4);
then find:
Code: [Select]
$sql = "SELECT SUM(image_downloads) AS sum
replace with:
Code: [Select]
*/$sql = "SELECT SUM(image_downloads) AS sum
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline bgmurphy

  • Full Member
  • ***
  • Posts: 113
    • View Profile
disable ratings/votes in control panel stats
« Reply #4 on: June 04, 2003, 07:05:29 AM »
V@no -

well  :lol:
anyway ... can you help me find the coding ???  8)

thanx
bruce

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
disable ratings/votes in control panel stats
« Reply #5 on: June 04, 2003, 07:06:46 AM »
I was editing my reply when u posted reply...
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline bgmurphy

  • Full Member
  • ***
  • Posts: 113
    • View Profile
disable ratings/votes in control panel stats
« Reply #6 on: June 04, 2003, 07:09:04 AM »
ok ... big big  :lol:

i am batch ftp'ing premiere pix of 2 fast 2 furious .. so i have down time for a few !!

thanx
bruce

Offline bgmurphy

  • Full Member
  • ***
  • Posts: 113
    • View Profile
disable ratings/votes in control panel stats
« Reply #7 on: June 04, 2003, 12:58:46 PM »
thanx v@no  8)