Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
exclude a forum from recents topics
Avatar
Carlos
Spain
Member
Free Members
Offline
Jun 13, 2013 - 11:53 am

Hi! is there any chance to exclude a forum form recents topics ?

I want to leave out of the topics from a forum... any way to do it?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
Offline
Jun 13, 2013 - 10:12 pm

you didnt say if you were using a template tag or the widget... but both can do it...

here is the codex for the template tag:  http://codex.simple-press.com/.....ent-posts/

just pass the the list of forum ids you want to include...  the widget has the options in the widget box...

Avatar
Carlos
Spain
Member
Free Members
Offline
Jun 14, 2013 - 5:55 am

Mr Papa i want to take them off from the template tag... 

 

My idea would be to create a custom page only for recents topics excluding those categories

Avatar
Yellow Swordfish
Glinton, England
SP Master
Offline
Jun 14, 2013 - 6:43 am

Then you probably need the template tag - this codex article shows what control you have on the call to the template tag function. You would need to pass the llst of forum IDs that you DO want to show...

http://codex.simple-press.com/.....ent-posts/

andy-signature.png
YELLOW
SWORDFISH
Avatar
Carlos
Spain
Member
Free Members
Offline
Jun 19, 2013 - 6:48 pm

On the widget I´m not able to exclude a forum adding only the dessired forums to show... 

What i´m doing worng? 

If i put only one it works but if I put various forums sepparated by commas it doesn´t works....

i´m putting this...

2169,2188,

 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
Offline
Jun 19, 2013 - 10:51 pm

with the empty trailing comma? shouldnt matter but try correcting the list...

and screenshot please of the widget options...

Avatar
Carlos
Spain
Member
Free Members
Offline
Jun 22, 2013 - 8:52 pm

I´m editing the sp-RecentPost-tag.php

And this does not works for me... 

 

'forumIds' => 2188,

 

What i´m doing worng?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
Offline
Jun 22, 2013 - 10:46 pm

Why are you editing the tag??

You should pass the forum id as an argument.

Is that really the forum id??? Means at some point you created 2187 other forums since we start the ids at one. That looks more like a topic id.

Avatar
Carlos
Spain
Member
Free Members
Offline
Jun 23, 2013 - 6:00 am

Hi! I´m editing the tag because i want to leave some forums out of the recents topics tag... 

What should i edit for that? on the widget worked... but i don´t know where to put the categories that want to filter...?

 

The forum id is correct... the reason of this is that i migrated from bbpress so maybe bbpress asigned that forum  id... 

Avatar
Yellow Swordfish
Glinton, England
SP Master
Offline
Jun 23, 2013 - 6:14 am

Editing the tag is really not a good idea. The way to do this is to pass the comma-delimited list of id's you DO want to show. I know you said above this did not work but we have no other reports of problems and it seems to work OK for me here in tests. So it would be better if you explained what, exactly, did not work so we can get you on the right path.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625