Support Forum
Hi Yellow Swordfish!
My english is not good enought... so maybe sometimes i dont understand ( or explain myself ) good
I edited the tag because i understood that was what i should be edited...
so... what have i to edit?
maybe the SpGroupView.php ?
sp_RecentPostList('show=10&admins=1', __sp('Unread and recently updated topics'));
if is this line please let me know what shoud i put...
thanks
still not sure what you are doing....
if you use the widget, you only want to adjust the widget options in the widget itself in the wp admin... just put the forum ids you want included in the list...
if you are not use the widget, then you would use the template tag, which is what you have been trying to edit..
see: http://codex.simple-press.com/.....ent-posts/
you would put the function call where you want the recent posts list to show up... ie
<?php sp_RecentPostsTag();?>
then you would use the forum id list as specified in that codex page to only include specific ids... ie
<?php sp_RecentPostsTag('forumIds=1,2,3,4');?>
Visit Cruise Talk Central and Mr Papa's World
On the botton of my forum there´s a place where it shows the Unread and recently updated topics
This is called from the SpGroupView.php with this code
sp_RecentPostList('show=10&admins=1', __sp('Unread and recently updated topics'));
What I´m trying is to exclude a forum from these results... but I´m not having luck...
I tried differents ways... on the "widget" works without problem but on this place no way to success...
Ooooohhhh.... sorry, never realized you were talking about the unread posts vs the recent posts...
out of curiosity, why do you want to exclude a forum from this list? The list will only contain forums that the user has permission to view... so they wont see private stuff...
there is currently no way to specify specific forums for this... this is because it operates on a per user basis on their unread list...
I think we could hook into the query and adjust the 'where' clause if you still wanted to do it... do you know how to use the wp api for hooks?
Visit Cruise Talk Central and Mr Papa's World
Hi!
The main reason for exclude a forum is that my site is a "online guitar school" and the forum is a community, I dont want to show all the petitions of people asking for making a lesson of a song, I would like to show only those forums where the people talks about certain themes....
I dont have any idea of how to write code / api...
What a I need is a page where show the recent topics so people can interact quickly and "chat"
And i want to leave a forum out of that "page" because is not a "community" page
( sorry again for my english )
no worries on language!
let me see if I can find time tonight to write the db query hook changes... but that is the only chance right now to include only specific forums...
Visit Cruise Talk Central and Mr Papa's World