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
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
1 registered (Gizmo), 17 Guests and 10 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Wisdom needed
by Gizmo
Today at 10:54 AM
How to hide sub forums from summary page
by blaaskaak
Yesterday at 09:54 AM
Spell Check [beta]
by Bill B
12/01/08 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
12/01/08 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
12/01/08 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
12/01/08 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
Truth, David DelMonte, nick1, Begbie, cenk
13364 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks