|
Joined: Jul 2001
Posts: 808
Coder
|
Coder
Joined: Jul 2001
Posts: 808 |
I love in my ubb v6.1x the 'who-is-online' ssi call (shtml) for my homepage. I display there who is log on.
Now with V6.2 this option is with recent visitors gone.
What I need is a script in any kind who give me textoutput of recent vistors for my homepage. This one schould be used with virtual include as a ssi call.
Anyone out the who need this also and is able to do this ?
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
LK has posted the code before to do this... I'll have to dig it up if he doesn't before I do 
|
|
|
|
Joined: Sep 2000
Posts: 159
Member
|
Member
Joined: Sep 2000
Posts: 159 |
I would love to have this too.
|
|
|
|
Joined: Nov 2001
Posts: 47
Member
|
Member
Joined: Nov 2001
Posts: 47 |
Yes that would be nice to have 
|
|
|
|
Joined: Jun 2001
Posts: 572
Member
|
Member
Joined: Jun 2001
Posts: 572 |
Yeah, I would like, or need it, too. ~Jon
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
|
|
|
|
Joined: Sep 2000
Posts: 159
Member
|
Member
Joined: Sep 2000
Posts: 159 |
Thank you for taking the time to provide this!
|
|
|
|
Joined: Jul 2001
Posts: 808
Coder
|
Coder
Joined: Jul 2001
Posts: 808 |
please give me a clue: is this all ? can this code used as is or must be something done with it ? I m not a programmer an be a little bit 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Put it in ultimatebb.cgi, above if ($ubb eq '') {. Then use . 
|
|
|
|
Joined: Nov 2001
Posts: 47
Member
|
Member
Joined: Nov 2001
Posts: 47 |
thx LK 
|
|
|
|
Joined: Jul 2001
Posts: 808
Coder
|
Coder
Joined: Jul 2001
Posts: 808 |
Seems to work very well in Ubb 6.2.x. Nice work, thank you. I will test ist in 6.3 tomorrow.
This should be insert as option in the recent visitor (wol) hack.
So I can continue to switch my board from 6.1 to 6.2
Regards Zarzal
|
|
|
|
Joined: Jul 2001
Posts: 99
Member
|
Member
Joined: Jul 2001
Posts: 99 |
I'm sure it works but can you call it like this or not?
[code][/code]
|
|
|
|
Joined: Jul 2001
Posts: 808
Coder
|
Coder
Joined: Jul 2001
Posts: 808 |
virtual include works only if you call it from a shtml file thats belongs to same server as the ubb is installed. It don't work if the shtml file is on other webspace.
|
|
|
|
Joined: Jul 2001
Posts: 808
Coder
|
Coder
Joined: Jul 2001
Posts: 808 |
There is a big problem with the SSI call using ultimatebb.cgi:
If a guest, who never logged on the board, visit the homepage he will recive the board errormessage that he is not log on in my table who should display recent visitor.
Maybe thats the reason why the old script was an external one.
Any idea to prevent this ? Now i have disabled this for the first time and hope for a another solution.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Please, PLEASE post a URL (and enable it then  )
|
|
|
|
Joined: Jul 2001
Posts: 99
Member
|
Member
Joined: Jul 2001
Posts: 99 |
Hi, I think it was due to lack of sleep and stress, because this morning I took one look at it and got it working! Thanks very much for this, I have finally got my site back to the way it was before upgrading! If your interested in seeing it working with the Lt hack as well... http://www.spl.at Ta! Jon
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Zarzal, it seems to work here Jon, I can't see it there 
|
|
|
|
Joined: Jul 2001
Posts: 808
Coder
|
Coder
Joined: Jul 2001
Posts: 808 |
you are right, actual it work. Myself go  I will watching it and take a screenshot if it happen again. But one effect can be forced: if you close the board for maintanace you get the closed board message there incl allö header information in the style sheet. Looks funny 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
I know that problem  I guess maybe it should be in a diff file, but it's not a hack here, notice this toic is in ideas/suggestions thread 
|
|
|
|
Joined: Feb 2001
Posts: 78
Member
|
Member
Joined: Feb 2001
Posts: 78 |
Ok when I put this code in for 6.3.0 I get internal server error,
"The server encountered an internal error or misconfiguration and was unable to complete your request."
the ubb wont even display. I double checked the code over and over, and its exactly as you have it.
|
|
|
|
Joined: Feb 2001
Posts: 78
Member
|
Member
Joined: Feb 2001
Posts: 78 |
ok nevermind, extra space by mistake, Its working now in 6.3.0. Thank You very much LK.
|
|
|
|
Joined: Nov 2001
Posts: 47
Member
|
Member
Joined: Nov 2001
Posts: 47 |
I just added it to my site  works perfect thx LK BTW my forum is 6.3.0
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
Thanks LK, I put it on the netwerkin homepage but I had to use a virtual include instead of the exec command.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|