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 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks