PDA

View Full Version : Groupicons


Eagle Creek
08-10-2004, 10:09 AM
Is it possible to give groupicons?

So that all the admin will have an icon under their name etc.. And settible for al usergroups.

Reeve of shinra
08-10-2004, 12:44 PM
There's something like that at vbulletintemplates.com I think.

Eagle Creek
08-10-2004, 12:54 PM
Didn't see that yet but I'll take a look.
Thx

nexialys
08-10-2004, 02:26 PM
simple... no need of a hack at all.

in the Admincp >> Usergroup Manager >> Edit a Group >> Username HTML Markup

in that HTML markup, there is two fields... one for start, one for end...

in the start field, you simply have to add something like
<img src="images/icon/this_group_icon.gif" /> ...

Eagle Creek
08-10-2004, 02:28 PM
It's not exactly what I want because the members lose their title's on this way. But it's a nice solution. Thx.

Logikos
08-10-2004, 02:32 PM
Do this instead.

Inside your postbit template add the following to where ever you want the icon to appear. You can see my postbit at vbhacks.us as an example. Change X with the usergroup ID.


<if condition="$post[usergroupid]==x"> IMG VAR HERE </if>

nexialys
08-10-2004, 02:35 PM
yeah, you can do like livewire is doing, and create a if condition for each group or icon you want to display, because the if is displayed only when the usergroup is ok...

Eagle Creek
08-10-2004, 02:35 PM
Do this instead.

Inside your postbit template add the following to where ever you want the icon to appear. You can see my postbit at vbhacks.us as an example. Change X with the usergroup ID.


<if condition="$post[usergroupid]==x"> IMG VAR HERE </if>

Cool!

2. questions:
1. Will it work with secondary usergroups too?
2. And is this viewable everywhere? So I mean in the topic under the members name, in his profile and when he send a PM?

Logikos
08-10-2004, 02:44 PM
when you add that to the postbit, it will show up in all areas that the postbit shows up. Annoucments, PM, post....

As for the profile you could do this in template MEMBERINFO:


<if condition="$userinfo[usergroupid]==x"> IMG VAR HERE </if>


Of course change X to the Usergroup Id

Will it work with secondary usergroups too?

And it will only show up as there primary usergroup. So if you have a member that is in the registered usergroup, and you add him as a mod in a secondary usergroup. The register usergroup will show in the post seeing as its his primary group id.

Hope this helps...

Eagle Creek
08-10-2004, 02:51 PM
SUPER PERFECT FANTASTIC GREAT COOL MAN :D

THANKS!


One little question about that usergroup. I don't understand it fully.
Group A hasn't an icon, group B has, group C hasn't.
A member is member of group A so no icon. When I set his secondary group to B will he have that icon too?

Logikos
08-10-2004, 02:54 PM
Lets say i join your board.

I register and my name is LiveWire and im in Group A. But you add me to group B as a secondary. No icon will show because my primary is group a. Get it?...

Eagle Creek
08-10-2004, 02:57 PM
Lets say i join your board.

I register and my name is LiveWire and im in Group A. But you add me to group B as a secondary. No icon will show because my primary is group a. Get it?...
Great great great great :D

Just perfect

I have another question too; maybe you could help me.
Is it possible if you are just showing up on my board you have to select your language. And if you do that the board will go further in that language.
I'll ask this because there have to be Dutch and English people on my site. But when it comes to registering it's a little difficult because not everone understands Dutch, or English.

Do you know if that's possible?

Logikos
08-10-2004, 02:59 PM
you mean picking the language before they register?

Eagle Creek
08-10-2004, 03:15 PM
Yes. With a menu like you choose styles or something. Or just a link "click here for the english version".
It must be easy to see and use.

Logikos
08-10-2004, 03:58 PM
Give me alil bit i might be able to come up with something

Eagle Creek
08-10-2004, 04:00 PM
:$ what do you want?

Dorign
08-10-2004, 04:20 PM
This seems sort of similar to a problem I'm having.
See, I've got my user titles and ranks all set up.. but 3 of my users on my board are set to "Group Leaders." Ie, Leo is group leader of FFAO Veterans, Mero is leader of Respected Members, Nanami is leader of Girls Only, and Sabel is leader of Anime Fans. These four members, once made "group leaders," lost their little rank/image bar.. no one else, just the leaders. I have no special "icons/ranks" set for groups, so I was wondering what would make their icon go away, and if there's a solution? Thanks

Logikos
08-10-2004, 04:50 PM
:$ what do you want?
I meant give me alittle time. lol Im almost done. I got it working so far, but now i have to get it so guest can also. Right now i only figured out how to do it for members.

Eagle Creek
08-10-2004, 04:51 PM
Thank you! Very cool you want to do that for me. I'll wait :D

Logikos
08-10-2004, 05:00 PM
This seems sort of similar to a problem I'm having.
See, I've got my user titles and ranks all set up.. but 3 of my users on my board are set to "Group Leaders." Ie, Leo is group leader of FFAO Veterans, Mero is leader of Respected Members, Nanami is leader of Girls Only, and Sabel is leader of Anime Fans. These four members, once made "group leaders," lost their little rank/image bar.. no one else, just the leaders. I have no special "icons/ranks" set for groups, so I was wondering what would make their icon go away, and if there's a solution? Thanks
Because there in a secondary group i would assume.

Dorign
08-10-2004, 05:44 PM
Yes, many of my users are in multiple groups, but none of them are set to override ranks.. and everyone in multiple groups has a rank showing, except for those group leaders. :/

Logikos
08-10-2004, 05:59 PM
I released a beta version of the language menu on my site, but you might want to wait till its out of beta. Im waiting for some users to see if they can fix the guest problem.

Dorign i don't know why it would work for some secondary users and not others, maybe im just confussed. I do know that it will work based on there primary usergroup id.

AN-net
08-10-2004, 06:06 PM
any edits is unneeded;) just use the ranks system:D

Dorign
08-10-2004, 06:58 PM
Ah, they were set as Primary in the wrong group. Thanks, Live, you rock. :)

Logikos
08-10-2004, 07:06 PM
Glad i could help

Eagle Creek
08-10-2004, 07:08 PM
Agree with that :D

Let me know if you have something working ok :D? Cool man!

Eagle Creek
08-11-2004, 10:04 AM
:D

would this do the trick?

https://vborg.vbsupport.ru/showthread.php?t=59564&highlight=solved

Eagle Creek
08-11-2004, 10:05 AM
With this modification you can offer your guests / not-logged-in users an option to select a language, so they can see the forum and the registration in the selected language

Version 3:
This version is based on version 1, but it detects the browser-language automatic and shows the board in the language of the user.

drakelord
10-14-2004, 10:12 PM
Is there anyway to get this to work with secondary usergroups? Because like, I'm having an event on the forums I'm at, and the winners will get a certain tag. But if they are a mod/admin, I want them to have the tag also above that. Right now, the mod/admin tags are set to the primary usergroup.