Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Apr 2001
Posts: 65
Member
Member
Offline
Joined: Apr 2001
Posts: 65
I asked this question before and somebody gave me a 1 line code/instruction on how to do it. I need more. Can somebody please help me.

I just want on the main forum page to be able to change the solid color of my forum to a background graphic. Please help. Thanks.

Sponsored Links
);

-------------
Replace with:
-------------
if ($CategoriesOnly ne "true") {
# check Forum Total option--
if ($ForumTotalOption eq "Topics") {
$TopRow = qq();

----------
Find this:
----------
elsif ($ForumTotalOption eq "Posts") {
$TopRow = qq();
-------------
Replace with:
-------------
elsif ($ForumTotalOption eq "Posts") {
$TopRow = qq();
----------
Find this:
----------
$TopRow = qq();
-------------
Replace with:
-------------
$TopRow = qq();
----------
Find this:
----------
unless ($ShowMods eq 'no') { # display mod column unless set to No in CP
$modcolumn = qq(

);# end qq
}
-------------
Replace with:
-------------
unless ($ShowMods eq 'no') { # display mod column unless set to No in CP
$modcolumn = qq(

);# end qq
}
----------
Find this:
----------
$BorderTop

Joined: Nov 2000
Posts: 51
Member
Member
Offline
Joined: Nov 2000
Posts: 51
Try this hack smile

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

Topics

Posts

Posts

Topics


Posts


Topics


Posts


Moderator

Moderator




$TopRow

-------------
Replace with:
-------------
$BorderTop


$ForumHeader

Last Post




$TopRow

----------
Find this:
----------
sub ForumTableTop2 {
print<


$BorderTop

$ForumHeader

Last Post








TableTop2
}
-------------
Replace with:
-------------
sub ForumTableTop2 {
print<


$BorderTop

$LastLoginTime

Forum Categories

Total Forums








TableTop2
}

---------------------------------------------------------------------------
Save Ultimate.cgi file and open Forumdisplay.cgi
---------------------------------------------------------------------------
----------
Find this:
----------
$BorderTop

$LastLoginTime

Forum Categories

Total Forums



$IconFieldHeader




OtherMiddle
} ## END Middle HTML for Topic Page

-------------
Replace with:
-------------
$BorderTop

Topic

Topic Starter
Replies
Last Post



$IconFieldHeader




OtherMiddle
} ## END Middle HTML for Topic Page
--------------------------------------------------------------------------
Save forumdisplay and open ubb_library2.pl
--------------------------------------------------------------------------

----------
Find this:
----------
$BorderTop

Topic

Topic Starter
Replies
Last Post




);
-------------
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.

Author

Topic: $TopicSubject

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
hatter
hatter
USA
Posts: 69
Joined: January 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 20221218)