vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Usergroup Legend for ForumHome page (https://vborg.vbsupport.ru/showthread.php?t=92149)

YarisTuners.com 07-18-2006 02:59 AM

Quote:

Originally Posted by amykhar
Don't give it any display markup code.

Sorry, please elaborate!

Thanks Amy!
Travis

jplg 07-25-2006 08:02 PM

for me it appears just the Super Moderators legend :(

firstrebel 08-04-2006 04:16 PM

Works OK on 3.6

:)

Bob

jplg 08-05-2006 08:30 PM

where would it be the error?

forzablues 08-07-2006 06:32 PM

I have a problem...... In firefox it shows them as just black apart from 2 usergroups

rmxs 08-10-2006 09:46 PM

installed:)

One suggestion its possible to make the name exaple ADMIN clickable so the user that click can see the members that belong to this group

zigiprod 08-18-2006 11:27 AM

Hi i installed it but it doesnt display any name. I have the users group edited so there in colour but still doesnt work any idea i check and check again to make sure i copied and pasted everything.

JompaMP 08-24-2006 05:56 PM

i have install this but i can?t see 2 usergroup and it is moderator and super moderator go to http://drazonia.com and click forum and go down and you will see

brvheart 08-29-2006 02:20 PM

works on 3.6 *would click install again* :)

SmartOneVision 09-05-2006 01:12 PM

Quote:

Originally Posted by aranthorn
Insert stupid question here:
There are some groups I have markups for that I don't want to display. It seems that the first usergroup with the display set 0 is the one that shows up. Is there any way to eliminate groups that have markups from being displayed?
Quote:

Originally Posted by amykhar
That's a valid point. I never thought about non-displaying groups. I'll have to look at the database and see how that is set, and then change the code accordingly.
1st Thx for the great hack
2nd it works for me fine at 3.6.0

3rd I found a way how to eliminate unwanted usergroup from being displayed, its simple Just give 2 usergroups the same diplay order so then ONLY one of them will be displayed .


ex : SuperModerator Display Order = 2
V.I.P Members Display Order = 6

Give now V.I.P Members Display Order 2
and it will be eliminated :)

Waiting Amy for the update .

Necrosaro420 09-07-2006 03:44 PM

I dont understand how to change the usergroup colors??? Thanks!

amykhar 09-07-2006 05:08 PM

That's a built in function of vbulletin. You set the colors in your usergroup manager by changing the markup code.

UNRE4L 09-09-2006 10:44 PM

I tried installing this again but when I do part of it still doesnt work right.

Example:

Some groups on my forum are Admin, Managers, VIP and Writers.

At first if they were all set to display order 0 the alphabetically last one would be on the legend for some reason, so writers.

If i make admin display order 1, writers still comes before it even set to 0. If i change writers to 0 the legend says.
VIP l Admin l Writers

The last usergroup alphabetically keeps overwritting like this... Any ideas how to sort it?

amykhar 09-10-2006 04:31 AM

Read the code ;) . Setting it to display order 0 won't do anything if you have markup set for it. 0 is less than 1 which makes it come before. Either don't give it markup, or put in a check for 0 if you don't want 0 to show.

UNRE4L 09-10-2006 06:38 PM

How do you mean a check for 0? Anything other than a number is converted to 0 and if i do it the way Smartonevision suggested the last name alphabetically is the one to overwrite.

Eagle Creek 12-03-2006 10:19 PM

Where can I add / set the usergroups which are displayed?

etaslim 05-15-2007 03:46 PM

great mod! still works perfectly with 3.6.5. Reinstalled!

kennethsia 05-24-2007 11:20 PM

works on 3.6.5

thanks

Nordraserei 05-28-2007 05:34 AM

Anyone know the coding to make a banned usergroup show up with a line through the name?

Carlos2 05-30-2007 03:54 PM

Hi friends, can you do a modification to put a little image with the usergroup like here??
https://vborg.vbsupport.ru/showthrea...highlight=clun

I a m looking to do the same, put a logo before the name depending of the usergroup.

Carlos2 06-01-2007 04:01 PM

Look how wonderful looks:
http://www.totalfootballforums.com/forums/index.php?

theFAILURE 06-01-2007 04:41 PM

I usually just add HTML on the FORUMHOME template:

https://vborg.vbsupport.ru/external/2007/06/34.jpg

After "<if condition="$show['loggedinusers']">" I added:

Code:

                  Legend: [<b><font color="#FF0000">Administrator</font></b>] [<b><font color="#00CC00">Moderator</font></b>]
                  [<font color="#000080"><b>ScamBaiter</b></font>] [<b><font color="#FF00FF">Team Pink</font></b>]
[<font color="#E1981D"><b>SpamHater</b></font>] [<font color="#000080">Member</font>]


Carlos2 06-01-2007 06:25 PM

Quote:

Originally Posted by theFAILURE (Post 1259199)
I usually just add HTML on the FORUMHOME template:

https://vborg.vbsupport.ru/external/2007/06/34.jpg

After "<if condition="$show['loggedinusers']">" I added:

Code:

                  Legend: [<b><font color="#FF0000">Administrator</font></b>] [<b><font color="#00CC00">Moderator</font></b>]
                  [<font color="#000080"><b>ScamBaiter</b></font>] [<b><font color="#FF00FF">Team Pink</font></b>]
[<font color="#E1981D"><b>SpamHater</b></font>] [<font color="#000080">Member</font>]


CaN YOU ADD an image in the groups? a little logo? That its what i want.

Regards ;)

theFAILURE 06-01-2007 06:29 PM

You can add an image via the "Usergroup Manager", add the HTML in the "Username HTML Markup" area.

Carlos2 06-01-2007 06:31 PM

Quote:

Originally Posted by theFAILURE (Post 1259285)
You can add an image via the "Usergroup Manager", add the HTML in the "Username HTML Markup" area.

How friend? Can you help me with an example, please?

Carlos2 06-01-2007 06:38 PM

Thanks Man, now i know how to do it ;)

deafluckyirish 06-23-2007 10:16 PM

Quote:

Originally Posted by Carlos2 (Post 1259294)
Thanks Man, now i know how to do it ;)

This is what I am looking for. How did you get image to work with?

PM me.

Thanks!

theFAILURE 06-23-2007 10:43 PM

You can add an image via the "Usergroup Manager", add the HTML in the "Username HTML Markup" area.

dhru1 06-27-2007 02:18 PM

Amykhar and all the expierence coders.. how to do like this.. i think i would have to edit the xml file..

The image is attached. The site has some primary groups and Custom groups separated differently. I think..

Coders will get it faster than I did.

J0iN 07-03-2007 08:00 PM

Great Legend :D

rooney72 07-04-2007 03:06 AM

I've uploaded XML and changed style but no options in vBoptions neither do I see anything changed. Could it be I need to do something else in order to see Administrator etc etc?

brfrankl 07-18-2007 06:53 PM

Awesome. Installed!

CapinPete 11-06-2007 02:36 PM

This is a nice mod. I like that it does everything automatically. If you use HTML you need to edit that every time you make a change. Having said that, I much rather have it use the User Title instead of the group title. If I had the know how, I would make an admincp thing for this.

For now, you can use the Plugin Manager in admincp to edit the code and achieve this effect.

Original code:
Code:

if (!isset($legend))
    {
        $legend = $group['opentag'] . $group['title'] . $group['closetag'];
    }
    else
    {
        $legend .= " | " . $group['opentag'] . $group['title'] . $group['closetag'];
    }
}

Changed code:
Code:

if (!isset($legend))
    {
        $legend = $group['opentag'] . $group['usertitle'] . $group['closetag'];
    }
    else
    {
        $legend .= " | " . $group['opentag'] . $group['usertitle'] . $group['closetag'];
    }
}


gbox master 01-24-2008 05:47 PM

nice hack and i really would like to hit the install button
but just 1 thing keeps me from doing that

it would be nice and profesional if you tell in youre txt file what tod do with the xml
on vb 3.6.8 patch 2 it say its not a product or what ever
so maybe some of the experst can post here or maybe the designer himself can put this in his read me txt file

502nd Jimmy 09-15-2008 06:07 PM

I know this thread is very old, but is there a way to add an image to the left of the legends box?

Reece^B 03-30-2009 10:22 AM

Will this work on 3.8?


All times are GMT. The time now is 09:33 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
  • Page Generation 0.01592 seconds
  • Memory Usage 1,792KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (36)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete