• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Who is online (headline image) dont work. rep+

ohman

Member
Joined
Oct 24, 2008
Messages
290
Reaction score
6
Location
Sweden
Hi, the image in the left corner "Who is online" image dont work, all other images working fine but not this. I think it because the name got a "?". But what do I know... I hope someone got a solution for this! thanks in adward!
 
The name of subtopic e.x.(whoisonline) must be the same how called is file of headline (headline_(subtopic)) e.x.(headline_whoisonline).
So you must to see what name is your subtopic and call that your headline iwth this image.
 
The name of subtopic e.x.(whoisonline) must be the same how called is file of headline (headline_(subtopic)) e.x.(headline_whoisonline).
So you must to see what name is your subtopic and call that your headline iwth this image.

In what file? I seached in whoisonline.php and layout.php :S didnt find it
 
In xampp/htdocs/layout/tibiacom/images/header <-- there are headlines

In index.php or layout.php (if you are good searcher) <-- you can find how is called your subtopic
 
In xampp/htdocs/layout/tibiacom/images/header <-- there are headlines

In index.php or layout.php (if you are good searcher) <-- you can find how is called your subtopic

Okay, find it.

In layout.php
$whoisonlineworld = '?subtopic=whoisonline';

Image name: headline-whoisonline

Seems OK to me. What can be wrong then? :S
 
PHP:
<a href='?subtopic=whoisonline'>
  <div id='submenu_whoisonline' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_whoisonline' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'>Who Is Online?</div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>

This is the stuff in layout.php
 
headlinewhoisonline.gif


Thats the image that dont work. It dont appear at the site, its just a "error-image" with an [x] in. :S
 
This is strange 'cause if i don't have any headline there isn't error :(

Btw in layout.php there is a line with declarate headlines:
Code:
    <img class="Title" src="<?PHP echo $layout_name; ?>/images/header/headline-<?PHP echo $subtopic; ?>.gif" alt="Contentbox headline" />
 
This is strange 'cause if i don't have any headline there isn't error :(

Btw in layout.php there is a line with declarate headlines:
Code:
    <img class="Title" src="<?PHP echo $layout_name; ?>/images/header/headline-<?PHP echo $subtopic; ?>.gif" alt="Contentbox headline" />

Its only shows error in explorer, not in firefox :/ I know, but its strange, cause all the other headlines working :S
 
I probably know what it doesn't work.
You should name your whoisonline picture like this:

Code:
headline-whoisonline
not
Code:
headlinewhoisonline
 
I probably know what it doesn't work.
You should name your whoisonline picture like this:

Code:
headline-whoisonline
not
Code:
headlinewhoisonline

THe name is headline-whoisonline :/ if you saw the name on the image in some post over there isnt the right name on it. imageshack.us took "-" away
 
Back
Top