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


Posts: 20
Joined: Feb 2012
Reputation: 1
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

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

Anyone with only a little bit of coding knowledge probably already knows this but for the ones that don't, here goes
04-03-2012, 03:46 AM
Jacob
--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
Cyber_Punk
Premium User


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
darkhorus
Junior Member


Posts: 20
Joined: Feb 2012
Reputation: 1
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 Thanks

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
Cyber_Punk
Premium User


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 Thanks

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
darkhorus
Junior Member


Posts: 20
Joined: Feb 2012
Reputation: 1
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
07-22-2012, 07:41 AM
[B]oss
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
09-15-2012, 01:41 AM
Cropsin
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
exec
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
hamidkag
Junior Member


Posts: 8
Joined: Aug 2013
Reputation: 0
Post: #10
RE: Unique on/off/offlock icons for each forum
NNNNNNNNNNNNNIiiiiiiiiiiiiiiiCCCCCCCCCCe
thnx very MutCh
08-08-2013, 10:39 PM
 




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