The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Advanced [YOU] BB Code (with options) by BOP5 Details »» | |||||||||||||||||||||||||||||||
Advanced [YOU] BB Code (with options) by BOP5
Developer Last Online: Aug 2023
Just in time for April Fools Day! Update - 11/28/2010 - Updated to 0.91 - Added 1 plugin for Breadcrumbs Update - 12/7/2010 - Updated to 0.92 - Added 2 plugins to work in Polls (Questions and Options) Update - 3/25/2012 - Updated to 0.97 - Completely re-coded, Now works virtually everywhere in a VB4 forum and suite (blogs, CMS, groups, etc...) - No longer compatible with VB 3.x. Update - 3/26/2012 - Fixed a couple of bugs relating to blogs and thread titles. Update - 4/28/2012 - FIxed bug for user title's in profiles Update - 4/29/2012 - FIxed usertitle's on member's list [B]Live Demo: (Retired) An all new version of my "Advanced [YOU] BBCode" mod, now completely compatible with the blogs, cms, and all other parts of the forum. This mod creates the [YOU] BB-like-code. When someone types [YOU] in a post or thread or virtually anywhere else on the forum (if enabled) it gets changed to the username of the user currently viewing the page. The mod allows you to specify a replacement to use for guests and users not logged in. The default is simply "you." There are setting to allow the admin to enable and disable in the following areas:
You can also specify "Immune" usergroups who will always see [you] so as not to get confused, if you wish.. If you need the older version for some reason it is still available as the VB 3.8 mod: https://vborg.vbsupport.ru/showthread.php?t=254371 Please Mark as Installed if you use this. Donations Always Appreciated. :up: Download Now
Screenshots
Show Your Support
|
Comments |
#62
|
||||
|
||||
There will be no noticeable differences between those two codes in a production environment.
Over a thousand iterations you would still see no difference. Over a million iterations you will notice the first one (all on one line) would be slightly better since there is one less variable assignment made. But the difference in performance on a forum is in no way justification for code you can read and maintain easier. |
#63
|
||||
|
||||
I have always done it the seperate explode way but I am seeing it done like you did it more now. I was just curious as to your thoughts on it is all.
|
#64
|
||||
|
||||
Quote:
And mod that I mentioned looks also only for primary usergroups to show them to outside world (mod is basically cosmetic). As I want to appear as regular user to all others and still have all admin privileges (i.e. be protected from [you] BBcode), I needed to set myself as admin in primary usergroup. But, in this case that other mod showed me as admin. So, I decided not to use that mod and use yours. Till now. Now I can use both mods. |
2 благодарности(ей) от: | ||
BirdOPrey5, Sunka |
#65
|
|||
|
|||
Hi, nice mod. Can it be made where it will display the users avatar, ip address and email as well as username?
I saw this once on a forum using you code and it was great for pranks. |
#66
|
||||
|
||||
No, none of those things would be possible with this mod- nor do I see reason to add them. Sorry.
|
#67
|
|||
|
|||
I use a shoutbox and was wondering if this mod can work inside that as well or is that entirely the shoutbox creators department?
Either way i like it thanks BOP5 |
Благодарность от: | ||
BirdOPrey5 |
#68
|
||||
|
||||
It is great, thank you so much!
|
Благодарность от: | ||
BirdOPrey5 |
#69
|
||||
|
||||
I've played with a couple of shout boxes before and never got it to work right. It would be a fairly easy feature to implement (I would think) for Shoutbox developers. They could include an on/off option to enable [YOU] and they would just have to scan the content being output to the screen for "[YOU]" using str_ireplace() function and replace it wilth $vbulletin->userinfo['username']. The idea of the [YOU] hack has been around long before me so if you get any shoutbox developer to add it let them know no credit is needed or anything like that- but I think the first one to implement this easy option will have an edge on the others since a number of people have been asking for it.
|
#71
|
|||
|
|||
This doesn't work in the activity stream...
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|