Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Customization Tutorial Unique on/off/offlock icons for each forum
Author Message
darkhorus Offline
Junior Member
**

Posts: 20
Joined: Feb 2012
Reputation: 0
Post: #1
Unique on/off/offlock icons for each forum
I know there is a plugin for this somewhere, however seeing there are seemingly many problems with the plugin, I have decided to create a little tutorial on how to accomplish this without any plugin whatsoever. It only requires 1 simple minor edit to a few templates, mainly the forumbit_depth2_forum template, no plugin required.

In the forumbit_depth2_forum template,

find
Code:
{$lightbulb['folder']}.gif

replace with
Code:
{$lightbulb['folder']}{$forum['fid']}.gif

That's it for the template edits Ohmy

Now the only thing left to do is, upload a couple of different on/off/offlock icons to your theme's images folder, naming them onX, offX, offlockX (X standing for the forum id of the forum you want to use the respective icons for).

That's it, not much to it really Smile

Anyone with only a little bit of coding knowledge probably already knows this Blushing but for the ones that don't, here goes 001_smile
04-03-2012, 03:46 AM
Find all posts by this user Quote this message in a reply
Jacob Offline
--Manager--
****

Posts: 499
Joined: Feb 2012
Reputation: 2
Post: #2
RE: Unique on/off/offlock icons for each forum
Approved

This has been posted a while back. I was actually searching for something like this.

Current Status: Away. Return Date: 8/4/12
For Updates Follow me on Twitter:
https://twitter.com/_Jacob_C
07-11-2012, 11:05 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Cyber_Punk Offline
Premium User
Premium Users

Posts: 17
Joined: Feb 2010
Reputation: 0
Post: #3
RE: Unique on/off/offlock icons for each forum
Thanks for this will put it to use for sure.


[EDIT] Damn its stylish, but a real pain in the neck to add to every forum, including sub forums. I guess this is where a plugin would come in to auto add it to the subforums.
(This post was last modified: 07-20-2012, 11:16 AM by Cyber_Punk)
07-20-2012, 10:18 AM
Visit this user's website Find all posts by this user Quote this message in a reply
darkhorus Offline
Junior Member
**

Posts: 20
Joined: Feb 2012
Reputation: 0
Post: #4
RE: Unique on/off/offlock icons for each forum
I see my thread has been approved, I was wondering why it was taking so long Big Grin Thanks 001_smile

Yeah it can really be much work to add different icons for every forum, but I felt this could be useful to those having problems with getting the plugin to work. And honestly I would much rather do it manually this way than having to install an extra plugin for it, and besides uploading the images needs to be done just 1 time, except if you add more forums later on they will need their own images too.
(This post was last modified: 07-21-2012, 09:59 PM by darkhorus)
07-21-2012, 09:58 PM
Find all posts by this user Quote this message in a reply
Cyber_Punk Offline
Premium User
Premium Users

Posts: 17
Joined: Feb 2010
Reputation: 0
Post: #5
RE: Unique on/off/offlock icons for each forum
(07-21-2012 09:58 PM)darkhorus Wrote:  I see my thread has been approved, I was wondering why it was taking so long Big Grin Thanks 001_smile

Yeah it can really be much work to add different icons for every forum, but I felt this could be useful to those having problems with getting the plugin to work. And honestly I would much rather do it manually this way than having to install an extra plugin for it, and besides uploading the images needs to be done just 1 time, except if you add more forums later on they will need their own images too.

Yeah I think it was totally worth it even if it was time consuming. Thanks for the tutorial.
07-22-2012, 06:13 AM
Visit this user's website Find all posts by this user Quote this message in a reply
darkhorus Offline
Junior Member
**

Posts: 20
Joined: Feb 2012
Reputation: 0
Post: #6
RE: Unique on/off/offlock icons for each forum
(07-22-2012 06:13 AM)Cyber_Punk Wrote:  Yeah I think it was totally worth it even if it was time consuming. Thanks for the tutorial.

You're welcome 001_smile
07-22-2012, 07:41 AM
Find all posts by this user Quote this message in a reply
[B]oss Offline
Junior Member
**

Posts: 10
Joined: Sep 2012
Reputation: 0
Post: #7
RE: Unique on/off/offlock icons for each forum
Wow , Cool Thanks iam gonna try this Big Grin
09-15-2012, 01:41 AM
Find all posts by this user Quote this message in a reply
Cropsin Offline
Junior Member
**

Posts: 5
Joined: Oct 2012
Reputation: 0
Post: #8
RE: Unique on/off/offlock icons for each forum
I've seen this on another forum, i did not know it was this easy.
10-15-2012, 10:42 PM
Find all posts by this user Quote this message in a reply
exec Offline
Junior Member
**

Posts: 17
Joined: May 2012
Reputation: 0
Post: #9
RE: Unique on/off/offlock icons for each forum
Wow. Didn't think that its so easy.
Thanks!
10-22-2012, 12:09 PM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)