![]() |
Username bolded in posts.
Is there a way to automatically bold any usernames in posts? Anybody know?
example: --------- Hello, joeblow that's a good question you should check out that other thread where jane quoted frank. --------- The bolding would happen automatically on submit. Thanks :) |
anybody?
|
This is probably quite easy, but it will most likely need to check for every word in a new post if it is a user or not... and depending on the size of your forums it could really slow the forums down..
|
well thanks for the reply FlyingDutchman. :) I was hoping it could parse like the smiley code but if it adds strain on the server then maybe it's not worth it.
|
1 Attachment(s)
well i pulled up 2 quick plugins which add this functionality...
only drawback is that it might slow your board (I only tested it on my test-board) and that if the username is the last word of the message it doesn't seem to work too i'm not sure about casing but i suppose it only works with exact casing atm (not sure though!!) maybe you should just give it a try and see if it works (well) or not... |
<a href="https://vborg.vbsupport.ru/showthread.php?t=113237" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=113237</a>
here is the idea based on this one... |
wow that's so awesome FlyingDutchman! I'll give it a try tonight. the bolded username has become somewhat of a standard form of etiquette on our board and i think works well. An automated process would be great to keep things consistent and easy on the users.
Quote:
whoops, it doesn't work on new thread. oh well real close. :) |
hmm it should work on new thread
do you have both plugins that are in the xml file correctly installed and activated ? (which should be default I assume) sorry but I can give you no other explanation of why it wouldn't work... it works on my test board, and i just exported the xml... The xml seems quite normal too hmm i'll look into it tomorrow |
Quote:
Just tested this out and it worked for me, on a new post. Pretty cool! However, I noticed it's really picky. For example if a username has a comma right after it, it won't be bolded. |
ok wait...it works as long as there aren't any returns...every name after a return doesn't go bold...hmmm
|
All times are GMT. The time now is 04:22 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:
|