Support Forum

Setting up the Forum

TC Timothy Campbell
Timothy Campbell
Member

http://live4sportnetwork.com/index/forum/

I have started testing the new forum for my site and so far I am very pleased.

Anyone that would like to help us test this forum, give advice, make a suggestion or simply comment is welcome to do so and would be greatly appreciated.

I will have several questions as I move forward so I was curious as to whether you would like me to use this thread or create a new one each time a question is answered.

The first issue that I have encountered involves the confirmation link that is sent to new users. When I click on that link it gives me a 404 error. Is there a setting that I need to adjust in order to correct this?

24 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Do you mean the link your new user gets when their site registration email arrives? Sadly, registration, login etc., are all pure WordPress functions. As far as I was aware they should get the url as set up in the WordPress > Settings > General panel with the login page added. Unless you are using some sort of membership plugin which would probably override this with a setting of its own…

You can also override it however, on the forum admin > components > login and registration panel if you need to but this is likely only going to work if you use the SP registration email (Options > Email) which simply replaces the built-in WP one and allows you to change and personalise the text.

Does that help?

TC Timothy Campbell
Timothy Campbell
Member

Thank you swordfish, I am going to look at those options now.

Next question –

If I want to reorder the ‘report post’, ‘PM’, ‘edit’ and ‘quote’ buttons above each post, what file should I look under?

YS Yellow Swordfish
Yellow Swordfish
Member

You would want the spTopicView.php theme template – in the /templates folder of your SP theme. Or – if Reboot – in the /desktop and /mobile folders.  if you trace down you will see the display functions are fairly easy to work out and you will find the ones you are looking for in a block together. And you can, of course,  reorder them as you prefer.

As always we recommend the use of a child theme to ensure changes are not lost when upgrading. There are now Child Theme Frameworks available to download for all of our themes to make this simple and full and extensive details can be found on our Codex – Creating a Child Theme page: https://simple-press.com/documentation/codex/themes/theme-basics/creating-a-child-theme/

TC Timothy Campbell
Timothy Campbell
Member

Ok, I have them reordered now, thanks again!

What file should I look under to change the size of the images for the subforums? I would like to make them just a bit larger to aid in the ease of navigation for my users.

MP Mr Papa
Mr Papa
Member

can you explain further? or give us an example link?  are we talking images or the thumbnails in forum posts (if enabled)?

some options are on forum – options – content settings…  and then if you are using our file uploader plugin for simple press, you could check forum – components – file uploads…

its also possible your wp theme is artificially limiting the size, but without more info or example, hard to tell…

fyi, using the link in post #1,  my anti-virus and malware software goes crazy about unsafe site…  dont know if false alarm or real, but suggest a scan to make sure…

TC Timothy Campbell
Timothy Campbell
Member

I ran a scan today and it came back clean so I am hoping that it is just a false alarm…

Here is a link to the forum page – http://live4sportnetwork.com/index/forum/

If you look under NFL you will see divisions, then under each division there are subforums for the teams. These are the icons I would like to make slightly bigger.

Another thing I would like to change is the way the subforums are featured from within the actual divison forums – http://live4sportnetwork.com/index/forum/afc-north/

I would like to have the subforums listed in a less intrusive manner. I think having them listed the same as on the main page with smaller icons directly underneath the index/subforum header bar would make for a better look and feel with easier navigation.

YS Yellow Swordfish
Yellow Swordfish
Member

You’re going to need to make a change to one of the template display functions in the SP theme you are using. Is that Reboot? I am not sure as you have removed our copyright and about sections.

But you want the spGroupView template and need to locate the call to the display function sp_ForumIndexSubForums() which probably looks a bit like this:

sp_ForumIndexSubForums('unreadIcon=sp_SubForumUnreadIcon.png', __sp('Sub-Forums:'), __sp('Browse topics in %NAME%'));

You need to add a nea argument which is iconWidth. This is currently, by default, set to 20 (pixels). So – if, for example, you wanted to make it 35 then you would add:

sp_ForumIndexSubForums('unreadIcon=sp_SubForumUnreadIcon.png&iconWidth=35', __sp('Sub-Forums:'), __sp('Browse topics in %NAME%'));

which will do what you need.

I will need to think on the other one as that ainlt so easy – you would probably need some new display functions.

YS Yellow Swordfish
Yellow Swordfish
Member

Oh yes – meant to add of course: As always we recommend the use of a child theme to ensure changes are not lost when upgrading. There are now Child Theme Frameworks available to download for all of our themes to make this simple and full and extensive details can be found on our Codex – Creating a Child Theme page: https://simple-press.com/documentation/codex/themes/theme-basics/creating-a-child-theme/

But as I can see you have removed items you have probably done this already.

MP Mr Papa
Mr Papa
Member

still shows up as malware infected for me… but as I said could just be false positive… will see if I can figure out what it doesnt like…

TC Timothy Campbell
Timothy Campbell
Member

Swordfish,

I was fiddling with adding some advertising at the bottom of the page in the desktop template of reboot. The copyright information will be going back on that template underneath the ad once I get back to it today.

Thank you for the location of the image sizing. I am going to adjust that tonight as well.

With the other part of the division forum and subforum question – would it be possible to php call the section you posted in place of the larger subforum section that is currently on the page? In essence, I would be swapping one call for php out for the other.

Don’t know if it would work or not, just a quick thought on the subject.

TC Timothy Campbell
Timothy Campbell
Member

Papa,

Thanks for checking that out for me. Out of curiosity – is there a preferred firewall plugin for wordpress that would not interfere with Simple:Press?

MP Mr Papa
Mr Papa
Member

firewall plugin?  doubt you have a plugin for that…  or at least not a standalone plugin…  most should work, sucuri is one that we use and gets nice reviews…

dont know of any offhand that do interfere but its possible… mod_security (not a plugin) is one that is horrible at false positives…

TC Timothy Campbell
Timothy Campbell
Member

Papa,

I will definitely be adding Sucuri to the new version of the site that I am building. Thanks for that tip!

TC Timothy Campbell
Timothy Campbell
Member

Yellow Swordfish said
You’re going to need to make a change to one of the template display functions in the SP theme you are using. Is that Reboot? I am not sure as you have removed our copyright and about sections.

But you want the spGroupView template and need to locate the call to the display function sp_ForumIndexSubForums() which probably looks a bit like this:

<br />
sp_ForumIndexSubForums('unreadIcon=sp_SubForumUnreadIcon.png', __sp('Sub-Forums:'), __sp('Browse topics in %NAME%'));
<br />

You need to add a nea argument which is iconWidth. This is currently, by default, set to 20 (pixels). So – if, for example, you wanted to make it 35 then you would add:

<br />
sp_ForumIndexSubForums('unreadIcon=sp_SubForumUnreadIcon.png&iconWidth=35', __sp('Sub-Forums:'), __sp('Browse topics in %NAME%'));
<br />

which will do what you need.

I will need to think on the other one as that ainlt so easy – you would probably need some new display functions.

I found this section, made the change but it did not have the desired effect.

Something of interest I did notice – you mentioned the default being set to 20 but those icons are actually listed as 16×14. Don’t know if that would be of any interest in you helping with this but in case it does I wanted to post it.