Support Forum
hiding user group? do you mean forum? if so, correct... for single forum sites, you can, but with more than one forum, the group is needed or you cant see both forums - as you were witnessing with the redirect...
Visit Cruise Talk Central and Mr Papa's World
If you mean remove the latest forum post listing then you need to make a small change to one of the forum templates. In this case the spGroupView.php template in the /templates folder of the Simple:Press theme you are using.
Right near the bottom is the call to the display function: sp_RecentPostList() and you will need to simply remove it. Although I would just comment it out as you may one day decide to resurrect it.
As always we recommend that you create your own SP theme or child theme so that any customisation is not lost during a future update. (http://codex.simple-press.com/.....g-a-theme/)
YELLOW
SWORDFISH
|
Yellow Swordfish said
If you mean remove the latest forum post listing then you need to make a small change to one of the forum templates. In this case the spGroupView.php template in the /templates folder of the Simple:Press theme you are using.Right near the bottom is the call to the display function: sp_RecentPostList() and you will need to simply remove it. Although I would just comment it out as you may one day decide to resurrect it.
As always we recommend that you create your own SP theme or child theme so that any customisation is not lost during a future update. (http://codex.simple-press.com/.....g-a-theme/)
Can you explain what you mean by "comment it out"? Can I just hide it without removing the code? What would I change in here: sp_RecentPostList('show=10', __sp('Unread and recently updated topics'));
To comment out, you would simply place
/*before the function, and after would come*/
Just like that in fact! That way it will be ignored.
So the line you pasted would become:
/*sp_RecentPostList(‘show=10′, __sp(‘Unread and recently updated topics’));*/
i.e The whole function start to finish. If you are unsure you can always do it like:
/*
sp_RecentPostList(‘show=10′, __sp(‘Unread and recently updated topics’));
*/
you are welcome! glad we could help!
Visit Cruise Talk Central and Mr Papa's World
Ike said
To comment out, you would simply place/*before the function, and after would come*/
Just like that in fact! That way it will be ignored.
So the line you pasted would become:
/*sp_RecentPostList(‘show=10′, __sp(‘Unread and recently updated topics’));*/i.e The whole function start to finish. If you are unsure you can always do it like:
/*
sp_RecentPostList(‘show=10′, __sp(‘Unread and recently updated topics’));
*/
I'm assuming that all I need to do is to remove the /* and */ from the ends to get this function back? I've actually done this, but it breaks the link to the forum for some reason? Apparently some users were actually using this and have requested for it to be brought back.
Yeah, to get the function back just remove the /* from the start, and the */ from the end.
All this does is set anything inside to be 'ignored'
I'm not surprised some users were using it, it's a pretty useful function, but I don't understand how removing it could break anything, which 'link to the forum' are you referring to?
1 Guest(s)