UBB.Dev
Posted By: infinite2001 Getting rid of bbtile.gif - 02/15/2001 5:36 AM
How do you remove the bbtitle.gif file and make the my profile | register | search | faq | forum home links all in the center?

Infinite
Posted By: infinite2001 Re: Getting rid of bbtile.gif - 02/15/2001 5:58 AM
Also, how can you add a body tag. I know you can add tags in the headers and footers, but I MUST add this thing into the body.

Infinite
Posted By: Jamin Re: Getting rid of bbtile.gif - 02/15/2001 6:10 AM
The easiest way to make those register... links appear centered is to use a 1 pix. by 1 pix. transparent gif as your logo image. It then becomes small, thus, so does the table cell it resides in. That allows the table cell that those links are in to become big, and it ends up being basically centered.

On your second question, you can add tags in the HEADER field... I do that on my board right now to load the images for my dropdown menu, and it works fine.

Alternately, you should be able to edit the public_common.pl template to include your required body tags. You'll have to try to make sure that works, tho, as I've never had to do it this way...

---Skorpion
Posted By: infinite2001 Re: Getting rid of bbtile.gif - 02/15/2001 6:37 AM
Exactly HOW do you put the BODY tag in the header field? Everything you enter seems to be entered after the body tags are closed. I get an error back when I try to put in...



Infinite
Posted By: infinite2001 Re: Getting rid of bbtile.gif - 02/15/2001 6:46 AM
Also, I'm pretty stupid when it comes to CGI, so I don't even want to mess with the public_common.pl file.

Infinite
Posted By: Jamin Re: Getting rid of bbtile.gif - 02/15/2001 4:06 PM
I have a tag in my header, and it works fine. I'm not sure why yours is giving you a javascript error.

public_common.pl is mostly HTML, just with some CGI variables and stuff thrown in. Open it up, and find:
Quote
quote:
Add your body tags into that line correctly. The line also appears again about a page or two down, so be sure to add it to the second instance of that line too.

---Skorpion
Posted By: infinite2001 Re: Getting rid of bbtile.gif - 02/15/2001 8:57 PM
That still doesn't work for some reason. It keeps giving me a "NavBar" not defined error. Which leads me to believe that it's not seeing navcond.js in the cgi-bin where ultimatebb.cgi is stored.

Infinite
Posted By: Jamin Re: Getting rid of bbtile.gif - 02/18/2001 4:26 AM
Are you getting your paths right? It could also be that your server doesn't like .js files in a CGI directory... i know my server won't display images that are in the CGI-BIN folder. Try uploading the .js file to another folder, and make sure your paths are correct, and see if that works.

---Skorpion
Posted By: Dawg911 Re: Getting rid of bbtile.gif - 02/18/2001 11:55 AM
i dunno what version ubb u are using, but in my 5.45/.47 hybrid (don't ask), i just moved the bbtitle grapic over and used it as a different graphic, and not the title, because it can be made a different graphic for every forum. very cool trick.
Posted By: Jamin Re: Getting rid of bbtile.gif - 02/18/2001 11:44 PM
I know you told me not to ask, but what's a 5.45/5.47 hybrid? smile

Nice strategy, btw... whatever works! wink

---Skorpion
© UBB.Developers