Welcome, Guest. Please Login or Register.
October 02, 2024, 08:30:06 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  English User Help  |  English Help  |  Top menu additions « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Top menu additions  (Read 920 times)
Spug
Noobie
*
Posts: 19


I'm a llama!

Top menu additions
« on: February 16, 2004, 08:41:51 AM »
Reply with quote

YaBB SE Version: 1.5.5
PHP Version: 4.3.4

Problem Description:
I followed the instructions in the topic about adding new objects to the YaBB menu, but the new icons just don't show up. At all. No broken image, no PHP error, no new button, although it's there in Subs.pl. What's that all about? Can it just ignore the code addition for some reason?
Logged
Peter Duggan
Llama Chameleon
Global Moderator
YaBB God
*****
Posts: 1793


You come and go...

WWW
Re:Top menu additions
« Reply #1 on: February 16, 2004, 10:01:44 AM »
Reply with quote

Quote from: Spug on February 16, 2004, 08:41:51 AM
I followed the instructions in the topic about adding new objects to the YaBB menu, but the new icons just don't show up.

For the benefit of anyone coming new to this, Spug is referring to these topics:

http://www.yabbse.org/community/index.php?thread=27316
http://www.yabbse.org/community/index.php?thread=27056

QuoteNo broken image, no PHP error, no new button, although it's there in Subs.pl.

Subs.php, I hope! ;)

QuoteWhat's that all about? Can it just ignore the code addition for some reason?

Assuming your new code is still within function template_header() and your buttons aren't 1x1px blank GIFs or something:

1. Can you post your new $yymenu code here?
2. Can you provide a link to the site?
Logged

Spug
Noobie
*
Posts: 19


I'm a llama!

Re:Top menu additions
« Reply #2 on: February 16, 2004, 10:41:02 AM »
Reply with quote

Okay, nevermind it all. After tinkering with Subs.php, I realized the $img[name] doesn't insert name.gif, or something - I had put $img[memberlist] in there, and thought it'd automatically insert (language)/memberlist.gif there, but instead it ignored it and saw the variable as empty. So, just me being dumb again!
Logged
Shadow's Pawn
Support Team
YaBB God
*****
Posts: 597


ich soll nicht toten

ICQ - 8039201shadowpawn@hotmail.com WWW
Re:Top menu additions
« Reply #3 on: February 16, 2004, 02:32:26 PM »
Reply with quote

If you use $img[blah] then make sure you define it in english.lng (or whatever lng you are using)
Logged

apologize \A*pol"o*gize\, v. i. - To lay the foundation for a future offense.
Spug
Noobie
*
Posts: 19


I'm a llama!

Re:Top menu additions
« Reply #4 on: February 16, 2004, 09:03:00 PM »
Reply with quote

Aaah, okay. Thanks!
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Top menu additions « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.112 seconds with 21 queries.