Current time: 05-24-2012, 09:40 PM Hello There, Guest! (LoginRegister)


Group on Index?
07-03-2009, 04:23 PM
Post: #1
Solved: 1 Year, 7 Months, 3 Weeks, 2 Days, 7 Hours, 36 Minutes, 13 Seconds ago Group on Index?
I was wondering, is there a variable for groups?
Such as
PHP Code:
{$mybb->user['postnum']} 
I know there's one on the User CP page, but I doubt it works with the index.
I wish to use a variable that is included out of the box, so no editing of language of core files necessary, as this is for a theme.
Thanks!

[Image: signature.png]
Roflcopters | Zynge.net | Songr

PHP Code:
echo "Nice Query, But I don't think this is the place for it =]"
Visit this user's website Find all posts by this user
07-03-2009, 04:34 PM
Post: #2
Solved: 1 Year, 7 Months, 3 Weeks, 2 Days, 7 Hours, 36 Minutes, 13 Seconds ago RE: Group on Index?
Well, {$mybb->user['usergroup']} only displays the group ID, if that helps in any way.

Twinkle Hendleberge thought Earl was pretty cool. Gerry Austin didn't think so, however, so he ran away. My goodness, what is this point of all this? Everything has a point.
p.s. you just lost it
Visit this user's website Find all posts by this user
07-03-2009, 04:56 PM
Post: #3
Solved: 1 Year, 7 Months, 3 Weeks, 2 Days, 7 Hours, 36 Minutes, 13 Seconds ago RE: Group on Index?
Thanks, tried that Sad
I kind've need the name of the group, if you know what I mean.

[Image: signature.png]
Roflcopters | Zynge.net | Songr

PHP Code:
echo "Nice Query, But I don't think this is the place for it =]"
Visit this user's website Find all posts by this user
07-03-2009, 05:35 PM
Post: #4
Solved: 1 Year, 7 Months, 3 Weeks, 2 Days, 7 Hours, 36 Minutes, 13 Seconds ago RE: Group on Index?
What membergroups you need and what are you trying to accomplish? Can you a be a bit more specific?

[Image: sig.gif]

Contact me in private only if you need paid help with mybb-related issues. Otherwise, please don''t, unless I invite you to. Thanks Smile
Find all posts by this user
07-03-2009, 05:39 PM
Post: #5
Solved: 1 Year, 7 Months, 3 Weeks, 2 Days, 7 Hours, 36 Minutes, 13 Seconds ago RE: Group on Index?
Meaning, on the header_welcomeblock, there will be a section saying:
Group: Administrator
Posts: 1903
I've already coded the layout, I just need to function for it.

[Image: signature.png]
Roflcopters | Zynge.net | Songr

PHP Code:
echo "Nice Query, But I don't think this is the place for it =]"
Visit this user's website Find all posts by this user
07-03-2009, 05:46 PM
Post: #6
Solved: 1 Year, 7 Months, 3 Weeks, 2 Days, 7 Hours, 36 Minutes, 13 Seconds ago RE: Group on Index?
What about?

PHP Code:
$mybb->usergroup['title'
Find all posts by this user
07-03-2009, 05:55 PM
Post: #7
Solved: 1 Year, 7 Months, 3 Weeks, 2 Days, 7 Hours, 36 Minutes, 13 Seconds ago RE: Group on Index?
(07-03-2009 05:39 PM)Infranight Wrote:  Meaning, on the header_welcomeblock, there will be a section saying:
Group: Administrator
Posts: 1903
I've already coded the layout, I just need to function for it.

You lost me there. What you are saying is not defined at the header_welcomeblock or whatever. But maybe is just me that I don''t get what you mean as english is my second language.

[Image: sig.gif]

Contact me in private only if you need paid help with mybb-related issues. Otherwise, please don''t, unless I invite you to. Thanks Smile
Find all posts by this user
07-03-2009, 07:04 PM
Post: #8
Solved: 1 Year, 7 Months, 3 Weeks, 2 Days, 7 Hours, 36 Minutes, 13 Seconds ago RE: Group on Index?
(07-03-2009 05:39 PM)Infranight Wrote:  Meaning, on the header_welcomeblock, there will be a section saying:
Group: Administrator
Posts: 1903
I've already coded the layout, I just need to function for it.

Do you mean like this?

[attachment=14600]

XThreads App For MyBB: Link Directory, Trading Forum, Contact Us, YouTube Video Gallery, Download System and etc - Full List
Find all posts by this user
07-03-2009, 07:25 PM
Post: #9
Solved: 1 Year, 7 Months, 3 Weeks, 2 Days, 7 Hours, 36 Minutes, 13 Seconds ago RE: Group on Index?
Thanks everybody!
@Skywalker, thanks! That code was exactly what I was looking for.

[Image: signature.png]
Roflcopters | Zynge.net | Songr

PHP Code:
echo "Nice Query, But I don't think this is the place for it =]"
Visit this user's website Find all posts by this user


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication