View Full Version : Automatic BB Code
I've seen this on a few forums, staff members have their own bbcode that will allow their posts to look different from others. I'll add a picture below to show what I mean. I've gotten the bbcode replacement and currently the staff members are forced to type out the bbcode every time they wish to use it. I would love to find a way for them to just be able to post and the bbcode automatically be displayed in their posts.
Thanks in advance.
https://vborg.vbsupport.ru/external/2013/12/6.png
--------------- Added 1388163017 at 1388163017 ---------------
Bump
--------------- Added 1388176147 at 1388176147 ---------------
dddd
--------------- Added 1388220853 at 1388220853 ---------------
gggg
Do you want a bbcode to appear automatically in the text box, or do you want the default text color to be set by usergroup?
Do you want a bbcode to appear automatically in the text box, or do you want the default text color to be set by usergroup?
Basically, when I post something like: "Hey, how are you"
It would post as that, but it would automatically add the BBcode and make it "Hey, how are you
darnoldy
01-09-2014, 06:32 AM
My sense is that this would be easier to do by using a conditional based on the poster's usergroup to change a css class within the postbit template.
blind-eddie
01-09-2014, 09:58 AM
There are a few different bbcodes here that with a lil editing can do what you want. You would also have to set permissions on these bbcodes so only staff can use them.
Search above for admin staff bbcode, all mods, title only (Most bbcodes pre 3.8 will work with 3.8)
If you are willing to do some editing, you can achieve what you are after.
I need help with the code for it, I have no clue what template or what code to edit..
blind-eddie
01-18-2014, 02:02 PM
Did you search for and find one that you liked?
All bbcode mods come with a readme... follow the instructions on how to install it.
There will be no template to edit to add a bbcode.
I think we might have lost track of the question - I think Vaq already has the bbcode, but wants it to be inserted automatically.
blind-eddie
01-18-2014, 02:43 PM
Yep, you are right... I should read the whole post before answering. :rolleyes:
I can't see the bbcode being set in their post automatically... but, you could add the bbcode icon to your editor that only admin can see and when they click it, it will add the bbcode tags to the post as all bbcodes do.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.