Previous Thread
Next Thread
Print Thread
Rate Thread
#219677 06/23/2002 12:56 AM
Joined: Jun 2002
Posts: 375
Enthusiast
Enthusiast
Offline
Joined: Jun 2002
Posts: 375
Here is a text that I wrote up explaining how to add more icons to the Post Icon selections. It is one template to edit, plus one or two images to upload.

I have not seen this listed on these boards yet, so I thought I'd share this easy alteration. Hard to even call this a hack, LOL
Attachments
50930-Post_Icon_v1.txt (0 Bytes, 66 downloads)

Sponsored Links
Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
Thanks for sharing that information, since there aren't any descriptions on how to do things in threads new admins just have to guess. This will probably be appreciated.

The imagesize is set in the file imagesizes.php in the threads directory. The following lines (at 56 and 57) sets the size of the icons:
code:
// $images['icons'] = $size['3'];
$images['icons'] = "width="15" height="15"";



You can change the width and height settings on the second of those lines if you know what they are. Otherwise, change the lines to this:
code:
$images['icons'] = $size['3'];
// $images['icons'] = "width="15" height="15"";



Which will set the size according to the size of the book.gif icon. Unfortunately, all icons has to be the same size.
If you want the icons to show up in their correct size you could change the above mentioned lines into this:
code:
// $images['icons'] = $size['3'];
// $images['icons'] = "width="15" height="15"";
$images['icons'] = ""



I haven't tested it, but I think it should work.

Joined: Jun 2002
Posts: 375
Enthusiast
Enthusiast
Offline
Joined: Jun 2002
Posts: 375
Sounds good, but I'll just take the lazy route for now and stick with standard smiles hehe

I put oversized smiles in the graemlins area for peeps to play with. They get used all the time and add quite a bit of life to the boards!


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
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 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)