![]() |
text replace with images
I have created a forum with the name "Mortal Kombat X" and then i also added some sub-forums and now i want to know how to put small image before sub-forum name for example
sub forums name is Scorpion so i want to put "scorpion" picture before scorpion name. my website forum www.mknexusonline.com |
Is this what you're looking for https://vborg.vbsupport.ru/showthread.php?t=214289?
|
yes but it's show on main forum i am talking about Sub-Forums
|
If you name your images with the name of the sub-forum (i.e. "scorpion.jpg), it is pretty simple to then edit the appropriate template to insert the image where you want it. Which template you need to edit depends on where, exactly, you want the image to appear.
|
i tried not works i really need to change my subforum icon
|
Quote:
How did it "not works"? Tell us what happened. |
below is my forumhome_forumbit_level2_post coding
Quote:
http://www.mknexusonline.com/forums/...n_subforum.png and 79 is my forum ID |
In order for
HTML Code:
<img border="0" src="images/misc/iconforums/$forum[forumid].gif" hspace="4px" align="left"/> The above template would look for the image HTML Code:
images/misc/iconforums/79.gif HTML Code:
images/tealblack/statusicon/mkx_raiden_subforum.png |
sub forum not showing images even my main forum images are disable below is code
Quote:
|
You've messed up the file path:
HTML Code:
<img border="0" src="images/tealblack/statusicon/mkx_raiden_subforum.png/$forum[forumid].gif" hspace="4px" align="left"/> HTML Code:
<img border="0" src="images/tealblack/statusicon/mkx_raiden_subforum.png" hspace="4px" align="left"/> |
show same images all forums
Quote:
|
Quote:
Change: HTML Code:
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><img border="0" src="images/tealblack/statusicon/mkx_raiden_subforum.png" hspace="4px" align="left"/></a> HTML Code:
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><img border="0" src="images/tealblack/statusicon/$forum[forumid].png" hspace="4px" align="left"/></a> Rename mkx_raiden_subforum.png to 79.png Do the same for all of the icon images you want to use, change their file name to the ID number of the forum they are for. |
it won't works because i want only 2 subforums there ID's are 79 and 80
|
people can only help with info you give if you want this fixed you need to give all info not in parts
|
Quote:
|
Quote:
I'm confused. |
1 Attachment(s)
this is my forum page
http://www.mknexusonline.com/forums/index.php and this forum http://www.mknexusonline.com/forums/forum22/ now there are some subforums under above forum i want to put image in this forum http://www.mknexusonline.com/forums/forum80/ (Example image A ) http://www.mknexusonline.com/forums/forum79/ (Example Image B) you must see this attached below is code Quote:
|
If you want to display images in the 8 subforum listings that you have here:
http://www.mknexusonline.com/forums/forum22/ Then I gave you the right code, but you are putting it into the wrong template. If you only want to put the images in 2 of those subforums in the list (and I don't know why you would) then I still gave you the right code, and you still need to put it in the right template, but you also need to wrap it in a conditional to make it work that way. |
thanks please share with me the code
|
All times are GMT. The time now is 08:06 PM. |
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:
|