REGISTER or LOGIN to have the annoying ads removed.
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do you add new TopLinks?
Dec 18, 2008, 06:58 PM (This post was last modified: Dec 18, 2008 06:59 PM by EKO.)
Post: #1
How do you add new TopLinks?
I have been trying to add new toplinks lately, I can add the link and all, but the actual words doesn't show up.

I tried doing a games section link, and I used this:

<li><a href="{$mybb->settings['bburl']}/games.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_games}</a></li>


But it didn't show up, it shows the little picture, and if you click it takes you there, but there is no text.

?

[Image: mybbsig.php]
Find all posts by this user
Quote this message in a reply

This ad removed for subscribers.
Dec 19, 2008, 07:18 AM
Post: #2
RE: How do you add new TopLinks?
Because you probably haven't got a language variable in any language file for 'games'. Just replace {$lang->toplinks_games} with 'Games'.

Click here to download ALL MyBB Central plugins!!
Visit this user's website Find all posts by this user
Quote this message in a reply
Dec 19, 2008, 08:38 AM (This post was last modified: Dec 19, 2008 09:02 AM by EKO.)
Post: #3
RE: How do you add new TopLinks?
Oh, ok, I will try it out now.

*EDIT*
Oh thanks, it works great! Is there any way I can centre the links though?

[Image: mybbsig.php]
Find all posts by this user
Quote this message in a reply
Dec 31, 2008, 01:58 PM
Post: #4
RE: How do you add new TopLinks?
Use <center>toplinks here </center>

CoolTongue
Visit this user's website Find all posts by this user
Quote this message in a reply
Jan 02, 2009, 11:20 AM
Post: #5
RE: How do you add new TopLinks?
fantastic
Thanx
Find all posts by this user
Quote this message in a reply
Jan 02, 2009, 07:44 PM
Post: #6
RE: How do you add new TopLinks?
(Dec 31, 2008 01:58 PM)paul-am Wrote:  Use <center>toplinks here </center>

The center tag is not xhtml.

Use the css. Alter the toplinks to be text-align:center where it says text-align:right.

That's it.

[Image: mybbsig.php]
Visit this user's website Find all posts by this user
Quote this message in a reply

This ad removed for subscribers.
Jul 01, 2009, 07:44 PM (This post was last modified: Jul 01, 2009 08:45 PM by Starnova.)
Post: #7
RE: How do you add new TopLinks?
can you use this for external game links.. one that is a sub to the forum for instance ...
http://www.myforum.com/games

But when I do that there is a problem with display of the image that I uploaded to toplinks. I don't understand why but just the link games appears. I even have it in png as the other images are and in the same folder...

<li><a href="{$mybb->settings['bburl']}/games"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/gamefolder.png" alt="games" title="" /></a> </li>
Find all posts by this user
Quote this message in a reply
Jul 02, 2009, 03:03 AM
Post: #8
RE: How do you add new TopLinks?
As I said to your thread on the comm forums, you're putting gamefolder.png in the URL but the image is called gamesfolder.png

Click here to download ALL MyBB Central plugins!!
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:



icon buffet