UBB.Dev
Posted By: ASC Deleting Top Links / Logo - 05/01/2001 3:06 PM
Can someone please list what to look for to delete the top logo image and links (my profile | register | search | faq | forum home).

I have moved our menu from the top to the left side outside of a table but I am having problems locating the exact place where the UBB is calling this info.

Anywhere within the files that lists this would help. Thanks.
Posted By: knuffel Re: Deleting Top Links / Logo - 05/01/2001 3:19 PM
Hello ASC,

Just dive into your templates directory and open all the public ones and look for

my $PageTop = qq~

there you find all the things you are looking for ...

I guess you can also just go into

ubb_lib.cgi

and remove everything after

$MainButtons = qq!


but i'm not 100% sure that this will not throw up any errors.

Anyhow, make some backups before you start wink

Greetz

Knuff
Posted By: The Donut Re: Deleting Top Links / Logo - 05/02/2001 4:58 AM
Look for $standard_title_table in a few of the files, and delete it. Leave it in public_common.pl though, in case you ever want to use it again.

Then, look for this in every other file that doesn't have $standard_title_table called..

Code
code:

and

Code
code:
Posted By: rodsterAce Re: Deleting Top Links / Logo - 05/02/2001 6:58 AM
To simply get rid of the top logo gif, just point it to a 1 pixel transparent gif.

The secondary nav bar you will have to take out of your template files.
Posted By: Mr.Clean Re: Deleting Top Links / Logo - 05/02/2001 7:07 AM
goto the templates section of the ubb and look for compact footers
Posted By: ASC Re: Deleting Top Links / Logo - 05/03/2001 4:52 PM
Thanks, yes, I tried that script. I got most of them however some of the pages now show the top stuff aligned in the center. I will be going back through this weekend and fixing them up.

I know the one transparent gif thing but I also want to get rid of the register links and others to really tighten it up.

Thanks!
© UBB.Developers