Previous Thread
Next Thread
Print Thread
Rate Thread
#115365 04/30/2003 10:48 AM
Joined: Nov 2000
Posts: 1,271
Kahuna
Kahuna
Joined: Nov 2000
Posts: 1,271
name: compact footers

description: neatens the area on the bottom of each page. specifically, the copyright / contact us area, placing everything inside a 1 row, 3 column table that is styled like the rest of your forum tables.

demo: booyah!

requirements: a personal copyright line (if you dont have one, do what every site out there does and make one up! smile ). it works on v6.3-6.5, and possibly even older versions.

disclaimer: im notta hacker! i'm not even smart! this code could be awful and work only via coincidence. dont blame me if your board crashes, server explodes, computer melts, boss fires you, family betrays you, ex girlfriend finds you, or car wont start.

****

in public_common.pl

find:
Code
[/code]replace with:

[code]
save. upload. wash. rinse. repeat. clear cache.

badda boom! smile

Sponsored Links
#115366 05/01/2003 3:25 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Thank you DK! thumbsup


- Allen wavey
- What Drives You?
#115367 05/05/2003 4:40 PM
Joined: Oct 2002
Posts: 394
Enthusiast
Enthusiast
Offline
Joined: Oct 2002
Posts: 394
DK, there is something weird happening on a 6.3.1.1. with this nice hack.

First of all, the Footer codes in a 6.3.1.1 public_common look like this:

Code
[/code]second, I changed this:

Code
</pre></div></div>with yours:<br> [code]
but I only get the compact headers on some pages,ie: calendar, statistics, PM Inbox..etc, but not on the Forum summary and Forum Pages.

Suggestions? URL HERE

Thank you,
Felix

#115368 05/05/2003 10:09 PM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Hmm...I can't say unless you are using a different Style Template for the pages that the Compact Footer is not working. Go into your CP and look under Template Associations in Style Templates.

Along with the $Footer that you edited in public_common.pl file, you may also need to edit "sub StandardHTML" and "sub StandardHTML2". For these I couldn't use $Footer. Instead I had to enter the actual footer code in those two spots. smile

While I did my own Footers the concept should be the same as with drkknght's. smile

#115369 05/05/2003 11:15 PM
Joined: Nov 2000
Posts: 1,271
Kahuna
Kahuna
Joined: Nov 2000
Posts: 1,271
PT speaks the truth! wink

Sponsored Links
#115370 05/07/2003 2:44 PM
Joined: Oct 2002
Posts: 394
Enthusiast
Enthusiast
Offline
Joined: Oct 2002
Posts: 394
Quote
quote:
Originally posted by PrimeTime:
Hmm...I can't say unless you are using a different Style Template for the pages that the Compact Footer is not working. Go into your CP and look under Template Associations in Style Templates.

Along with the $Footer that you edited in public_common.pl file, you may also need to edit "sub StandardHTML" and "sub StandardHTML2".
quote:
[qb] [/qb]
smile

While I did my own Footers the concept should be the same as with drkknght's. smile
Hi Prime

I obvioulsly checked that before I hailed for help, there is only one Template I use. Furthermore, something very strange, I cant change the template of Statistics since I did the $Footer modifications!

However, I tryed to edit the Footer info for Sub Standard but I am not sure I did it right. What did you mean when you said :
Quote
quote:
For these I couldn't use $Footer. Instead I had to enter the actual footer code in those two spots.
what and where exactly I should add?

I appreciate your help, as always.

Felix

#115371 05/07/2003 8:13 PM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
I don't know why the Compact Footer would interfere with the Statistics template...It shouldn't since it doesn't touch any code of the Stats file. Odd. [Linked Image]

As for the "sub StandardHTML" sections I think inside the original sub sections the "$Footer" was in place. When I made my edits (now this was back in January) the "$Footer" didn't respond...Meaning that whatever edits I did with the primary "$Footer" code didn't work with the "sub StandardHTML" codes. So in the sub sections I had to take out the symbol "$Footer" and replace it with the entire Footer (raw) code (e.g., table, tr, td...). smile

#115372 05/08/2003 10:59 PM
Joined: Oct 2002
Posts: 394
Enthusiast
Enthusiast
Offline
Joined: Oct 2002
Posts: 394
Prime Time, can you help me get this working? I really like the way it looks, unfortunatelly I tried everything I could, I turned public_common upside-down, inside-in, I cant get it working. It only works on some pages, but not on summaru=y and others.

Here, this is my public_common.pl

Thanks you, again

Felix

#115373 05/10/2003 10:23 AM
Joined: Apr 2003
Posts: 7
Junior Member
Junior Member
Offline
Joined: Apr 2003
Posts: 7
I tried this hack on my version 6.5 board, it works. But somehow the footer display twice. I'm a newbie, I cant figure out why.

I would appreciate it if someone please take a look.

My Board

Thanks,
dennislam

#115374 05/10/2003 9:03 PM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Felix - Your public_common.pl file doesn't have the Compact Footer added?

dennislam - Check to see if you left your original $Footer code. If so then just replace it with drkknight's modified code.

Sponsored Links
#115375 05/11/2003 7:50 PM
Joined: Oct 2002
Posts: 394
Enthusiast
Enthusiast
Offline
Joined: Oct 2002
Posts: 394
No, that is the good file. It didnt owrk properly ( it only showed on some pages) and I took it out.

I gave you the original so you can tell me where and what should I add. I am aware this is a 6.5 Thread and I am using 6.3.1.1 but drkknght said it would work on any version.

any help?


Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240430)