Try this hack
HACK NAME : Category background image.
VERSION: 1.0 - 11/28/2000
DESCRIPTION : Puts a image instead of just a color for the Category header.
AUTHOR : N/A
PROPOSED BY : I think CWM
ORINGAL HACK : unknown by me
DEMO :
http://www.subzeroland.com/cgi-bin/Ultimate.cgi http://cwm.ragesofsanity.com/cgi-bin/Ultimate.cgi http://www.quake3world.com/cgi-bin/Ultimate.cgi CREDITS : CWM for the Great Idea, and a special thanks to Spawn for the help
*cough* and most of the hacking,,hehe.
REQUIREMENTS : A full version of the UBB.
This version has only been tested to work on UBB v5.46. It may work on slightly earlier versions, but has not been tested.
DOWNLOAD URL :
http://www.subzerolan.com/bgimage.zip Edited files; Ultimate.cgi, Forumdisplay.cgi and ubb_library2.pl
SUPPORT :
[email protected]INSTALLATION INSTRUCTIONS: Like always, make backups of your ubb incase this doesn't work for you.
*When you find the url "http://www.yourdomain.com/ubb/tablebg.gif" you will have to edit this for your own
board.*
*Open Ultimate.cgi*
----------
Find this:
----------
if ($CategoriesOnly ne "true") {
# check Forum Total option--
if ($ForumTotalOption eq "Topics") {
$TopRow = qq(
Topics
| );
-------------
Replace with:
-------------
if ($CategoriesOnly ne "true") {
# check Forum Total option--
if ($ForumTotalOption eq "Topics") {
$TopRow = qq(
Topics
| );
----------
Find this:
----------
elsif ($ForumTotalOption eq "Posts") {
$TopRow = qq(
Posts
| );
-------------
Replace with:
-------------
elsif ($ForumTotalOption eq "Posts") {
$TopRow = qq(
Posts
| );
----------
Find this:
----------
$TopRow = qq(
Topics
| Posts
| );
-------------
Replace with:
-------------
$TopRow = qq(
Topics
| Posts
| );
----------
Find this:
----------
unless ($ShowMods eq 'no') { # display mod column unless set to No in CP
$modcolumn = qq(
Moderator | );# end qq
}
-------------
Replace with:
-------------
unless ($ShowMods eq 'no') { # display mod column unless set to No in CP
$modcolumn = qq(
Moderator | );# end qq
}
----------
Find this:
----------
$BorderTop
|
$ForumHeader
|
$TopRow
Last Post
|
-------------
Replace with:
-------------
$BorderTop
|
$ForumHeader
|
$TopRow
Last Post
|
----------
Find this:
----------
sub ForumTableTop2 {
print<
$BorderTop
$LastLoginTime
|
Forum Categories
|
Total Forums
|
TableTop2
}
-------------
Replace with:
-------------
sub ForumTableTop2 {
print<
$BorderTop
$LastLoginTime
|
Forum Categories
|
Total Forums
|
TableTop2
}
---------------------------------------------------------------------------
Save Ultimate.cgi file and open Forumdisplay.cgi
---------------------------------------------------------------------------
----------
Find this:
----------
$BorderTop
|
$IconFieldHeader
Topic
|
Topic Starter
|
Replies
|
Last Post
|
OtherMiddle
} ## END Middle HTML for Topic Page
-------------
Replace with:
-------------
$BorderTop
|
$IconFieldHeader
Topic
|
Topic Starter
|
Replies
|
Last Post
|
OtherMiddle
} ## END Middle HTML for Topic Page
--------------------------------------------------------------------------
Save forumdisplay and open ubb_library2.pl
--------------------------------------------------------------------------
----------
Find this:
----------
$BorderTop
Author
|
Topic: $TopicSubject
|
);
-------------
Replace with:
-------------
$BorderTop
Author
|
Topic: $TopicSubject
|
);
-------------------------------------------------------------------------
Save ubb_library2.pl and upload all three files to your site.
-------------------------------------------------------------------------
and I think your done
You can take this hack further and do the postings.cgi file. I didn't document that because I didn't like the
way it looked.