Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Advanced [YOU] BB Code (with options) by BOP5 Details »
Advanced [YOU] BB Code (with options) by BOP5
Mod Version: 0.977, by BirdOPrey5 (IB Staff) BirdOPrey5 is offline
Developer Last Online: Jan 2020 I like it Show Printable Version Email this Page

vB Version: 4.0.x Rating: (9 votes - 4.89 average) Installs: 74
Released: 28 Nov 2010 Last Update: 29 Apr 2012 Downloads: 349
Not Supported Uses Plugins Re-usable Code Is in Beta Stage  



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:
  • Specific Forums (or all forums)
  • PMs
  • Visitor Messages
  • (Social) Groups
  • Picture Comments
  • Blogs
  • CMS
  • Widgets
  • Sidebar
  • Breadcrumbs
  • Signatures (when viewed in posts or PMs)
  • User Titles (when viewed in the postbit)

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:
http://www.vbulletin.org/forum/showthread.php?t=254371

Please Mark as Installed if you use this.
Donations Always Appreciated.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	vb4_settings_advyou.jpg
Views:	540
Size:	73.2 KB
ID:	137318  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Miscellaneous Hacks Advanced [YOU] BB Code (with options) by BOP5 BirdOPrey5 vBulletin 3.8 Add-ons 5 14 Jun 2012 06:25
Private Messages Enhancements Advanced PM Options akanevsky vBulletin 4.x Add-ons 6 18 Apr 2012 09:54
Private Messages Enhancements Advanced PM Options akanevsky vBulletin 3.8 Add-ons 24 08 Jan 2010 18:58
Advanced PM Options akanevsky vBulletin 3.5 Add-ons 104 22 Aug 2009 04:13
Private Messages Enhancements Advanced PM Options akanevsky vBulletin 3.6 Add-ons 39 12 Feb 2009 16:20

  #61  
Old 30 Mar 2012, 17:47
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
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.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #62  
Old 30 Mar 2012, 18:20
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
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.
Reply With Quote
  #63  
Old 30 Mar 2012, 18:33
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Originally Posted by BirdOPrey5 View Post
As for the mod it clashes with I would think this new version shouldn't clash with any mods but I haven't checked it as I have my own version of the "HTML Markup Everywhere" mod.
Sorry, didn't mean in sense it caused something to malfunction, but in sense that I needed to be in protected usergroup as primary usergroup, not in secondary.

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.
Reply With Quote
  #64  
Old 02 Apr 2012, 02:37
dawges dawges is offline
 
Join Date: May 2007
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.
Reply With Quote
  #65  
Old 02 Apr 2012, 13:27
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
No, none of those things would be possible with this mod- nor do I see reason to add them. Sorry.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #66  
Old 19 Apr 2012, 02:35
DAMINK DAMINK is offline
 
Join Date: Jun 2010
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
__________________
FTW Forum <- Home of the damned!
Reply With Quote
  #67  
Old 19 Apr 2012, 07:05
drchinh's Avatar
drchinh drchinh is offline
 
Join Date: Feb 2012
It is great, thank you so much!
Reply With Quote
  #68  
Old 19 Apr 2012, 12:03
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by DAMINK View Post
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
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.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #69  
Old 28 Apr 2012, 22:43
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Updated to 0.976 - Fixes [YOU] in user title's in profiles.

Edit - 0.977 now- fixed in member's list too.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.

Last edited by BirdOPrey5; 29 Apr 2012 at 17:13.
Reply With Quote
  #70  
Old 02 Jun 2012, 01:39
hugh_ hugh_ is offline
 
Join Date: Mar 2005
This doesn't work in the activity stream...
Reply With Quote
  #71  
Old 15 Jun 2012, 11:53
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Real name: Rick-owner, Kym-admin
Originally Posted by hugh_ View Post
This doesn't work in the activity stream...
Same here - no surprise, AS is new
__________________
www.AusPhotography.net.au a.k.a. AP is a photography forum where members share their photography, photo editing skills and techniques. We run regular photographic competitions; Rick (site owner) and Kym (site tech) using this account
*** Home of the AP fully comprehensive vb4 photographic competition management solution ***
Reply With Quote
  #72  
Old 09 Apr 2013, 11:25
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Real name: Rick-owner, Kym-admin
Bump -- activity stream?
__________________
www.AusPhotography.net.au a.k.a. AP is a photography forum where members share their photography, photo editing skills and techniques. We run regular photographic competitions; Rick (site owner) and Kym (site tech) using this account
*** Home of the AP fully comprehensive vb4 photographic competition management solution ***
Reply With Quote
  #73  
Old 09 Apr 2013, 15:29
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Doesn't appear to be any hooks in the Activity Stream to let this work.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #74  
Old 10 Apr 2013, 05:36
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Real name: Rick-owner, Kym-admin
Originally Posted by BirdOPrey5 View Post
Doesn't appear to be any hooks in the Activity Stream to let this work.
Thanks. I had a look at the AS code as well ...

Maybe we ask vB (Jira) for a hook for this in 4.3?
__________________
www.AusPhotography.net.au a.k.a. AP is a photography forum where members share their photography, photo editing skills and techniques. We run regular photographic competitions; Rick (site owner) and Kym (site tech) using this account
*** Home of the AP fully comprehensive vb4 photographic competition management solution ***
Reply With Quote
  #75  
Old 13 Apr 2013, 21:15
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Worth a shot- please vote for the issue - http://tracker.vbulletin.com/browse/VBIV-15676
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 03:18.

Layout Options | Width: Wide Color: