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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 219
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 93
  • Total: 93

Possible to use SSI functions in Articles?

Started by BAlGaInTl, July 13, 2007, 05:48:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

BAlGaInTl

I was just wondering...

Is it possible to use the SMF SSI functions in TP articles?

I've been trying to figure out how to do this.

Basically, I want to make a hidden article that uses several of the SSI functions that I can then copy and paste into a newsletter to remind people to visit the site.  I've tried this by creating a PHP article, but I'm having absolutely no luck.

If it's not possible, I suppose that I can just create a hidden page somewhere else on my server for this.

Any help is appreciated.

tick

Yes it is possible.  What code  are you using in your article?

BAlGaInTl

Quote from: Tick on July 13, 2007, 07:06:09 PM
Yes it is possible.  What code  are you using in your article?


I was trying to just use <?php ssi_recentTopics(); ?> and similar, but I have no idea how to format it. 

I tried with and without the <?php require("/path/to/forum/SSI.php"); ?> line.

I will keep trying to figure stuff out, but any direction would be nice.

tick

This is all you put in the php article.  ssi_recentTopics();

BAlGaInTl

hehe...

That explains it then.  This is my first time playing around with the PHP articles.

It is working now.

Thanks.

This website is proudly hosted on Crocweb Cloud Website Hosting.