Advertisement:

Author Topic: Not quite sure on how to handle this...  (Read 1359 times)

Offline NIAB

  • Semi-Newbie
  • *
  • Posts: 57
Not quite sure on how to handle this...
« on: May 23, 2012, 02:38:57 AM »
I have moved the info center into my own footer file which is shown across my website. Currently the only software I have installed is SMF, I do plan on adding a few other things in future.
Anyway, to the point - I can't get the info center (in the footer) to show the online member count, guest count, or the private messages box. Any Suggestions? Not entirely sure on what to do with integration, as I am relatively new to it.

Oh, before moving it to my footer all the information it should show was showing.

Offline Kindred

  • Support Specialist
  • SMF Master
  • *
  • Posts: 32,108
  • Gender: Male
    • wagner999 on Facebook
    • @Kindred_999 on Twitter
Re: Not quite sure on how to handle this...
« Reply #1 on: May 25, 2012, 10:32:45 AM »
well, yes...    if the smf details were moved to a different file and in a different directory section, then you will probably have issues unless you know how to configure things like that.

specifically, you can't just "move it". If you are moving it outside of SMF, you'll have to include various SMF includes, requires and access to other SMF functions in the palce that you moved it to. You may also run into trouble with the cookies.
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support forums.  Thank you.

Offline NIAB

  • Semi-Newbie
  • *
  • Posts: 57
Re: Not quite sure on how to handle this...
« Reply #2 on: May 25, 2012, 06:26:37 PM »
Used <div etc><?php Template_info_center() <div> ?>

Offline Arantor

  • SMF Legend
  • *********
  • Posts: 51,160
    • wedgebook on Facebook
Re: Not quite sure on how to handle this...
« Reply #3 on: May 25, 2012, 06:34:48 PM »
And it won't work when you do that because you have to copy all the relevant code from Sources/BoardIndex.php that makes it work (as well)