Advertisement:

Author Topic: simple php command to show a div from smf, help please  (Read 1897 times)

Offline crimpson

  • Semi-Newbie
  • *
  • Posts: 55
simple php command to show a div from smf, help please
« on: March 29, 2018, 06:46:00 PM »
I would like to call the forum statistics and recant posts div to display on another php page? I don't like the basic SMF call functions as they show up so plain and unsightly. I would like to call via iframe or something to show the exact same style that my forum uses. example attached.

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,162
  • Gender: Male
    • Kindred-999 on GitHub
Re: simple php command to show a div from smf, help please
« Reply #1 on: March 29, 2018, 07:27:24 PM »
You can not use iframes


However, the ssi function allows you to get the data and style it any ay you want
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline crimpson

  • Semi-Newbie
  • *
  • Posts: 55
Re: simple php command to show a div from smf, help please
« Reply #2 on: March 29, 2018, 08:43:03 PM »
The ssi functions do not seem able to display the data the same way my forum does and the ability to use css on them seems to be extremely limited do to lack of applicable tags on the data presented. am I wrong on this? does anyone have examples of ssi being styled?
In the image attached you'll see the top part is styled RSS feed which updates fairly quickly, and below it is the ssi function which uses table data and sucks for styling.

Basically I want better ways of displaying the ssi functions.

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,162
  • Gender: Male
    • Kindred-999 on GitHub
Re: simple php command to show a div from smf, help please
« Reply #3 on: March 29, 2018, 09:32:38 PM »
The ssi functions can be displayed in any way you want.  Read the ssi section of the online manual.
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.