Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   BT.Manager (phpMyBitTorrent) (http://www.bvlist.com/forumdisplay.php?f=23)
-   -   admin menu icon does not show up... (http://www.bvlist.com/showthread.php?t=9192)

Giorgatzelos 24th May 2013 16:13

admin menu icon does not show up...
 
1 Attachment(s)
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?

joeroberts 25th May 2013 00:36

what did you name the icon and what extension is it

Giorgatzelos 25th May 2013 00:47

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";
        } 


joeroberts 25th May 2013 00:50

check chmod of the image make it 775

Giorgatzelos 25th May 2013 01:49

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...

joeroberts 25th May 2013 02:34

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";
        } 


Giorgatzelos 25th May 2013 14:22

Yeap, it's fixed!Thanx Joe!...


All times are GMT +2. The time now is 09:33.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.