Topic RSS
Ok, I have three questions:
On our site, we have a score that we give to our users whenever they write a post and/or comment on the site's blog posts. I would also like to add the total number of forum posts by that user into the mix but I have had a hard time getting that data into the custom plugin that I wrote.
So my question is, what is the WPQuery that I should use to get that information and is there a action that fires in Simple:Press that I can access in my Wordpress Plugin every time a user posts to the forum, so that it can update the counter (score).
Secondly, is it easily possible to apply CSS styles by forum. We have two forums, a public and a private on the site and the users have requested different colors for each so that they don't accidentally post something private in the public forums.
Thirdly, is there a way to setup a daily email digest for all of the active topics that day? We migrated the forum from Google Groups and the email digest feature of GG is something that people are missing.
Posts Score:
Do you mean you just want the count of how many posts a user has made on the forum? If that's the case then this function should return that
sf_get_member_item($userid, 'posts');
You need to pass in the users ID as you see.
Styling:
It really epends on where you are referring too. For example on the 'forum' view (i.e., list of topics in a sngle forum) then the whole thing is in a div with an id of 'forum-ID' where ID is the record ID of the forum. Your best bet is to interrogate the HTML being generated or even better use Firebug with Firefoc so that you can nterrogate the html and CSS being displayed.
Digest:
Sorry – no digest yet
Most Users Ever Online: 444
Currently Online: Conrad_Farlow, joelrob
54 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
-Radio-: 1251
Lee H: 606
Luffer: 535
Conrad_Farlow: 502
jim: 478
neon: 263
ovizii: 240
Tal: 240
Member Stats:
Guest Posters: 2626
Members: 7363
Moderators: 1
Admins: 2
Forum Stats:
Groups: 5
Forums: 16
Topics: 10898
Posts: 79583
Newest Members: Rick Thomas, joelrob, ndc, MacBravO, irlandes1, triphop, betokan, Jonathan Yovani Muñoz, somosguatemala, ahcreate
Moderators: Brandon C (162)
Administrators: Yellow Swordfish (22240), Mr Papa (23688)
Log In
Register
Home
Add Reply
Add Topic
Offline
Quote



Privacy Policy



