Previous Thread
Next Thread
Print Thread
Rate Thread
#276810 07/15/2004 11:35 AM
Joined: Jun 2003
Posts: 88
Power User
Power User
Offline
Joined: Jun 2003
Posts: 88
I would like to move the threads menu to my header. Now I have 2 menus and would like to consolidate them. What file(s) do I need to edit to change the standard links(My Home,Whos Online,Main index etc..) to different names or delte them altogether so I can move them to my header.(where my main site links curently are) www.spokejunkies.com so you can see what I'm talking about..Thanks

Sponsored Links
Joined: May 2003
Posts: 1,068
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 1,068
Your menus are in the ubbt_registerednav.tmpl and ubbt_unregisterednav.tmpl (in your templates directorty) you can simply remove the links from those files. Then just create add static links in your header however you choose. For example, look at the links in the two files I mentioned above for the links you need:

<a href = "$phpurl/search.php?Cat=$Cat" $target>{$ubbt_lang['TEXT_SEARCH']}</a> would be <a href = "$phpurl/search.php?Cat=$Cat" $target>{$ubbt_lang['TEXT_SEARCH']}</a>

would be the following in your static menu

<a href="http://www.yoursite.com/ubbthreads/search.php">Search </a>

The only drawback to this is that you will only have one menu for both registered and unregistered users.

BlarC #276812 07/15/2004 12:11 PM
Joined: Jun 2003
Posts: 88
Power User
Power User
Offline
Joined: Jun 2003
Posts: 88
CAn you elaborate on what you mean by having one menu for registerd and unregistered users? How might that affect things?

Joined: May 2003
Posts: 1,068
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 1,068
Bascially, you can set up each menu according to registered users and unregistered user i.e. remove the search from the unregistered menu, add something new only for the registered members etc.

Joined: Jun 2003
Posts: 88
Power User
Power User
Offline
Joined: Jun 2003
Posts: 88
Ok i found this in my registered users file

$privateslink
$adminlink
<a href = "$phpurl/$FrontPage.php?Cat=$Cat" $target>{$ubbt_lang['FORUM_IND']}</a>

and I tried putting this in my header and got a page not found
http://www.spokejunkies.com/ubbthreads/FrontPage.php
I also tried inserting a $ before the front page and no dice..any ideas?

Sponsored Links
Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
Are you just tring to get all the links under one section like this,

Ohio Trails · Pics · Info · Profiles · Moab's Riding Tips · Ridelist Sign Up ·

(other side)

Forums Out of State Trails · History · SJ Apparel · Links · Biking Contacts

and then add
Main Index · Search · New user · Who's Online · FAQ · Calendar · User List
to them links?

Duck #276816 07/15/2004 4:12 PM
Joined: Jun 2003
Posts: 88
Power User
Power User
Offline
Joined: Jun 2003
Posts: 88
yes exactly....

Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
not to bad. If I was home I could posibly do it but im at work Ill be home in a about an hour or so.

Ill check back and see if its done yet

Basically there are 2 types. there is the one that non regged people see and one that the regged people see.

say you dont want the regged people to see who is online you would just remover the code for that link.

Then for the online people you can just add the code to the existing one.

its in the templates file under ubbt_registerednav.tmpl
and ubbt_unregisterednav.tmpl

Duck #276818 07/15/2004 10:46 PM
Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
I can see that its going good and it was moved

Congrats...


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
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
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-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)