TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,911
  • Total Topics: 21,307
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 409
  • Total: 409

SSI Functions in blocks

Started by DistantJ, July 29, 2010, 01:44:31 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DistantJ

Ok, a quick one...

What would I do to include an SSI function in a PHP block? Say I wanted to display the latest users or whatever else, obviously things work a little different as TinyPortal is part of the forum etc. I'm guessing it's not exactly the way no normally would include an SSI feature on a .PHP page...

Freddy

SSI will already be called/included by the time it gets to a block.  You can use a function directly.

EG :

ssi_recentTopics(8);

That will then run the SSI function as normal.

Crip

I have become comfortably numb!

Cripzone | Crip's Free 2.0.2 Themes



Muziekforum

Hello,

I'm using the same function on my forum  and it works! But the alignment of the recent topics on the fronpage looks a bit weird. Not like the one on the boardindex(evrything to the left). See attachment.

Where can I change that?
I've been looking in the style sheet and in ssi.php but can;t find anything alike. I'm very bad in coding, so can anybody help please?

Thanks in advance.

Ed.

Muziekforum

Excuse me guys,

You can consider my problem solved. :-[
It was in ssi.php I was just looking over it and when I found it it was still looking wrong but the reason for that was that 1 board had an extreme long name while wrapping was off.
I'm pretty retarded sometimes and specially when I'm having flew like today. :idiot2:

Freddy

#5
Glad you figured it out  ;D

This website is proudly hosted on Crocweb Cloud Website Hosting.