PDA

View Full Version : Show Thread Enhancements - Small plugin to show Membergroups in Postbit


craiovaforum
02-24-2009, 10:00 PM
This is just a port of the hack made by Gary_King for 3.0. Original thread here (https://vborg.vbsupport.ru/showthread.php?t=61305).
The code was actually written by Andreas. I merely put it all together in a plugin for the users that requested it.
This is an updated version of my original release. (https://vborg.vbsupport.ru/showthread.php?t=107356)

Install instructions:

1. Import the plugin
2. Edit the postbit or postbit_legacy template (or both).
find:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>
above that, add:
<if condition="$groupstr != ''"><div>
$vbphrase[member_groups]: <br>$groupstr
</div></if>
3. Add a new phrase called member_groups containing:
Member of

Thats about it. Dont forget to click Install (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=107356) :)

If you like this modification don't forget to donate ;)

craiovaforum
02-25-2009, 01:51 PM
Reserved

Deviant K1
02-25-2009, 01:58 PM
Woot First!!!!

INSTALLED!!!

Thanks for sharing... works great!

Aclikyano
02-25-2009, 02:19 PM
how did you get those tabs on your site like that? like it alot, please tell me the secret :D

Aclikyano
02-25-2009, 02:20 PM
Cafenea / IT&C / Utile / Auto / Games ETC....... thanks if you can tell me

FiMeTi
02-25-2009, 02:32 PM
how did you get those tabs on your site like that? like it alot, please tell me the secret :D

I?d love to know that, too, but I dont think he?ll tell us. :D ;p

Thx for the little addon, installed!

Ross L
02-25-2009, 03:50 PM
how did you get those tabs on your site like that? like it alot, please tell me the secret :D

https://vborg.vbsupport.ru/showthread.php?t=175687&highlight=Tabbed :D

Aclikyano
02-25-2009, 04:29 PM
i cannot get it 2 look like that :(

craiovaforum
02-25-2009, 08:52 PM
I modified that plugin alot.
there's no way I can explain it here.
Sorry

Aclikyano
02-26-2009, 02:53 AM
^ rofl... well hopefully he comes out with the new version soon that is supposedly much easier install, not sure

but I have AIM if you want to explain on there better :D

itsheinz
02-26-2009, 07:37 AM
I want to use this hack but i dont get the number 3 procedure:

3. Add a new phrase called member_groups containing:
Member of

Will you help on this guys,please.

craiovaforum
02-26-2009, 08:07 AM
Go to adminCP

go to Languages & Phrases -> Phrase Manager
Click add new phrase

Type the name: member_groups
Type the "text": Member of

Do the eventual translations and click save

Black Tiger
02-26-2009, 01:49 PM
Nice hack, I was looking for something like that, marked installed, thanks!

Tip: Put the "howto" in a readme.txt and put that together with the product.xml in a zipfile.
It's easyer that way for us users.:)

Black Tiger
02-26-2009, 01:59 PM
Uninstalled again. I've just seen that the usergroup is already displayed in the postbit_legacy on my forums. And there only a few users which have more usergroups.

craiovaforum
02-26-2009, 02:30 PM
I use the usergroup system alot on my forum and that's why I made this plugin.

itsheinz
02-26-2009, 05:42 PM
Go to adminCP

go to Languages & Phrases -> Phrase Manager
Click add new phrase

Type the name: member_groups
Type the "text": Member of

Do the eventual translations and click save
thanks for that,but i got another prob,
Hook location:
Title:
Execution order:

abroad
02-26-2009, 06:08 PM
you should change the heqadline to usergroup instead of membergroup... it confuses

craiovaforum
02-27-2009, 07:31 AM
thanks for that,but i got another prob,
Hook location:
Title:
Execution order:

Hello.

Did you import the attached .xml via the "download/upload plugins" section in admincp?

DieselMinded
03-06-2009, 05:13 AM
DOH i installed this thinking it was Social Groups