if you want it to appear for all forums, remove the conditional, you can also just change the conditional to suit your needs better, the XX's in the conditional are to be replaced by the parentid's of your desire. the parentid is just the forumid of the catergory.
So for the others trying to make this work the following is what was wrong with the original code, this > condition="in_array($forum['parentid'] should really be this > condition="in_array($forum['forumid']
wow how disrespectful are you, you carry on liek this and you'll make me swear.
Quote:
Originally Posted by Original Release Post
if you want it to appear for all forums, remove the conditional, you can also just change the conditional to suit your needs better, the XX's in the conditional are to be replaced by the parentid's of your desire. the parentid is just the forumid of the catergory.
if anyone doesn't know the difference between forumid's and categoryid's then the problem is on their end in the understanding department and that's what this thread is here to help them with, if you want forumid's you change the conditional to relfect that yourself, i'm a man can't be arsed with specific forums when i want a whole category to have images and thus i released according to my needs.
But allas that didn't fix it either. All that did was enter the name of the forum where the image should be, but still no image.
whatever? and yet i'm still gonna help you.
the problem is that you're getting a 404 on the images, find out where they're pointing on your forumhome and either change it in the template or change it image location's to match.
I'm not going to argue with you over this but perhaps if your hack had better instructions then people wouldn't be having so many problems with it. Look back through the posts in this thread, the history is there, people do not understand your hack.
As for my 404 error, sure it's 404'ing file not found because it's looking in the wrong place because your original code is wrong. Your code says "<img src="$stylevars[imgdir_misc]/$forum[forumid].gif" which is the "misc" directory under the "images" directory which is under the "forum" root directory, yet that's not where it's looking for the images. It's looking for them in the root of the website.
I'm not going to argue with you over this but perhaps if your hack had better instructions then people wouldn't be having so many problems with it. Look back through the posts in this thread, the history is there, people do not understand your hack.
As for my 404 error, sure it's 404'ing file not found because it's looking in the wrong place because your original code is wrong. Your code says "<img src="$stylevars[imgdir_misc]/$forum[forumid].gif" which is the "misc" directory under the "images" directory which is under the "forum" root directory, yet that's not where it's looking for the images. It's looking for them in the root of the website.
if anyone doesn't know the difference between forumid's and categoryid's then the problem is on their end in the understanding department and that's what this thread is here to help them with, if you want forumid's you change the conditional to relfect that yourself, i'm a man can't be arsed with specific forums when i want a whole category to have images and thus i released according to my needs.
well thanks for releasing it and admitedly it is on my end as i dont know any thing about it was trying to learn here understand nice sounding hack