Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: leapfrog - syyskuu 14, 2013, 09:59:25 AP

Otsikko: How to use SSI.php to show top posters on WordPress site?
Kirjoitti: leapfrog - syyskuu 14, 2013, 09:59:25 AP
Hello I have SMF forum 2.0.5 with the latest vesrion of WordPress site also, I was trying to figure out for the last couple of days how to show Top posters from SMF to my WordPress. I have tried many things and none of them eneded in succeding. I would really appreciate if you could help me with this problem and sorry for my bad english.

Thanks in advance.
Otsikko: Re: How to use SSI.php to show top posters on WordPress site?
Kirjoitti: Mick. - syyskuu 14, 2013, 10:10:20 AP
Checkout your ssi examples by following your forum ssi link.

http://www.your site name goes here.com/forum name here/ssi_examples.php

In wordpress header.php add at the top: (replace with your own server/folder credentials)
<?php require("/home/********/public_html/YOUR Forum folder/SSI.php"); ?>

and add the top poster code to where ever you want it to display.
<?php ssi_topPoster(); ?>
Otsikko: Re: How to use SSI.php to show top posters on WordPress site?
Kirjoitti: leapfrog - syyskuu 14, 2013, 11:01:33 AP
Wow never thought it would be that easy, thank you really much kind sir.
You can mark this as solved, thanks again  ;)
Otsikko: Re: How to use SSI.php to show top posters on WordPress site?
Kirjoitti: Mick. - syyskuu 14, 2013, 12:05:17 IP
Your Welcome. Glad it worked for ya ;)