![]() |
|
Mod Options |
![]() |
|||||||||||
Username HTML Markup 4.2.x
![]() Developer Last Online: Dec 2020 ![]() ![]() ![]()
![]() Description: This Add-On will showing the Usergroups Username HTML Markup in EVERYWHERE Espacially in FORUMINDEX / FORUMHOME / FORUMLIST / FORUMDISPLAY / SUBFORUMS Installation: Import the product-username_html_markup.xml product file via admincp -> product manager -> import/export products Tested on:
Download Now Only licensed members can download files, Click Here for more information. Supporters / CoAuthors Screenshots Show Your Support
|
#391
|
|||
|
|||
Learn to code... So many errors
No members have liked this post.
|
#392
|
||||||||
|
||||||||
Indeed very nice, works great.
Many thanx friend. G!
Originally Posted by Hasann
![]()
No members have liked this post.
|
#393
|
||||
|
||||
Not working for few usergroup
It's is not working for few usergroup (Moderator and VIP), they have a different color
Attaching the image ![]() Kindly let us know the solution. Thanx and rgds, G! No members have liked this post.
|
#394
|
|||
|
|||
Does this work 100% with vbulletin 4.1.11, anyone please confirm? especially if it can used with multiple customize usergroups, VIP, Troll, etc...
No members have liked this post.
|
#395
|
||||
|
||||
As I remember, this works only with primary, not display usergroups. If you have your system set in way that primary usergroup stays unchanged, it will not show users' display usergroup.
No members have liked this post.
|
#396
|
||||
|
||||
Thanx for tip, let me check it.
Edit: Yes you are right. Can you please tell me what is the difference for making them primary member ?, what can the the technical or other problem by doing this? G! No members have liked this post.
|
#397
|
||||
|
||||
Well, this and http://www.vbulletin.org/forum/showthread.php?t=254373 have problems with this. Advanced You code also looks for primary users.
Anyway, core vBulletin doesn't make difference if primary usergroup allows that it has member (secondary) usergroups. I too tried to make changes to this mod by myself, but didn't managed to figure it out how to do this. No members have liked this post.
|
#398
|
|||
|
|||
NVM, it works 100% on vbulletin 4.1.11
You have to change double quote to single quote in each usergroup to display properly. best to change it first, then upload this mod. No members have liked this post.
Last edited by initiald; 30 Mar 2012 at 00:25. |
#399
|
||||||||||||
|
||||||||||||
Workaround for problem with html showing with user name and online status
This is not real solution, but just a workaround, as you'll loose some information. This may be a big problem for you, or may not be a problem at all, you decide.
I'm talking about this problem, when you go to user's name in last post section and hover mouse over it, you see this: ![]() It is link title associated with this link. To remove this, you just need to remove title. And remove it completely. If someone knows how to really solve this problem, please post it here. To remove title, find template memberaction_dropdown At the beginning you have this code (at least with vB4.1.2, as I'm still on it, but it should look very similar to this on other versions, if not the same):
You need to remove title part from it and remove it completely. Title part is this:
After you remove it, it should look like this:
Save template and check your forum home. Everything else should work (dropdown menu when you click on user name), except there's no more title with html code shown. Also, when I'm mentioning title, for some reason online status was wrong for me. From picture you could read that I'm offline (in Croatian), but I'was online when I took this picture. Just to mention it. No members have liked this post.
|
#400
|
||||
|
||||
Hey Guys,
This mod didn't work for me on 4.1.11 or 4.1.12. Easy fix: 1) Disable this mod. 2) Add a new plugin to vBulletin on the memberaction_dropdown hook with the following:
This should force vBulletin to use the musername (username + markup) of a user everywhere on the forum. As always, use at your own risk. This isn't very heavily tested. -Nick, SEOvB Developer No members have liked this post.
|
#401
|
||||
|
||||
That doesn't work everywhere, though.
![]() No members have liked this post.
|
#402
|
||||
|
||||
It also sounds like it will add a query for every time it is called, which can be many times per page.
__________________
-Joe Former vb.org Moderator. Retired. @BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic Note - I no longer making new VB mods, sorry. No members have liked this post.
|
#403
|
||||
|
||||
Originally Posted by BirdOPrey5
That....is a good point. I didn't look at the code for the fetch_musername function and assumed it was magically optimized for being called a million times.![]()
I'll have to look into this one more. The easier solution would probably be to keep most of this mod's code & modify the memberaction dropdown template. Edit: Actually, and correct me if I'm wrong, but it looks like the fetch_musername function makes use of the vBulletin cache. Also doesn't look like it's causing any undue load. And hey, Boofo! I use your mods! (not on this account) -Nick, SEOvB Developer No members have liked this post.
Last edited by SEOvB; 30 Apr 2012 at 20:44. Reason: more info |
#404
|
||||
|
||||
It can use the cache but my thinking is most of those values would not be cached- it would be a simple enough check- it should report the number of queried on the bottom of the page - see if there is any difference on a page like forumhome or forumdisplay with the plugin enabled or disabled.
I'm not sure there would be a difference- just something to consider.
__________________
-Joe Former vb.org Moderator. Retired. @BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic Note - I no longer making new VB mods, sorry. No members have liked this post.
|
#405
|
||||
|
||||
No, in that hook you are okay. I did the fetch_musername for a mod in that hook and it added no queries.
The following members like this post: BirdOPrey5, Alan_SP
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 04:01.