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 |
#52
|
|||
|
|||
Great code. but is it possible to enable this in profiles?
I'm running 4.1.10 and it shows [YOU], not the real username. |
#53
|
||||
|
||||
Where exactly in the profile is it showing [YOU]? Like what part? It should most certainly be working in Visitor Messages (if you have them enabled)...
|
#54
|
||||
|
||||
Updated to version 0.975- a couple of bugs were causing the [YOU] not to work in blogs.
Also I had accidentally deleted the code that made it work in thread titles (fixed this.) If you downloaded 0.97 you should definitely update to this version. |
#55
|
|||
|
|||
on the left where it has ur name and profile picture
|
#56
|
||||
|
||||
I don't see where it would be...
are you talking like this page? http://www.qapla.com/mods/member.php/196-Joe-Mod Maybe you could give me a screenshot so I know where exactly you mean? |
#57
|
|||
|
|||
Quote:
|
#58
|
||||
|
||||
OK, but I don't see [YOU] on that page.
|
#59
|
||||
|
||||
As I remember, your mod looks only for primary usergroup for checking if [you] BBcode could be used, or for immunity to [you] BBcode.
This is a bit of a problem for me and it also somehow clashes with this mod: https://vborg.vbsupport.ru/showthread.php?t=229146 This mod also looks only for primary usergroups (and has also some bugs). For my reasons I want to have myself set to look outside as regular users. Could you maybe change your mod to look to all usergroups, not only primary? In that case I'll could start using this other mod (if I use your mod and this, I'll look to outside world as admin, or I couldn't use [you] BBcode, or be immune). For the moment I use only your mod. |
#60
|
||||
|
||||
This version doesn't do a usergroup check on who can use it, it only does a usergroup check on immune users. But yes it does look for primary group only.
However it is a 1 line fix to make it work for secondary and primary groups: Edit the Advaned [YOU] Function Plugin: Find this line: Code:
elseif (in_array($yougroup, explode(',', $vbulletin->options['adyoubop5_im']))) //If an immune user Code:
elseif (is_member_of($vbulletin->userinfo, explode(',', $vbulletin->options['adyoubop5_im']))) //If an immune user 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. |
Благодарность от: | ||
Alan_SP |
#61
|
||||
|
||||
I have been curious about this and wonder which way is actually better. Is one less intensive than the other?
Code:
if (is_member_of($vbulletin->userinfo, explode(',', $vbulletin->options['adyoubop5_im']))) OR Code:
$test = explode(',', $vbulletin->options['adyoubop5_im']); if (is_member_of($vbulletin->userinfo, $test)) |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|