TinyPortal

Development => Support => Installation => Topic started by: blouogies on May 21, 2008, 08:44:17 AM

Title: Problem with SSI Latest Members 1.0.1 mod
Post by: blouogies on May 21, 2008, 08:44:17 AM
Hi can some one help me with the following please.

I have installed the SSI Latest Members 1.0.1 mod on my forum.  But the problem I have is how to to integrate it into the tiny portal?

I looked at the ssi_function but it only supports polls.

So please if their is anyone who can assist me with this I will be glad.

I did ask at smf but they redirected me here.

Here is the smf link: http://www.simplemachines.org/community/index.php?topic=239540.0
Title: Re: Problem with SSI Latest Members 1.0.1 mod
Post by: Dragooon on May 21, 2008, 09:05:34 AM
What do you want by "integrating" it?
Title: Re: Problem with SSI Latest Members 1.0.1 mod
Post by: blouogies on May 21, 2008, 09:12:53 AM
Hi

Thanks for the quick responce!!!

Well the guy who made the mod said the following.

(I don't know how the TP work, but normal there is option for it to insert ssi codes into a block.)

So that is what I must do to get it working "insert ssi codes into a block"

How do you do it?
Title: Re: Problem with SSI Latest Members 1.0.1 mod
Post by: Dragooon on May 21, 2008, 09:44:42 AM
Create a PHP Block, and add
require_once('SSI.php');
SSI_FUNCTION();


EDIT : Forgot to say,  replace SSI_FUNCTION with the function you want to call.
Title: Re: Problem with SSI Latest Members 1.0.1 mod
Post by: blouogies on May 21, 2008, 10:06:22 AM
Ok can you please explain how I should do this?

I'm new to TP so please tell me what should I do!

Thank you
Title: Re: Problem with SSI Latest Members 1.0.1 mod
Post by: Dragooon on May 21, 2008, 10:08:43 AM
Add a PHP Block
And in it add
require_once('SSI.php');
ssi_latestMembers();
Title: Re: Problem with SSI Latest Members 1.0.1 mod
Post by: blouogies on May 21, 2008, 10:13:23 AM
Quote from: Dragooon on May 21, 2008, 10:08:43 AM
Add a PHP Block
And in it add
require_once('SSI.php');
ssi_latestMembers();

Thank you

It is showing the latest member BUT how can I make it to show the avater too?
Title: Re: Problem with SSI Latest Members 1.0.1 mod
Post by: Zetan on May 21, 2008, 10:18:38 AM
There is a latest member(s) code snippet in the Block Code Snippets board.
Please have a look for it as we don't need more code flying around when we are trying to organise the Snippets board.
Title: Re: Problem with SSI Latest Members 1.0.1 mod
Post by: Dragooon on May 21, 2008, 10:18:53 AM
Ask the mod author. It is his function, so he knows better than me ;)
Title: Re: Problem with SSI Latest Members 1.0.1 mod
Post by: Zetan on May 21, 2008, 10:20:28 AM
Like I said.. there is already a functioning snippet with new member Avatar, that will also display a default image if the member hasn't yet selected an avatar.
Title: Re: Problem with SSI Latest Members 1.0.1 mod
Post by: Dragooon on May 21, 2008, 10:21:09 AM
Yeah I know ZTN, I missed your post while submitting mine :)
Title: Re: Problem with SSI Latest Members 1.0.1 mod
Post by: Zetan on May 21, 2008, 10:24:15 AM
Quote from: Dragooon on May 21, 2008, 10:21:09 AM
Yeah I know ZTN, I missed your post while submitting mine :)

No worries  :)