Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Logo problem

Asked Modified Viewed 2,904 times
9
9100646
9
  • Newbie, joined since
  • Contributed 9 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
asked
Newbie

Hello i got problem with logo i puted my logo themes/securetheme/images/logo.gif here , and its showing when i loging in in the waiting panel but when it ends then logo dont showing on my syte. Please help how i can fix this .
Thank you
0 replies

16 posts

S
Sveinungs
S
  • Veteran Member, joined since
  • Contributed 935 posts on the community forums.
  • Started 3 threads in the forums
answered
Veteran Member

Hi,
have you tried putting the logo in your /images/ folder instead?

If your theme uses the standard render_header function, you could simply upload it to your /images/ folder, and then set the path to it in

Adminpanel -> System -> Main Settings -> Site Banner

The url would then be like:

/images/your_banner_name.gif

where your_banner_name.gif is the name of your banner, right?

If you don't succeed, copy the theme.php file of the theme you are using so we might look at it.

Cheers!
0 replies
9
9100646
9
  • Newbie, joined since
  • Contributed 9 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

The logo is showing in mainentrance mode , when i loging in then its didnt showing ! heres the code
<?
/*--------------------------------------------+
| PHPFusion v6 - Content Management System   |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2005 |
| web: http://www.php-fusion.co.uk            |
| email: nick@php-fusion.co.uk                |
|---------------------------------------------|
| Released under the terms and conditions of  |
| the GNU General Public License (Version 2)  |
+--------------------------------------------*/
/*--------------------------------------------+
|      Insecure Theme for PHPFusion v6       |
|---------------------------------------------|
| author: PHPFusion Themes - ww.old © 2005   |
| web: http://phpfusion.org                   |
| email: ww.old@wp.pl                       |
|---------------------------------------------|
| Released under the terms and conditions of  |
| the GNU General Public License (Version 2)  |
+--------------------------------------------*/


/************************/
/* Theme Settings      */
/************************/
$body_text = "#CCCCCC";
$body_bg = "#464646";
$theme_width = "100%";
$theme_width_l = "172";
$theme_width_r = "172";



function render_header($header_content) {
global $theme_width,$settings;
echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0' height='100%'><tr><td class='table_left'><img src='".THEME."images/blank.gif' alt=''></td><td class='table_center'  valign='top'><table align='center' width='100%' cellspacing='0' cellpadding='0''><tr><td><table width='100%' cellspacing='0' cellpadding='0'><tr><td class='full-header'><table width='100%' cellspacing='0' cellpadding='0'><tr><td class='top_header_left'><img src='".THEME."images/header/header_left.gif' alt=''></td><td class='top_header_center'><img src='".IMAGES."banner.gif' alt=''></td><td class='top_header_right'><img src='".THEME."images/header/header_right.gif' alt=''></td></tr></table></td></tr></table><table width='100%' cellspacing='0' cellpadding='0'><tr><td class='menu_left'><img src='".THEME."images/menu/menu_left.gif' alt=''></td><td class='menu_center' width='150'>&nbsp</td><td class='menu_center'><center><img src='".THEME."images/bullet.gif' alt=''> | ";
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
if (dbrows($result) != 0) {
$i = 0;
while($data = dbarray($result)) {
if (checkgroup($data['link_visibility'])) {
if ($data['link_url']!="---") {
if ($i != 0) { echo "&nbsp&nbsp<img src='".THEME."images/bullet.gif' alt=''>&nbsp&nbsp"; } else { echo "\n"; }
$link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
echo "<a href='".$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
} else {
echo "<a href='".BASEDIR.$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
}
}
$i++;
}
}
}
echo ($i == 0 ? " " : "")." | <img src='".THEME."images/bullet.gif' alt=''></center></td><td class='menu_center' align='right'>".ucwords(showdate($settings['subheaderdate'], time()))."  </td><td class='menu_right'><img src='".THEME."images/menu/menu_right.gif' alt=''></td></tr></table><table width='100%' cellspacing='0' cellpadding='0'>\n<tr>\n";
}



function render_footer($license=false) {
global $theme_width,$locale,$settings;
echo "</tr></table><table cellpadding='0' cellspacing='0' width='100%'><tr><td class='full-footer'>".stripslashes($settings['footer'])."</td></tr></table><table cellpadding='0' cellspacing='0' width='100%'><tr><td align='center' class='full-footer'><table width='100%' cellpadding='0' cellspacing='0'><tr><td width='66%' class='full-footer'>";
if ($license == false) {
echo "";
}
echo "</td>   <td align='right' width='33%' class='full-footer'><strong>".$settings['counter']." </strong>".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
echo "</td></tr></table></td></tr></table></td></tr></table></td><td class='table_right'><img src='".THEME."images/blank.gif' alt=''></td></table>\n";
}



function render_news($subject, $news, $info) {
global $locale;
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='header_left'></td><td class='header_center'>$subject</td><td class='header_right'></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='info_left'></td>   <td class='info_center'><img src='".THEME."images/bullet.gif'> ".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['news_date'])."</td><td class='info_right'></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='side_left'></td><td class='side-body'>  $news<br><br></td><td class='side_right'></td></tr></table><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='side_left'></td><td class='side-body'><table width='100%' cellpadding='0' cellspacing='0'><tr><td align='right' class='news-footer'>";
if ($info['news_ext'] == "y") echo "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n";
echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> ·
".$info['news_reads'].$locale['044']." <a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;' width='11'></a></td></tr></table></td><td class='side_right'></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='bottom_left'><img src='".THEME."images/blank.gif' alt=''></td>   <td class='bottom_center'><img src='".THEME."images/blank.gif' alt=''></td><td class='bottom_right'><img src='".THEME."images/blank.gif' alt=''></td></tr></table></td></tr></table>\n";   
}



function render_article($subject, $article, $info) {
global $locale;
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='header_left'></td>   <td class='header_center'>$subject</td><td class='header_right'></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='info_left'></td>   <td class='info_center'><img src='".THEME."images/bullet.gif'>".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['article_date'])."</td><td class='info_right'></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='side_left'></td>   <td class='side-body'>  ".($info['article_breaks'] == "y" ? nl2br($article) : $article)."<br><br><table width='100%' cellpadding='0' cellspacing='0'><tr><td align='right' class='news-footer'>";
if ($info['news_ext'] == "y") echo "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n";
echo "<a href='readarticle.php?article_id=".$info['article_id']."'>".$info['article_comments'].$locale['043']."</a> ·
".$info['article_reads'].$locale['044']." <a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;' width='11'></a></td></tr></table></td><td class='side_right'></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='bottom_left'><img src='".THEME."images/blank.gif' alt=''></td>   <td class='bottom_center'><img src='".THEME."images/blank.gif' alt=''></td><td class='bottom_right'><img src='".THEME."images/blank.gif' alt=''></td></tr></table></td></tr></table>\n";
}



function opentable($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='header_left'></td><td class='header_center'>$title</td><td class='header_right'></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='info_left'><img src='".THEME."images/blank.gif' alt=''></td><td class='info_center'><img src='".THEME."images/blank.gif' alt=''></td><td class='info_right'><img src='".THEME."images/blank.gif' alt=''></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='side_left'></td><td class='side-body'>\n";
}
function closetable() {
echo "</td><td class='side_right'></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='bottom_left'><img src='".THEME."images/blank.gif' alt=''></td>   <td class='bottom_center'><img src='".THEME."images/blank.gif' alt=''></td><td class='bottom_right'><img src='".THEME."images/blank.gif' alt=''></td></tr></table></td></tr></table>\n";
}



function openside($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='header_left'></td>   <td class='header_center'>$title</td><td class='header_right'></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='info_left'><img src='".THEME."images/blank.gif' alt=''></td>   <td class='info_center'><img src='".THEME."images/blank.gif' alt=''></td><td class='info_right'><img src='".THEME."images/blank.gif' alt=''></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='side_left'></td>   <td class='side-body'>\n";
}
function closeside() {
echo "</td><td class='side_right'></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='bottom_left'><img src='".THEME."images/blank.gif' alt=''></td>   <td class='bottom_center'><img src='".THEME."images/blank.gif' alt=''></td><td class='bottom_right'><img src='".THEME."images/blank.gif' alt=''></td></tr></table></td></tr></table>\n";
tablebreak();
}



function opensidex($title,$open="on") {
if($open=="on"){$box_img="off";}else{$box_img="on";}
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='header_left'></td>   <td class='header_center'>$title</td><td class='header_center' align='right'><img onclick=\"javascript:flipBox('$title')\" name='b_$title' alt='$box_img' border='0' src='".THEME."images/panel_$box_img.gif'></td><td class='header_right'></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='info_left'><img src='".THEME."images/blank.gif' alt=''></td>   <td class='info_center'><img src='".THEME."images/blank.gif' alt=''></td><td class='info_right'><img src='".THEME."images/blank.gif' alt=''></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='side_left'></td>   <td class='side-body'><div id='box_$title'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}
function closesidex() {
echo "</div></td><td class='side_right'></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='bottom_left'><img src='".THEME."images/blank.gif' alt=''></td>   <td class='bottom_center'><img src='".THEME."images/blank.gif' alt=''></td><td class='bottom_right'><img src='".THEME."images/blank.gif' alt=''></td></tr></table></td></tr></table>\n";
tablebreak();;
}



function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='3'></td></tr></table>\n";
}
?>
0 replies
J
Josso
J
Josso 10
–––
Without faith, nothing is possible. With it, nothing is impossible
  • Senior Member, joined since
  • Contributed 309 posts on the community forums.
  • Started 1 thread in the forums
answered
Senior Member

Find this:
function render_header($header_content) {
global $theme_width,$settings;
echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0' height='100%'><tr><td class='table_left'><img src='".THEME."images/blank.gif' alt=''></td><td class='table_center' valign='top'><table align='center' width='100%' cellspacing='0' cellpadding='0''><tr><td><table width='100%' cellspacing='0' cellpadding='0'><tr><td class='full-header'><table width='100%' cellspacing='0' cellpadding='0'><tr><td class='top_header_left'><img src='".THEME."images/header/header_left.gif' alt=''></td><td class='top_header_center'><img src='".IMAGES."banner.gif' alt=''></td><td class='top_header_right'><img src='".THEME."images/header/header_right.gif' alt=''></td></tr></table></td></tr></table><table width='100%' cellspacing='0' cellpadding='0'><tr><td class='menu_left'><img src='".THEME."images/menu/menu_left.gif' alt=''></td><td class='menu_center' width='150'> </td><td class='menu_center'><center><img src='".THEME."images/bullet.gif' alt=''> | ";
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
if (dbrows($result) != 0) {
$i = 0;
while($data = dbarray($result)) {
if (checkgroup($data['link_visibility'])) {
if ($data['link_url']!="---") {
if ($i != 0) { echo "  <img src='".THEME."images/bullet.gif' alt=''>  "; } else { echo "\n"; }
$link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
echo "<a href='".$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
} else {
echo "<a href='".BASEDIR.$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
}
}
$i++;
}
}
}
echo ($i == 0 ? " " : "")." | <img src='".THEME."images/bullet.gif' alt=''></center></td><td class='menu_center' align='right'>".ucwords(showdate($settings['subheaderdate'], time()))." </td><td class='menu_right'><img src='".THEME."images/menu/menu_right.gif' alt=''></td></tr></table><table width='100%' cellspacing='0' cellpadding='0'>\n<tr>\n";
}


Change with this:

function render_header($header_content) {
global $theme_width,$settings;
echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0' height='100%'><tr><td class='table_left'><img src='".THEME."images/blank.gif' alt=''></td><td class='table_center' valign='top'><table align='center' width='100%' cellspacing='0' cellpadding='0''><tr><td><table width='100%' cellspacing='0' cellpadding='0'><tr><td class='full-header'><table width='100%' cellspacing='0' cellpadding='0'><tr><td class='top_header_left'><img src='".THEME."images/header/header_left.gif' alt=''></td><td class='top_header_center'><img src='".IMAGES."banner.gif' alt=''></td><td class='top_header_right'><img src='".THEME."images/header/header_right.gif' alt=''></td></tr></table></td></tr></table><table width='100%' cellspacing='0' cellpadding='0'><tr><td class='menu_left'><img src='".THEME."images/menu/menu_left.gif' alt=''></td><td class='menu_center' width='150'> </td><td class='menu_center'><center><img src='".THEME."images/bullet.gif' alt=''> | ";
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
if (dbrows($result) != 0) {
$i = 0;
while($data = dbarray($result)) {
if (checkgroup($data['link_visibility'])) {
if ($data['link_url']!="---") {
if ($i != 0) { echo "  <img src='".THEME."images/bullet.gif' alt=''>  "; } else { echo "\n"; }
$link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
echo "<a href='".$data['link_url']."'".$link_target." class='white'>[u][b]$header_content[/b][/u]</a>";
} else {
echo "<a href='".BASEDIR.$data['link_url']."'".$link_target." class='white'>[u][b]$header_content[/b][/u]</a>";
}
}
$i++;
}
}
}
echo ($i == 0 ? " " : "")." | <img src='".THEME."images/bullet.gif' alt=''></center></td><td class='menu_center' align='right'>".ucwords(showdate($settings['subheaderdate'], time()))." </td><td class='menu_right'><img src='".THEME."images/menu/menu_right.gif' alt=''></td></tr></table><table width='100%' cellspacing='0' cellpadding='0'>\n<tr>\n";
}


:D
0 replies
9
9100646
9
  • Newbie, joined since
  • Contributed 9 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

how i can trust you
0 replies
9
9100646
9
  • Newbie, joined since
  • Contributed 9 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

and why you putted this -> :D
0 replies
9
9100646
9
  • Newbie, joined since
  • Contributed 9 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

dont work !
0 replies
J
Josso
J
Josso 10
–––
Without faith, nothing is possible. With it, nothing is impossible
  • Senior Member, joined since
  • Contributed 309 posts on the community forums.
  • Started 1 thread in the forums
answered
Senior Member

Quote

9100646 wrote:
dont work !

Hmm. Then I don't know what to do.

Quote

9100646 wrote:
and why you putted this -> :D

Cous I like the smiley. :D :D
0 replies
9
9100646
9
  • Newbie, joined since
  • Contributed 9 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

there was error , do you need me to show you
0 replies
J
Josso
J
Josso 10
–––
Without faith, nothing is possible. With it, nothing is impossible
  • Senior Member, joined since
  • Contributed 309 posts on the community forums.
  • Started 1 thread in the forums
answered
Senior Member

It would help. ;)
0 replies
9
9100646
9
  • Newbie, joined since
  • Contributed 9 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

Warning: require_once(themes/rhs_blackone/theme.php) [function.require-once]: failed to open stream: No such file or directory in /servers/playnet/web/subheader.php on line 20

Fatal error: require_once() [function.require]: Failed opening required 'themes/rhs_blackone/theme.php' (include_path='.:/usr/share/php5:/usr/share/php') in /servers/playnet/web/subheader.php on line 20
0 replies
J
Josso
J
Josso 10
–––
Without faith, nothing is possible. With it, nothing is impossible
  • Senior Member, joined since
  • Contributed 309 posts on the community forums.
  • Started 1 thread in the forums
answered
Senior Member

The file: themes/rhs_blackone/theme.php doesn't exist.
Try to upload it again. ;)
0 replies
9
9100646
9
  • Newbie, joined since
  • Contributed 9 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

lol ok now its showing but there is 9 logos , each on each lol
0 replies
9
9100646
9
  • Newbie, joined since
  • Contributed 9 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

Thoose logos are on my Horizontal Buttons =[ i got 9 buttons and there are 9 logos now
0 replies
S
Sveinungs
S
  • Veteran Member, joined since
  • Contributed 935 posts on the community forums.
  • Started 3 threads in the forums
answered
Veteran Member

By looking at this theme, it seems your banner

1] needs to be placed inside this folder:

http://your_site_url/images/

and
2] Must have the name (and file extension) banner.gif

A pretty strange way of doing it, IMO, but anyways.

My suggestion:

Find this line of code in function render_header:

<td class='top_header_center'>[b]<img src='".IMAGES."banner.gif' alt=''>[/b]</td>


Change it like this:

<td class='top_header_center'>[b]$header_content[/b]</td>


Then, place your logo.gif, banner.jpg or whatever you call it, inside your folder

http://your_site_url/images/

Then go to your Adminpanel-> System -> Main Settings and specify the (relative) url to your banner here:

Site banner: images/logo.gif

This way you can change your banner without tampering with your theme.php each time you decide to change your banner image.

Hope this helps, and that you trust me, lol.
0 replies
J
Josso
J
Josso 10
–––
Without faith, nothing is possible. With it, nothing is impossible
  • Senior Member, joined since
  • Contributed 309 posts on the community forums.
  • Started 1 thread in the forums
answered
Senior Member

Doh! Why did I miss that line?
I saw through the file 3 times. And miss it. :S
0 replies
S
Sveinungs
S
  • Veteran Member, joined since
  • Contributed 935 posts on the community forums.
  • Started 3 threads in the forums
answered
Veteran Member

Shame on you, lol :)
0 replies

Category Forum

Bugs and Errors - 6

Labels

None yet

Statistics

  • Views 0 views
  • Posts 16 posts
  • Votes 0 votes
  • Topic users 3 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet