Previous Thread
Next Thread
Print Thread
Rate Thread
#221202 07/14/2002 10:01 AM
Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
This hack now also includes the possibility to have an image for categories. Since I've done some changes I'll let it stay here in the beta forum for a while, but I think it works fine.

Mod Name / Version BoardImage 2.0
Description Adds board and category specific images on main index page.
Working under UBB.threads 6.0.1
Any pre-requisites None
Author(s) Gardener
Credits JustDave for doing it first, omegatron for wanting it public and canvey for wanting the category image as well.
for wanting it public.
Demo See attached screenshot.
Files Altered ubbthreads.tmpl, ubbt.inc.php
Database Altered No
New Files None
Any other info Please report any problems you might have and I'll try to fix them as soon as possible. I don't use this myself but I hope it works and that you might find it useful.
Attachments
52499-BoardImage-2_0.zip (0 Bytes, 15 downloads)

Sponsored Links
c0bra #221203 07/14/2002 6:30 PM
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Cool Thanks I updated my site. However one must keep in mind since this hack is so simple the image sizes you create must be one size since size constraints are not used here.

Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
No, it makes use of the images actual sizes, but of course it is easy to make it a fixed size. But it's really better to scale the image in an image program than letting the browser do it IMHO.

c0bra #221205 07/17/2002 8:14 AM
Joined: Apr 2001
Posts: 45
Power User
Power User
Offline
Joined: Apr 2001
Posts: 45
This is really fine and I have achieved similar keying in as below to the forum description:

[]http://www.utteraccess.com/images/News.gif[/] Information and announcements for everyone regarding UtterAccess.com.

Results of this are here: www.UtterAccess.com/forums/ubbthreads.php

Does the method you provide allow the image to remain visible if the forum is clicked (opened)? As my method does not.

Gord

med2004 #221206 07/17/2002 11:06 AM
Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
Yes, it's about the same effect as on your site, altough you don't have to add the image tag to all descriptions, just upload images with the correct name. It's also possible to put the image in different places, it doesn't have to be in the description.

I'm not sure that I follow you on the last question... This hack only changes the front page, so if you go to a board it will be the same as before. I do have another hack that I haven't released which will allow you to put board specific information above the board name on the postlist page.

Sponsored Links
c0bra #221207 07/17/2002 12:13 PM
Joined: Apr 2001
Posts: 45
Power User
Power User
Offline
Joined: Apr 2001
Posts: 45
Yes, thanks Gardner, that was basically it. I do think it would be neat if the image was carried through so when the board is opened it would appear there too. Looking forward to that next hack!

Gord

med2004 #221208 07/17/2002 10:05 PM
Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
OK, I'll fix this as well soon. I'm just about to release a new big hack today, so it will have to wait until tomorrow at least. =]

It would be an easy fix just to add the image to the postlist page in the same way as it is done on the forum index. But then you would only get the image and nothing else.

What I'm using at my board is an inclusion of a file below the menu on the postlist page when viewing the newest threads. This way I can add both images as well as a long description or good links (forum specific FAQ:s etc). Would this be interesting as well?

c0bra #221209 07/18/2002 5:29 AM
Joined: Apr 2001
Posts: 45
Power User
Power User
Offline
Joined: Apr 2001
Posts: 45
That sounds great Gardener! Anxious to see it - thank you!

Gord

Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
Changes: I've now added instructions on how to add the board image to the postlist page per request from ghubbell.

Mod Name / Version BoardImage 2.1
Description Adds board and category specific images on main index page and on the postlist page.
Working under UBB.threads 6.0.1
Any pre-requisites None
Author(s) Gardener
Credits JustDave for doing it first, omegatron for wanting it public, canvey for wanting the category image as well and ghubbell for wanting the image on the postlist page.
Demo See attached screenshot.
Files Altered ubbthreads.tmpl, ubbt.inc.php, postlist.php, postlist.tmpl
Database Altered No
New Files None
Any other info Please report any problems you might have and I'll try to fix them as soon as possible. I don't use this myself but I hope it works and that you might find it useful.
Attachments
52954-BoardImage-2_1.zip (0 Bytes, 17 downloads)

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Works good for me. Nice work seems streamlined and very easy to do. I removed the old code from the template for version 2.0 and then did 2.1. Everything works good and it shows up in postlist as well.

If anyone wants a live picture of what it looks like visit http://www.reeftalk.com/ubbthreads/ubbthreads.php

Last edited by omegatron; 07/21/2002 9:04 PM.
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
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 20221218)