2013-07-29, 02:19 AM
I have a plugin where I can have additional usergroups on profiles but I want to make it so it'll display on threads as well, is their a way to do this? Thanks!
[How To?] Display additional usergroups on threads.
|
2013-07-29, 02:19 AM
I have a plugin where I can have additional usergroups on profiles but I want to make it so it'll display on threads as well, is their a way to do this? Thanks!
2013-08-01, 03:37 AM
Bumping this up. I still need this. Thanks!
2013-08-01, 07:19 AM
Which plugin is that plz post your profile templete here
2013-08-01, 07:22 AM
additional usergroup images plugin by jammerx2 works fine for me and shows additional groups in threads
2013-08-01, 10:29 AM
This user has been denied support.
May be just Pull all the groups from the database store them in some array, or variable & eval them using a for loop. Like this:
Now to go to your template & use {$groupimages} to display the images I just made a raw code. Modify it as per your needs. (2013-08-01, 10:29 AM)Cedric Wrote: May be just Pull all the groups from the database store them in some array, or variable & eval them using a for loop. Why use "eval" ? No need, just concatenate the contents of $imghtml and use {$imghtml}: Quote: $cache = $cache->read("usergroups");
2013-08-01, 10:38 AM
This user has been denied support.
Using EVAL to properly parse PHP VARS inside the $imghtml.
2013-08-01, 11:03 AM
(2013-08-01, 10:38 AM)Cedric Wrote: Using EVAL to properly parse PHP VARS inside the $imghtml. What lol ? Thats completely not correct. Infact you shouldn't even be using eval. Read this and learn. http://dandoescode.com/blog/2012/08/28/i...ot-and-no/ |
« Next Oldest | Next Newest »
|