php forum
php mysql forum
php mysql smarty
 
Topic Options
#111665 - 02/10/02 11:47 AM $standard_title_table
Mijae.2756 Offline
Spotlight Runner-Up

Registered: 10/07/01
Posts: 218
Loc: the 15th dimention

   $standard_title_table to Del.icio.us Add to del.icio.us
  Digg $standard_title_table Digg it
What file do I have to edit to edit the $standard_title_table?
_________________________
[img]http://www.invoid.net/x/ubbdev.bmp[/img]
2nd place winner in January's Member Spotlight

Top
#111666 - 02/10/02 12:03 PM Re: $standard_title_table
JungleMonkey Offline
Member

Registered: 01/05/01
Posts: 70
Loc: USA | Monkies are purty smart
go into your /NonCGI/Templates directory and open up public_common.pl and do a search for it. Be aware that not all of the templates use $standard_title_table and you will, if you want to make it clean, have to hack a few others (off the top of my head, post_new_reply.pl and post_new_topic.pl). Also, do a search for BBTitle in public_common.pl so you can get rid of the various error page header's, as they also don't use $standard_title_table.

Good luck!
_________________________
a3on.com
the forums - aeonic dementia

Top
#111667 - 02/10/02 12:27 PM Re: $standard_title_table
Mijae.2756 Offline
Spotlight Runner-Up

Registered: 10/07/01
Posts: 218
Loc: the 15th dimention
the problem is that public_common.pl is full of those lines, and I dont know which one to edit.
_________________________
[img]http://www.invoid.net/x/ubbdev.bmp[/img]
2nd place winner in January's Member Spotlight

Top
#111668 - 02/10/02 12:42 PM Re: $standard_title_table
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
I took it out of all the templates at one board, and used the header in the style templates to replace it. You are going to have to edit a lot of .pl's to get every page to look right.

I still think template hacking is the most fun, and produces the most unique results.
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#111669 - 02/10/02 12:53 PM Re: $standard_title_table
MrBill Offline
Member

Registered: 09/04/00
Posts: 129
Loc: Algonquin IL
In common_pl I removed everything in the $standard_title_table and $search_standard_title_table except for the table. Left that for spacing reasons.
In common_pl, there are 3 more places that you must edit to make sure your UBB will keep the theme through out all the pages. Once you do that you can edit the rest of the templetes. It's alot of work but it's worth it.

Examples: http://www.teamd86.com/test-cgi/ultimatebb.cgi
http://www.teamd86.com/ubb-cgi/ultimatebb.cgi
_________________________
Mr. Bill

Top
#111670 - 02/10/02 01:04 PM Re: $standard_title_table
Mijae.2756 Offline
Spotlight Runner-Up

Registered: 10/07/01
Posts: 218
Loc: the 15th dimention
I got an error in public_forum_summary.pl

I edited that file without editing public_common.pl, I just deleted the $standart_title_table line and rewrote it to show the $show_logout thing. But now it gives me an error!

http://forum.invoid.net/cgi-bin/ultimatebb.cgi

is the error caused by public_common.pl?
_________________________
[img]http://www.invoid.net/x/ubbdev.bmp[/img]
2nd place winner in January's Member Spotlight

Top
#111671 - 02/10/02 01:26 PM Re: $standard_title_table
MrBill Offline
Member

Registered: 09/04/00
Posts: 129
Loc: Algonquin IL
You need to leave that in, only remove what's in the table.

</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif"> $standard_title_table = qq~
<table border="0" width="$vars_style{TableWidth}">
</table>
~;

$search_standard_title_table = qq~
<table border="0" width="$vars_style{TableWidth}">
</table>
~; </font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">On the rest of the templetes you edit do not remove $standard_title_table or else you will rpobably get an error also. I think I did when I first did it. Some of the templetes won't have $standard_title_table at the top, but they will have some standard HTML in place instead. You will want to remove that, if you choose to do so.

Best way to go is to make sure you keep your headers between $TBT and $TBB. These are your basic <table> and </table> formatting. But you might already know that.
_________________________
Mr. Bill

Top
#111672 - 02/10/02 01:30 PM Re: $standard_title_table
Mijae.2756 Offline
Spotlight Runner-Up

Registered: 10/07/01
Posts: 218
Loc: the 15th dimention
dammit im stupid, I still dont know which out of all $ commands to delete tipsy

The only page that gives me an error is the forum summary, if the others dont give me any errors, should I just leave them as they are?
_________________________
[img]http://www.invoid.net/x/ubbdev.bmp[/img]
2nd place winner in January's Member Spotlight

Top
#111673 - 02/10/02 01:40 PM Re: $standard_title_table
MrBill Offline
Member

Registered: 09/04/00
Posts: 129
Loc: Algonquin IL
I left them alone (meaning in all the templetes I left them do what ever they were trying to call), and get no errors. But I did edit them in the common_pl.
_________________________
Mr. Bill

Top
#111674 - 02/10/02 02:55 PM Re: $standard_title_table
Mijae.2756 Offline
Spotlight Runner-Up

Registered: 10/07/01
Posts: 218
Loc: the 15th dimention
All the templated have been hacked. I just went and deleted the $standart_title_table in all the templates and there are no problems.

The error was causes by a leaky javascript smile
_________________________
[img]http://www.invoid.net/x/ubbdev.bmp[/img]
2nd place winner in January's Member Spotlight

Top


Moderator:  Gizmo, tackaberry 
Who's Online
0 Registered (), 26 Guests and 4 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Blogs, love em or hate em?
by AllenAyres
10/07/08 02:05 PM
What do you use to edit the files
by Ian_W
10/05/08 03:33 PM
BeyondCompare v3.00
by Ian_W
10/05/08 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
10/05/08 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
Looking for a simple upload script
by Murphdog
09/26/08 08:45 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
pisa666, ghengis317, NitroX, Dogan, EliYah-
13345 Registered Users
Top Posters Last 30 Days
AllenAyres 12
blaaskaak 7
tackaberry 7
FREAK1 5
Mike L_dup1 4
Chris Bale 4
Ian_W 4

 

 

 
fusionbb message board php hacks