Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: auzz00 - lokakuu 15, 2013, 03:38:40 IP

Otsikko: Word Press Widget for Simple Machine???
Kirjoitti: auzz00 - lokakuu 15, 2013, 03:38:40 IP
Is there a widget available that ties my existing forum into Word Press as a widget?

I'm looking for 2 widgets to populate a sidebar in Wordpress..

Widget 1:
Shows who is online, 1 user (name) 3 guests  etc..

Widget 2:
Latest registered user

If someone can please help me I'd greatly appreciate it.
Otsikko: Re: Word Press Widget for Simple Machine???
Kirjoitti: margarett - lokakuu 15, 2013, 03:44:26 IP
Welcome to SMF.

Please use a search. It has been discussed over and over, including a (very) recent "discussion" just today, last updated minutes ago.
You want a bridge.
Otsikko: Re: Word Press Widget for Simple Machine???
Kirjoitti: IchBin™ - lokakuu 15, 2013, 05:55:05 IP
I'm not sure they are wanting that margarett? They seem to be asking about what I would view as SSI functionality. Maybe they can clarify. :)
Otsikko: Re: Word Press Widget for Simple Machine???
Kirjoitti: auzz00 - lokakuu 15, 2013, 07:51:46 IP
I don't know what it would be or how exactly to do it.. If someone can just help me out or show me a way to make this happen I'd appreciate it.
Otsikko: Re: Word Press Widget for Simple Machine???
Kirjoitti: margarett - lokakuu 15, 2013, 08:14:02 IP
Well, you have the following options:
- integrate login system --> bridge
- request certain forum informations to include in your WP (or any other page outside SMF) --> SSI.

Please note that, in order to use SSI you have to code the output of the informations provided by SMF... For examples, look at the file "ssi_examples.php" in the root of your forum ;)
Otsikko: Re: Word Press Widget for Simple Machine???
Kirjoitti: Kindred - lokakuu 16, 2013, 04:33:54 IP
to answer the original question... yes. both latest member and who's online can be called using SSI functions.