PDA

View Full Version : How do i add Group?


imported_DiPpY^
12-05-2002, 08:46 PM
Hello everyone ive been brosweing through this fourm for a couple of days now and i want to say wow :) very nice!

Well ive learned some were some of the templates are and i want to know how you get the group? i see some of the postbits use $post[usertitle] but i want to have it so u can have ur own usertitle and it will still show the group your in

i have evrything right except the group: plase help! :)

Example:

DiPpY^
Crazy One

[Avatar goes here]

Group: Founder
Regitsered: Dec 2000
Posts: 4562
User is: Online

Cypher720
12-06-2002, 02:36 AM
$post[usegruop] is the variable i believe...is that what you need?

filburt1
12-06-2002, 02:49 AM
I think you can only do $post[usergroupid] but don't quote me on that...

Cypher720
12-06-2002, 11:15 AM
wont that show the # though???, not name???

filburt1
12-06-2002, 11:45 AM
Right.

imported_DiPpY^
12-06-2002, 10:31 PM
$post[usergroup] didnt work and $post[usergroupid] gave me a number 6

so there is no way to do that? or can i make an template that will show me what group im in or anyone else ?

filburt1
12-06-2002, 10:33 PM
It would normally be very easy via phpinclude to put it in a user's profile but due to IMHO a stupid design for this page you can't ($userinfo is destroyed before it can be read by phpinclude). Also, putting it in the postbit would require hacking.

So there's no real practical way of doing it purely through templates.

imported_DiPpY^
12-06-2002, 10:49 PM
ok well ill serach through the hacks on vbulletin and see if they have anything thanks