Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Jsizizzle on August 11, 2017, 01:38:39 PM

Title: My forum page is not showing the bottom section of my site like all other pages
Post by: Jsizizzle on August 11, 2017, 01:38:39 PM
Hello, for some reason my forum page is not showing my counter, recent posts, and tables I have set.  I did double check and I have them all set to show in the forum.  Can anyone tell me why this is happening?  When you go to any other page on my website it shows all of the above. My website address is below

http://playersprogramu.com/forum/

You can go to http://playersprogramu.com/arizona-wildcats-basketball/
to see an example of how all pages should look once you scroll down to the bottom
Title: Re: My forum page is not showing the bottom section of my site like all other pages
Post by: Sir Osis of Liver on August 11, 2017, 01:42:50 PM
You've broken the board index.  What was the last thing you did to BoardIndex.template.php?
Title: Re: My forum page is not showing the bottom section of my site like all other pages
Post by: Jsizizzle on August 11, 2017, 01:57:47 PM
Last thing I did was add the imgbb image link under the topic.
Title: Re: My forum page is not showing the bottom section of my site like all other pages
Post by: Sir Osis of Liver on August 11, 2017, 10:24:05 PM
Attach your BoardIndex.template.php.
Title: Re: My forum page is not showing the bottom section of my site like all other pages
Post by: Jsizizzle on August 12, 2017, 02:24:33 AM
Here's my index.template file
Title: Re: My forum page is not showing the bottom section of my site like all other pages
Post by: Jsizizzle on August 12, 2017, 03:21:27 AM
Oops I put wrong file.  Here's the board index file
Title: Re: My forum page is not showing the bottom section of my site like all other pages
Post by: Sir Osis of Liver on August 12, 2017, 05:23:29 PM
The problem is being caused by the commented line, which was added by a mod -



echo '<br class="clear" />';
// template_ad_position('above_info_center');

template_info_center();
}

function template_info_center()


Title: Re: My forum page is not showing the bottom section of my site like all other pages
Post by: Jsizizzle on August 12, 2017, 11:16:49 PM
Can I just remove everything you pasted to fix it?
Title: Re: My forum page is not showing the bottom section of my site like all other pages
Post by: Sir Osis of Liver on August 13, 2017, 12:52:33 AM
No, just the commented line, but you may have other problems from a broken mod.
Title: Re: My forum page is not showing the bottom section of my site like all other pages
Post by: Jsizizzle on August 13, 2017, 12:55:42 AM
I'm sorry, I'm totally new to this. So I remove the line below correct?

function template_info_center()
Title: Re: My forum page is not showing the bottom section of my site like all other pages
Post by: Sir Osis of Liver on August 13, 2017, 01:02:12 AM
No, just the line starting with //.  It's calling template_ad_position, which is from a mod which apparently was incompletely uninstalled or is otherwise broken.
Title: Re: My forum page is not showing the bottom section of my site like all other pages
Post by: Jsizizzle on August 13, 2017, 03:39:28 AM
Thank-you so much for fixing this for me! If you see anything else that looks like it needs to be fixed please let me know.