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,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 282
  • Total: 282

Users Online Today Mod

Started by insanemustang, April 30, 2008, 04:24:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

insanemustang

I have tried everything in an attempt to create a block to show who has been online today, and I can't figure it out.

It appears that the block snipplet board, where I began this effort, is not a board for support for the block error I am getting.  That board says if you need help, but it in requests, so that's what I am doing.

If anyone could help me I'd really appreciate it.

SMF 1.1.4
TP 0.9.8

What I have done so far:

I did what was directed by this post

But in my block I have this error:
QuoteFatal error: Cannot redeclare ssi_shutdown() (previously declared in /home/mustang/public_html/bn/SSI.php:187) in /home/mustang/public_html/bn/SSI.php on line 189

Thanks in advance for any help

insanemustang


IchBin


insanemustang

I don't have one.  But I do know it just miraculously appeared.  I haven't touched it since it's working.

I think I applied a Users Online Today Mod that I don't know where I got, and I'm pretty sure it is just another way to do what I want.

Then I found the code it inserted into my Stats block, found the ssi code and then added the ssi into a php block.


insanemustang

I wish I could make it scroll though.... getting long

JPDeni


insanemustang

Quote from: JPDeni on May 06, 2008, 07:54:33 PM
There are a number of scrolling scripts at http://dynamicdrive.com/dynamicindex2/index.html

But this will have to go in the blocks.template.php folder correct?  does it need to be special code, or written in php? 

I'm going to mess it up, I know I will lol

IchBin

Thats why you make a backup. :) Then its as easy as just replacing the file with the original if you screw it up.

JPDeni

#8
QuoteBut this will have to go in the blocks.template.php folder correct?
I'm pretty sure you can put it into the block code. I did a scrolling thing for someone a month or so ago. I'll go look for it.

ETA:

I found it. http://www.tinyportal.net/index.php?topic=22723.msg184320#msg184320

Ianedres

Quote from: IchBinâ,,¢ on May 06, 2008, 08:29:09 PM
Thats why you make a backup. :) Then its as easy as just replacing the file with the original if you screw it up.

True dat!  :coolsmiley:

The other thing I find so helpful is have the direct link to your block management in the admin panel bookmarked- so you can disable a buggy block if need be.  8)

This website is proudly hosted on Crocweb Cloud Website Hosting.