1
PeterGW
Re: How to include SMF recent topics in Xoops block?
  • 2007/1/1 18:16

  • PeterGW

  • Just popping in

  • Posts: 3

  • Since: 2006/12/17


http://www.simplemachines.org/community/ssi_examples.php <- Command or funktions.

ssi_recentTopics() <- would show u the recent Topics.

"remove" ssi and () and u have recentTopics


cya



2
PeterGW
Re: How to include SMF recent topics in Xoops block?
  • 2007/1/1 13:11

  • PeterGW

  • Just popping in

  • Posts: 3

  • Since: 2006/12/17


9 Month later

today i had the same problems and here a solution ....

Create a custom block (PHP Script)

and here is something that works ....

echo '<center><b><font color="yellow"> Forum Online Statistic</font><br><br>';
include 'http://PATH_TO_YOUR_SSI_FILE/SSI.php?ssi_function=logOnline';
echo '</b></center>';


..... it works for my site. the same works also with all other functions u have just remove the ssi_ and the () from the command.

i hope it helps!



3
PeterGW
Add News with a shell script ....
  • 2006/12/17 22:52

  • PeterGW

  • Just popping in

  • Posts: 3

  • Since: 2006/12/17


Hello,

i have some XOOPS website running on my root and i want for 3 of them that they have always the same news entrys.

I will create a shell script that will check for a file i will upload and if it exist it will add the text from this file into the news.

mysql is not mine so can some1 plz help me for the MySQL command?

i use 1x news 1.4 and 2x 1.5.


thx 4 ur help!




TopTop



Login

Who's Online

191 user(s) are online (118 user(s) are browsing Support Forums)


Members: 0


Guests: 191


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits