Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - how can i change Forum image for every forum
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

how can i change Forum image for every forum

 Post Reply Post Reply Page  <123>
Author
123Simples View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
Post Options Post Options   Thanks (0) Thanks(0)   Quote 123Simples Quote  Post ReplyReply Direct Link To This Post Posted: 27 February 2011 at 5:34pm
Changing the forum images for each forum is explained here. If you find this advice useful, why not consider making a donation for the time and the advice:



Here is how to do it:

Step 1:
Create a folder within your forum web directory. Name it forum_icons
Later on this is where you will be placing your new forum category images. By creating a new folder you are keeping things neat and simple, and also protecting your own forum from changes that can be easily undone if you don't like the application.

Step 2:
Locate the file in the forum directory called forum_status_icons_inc.asp
You will find this file in the includes folder of the web wiz forum directory
MAKE A BACKUP OF THAT FILE first. It will be easy to undo any changes if you get stuck!

Then using a text editing program, open the original file includes/forum_status_icons_inc.asp

Where it says:
'Display the topic status icon
Response.Write("<div class=""topicIcon"" style=""background-image: url('" & strImagePath & strForumIconBgSrc & "." & strForumImageType & "');"">" & _
"<img src=""" & strImagePath & strForumIconSrc & "." & strForumImageType & """ border=""0"" alt=""" & strForumIconTitle & """ title=""" & strForumIconTitle & """ />" & _
"</div>")

%>


Replace this with:
'Display the topic status icon
Response.Write("<div class=""topicIcon"" style=""background-image: url(' forum_icons/" & intForumID & ".png ');"">" & _
"<img src=""" & strImagePath & strForumIconSrc & "." & strForumImageType & """ border=""0"" alt=""" & strForumIconTitle & """ title=""" & strForumIconTitle & """ />" & _
"</div>")

%>


Uploading the changed file will cause all the existing forum icons down the left hand side not to appear, but don't freak out. Here is how to start replacing them with your own custom icons.

Step 3 - The images (you can always do this before you commit Step 2 so when you do upload the new file, the changes will be instant)

If you look at the forum homepage you will see (in this case) that we have changed the images down the left hand side, as shown in the image below -



I've highlighted some of the forum categories to help explain how to do this. If you hover the mouse for example over Free Downloads you should see down the bottom of the browser, the page address. It will be something like www.mywebsitename.co.uk/forum/forum_topics.asp?FID=45

Ignore the number I've put here (45), because you will see a different number on your forum, depending on which category you have hovered over, but this is the starting point. Each forum that you have created will have a unique FID or ID number, but for the benefit of explanation, we are looking at this one example. So, now you know the forum FID number for that specific forum, let's create the new image to go with it

Each image MUST adhere strictly to the following -
1. They must be no larger or smaller than 35px by 35px
2. Preferably saved as .png format or .gif (if you save them as a JPEG then that means that if your are running a forum skin it will look stupid) so save them as a transparent png or gif. I prefer png formats - easy to work with
3. Each image must be saved with the forum FID number - in other words in our example Free Downloads is FID=45 so I saved this image as 45.png
4. Each image should have a UNIQUE number to correspond with the FID number, and as you save and create each image, save it to your newly created forum_icons FOLDER

When you have finished, in that folder you will have something like this:



As you can each image is specifically numbered according to the individual FID number.
Upload the new images and enjoy!

If you have any issues you can always ask, and if you found this information helpful, why not show your appreciation by making a donation
Back to Top
synan54 View Drop Down
Newbie
Newbie


Joined: 06 February 2009
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote synan54 Quote  Post ReplyReply Direct Link To This Post Posted: 28 February 2011 at 7:47pm
that great thank you
Back to Top
123Simples View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
Post Options Post Options   Thanks (0) Thanks(0)   Quote 123Simples Quote  Post ReplyReply Direct Link To This Post Posted: 01 March 2011 at 6:45pm
Your welcome Smile
Back to Top
billd3 View Drop Down
Senior Member
Senior Member


Joined: 19 February 2003
Location: United States
Status: Offline
Points: 530
Post Options Post Options   Thanks (0) Thanks(0)   Quote billd3 Quote  Post ReplyReply Direct Link To This Post Posted: 01 March 2011 at 8:33pm
Say, this can be done on any current WW forum, even ours???

Hmmmmmm......
I also want to create different "header" images for each forum, so that if you are in the V8 engine section, it includes a pic of an AMC V8, or if you are in the transmission section, it includes a picture of a transmission in the left side of the header image.

This would be too cool!
BillD
http://theamcpages.com
http://theamcforum.com
Back to Top
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post Posted: 02 March 2011 at 10:48am
This mod only changes the icons for forums on the "home page" of the forum.

Though I wrote a tutorial for what you want several years ago: Change Banner for Forums

And it is also included in my Multiskin Selection modification, for those that us it.
S2H.co.uk - WebWiz Mods and Skins

For support on my mods + skins, please use my forum.
Back to Top
jonathan cole View Drop Down
Newbie
Newbie


Joined: 18 February 2011
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote jonathan cole Quote  Post ReplyReply Direct Link To This Post Posted: 08 April 2011 at 7:30am
please explain clearly, i cant understand.
Back to Top
madpakke View Drop Down
Groupie
Groupie


Joined: 09 June 2009
Status: Offline
Points: 165
Post Options Post Options   Thanks (0) Thanks(0)   Quote madpakke Quote  Post ReplyReply Direct Link To This Post Posted: 24 July 2011 at 3:09pm
Hey MrTws, i have tryed replaced the codes on the newest v10.1, but it dosent seams to work..
 
Is it possible you can give us an update, so i works with the newest wwf.?
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 25 July 2011 at 9:00am
being able to change the image icons for forums is built in to version 10.x you do not need to apply a mod.

To change the image for a forum edit the forum in the admin area and type in the path to the forum image in the space provided.
Back to Top
 Post Reply Post Reply Page  <123>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.