Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Sep 2000
Posts: 1,304
Addict
Addict
Offline
Joined: Sep 2000
Posts: 1,304
Can someone show me how to make the folder table or box (closedb.gif, etc.) and the message icons smaller than what it is now in forumdisplay.cgi

*Edit* Can any of you (i.e. Allen, MasterMind, etc.) can give me the values of the width you placed for the folder icons box and message icons box? Please tell me where to change it as well. Thanks!
------------------
The Fusion of Goku & Trunks...GoTorankusuKu

This message has been edited by GoTorankusuKu on November 16, 2000 at 09:09 PM

Sponsored Links
Joined: Oct 2000
Posts: 229
Member
Member
Offline
Joined: Oct 2000
Posts: 229
In forumdispay.cgi, find each instance of the following variables:

$FolderIcon (a bunch of them)
$IconField (a couple)

And add "width=xx height=xx" (without the quotes) to the end of the image tag in the variable...for example:

$FolderIcon = "";

------------------

a.k.a. Neal Ulen | Webmaster - GamerForums.Net | Senior Editor - Moviefan Online

Joined: Sep 2000
Posts: 1,304
Addict
Addict
Offline
Joined: Sep 2000
Posts: 1,304
Naw, you misunderstood me, I don't want the images to be have a default height and width. I want the box containing the folder and message icon to have a default size.

------------------
The Fusion of Goku & Trunks...GoTorankusuKu

);

$IconField = qq( );

This will change the width of the folder icon column:

print <


I have not tested these two changes, but I'm pretty sure this will work.

------------------

a.k.a. Neal Ulen | Webmaster - GamerForums.Net | Senior Editor - Moviefan Online
Joined: Oct 2000
Posts: 229
Member
Member
Offline
Joined: Oct 2000
Posts: 229
Sorry, this is what I read.

Quote
quote:
So you want to change the column width for the folder icon and the post icon on the left side of the forumdisplay table? Correct? Right now there is no size in the html, so it will size based on the width of the icons in them. OR you can manually size them by:

This will change the icon table width, use xx for pixels, xx% for percent. Add the bold wording.

$IconFieldHeader = qq(
width=xx> width=xx>
width=xx>
$FolderIcon
Joined: Sep 2000
Posts: 1,304
Addict
Addict
Offline
Joined: Sep 2000
Posts: 1,304
NM I figured it out myself, I just did this...

Find:
Code
code:

Replace with:
Code
code:

Find:
Code
code:

Replace with:
Code
code:

Thought that was pretty easy...

------------------
The Fusion of Goku & Trunks...GoTorankusuKu

Sponsored Links

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
badfrog
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
Forum Statistics
Forums63
Topics37,575
Posts293,931
Members13,824
Most Online6,139
Sep 21st, 2024
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,834
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
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-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)