Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Really need help with header.
#1
Hey,

I really need help with the header dropdown box.


On the dropdown bar which says " View new posts " & " View todays posts " I wanted to add a Donate part, so in the dropdown bar it says Donate too with a link to it.

I have edited the header ones, without the drop down box.

This is the code in header template:

Quote: <li><a href="{$mybb->settings['bburl']}">Home</a></li>
<li><a href="{$mybb->settings['bburl']}/newpoints.php">Credits</a></li>
<li><a href="{$mybb->settings['bburl']}/myawards.php">Awards</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=payments">Upgrade</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help">Help</a></li>
<li><a href="">More Links <img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/down.png" style="vertical-align: middle;"></a>
<ul>
<li><a href="{$mybb->settings['bburl']}/donate.php">{$lang->welcome_donate}</a></li>
<li><a href="{$mybb->settings['bburl']}/search.php?action=getnew">{$lang->welcome_newposts}</a></li>
<li><a href="{$mybb->settings['bburl']}/search.php?action=getdaily">{$lang->welcome_todaysposts}</a></li></ul></li>
Reply
#2
This user has been denied support. This user has been denied support.
PHP Code:
{$lang->welcome_donate

Do you understand what this means?

I advise you change:

PHP Code:
{$lang->welcome_donate

to:

PHP Code:
Donate 

unless you understand language files etc.

PHP Code:
<li><a href="{$mybb->settings['bburl']}">Home</a></li>
<
li><a href="{$mybb->settings['bburl']}/newpoints.php">Credits</a></li>
<
li><a href="{$mybb->settings['bburl']}/myawards.php">Awards</a></li>
<
li><a href="{$mybb->settings['bburl']}/misc.php?action=payments">Upgrade</a></li>
<
li><a href="{$mybb->settings['bburl']}/misc.php?action=help">Help</a></li>
<
li><a href="">More Links <img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/down.png" style="vertical-align: middle;"></a>
<
ul
<
li><a href="{$mybb->settings['bburl']}/donate.php">Donate</a></li
<
li><a href="{$mybb->settings['bburl']}/search.php?action=getnew">{$lang->welcome_newposts}</a></li>
<
li><a href="{$mybb->settings['bburl']}/search.php?action=getdaily">{$lang->welcome_todaysposts}</a></li></ul></li
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)