![]() |
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. |
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)...
|
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. |
Quote:
|
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? |
Quote:
|
OK, but I don't see [YOU] on that page. :confused:
|
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. |
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. |
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']); |
All times are GMT. The time now is 06:02 AM. |
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:
|