View Full Version : How to make an automatically default icone on a specific forum threads ?
scorpss
11-13-2012, 10:29 PM
Hello dear ,
i wich to know how i can make this icone to appear automatically in all thread created by users on the presentation forum :
http://image.noelshack.com/fichiers/2012/46/1352836448-sans-titre.png
any idea ?
scorpss
11-15-2012, 05:57 AM
up....
scorpss
11-20-2012, 08:24 PM
up !! :(
Lynne
11-20-2012, 09:24 PM
Have you tried modifying the templates to always have that icon show?
To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.)
scorpss
11-21-2012, 01:01 PM
thanks for helping but i dont really understand how to do it :(
i want a default icone in this forum :
http://www.gamerzunivers.eu/forumdisplay.php?726-Gold-Book-%28Feedbacks%29
now , what i have to do exactly ? (am a very ad coder :( ) ^^
Lynne
11-21-2012, 04:00 PM
Well, probably the easiest way is just a plugin. Use the threadbit_display hook and add in something like:
if ($thread['forumid'] == xx) {
$show['threadicon'] = true;
$thread['threadiconpath'] = 'images/icons/thumb_up.png';
$thread['threadicontitle'] = 'Vouch';
}
Change xx to the forumid and then set the path and title correctly.
scorpss
11-21-2012, 05:52 PM
i dont understand nothing .... i have to add this in that template ? Oo
THANKS
Lynne
11-22-2012, 12:00 AM
It's a plugin. http://www.vbulletin.com/docs/html/plugin_system?manualversion=40200603
scorpss
11-22-2012, 12:37 PM
euh ok and how i can active it ? oO or install ...
where i can download it ?
thanks
Lynne
11-22-2012, 03:05 PM
Did you read the pages in the manual? You need to create a plugin and enter that code. I'd suggest you try this out on your test site so you can see what happens.
scorpss
11-22-2012, 09:12 PM
but i understand nothing on coder ! and plus , am bad on english !
i think i will pay someone to do it for me .
thanks anyway ..
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.