Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > BT.Manager (phpMyBitTorrent)
Reply
  #1  
Old 24th May 2013, 16:13
Giorgatzelos's Avatar
Giorgatzelos Giorgatzelos is offline
Senior Member
 
Join Date: Nov 2009
Greece
Posts: 300
Default admin menu icon does not show up...
i have this small problem, the shoutbox icon from the admin menu does not show up as it should...in any theme...what should i modify?
Attached Thumbnails
1.png  
Reply With Quote
  #2  
Old 25th May 2013, 00:36
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
what did you name the icon and what extension is it
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
  #3  
Old 25th May 2013, 00:47
Giorgatzelos's Avatar
Giorgatzelos Giorgatzelos is offline
Senior Member
 
Join Date: Nov 2009
Greece
Posts: 300
Default
it's admin_shoutbox.png under udmin/buttons/ , but i also added the file in themes/$theme/pics/admin/ but nothing so far...


this code refers to it in admin.php

PHP Code:
if (file_exists("themes/$theme/pics/admin/".$image.".png")) {
                
$image "themes/$theme/pics/admin/".$image.".png";
        } elseif (
file_exists("themes/$theme/pics/admin/".$image.".jpg")) {
                
$image "themes/$theme/pics/admin/".$image.".jpg";
        } elseif (
file_exists("themes/$theme/pics/admin/".$image.".gif")) {
                
$image "themes/$theme/pics/admin/".$image.".gif";
        } elseif (
file_exists("admin/buttons/".$image.".png")) {
                
$image "admin/buttons/".$image.".png";
        } elseif (
file_exists("admin/buttons/".$image.".jpg")) {
                
$image "admin/buttons/".$image.".jpg";
        } elseif (
file_exists("admin/buttons/".$image.".gif")) {
                
$image "admin/buttons/".$image.".gif";
        } 
Reply With Quote
  #4  
Old 25th May 2013, 00:50
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
check chmod of the image make it 775
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
  #5  
Old 25th May 2013, 01:49
Giorgatzelos's Avatar
Giorgatzelos Giorgatzelos is offline
Senior Member
 
Join Date: Nov 2009
Greece
Posts: 300
Default
where (in what file.php) do i have to change the filename reference admin_shoutbox. *.* to admin_sbox. *.*, and then upload a new image, or rename current...maybe it is fixed that way...
Reply With Quote
  #6  
Old 25th May 2013, 02:34
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
PHP Code:
        $image "admin_".str_replace('shoutbox','sbox',$name);
        if (
file_exists("themes/$theme/pics/admin/".$image.".png")) {
                
$image "themes/$theme/pics/admin/".$image.".png";
        } elseif (
file_exists("themes/$theme/pics/admin/".$image.".jpg")) {
                
$image "themes/$theme/pics/admin/".$image.".jpg";
        } elseif (
file_exists("themes/$theme/pics/admin/".$image.".gif")) {
                
$image "themes/$theme/pics/admin/".$image.".gif";
        } elseif (
file_exists("admin/buttons/".$image.".png")) {
                
$image "admin/buttons/".$image.".png";
        } elseif (
file_exists("admin/buttons/".$image.".jpg")) {
                
$image "admin/buttons/".$image.".jpg";
        } elseif (
file_exists("admin/buttons/".$image.".gif")) {
                
$image "admin/buttons/".$image.".gif";
        } 
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
The Following User Says Thank You to joeroberts For This Useful Post:
Giorgatzelos (25th May 2013)
  #7  
Old 25th May 2013, 14:22
Giorgatzelos's Avatar
Giorgatzelos Giorgatzelos is offline
Senior Member
 
Join Date: Nov 2009
Greece
Posts: 300
Default
Yeap, it's fixed!Thanx Joe!...
Reply With Quote
Reply

Tags
admin , icon , menu , show

Thread Tools

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

Forum Jump



All times are GMT +2. The time now is 17:21. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.