![]() |
Awesome in 4.1.4!
|
Quote:
btw, works fine on vB4.1.7 |
Updating this to work with the CMS/Suite has been added to my queue of back-logged projects. ;)
|
How to make it work with VSa-Advanced Forum Statistics please?
|
I don'y know, I don't use that mod.
|
Your Mod work well on my site except the title on VSa-Advanced Forum Statistics
|
Quote:
|
This has generated tens of thousands of posts on my forum...
|
Updated to an all new, re-coded version. 0.97.
Now works virtually everywhere on the forum including blogs, CMS, sidebar, widgets, picture comments, PMs,. Visitor Messages, Social groups, as well as forums themselves. The "immune usergroup" feature remains but the "bloc-usergroup" feature which was never fully implemented in the old version has been removed from this version. Enjoy. :up: |
This works brilliantly, excellent work!
|
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']); |
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. |
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.
|
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. :) |
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. |
No, none of those things would be possible with this mod- nor do I see reason to add them. Sorry.
|
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 |
It is great, thank you so much!
|
Quote:
|
Updated to 0.976 - Fixes [YOU] in user title's in profiles.
Edit - 0.977 now- fixed in member's list too. |
This doesn't work in the activity stream...
|
Quote:
|
Bump -- activity stream?
|
Doesn't appear to be any hooks in the Activity Stream to let this work.
|
Quote:
Maybe we ask vB (Jira) for a hook for this in 4.3? |
Worth a shot- please vote for the issue - http://tracker.vbulletin.com/browse/VBIV-15676
|
Voted! Thanks
|
Just a side note tried on 4.2.0 but displays [you] in advanced forum stats > https://vborg.vbsupport.ru/showthread.php?t=235841
Would be nice to see this developed further for vb4 :) |
I do not have plans to make this work with other 3d party mods, sorry.
If you follow PHP code at all it is fairly simple to duplicate wherever needed. |
Joe is there a way of adding an image for this bbcode to the editor window?
|
All times are GMT. The time now is 09:25 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:
|