Welcome, Guest. Please Login or Register.
August 29, 2025, 09:45:08 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  English User Help  |  English Help  |  How do I... « previous next »
Pages: [1] Reply Ignore Print
Author Topic: How do I...  (Read 451 times)
joshxpcable11
Full Member
***
Posts: 232


Eat my shorts

joshj@pei.eastlink.ca
How do I...
« on: April 27, 2002, 01:54:16 PM »
Reply with quote

How do i Add a button in the place where there is Profile, Home, Help, Register, Login etc.   To like to another place or something....
Logged

Check out my boards: ~~~J-Boards~~~
joshxpcable11
Full Member
***
Posts: 232


Eat my shorts

joshj@pei.eastlink.ca
Re:How do I...
« Reply #1 on: April 27, 2002, 04:51:05 PM »
Reply with quote

Do I have too modofy the template? If so, where?
Logged

Check out my boards: ~~~J-Boards~~~
joshxpcable11
Full Member
***
Posts: 232


Eat my shorts

joshj@pei.eastlink.ca
Re:How do I...
« Reply #2 on: April 28, 2002, 10:32:53 PM »
Reply with quote

* wating
Logged

Check out my boards: ~~~J-Boards~~~
Greg Robson
Training to be like Joseph
YaBB SE Developer
YaBB God
*****
Posts: 1459


Hello!

ICQ - 81390136 WWW
Re:How do I...
« Reply #3 on: April 28, 2002, 11:12:25 PM »
Reply with quote

Lines 108 - 116 of Subs.php (funnily enough in a function called template_header :))

   $yymenu = "<a href=\"$scripturl\">$img[home]</a>$menusep<a href=\"$helpfile\" target=_blank>$img[help]</a>$menusep<a href=\"$cgi;action=search\">$img[search]</a>";
   if($settings[7] == 'Administrator') { $yymenu = $yymenu.$menusep."<a href=\"$cgi;action=admin\">$img[admin]</a>"; }
   if($username == "Guest") { $yymenu .= $menusep."<a href=\"$cgi;action=login\">$img[login]</a>$menusep<a href=\"$cgi;action=register\">$img[register]</a>";
   } else {
      $euser = urlencode($username);
      $yymenu .= "$menusep<a href=\"$cgi;action=profile;user=$euser\">$img[profile]</a>";
      if($enable_notification) { $yymenu .= "$menusep<a href=\"$cgi;action=shownotify\">$img[notification]</a>"; }
      $yymenu .= "$menusep<a href=\"$cgi;action=logout\">$img[logout]</a>";
   }

It's all there :)
Logged

You can't have everything... where would you put it? -- Steve Wright
joshxpcable11
Full Member
***
Posts: 232


Eat my shorts

joshj@pei.eastlink.ca
Re:How do I...
« Reply #4 on: April 28, 2002, 11:38:34 PM »
Reply with quote

thanks Greg, u saved the day.

*farts

Uh oh, now my big fat but ruined it again.


ROTL, thanks
Logged

Check out my boards: ~~~J-Boards~~~
joshxpcable11
Full Member
***
Posts: 232


Eat my shorts

joshj@pei.eastlink.ca
Re:How do I...
« Reply #5 on: April 28, 2002, 11:51:46 PM »
Reply with quote

Hmm.... what exactly doo I add, I thought I knew how too do it, but I tried, and it didnt make a diff
Logged

Check out my boards: ~~~J-Boards~~~
mediman
Support Team
YaBB God
*****
Posts: 2858


WWW
Re:How do I...
« Reply #6 on: April 29, 2002, 12:26:23 AM »
Reply with quote

$yymenu = "<a href=\"$scripturl\">$img[home]</a>$menusep<a href=\"$helpfile\" target=_blank>$img[help]</a>$menusep<a href=\"$cgi;action=search\">$img[search]</a>$menusep"<a href=\"http://yoursite.com\"><img src=\"http://yoursite.com/image.gif\"</a>";
with this you have righthand from search a new button (image.gif) with a link to http://yoursite.com!

medi

Logged

mainComm Dev Team
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  How do I... « 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.074 seconds with 20 queries.