![]() |
Forum Icons ( MyLs1 Style )
This is a mod alot of people wanted me to release so here it is.
What it does: It displays an icon for each forum. Demo: http://www.myls1.com ########## INSTALL ########## Admin CP >> Styles & Templates >> Edit Templates >> Forum Home Templates >> forumhome_forumbit_level2_post Find: PHP Code:
PHP Code:
Now the deal is that you have your own icons and you have to name each file with the number of the id of each forum. So you go to Forums & Moderators >> Forum Manager And click on any child forum (not subforum), for example in our case New Members, and look at the top for the Forum id... then you rename the .gif file with the number of the forum id, like: 2.gif Upload them onto the images / statusicons folder Now that file will display on that forum, and you go like that for each forum you have. I have uploaded a PSD file for you to use if you need to make your own. Is a 40 x 40 px file. Enjoy! Ask if you have any question. |
Couldn't you also enter your code into the forum description to get the same effect but with greater control over name conventions of the icons (and one less template edit)
(same result just different method i beleive) |
Not sure...
|
hi anyone this but in status icon? for 3.7.3
|
Yes, you can add the HTML in the name of the forum in the forum manager, but you quickly run into a problem with the amount of available characters that you can type in the forum name block. You may get the image to dislpay, but it may not display the full name of your forum. So in that case, you may have to design individual buttons for each forum...not something I would care to do.
|
I tried adding this to my site, but it doesn't appear to be working. I am running 3.7.3 PL1.
|
OK, I am very happy, I got this to work after I cleared up a brain fart I managed to self induce! :mad: Thank you very much. :D
My next question is.... how do I get the name of my forum to be centered in the box now and not along the top.... |
I second this.. Worked like a charm but how to make it centered with forum name?
|
Quote:
|
Sweet. at last a 3.7 version
|
Quote:
TIA |
i'm very new and very confused, i just inherited the board and dont know much of what i am doing yet
i did that, but nothing shows up, however i am not sure where this folder you say to upload them is......??? the only upload for images i can find is the smilies i can upload an image that way. so can anyone take the time to walk a new "slow" person through this? :) |
Quote:
Quote:
each image named as each forum id with a .gif extention |
Quote:
|
Thank you deserve Evaluation
|
Quote:
|
Quote:
|
Quote:
If you mean like this: Code:
<div valign="middle" style="float: left; margin: 0px; padding: 0px;"> |
Is there a way to do this where the image appears where the forumnew.gif or forumold.gif is displayed? Would also want this to work on subforums...
|
So you cant make the text come to middle or?
|
i to would prefer this where the forumold and forumnew pics are - does anyone have any screenshots of this in action?
|
I wonder how now... it should be easy but I havent had time to try it, sorry. It will align the whole forum information , time, last post and views though but if thats what you want, try adding that valign="middle" to its first table, if not the first division
|
i use 2 Styles in my site
one for some categories and one for diffrent category i tried to use this mod for the stand alone category and it dont work for me EDIT: SOLVED if you want to set an icon for a single category shown on a diffrent link you shuld add the code to "forumhome_forumbit_level1_post" template |
Quote:
|
thanks for sharing the code, unfortunately your 101 is not much of a help.. i spend the last hour trying to figure out how your code works!
it does not work <div style="float: left; margin: 0px; padding: 0px;"> <img src="$stylevar[imgdir_statusicon]/585.gif" alt=""/></div> when i use the code, the pic shows up on all forums... how do you assign it to the forum id? |
Quote:
Put the exact code as it is, and then rename each picture to its forum id, dont rename the code with the image name. |
Quote:
my other question is, how can i centre the text with the pic? |
Quote:
|
i could not figure it out either, so i just added more descriptions! Thanks
|
Just a suggestion. Rather than instructing that your code be installed underneath:
PHP Code:
You might want to say to install above: PHP Code:
Just a thought. |
Not sure if the folks that said something about the files and text not showing up centered or what ever holds water but I think you have the very code that I have spent a fortune to get and still have not got till now. We will see if this fixes my problem.
Thank you Charlie |
This man deserves top ratings and is a complete life saver!!! Donation made to your paypal fund and many thanks for the fine code that saved my butt and made every thing I ever dreamed of possible and saved me 100's in ( so called) coder fees that did nothing that would do this.
|
Disregard.
|
Have triple-checked every step and think I have it as the instructions say.
Getting this however: http://www.thenoosphere.com/Om/Images/IndexPics.gif Can anybody help? |
Quote:
You wish to get your text aligned or ???? These are all coding issues. I have addressed some of them at our fourm and plan to make the forum gifs larger soon and not sure if that is your desire or exactly what you wish to do. What I am sure of is that unless you are a low to mid range PHP programmer or choose to employ one or get one for free, I do not see you having a lot of success. Again not sure what you see your problems to be as I am not sure you are clear on them but the issues I see as problems are corrected programically. Get a fair coder and its a few minutes work. Get a lamer and its a nightmare. Try it your self and its a night mare from hell and you could mow lawns in the time it takes you trying to fix it and pay a coder in an emerging economy that could stand the employment and you end up with a good deal as well. Pick a bad one and see above. Would you care to make your problem clear again please? |
I'll try to be clearer.
1. Per the instructions, I created and uploaded 40x40 gif's to my images/statusicon folder, and renamed them with each of my forum id's. Here's a sample: http://www.thenoosphere.com/images/statusicon/2.gif 2. Per the instructions, I pasted the code provided into my forumhome_forumbit_level2_post template as follows: Quote:
3. Instead of the new gif's displaying on my forum index, I am getting this: http://www.thenoosphere.com/Om/Images/Error.gif If I made an error at some point in the process, I was hopeful someone with a little bit more experience than I have would be so kind as to point it out to me. It was not my intent to contribute to the problems with our economy, just to take advantage of what looks like a great mod for my website. |
If you right click on the image place holder that is associated with forum id2 and choose properties, does it show that that reads http://www.thenoosphere.com/images/statusicon/2.gif ?
If so what is the chmod on that directory or the main or levels of directoies above it or the actual gifs? |
Quote:
Quote:
|
When you boost it insist the coder teach you how they get from A to B. I started out wish similar but not all the problems you had and 10 minutes or so 3 times and the coder had it all working correctly.
|
Well, a quick read-up on chmod and I was able to figure it out. Think I have it now.
Thanks for your help. |
All times are GMT. The time now is 07:54 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|