![]() |
Attractive Thread Prefix
1 Attachment(s)
Hey Friends,
This idea just came up by seeing XenForo threads Prefix style they really look attractive, Any how if you like you can use them aswell just follow below procedure.... Copy below CSS Code to additional.css template PHP Code:
Now Goto Thread Prefixes --> Thread Prefixe Manager Title (Rich Text) Code:
<a class="mcbadge mcbadge_v">TITLE (PLAIN TEXT) HERE</a> https://vborg.vbsupport.ru/attachmen...1&d=1389529808 This is how it looks: https://vborg.vbsupport.ru/attachmen...1&d=1389529873 Live Demo Feel free to add your own colors Kind Regards, |
Like it and works great.
However adding the code to my additional.css didn't work. I had to add the code to vbulletin.css and then it worked. |
Yep vbulletin.css should also be okay when additional.css is not loading up :)
Or vBulletin Option --> Style & Language Settings --> External CSS URL ( you can add the code in that css file ) |
Cool! Thanks for sharing :)
Edit: when you put the code at the end of additional.css it won't work unless you put it at the top :D |
Might want to add the class of the prefix rich text also in the example.. So people don't have to type it over.
|
Done! i have updated 1st post with Title (rich text) code . Now just copy paste and edit your Title (plain text)
|
thx for your code !
i look for add 1 prefix automatically in thread ? any idea ? |
automatic prefix even i never heard that bro, But you can make user to select atleast one prefix for posting
[Application] [Cheat] [Application] [Cheat] (you can follow that pattern) |
It looks great! however, doesn't appear to be working with:
https://vborg.vbsupport.ru/showthread.php?t=230906 Make Prefixes Clickable to Filter Forumdisplay Anyway it can be made compatible? |
Mostly it should support with any plugin cause we don't use ordinary class names to get conflicts with any inner vB CSS classes if any they can be adjusted with minor changes :)
Regards, |
Quote:
Thread Prefix Manager Code:
<p class="mcbadge mcbadge_v">TITLE (PLAIN TEXT) HERE</p> Code:
<b class="mcbadge mcbadge_v">TITLE (PLAIN TEXT) HERE</b> Code:
<i class="mcbadge mcbadge_v">TITLE (PLAIN TEXT) HERE</i> Code:
text-decoration: none !important; |
Lovely, thank you! Works fine now with clickable prefixes! :D
|
If you're having issue changing the color of the dotted border, I had to use the color hex.
Also, if you don't want it to act as a link, you can make this a <div> tag instead the same way. Thanks for the release! After some tweaks to fit my website it looks nice. Makes the threads stand out more. |
installed...any way to have these show up when selecting them from the drop down menu?
|
Can you setup this on vB4.2.2? as i am looking for this kind of modification for my site.
I tried adding the code here: vBulletin Option --> Style & Language Settings --> External CSS URL ( you can add the code in that css file ) but my whole lost all images and jumbled up text. also i couldn't find additional.css so please give me details on how to set this up please on vb 4.2.2 Thank you in advance. Don't worry it's all fixed and running 100% see here site nice job to the coder. |
ACP --> Styles & Templates --> Style Manager, once there choose Edit in the dropdown for the style you are using, Then scroll till you see, CSS Templates, double click on that, scroll till you see additional.css then double click on that. Add the code, and then save.
|
How can I apply this to the "Sticky" prefix?
D. |
just add the css class around "sticky" word
example: <a class="mcbadge mcbadge_v">Sticky</a> |
Everything works great except I cannot figure out one item. When the thread is listed in the forum the text for the prefix is always colored black. I'd like it to be white and no matter what I try it will not change? Am I missing something simple here?
Thanks |
I see you add the colors to the text and that's good, but can you tell me how to add an image instead of the text you use in the thread prefix? like they do in digital point showing selling and buying look: https://forums.digitalpoint.com/forums/services.60/
|
vbulletin 5.2.1 work
|
Has anyone tried this with vB 3.8.x?
|
Sorry for late reply.
Offcourse this works with all vBulletin Versions if any issues you can reply here i will help .. thanks |
I have it working, but I can having trouble figuring out how to make each tag its own color. I have them all coming up purple and that is what I don't want.
Edit: Never mind I figured it out! |
Great. But all you need to get is Hex Color codes and replace in CSS.
Code:
https://www.w3schools.com/colors/colors_picker.asp |
Quote:
Code:
/* Prefix Styling */ |
Thank you ;)
|
I have it working fine on 4.2.5 thanks. One thing I notice though is the background colours don’t show in profile activity for customized profile styles though the outline does.
|
Hey guys, thanks for the mod.
Is there an easy way to make the letters turn a certain color when hovering over the prefix, depending upon which prefix it is? They all go from white to black now, but would like to differentiate depending on the prefix. |
so that would be like,
.mcbadge_custom a:hover { color: #customhovercolor; } cheers |
All times are GMT. The time now is 05:57 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:
|