Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2004
Posts: 6
Lurker
Lurker
Offline
Joined: Jan 2004
Posts: 6
I would like to add a link to my home page, photopost gallery, etc. How do I go about doing this?

Thank you.

Sponsored Links
Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
The menu is in the ubbt_registerednav.tmpl (for registered users) and the ubbt_unregisterednav.tmpl (for unregistered users) files in the ubbthreads/templates/default directory. Adding additional menu items is easy. As long as you have everything set up correctly in the admin section of you Threads board you can add this:

Code
 <a href="{$config['homeurl']}" $target>{$ubbt_lang['HOME']}</a> 


to your templates to create a hyperlink to your home page

Joined: Jan 2004
Posts: 6
Lurker
Lurker
Offline
Joined: Jan 2004
Posts: 6
I must not have everything set up properly because that didn't work - what other files are affected?

Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
Just those two files are used for the menus. You should have all the fields filled in on your path and URL settings (admin panel, edit config settings).

I'll post my ubbt_registerednav.tmpl file so you can see an example of adding menu items to it. Keep in mind that I include my logo in my menus (go to my site to see what it looks like). So ignor everything between

<!-- Begin logo -->

and

<!-- End logo -->


Attachments
103886-ubbt_registerednav.tmpl (0 Bytes, 386 downloads)

Joined: Jan 2004
Posts: 6
Lurker
Lurker
Offline
Joined: Jan 2004
Posts: 6
I am sure I am being dense (and i readily admit that I am not a php person) but how would I link to something that is not UBB related?

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
It's not really php - those two templates are just HTML.

You can put any links you want in those two templates which handle the menubar.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,575
Posts293,930
Members13,823
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)