Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2002
Posts: 17
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 17
How do you remove this stuff from the top of each page? Also, how do you remove the forum title from there as well?

I have a logo and links for all this stuff up in my header. I had it removed at some point, but then the admin of my hosting company upgraded us to 6.4 and all my modifications were gone and 6.4 is different from however I did it before. I also think he will be upgrading to 6.5 soon so if that is different please tell me how to strip this tuff out of both 6.4 and 6.5.

Thanks

Sponsored Links
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
There's no simple way to remove this stuff - while you can alter the profile/faq/search links by editing MainButtonsLine in public_common, the header itself is in practically every template.... You might want to look at the Compact Headers template set, or the JC template set. Both offer an alternative header layout that should work better for you.


UBB.classic: Love it or hate it, it was mine.
Joined: Jun 2003
Posts: 1
Junior Member
Junior Member
Offline
Joined: Jun 2003
Posts: 1
I could use a little help with this myself.

Am using 6.2.1 and would like to replace the profile/faq/search line with icons instead to bring it more into visual meld with the board.

i figured out the $MainButtonsLine was the controlling call, but that is where I got stumped. It doesn't seem to be defined anywhere that I can change in public_common - is it wordlet definition?

as can no doubt tell, am smart enough to figure out approx where the change needs to be made, but am not saavy enough to figure out the edit... help?

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
In 6.2.1 MainButtonsLine is in ubb_lib, I think.

Joined: Jan 2002
Posts: 17
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 17
Has this become any easier in version 6.5.0? A long while ago probably around 6.1 or something I had removed all of these and it was pretty easy. But things have changed drastically and I dont know where to start.

I just played with the JC templates a bit but dont see an easy way to do it with that either. Unless it is just replacing the images with blank gif's or something.

I would also like to remove the "UBB Title" from this area as well. Any usefuel help would be appreciated.

Thanks

Sponsored Links
Joined: Sep 2000
Posts: 441
Member
Member
Offline
Joined: Sep 2000
Posts: 441
yeah, just open ubblib.cgi and delete what you like to *g*
regards,
chris
http://www.technoforum.de - the bbs, too big to handle

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
I sugguest if you'd like to replace the header links with images that you look into the Cosmetic Links modification... It'll give fairly in debth instructions on how to set it up, made for 6.4, works with 6.5 with some minor editing.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2002
Posts: 17
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 17
Quote
quote:
Originally posted by technoforum.de:
yeah, just open ubblib.cgi and delete what you like to *g*
Ok, and where in that file might I find what I am looking for?

Gizzy, I am not looking to use images. I want the links gone all together. Along with the forum name above them. Someone previously mentioned that JC Templates might be of some help. I dont really see how though.

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
I suggest using the compact headers. It'll have the same setup as here, and you can just go into public_common.pl and comment out the mainbuttonline stuff

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
The cosmetic links mod will show everything where it is lol... you could just search for forum home in that file too wink ...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Sponsored Links
Joined: Jan 2002
Posts: 17
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 17
in which file?

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
public_common.pl

Joined: Dec 2002
Posts: 1
Junior Member
Junior Member
Offline
Joined: Dec 2002
Posts: 1
I am currently running UBB.Classic version 6.1.0.3 and will be upgrading around January to the latest version.

I would like to do everything mentioned in this thread (remove forum title and text nav links) and in addition, remove the show all topics jump menu at the top, and the forum jump menu at the bottom.

It beats me why we even need to have hacks for this at all. Infopop really should incorporate the option to turn the whole mess off and use our own headers with navigation buttons.

Can someone give me an easy way to this for now in the current version?

Thanks.

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
In the current version they use a centralized header, not entirely sure of the options since i don't use it (i have it, it's just not used).


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
I removed the universal header and replace it with code I inserted into the header in the style template. Somehow I ended up removing some info from the top of other pages that seems to have depended on the original header. I was able to work around it but you have to be careful when you delete anything.

Joined: Jun 2002
Posts: 111
Member
Member
Offline
Joined: Jun 2002
Posts: 111
Just my 2 cents on this topic:

In public_common.pl

Look for
Code
}    # end MainButtonOptions
The line before that one, turn it into something like this

Code
	return qq!<span class="ip-is-loggedin"> </span><span class="ip-is-notloggedin">$lilink | $reglink </span> 
!;
That should do the trick.

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
I wrote an amazing mod for 6.6 to remove the main buttons line.

In public_common.pl
FIND:
Code
		show_buttons => 1,
REPLACE WITH:
Code
		show_buttons => 0,
A lot of this kinda code is in 6.6, so look around.

If you want to also hide the bbtitle image, do this

In public_common.pl
FIND:
Code
		show_image => 1,
REPLACE WITH:
Code
		show_image => 0,
And if you wanna hide the board name,
In public_common.pl
FIND:
Code
		show_board_name => 1,
REPLACE WITH:
Code
		show_board_name => 0,
Oooooh Ahhhhhh

Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
Once again, I say: TOOK YA LONG ENOUGH! smile


UBB.classic: Love it or hate it, it was mine.
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
think about it though... I'm still the first to post it tipsy

Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
Which either means no one's looking, or no one had figured it out...


UBB.classic: Love it or hate it, it was mine.
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
Damn, would have saved me some trouble, but then again it may not have. I had to make sure that there were no spaces or
's between the TBB's and TBT's or the gfx I use have an ugly gap between them. I'm not sure that thiw would have helped with my header replacement.

The fact of the matter is that I wouldn't have known to use it if it would have worked.

Joined: Jan 2003
Posts: 118
Member
Member
Offline
Joined: Jan 2003
Posts: 118
OK, I don't want to remove my Main Buttons Line, but I would like to reorganize it. I have way too many links at the top page in a straight line, and I'm even missing one somehow (statistics). I'd like to maybe have 3 rows of links evenly spread out underneath the board name. How difficult would that be? smile


-GATOR

"Pain is temporary, Pride is forever"
Joined: Jul 2000
Posts: 49
Member
Member
Offline
Joined: Jul 2000
Posts: 49
Thanks, Ian!

Joined: Mar 2004
Posts: 58
Member
Member
Offline
Joined: Mar 2004
Posts: 58
I'm trying to keep the My Profile and the Full Menu button links and the other links in that line to replace with a drop down menu.

Where exactly do I place the code of that drop down?

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Edit Template: public_common.pl

Look For:
sub MainButtonOptions {


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Mar 2004
Posts: 58
Member
Member
Offline
Joined: Mar 2004
Posts: 58
Just under that line or in any specific place in that are? do I have to add any tags or something or just pasting the drop down code is enough?

Couse I've tried it in a few ways and no luck

Thanks

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
You'll have to do some tinkering with it but that sub contains all of the data for the navigation links.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts

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
isaac
isaac
California
Posts: 1,157
Joined: July 2001
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
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 20221218)