|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
Name: Compact TBT/TBB Description: Removes one layer of table tags from all sections of your forums that are surrounded by the $tbt/$tbb tags - this will decrease bandwidth and speedup rendering of the pages a bit. Link: Click Here Demo: check here Requirement: UBB™ 6.5 Instructions: Edit file as instructed, upload and clear cache. This has been tested on the style setting with table borders around all tables, your setting might need to be adjusted 
|
|
|
|
Joined: Oct 2000
Posts: 2,667
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,667 |
nice Allen  will add this to Kompact when I have a little time 
Do you believe in love at first sight, or should I walk by again?
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
Good work allen, I'll be installing it tonight 
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
merci 
|
|
|
|
Joined: Jun 2001
Posts: 729
Coder
|
Coder
Joined: Jun 2001
Posts: 729 |
Installed on 6.1.0.4 Seems these lines have not been altered since back in the day and I have not altered them either Thank you Allen!
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
Tested and works fine on 6.6 also 
|
|
|
|
Joined: Jun 2001
Posts: 729
Coder
|
Coder
Joined: Jun 2001
Posts: 729 |
Are there any other tables that can be modified like this? Or was there a modification made that lists them?
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
This is the main one... tbt/tbb is used where possible to maintain uniformity of design throughout. If I see something, I'll post it, if you do, let me know 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
anyone using the quick reply hack might have to do a little tweaking.
|
|
|
|
Joined: Sep 2001
Posts: 672
Member
|
Member
Joined: Sep 2001
Posts: 672 |
ya i noticed weird Al, I dont get what kinda of tweaking though... hmmm
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
give this a try, should work, if not, I'm sorry.
|
|
|
|
Joined: Sep 2001
Posts: 672
Member
|
Member
Joined: Sep 2001
Posts: 672 |
where the heck is that code? its not in public_common
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
public_topic_page.pl
it's the quick reply code
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
works on 6.7 too 
|
|
|
|
Joined: Oct 2000
Posts: 2,667
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,667 |
Originally posted by AllenAyres: works on 6.7 too sure? I had to remove iz from Kompact as it gave me a huge perl error
Do you believe in love at first sight, or should I walk by again?
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
Are you serious? This is just a css/html change, there shouldn't be anything to do with perl in this 
|
|
|
|
Joined: Oct 2000
Posts: 2,667
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,667 |
deadly, reverting to normal tbt, tbb removed the error.
Do you believe in love at first sight, or should I walk by again?
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
heheh... had to be something different... this has nothing to do with perl  It's just a stylistic change 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
tested on my test board, works fine 
|
|
|
|
Joined: Aug 2000
Posts: 178
Member
|
Member
Joined: Aug 2000
Posts: 178 |
Seemed to bust up my Directory Listing Page ? Everything else looked great?
The cell the Directory search and CI windows go had the background changed to the border color (black) ... the search table was misaligned and and copywrite info was shifted right as well ?
Reverted back and problem went away.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
This can only be fixed by editing public_ci_members.pl. I'll try to post the fix later tonight
|
|
|
|
Joined: Aug 2000
Posts: 178
Member
|
Member
Joined: Aug 2000
Posts: 178 |
ok great .. because I hacked up on the public_directory.pl until my fingers bled and it never got right 
|
|
|
|
Joined: Aug 2000
Posts: 178
Member
|
Member
Joined: Aug 2000
Posts: 178 |
Bump for Ian 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
In public_ci_members.pl FIND: (3 times) my $TBT_ci = qq( <table border="0" cellpadding="$table_borders[0]" cellspacing="$table_borders[1]" width="$civar->{args}->{html_width}" align="center"> <tr bgcolor="$vars_style{TableBorderColor}"><td> <table border="0" width="100%" cellpadding="$table_borders[2]" cellspacing="$table_borders[3]"> ); REPLACE WITH: my $TBT_ci = qq( <table bgcolor="$vars_style{TableBorderColor}" style="border: $table_borders[0]px $vars_style{TableBorderColor} solid" cellpadding="$table_borders[2]" cellspacing="$table_borders[3]" width="$civar->{args}->{html_width}" align="center"> ); Then, in public_common.pl FIND: $TBT_Popup = qq( <center><table border="0" cellpadding="$table_borders[0]" cellspacing="$table_borders[1]" width="98%" align="center"> <tr bgcolor="$vars_style{TableBorderColor}"><td> <table border="0" width="100%" cellpadding="$table_borders[2]" cellspacing="$table_borders[3]"> ); REPLACE WITH: $TBT_Popup = qq( <center><table bgcolor="$vars_style{TableBorderColor}" style="border: $table_borders[0]px $vars_style{TableBorderColor} solid" cellpadding="$table_borders[2]" cellspacing="$table_borders[3]" width="98%" align="center"> ); Then, FIND: return qq( <table border="0" cellpadding="$table_borders[0]" cellspacing="$table_borders[1]" width="$_[0]" align="$_[1]"> <tr bgcolor="$vars_style{TableBorderColor}"><td> <table border="0" width="100%" cellpadding="$table_borders[2]" cellspacing="$table_borders[3]"> ); REPLACE WITH: return qq( <table bgcolor="$vars_style{TableBorderColor}" style="border: $table_borders[0]px $vars_style{TableBorderColor} solid" cellpadding="$table_borders[2]" cellspacing="$table_borders[3]" width="$_[0]" align="$_[1]"> );
|
|
|
|
Joined: Aug 2000
Posts: 178
Member
|
Member
Joined: Aug 2000
Posts: 178 |
"FLAWLESS VICTORY!"
Thank you guys!
|
|
|
|
Joined: Aug 2000
Posts: 178
Member
|
Member
Joined: Aug 2000
Posts: 178 |
Note: You will need to apply the fix above to all three of the CI templates. 
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 69
Joined: January 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|