Topic RSS
Hi! I would like to view a list of members within a given spf group on a wp page (for instance above the widgets in a sidebar). Couldn't find a template tag to do this… basically the code would go something like:
Any thoughts, anyone?
Take a look at the code in the file:
simple-forum/admin/pane-usergroups/ahah/sfa-ahah-usergroups.php
his is basically what that code does. it is the code that populates the 'show users' on the usergroups forum.
thanks! on another note.. could there be something wrong with the "Keep Forum and WP Display Name In Sync:" setting in the profiles? The sync seems to only go one way – When the profile in wp-profile is changed, it automatically updates the forum profile, but when I update the forum profile, it doesn't automatically update the wp profile… And also – how would you go about making the "Keep Forum and WP Display Name In Sync:" setting to "On" as default for new members?
Oh hmm. I took a look at that file – and I am not that proficient in php… is it something there that could be copied to a wp page template..?
Well no – not as is. Sorry – I thought you wanted to code something and this is a good template to work from as it basically does what you want. But it would need some recoding to work outside of the forum.
Yey… I actually managed it.. with your help and a little help from the code in the plugin "Author Avatars List"
If you're interested – here is the code:
Very nice. You did well.
I'll take a closer look at the code you used…
Thanks for sharing.
Cool.. any suggestions to make it cleaner are deeply welcome!
PS.. I tried using the avatar template tag:
sf_show_members_avatar($userID, $size=0)
But that didn't work very well… I put it where the "get_avatar()" tag is now, and First of all it was dreadfully slow Yes – I enabled avatar template tags in the code optimalization admin page).
Also, when I turned on the option "override wp avatars with forum avatars", that also made the load times very slow.
Secondly, it created a lot of extra code, and it didn't place the avatar where I wanted it.. would it maybe be better if it coughed up something more similar to "get_avatar"?
The reason for why I wanted to use "sf_show_members_avatar()" is of course that it would allow locally uploaded avatars, not dependent on "gravatar.com".
Most Users Ever Online: 444
Currently Online: SPQC, kailas, VikingBrent
51 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
-Radio-: 1251
Lee H: 606
Luffer: 535
Conrad_Farlow: 485
jim: 478
neon: 263
ovizii: 240
Tal: 240
Member Stats:
Guest Posters: 2616
Members: 7328
Moderators: 1
Admins: 2
Forum Stats:
Groups: 5
Forums: 16
Topics: 10839
Posts: 79131
Newest Members: ordie69, mutha66, jawaulk, mastergalen, ikkiamonrah, OlafKS, js, Anne Wayman, vinzMtl, VikingBrent
Moderators: Brandon C (158)
Administrators: Yellow Swordfish (22131), Mr Papa (23587)
Log In
Register
Home
Add Reply
Add Topic
Offline



Quote

Privacy Policy



