Page Index Toggle Pages: 1 2 [3] 4  Send TopicPrint
Very Hot Topic (More than 25 Replies) Print Who is Online (Read 19091 times)
Senjion
Junior Member
**
Offline



Posts: 55
Location: Saint John
Joined: Nov 10th, 2004
Gender: Male
Re: Print Who is Online
Reply #30 - Nov 15th, 2004 at 7:45pm
Print Post  
yes myurl is changed to my website Wink
  

***Installed Mods***
Code
Select All
amm sp131 15 *
edit profile during registration *
extended profiles v122 sp13
forum staff info SP13 *
img tag bugfix v11
ImgSize 13 sp11 sp12 sp131 *
improved code boxes v21a sp13
mbc2 sp13
mbco2 polls patch
membersearch 20
ModsInstalled sp131
Polls 3 Showcase SP13
Polls 3 SP132
print who is online v11 sp13
quick reply box 13
Recent posts list *
recent users list
report to moderator sp *
SMTP Authorisation2
User More Membergroups 4 for AMM and YaMS MBCO2 * 


* = Edited for personal use/1.3.2 compatibility.
Back to top
 
IP Logged
 
Kong
God Member
*****
Offline


Is it just me or is my
back hairy???

Posts: 858
Joined: Aug 2nd, 2002
Gender: Male
Re: Print Who is Online
Reply #31 - Nov 15th, 2004 at 7:46pm
Print Post  
Okay.  Just thought I'd ask cause you never know.  Some times people miss the little things. Smiley
  


Back to top
 
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Print Who is Online
Reply #32 - Nov 15th, 2004 at 11:46pm
Print Post  
Senjion wrote on Nov 15th, 2004 at 7:44pm:
Nevermind I had the .com extension in twice >.<

it says:
document.write('1 Guests, 7 Users
The Exterminator, Don_Q, Shadez The Dark Messenger, Zylus, Blade, Calypso, Monterize')

In that case it should work. This might sound dump but did you disable javascript in your browser? Wink
  

The Administrator.
Back to top
WWW  
IP Logged
 
Senjion
Junior Member
**
Offline



Posts: 55
Location: Saint John
Joined: Nov 10th, 2004
Gender: Male
Re: Print Who is Online
Reply #33 - Nov 16th, 2004 at 7:21am
Print Post  
No, Java is enabled in my browser. Not entirely sure why it isnt showing up  ???
  

***Installed Mods***
Code
Select All
amm sp131 15 *
edit profile during registration *
extended profiles v122 sp13
forum staff info SP13 *
img tag bugfix v11
ImgSize 13 sp11 sp12 sp131 *
improved code boxes v21a sp13
mbc2 sp13
mbco2 polls patch
membersearch 20
ModsInstalled sp131
Polls 3 Showcase SP13
Polls 3 SP132
print who is online v11 sp13
quick reply box 13
Recent posts list *
recent users list
report to moderator sp *
SMTP Authorisation2
User More Membergroups 4 for AMM and YaMS MBCO2 * 


* = Edited for personal use/1.3.2 compatibility.
Back to top
 
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Print Who is Online
Reply #34 - Nov 16th, 2004 at 3:58pm
Print Post  
Ok I think I foud the problem: you have restricted board access to members only. In that case you'll have to apply an additional step:

open YaBB.pl and replace
Code
Select All
 if(!(($action eq 'login') || ($action eq 'login2') || ($action eq 'register') || ($action eq 'register2') || ($action eq 'reminder') || ($action eq 'reminder2'))) { &KickGuest; } 


with
Code
Select All
 if(!(($action eq 'login') || ($action eq 'login2') || ($action eq 'register') || ($action eq 'register2') || ($action eq 'reminder') || ($action eq 'reminder2') || ($action eq 'printwhoisonline'))) { &KickGuest; } 

  

The Administrator.
Back to top
WWW  
IP Logged
 
Senjion
Junior Member
**
Offline



Posts: 55
Location: Saint John
Joined: Nov 10th, 2004
Gender: Male
Re: Print Who is Online
Reply #35 - Nov 20th, 2004 at 11:09am
Print Post  
Hrmm.... I made that change and it is still not showing up.  Undecided
  

***Installed Mods***
Code
Select All
amm sp131 15 *
edit profile during registration *
extended profiles v122 sp13
forum staff info SP13 *
img tag bugfix v11
ImgSize 13 sp11 sp12 sp131 *
improved code boxes v21a sp13
mbc2 sp13
mbco2 polls patch
membersearch 20
ModsInstalled sp131
Polls 3 Showcase SP13
Polls 3 SP132
print who is online v11 sp13
quick reply box 13
Recent posts list *
recent users list
report to moderator sp *
SMTP Authorisation2
User More Membergroups 4 for AMM and YaMS MBCO2 * 


* = Edited for personal use/1.3.2 compatibility.
Back to top
 
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Print Who is Online
Reply #36 - Nov 20th, 2004 at 11:35am
Print Post  
That's funny, because if I create a small test html page with the code you posted in reply #25 it works fine with your forum.
  

The Administrator.
Back to top
WWW  
IP Logged
 
Senjion
Junior Member
**
Offline



Posts: 55
Location: Saint John
Joined: Nov 10th, 2004
Gender: Male
Re: Print Who is Online
Reply #37 - Nov 20th, 2004 at 11:38am
Print Post  
gah >.< lol Ill have to look at my site then... what did you put for code on the test page? maybe I put something in wrong.
  

***Installed Mods***
Code
Select All
amm sp131 15 *
edit profile during registration *
extended profiles v122 sp13
forum staff info SP13 *
img tag bugfix v11
ImgSize 13 sp11 sp12 sp131 *
improved code boxes v21a sp13
mbc2 sp13
mbco2 polls patch
membersearch 20
ModsInstalled sp131
Polls 3 Showcase SP13
Polls 3 SP132
print who is online v11 sp13
quick reply box 13
Recent posts list *
recent users list
report to moderator sp *
SMTP Authorisation2
User More Membergroups 4 for AMM and YaMS MBCO2 * 


* = Edited for personal use/1.3.2 compatibility.
Back to top
 
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Print Who is Online
Reply #38 - Nov 20th, 2004 at 12:04pm
Print Post  
This is my testpage:
Code
Select All
<html><body>
<script src="http://www.pinkbunnyproductions.com/Forums/YaBB/YaBB.cgi?action=printwhoisonline;type=java"></script>
</body>
</html> 

  

The Administrator.
Back to top
WWW  
IP Logged
 
Senjion
Junior Member
**
Offline



Posts: 55
Location: Saint John
Joined: Nov 10th, 2004
Gender: Male
Re: Print Who is Online
Reply #39 - Nov 20th, 2004 at 12:08pm
Print Post  
hmm... when I debug that page on its own it gives me an "Unterminated String Constant" Error.
  

***Installed Mods***
Code
Select All
amm sp131 15 *
edit profile during registration *
extended profiles v122 sp13
forum staff info SP13 *
img tag bugfix v11
ImgSize 13 sp11 sp12 sp131 *
improved code boxes v21a sp13
mbc2 sp13
mbco2 polls patch
membersearch 20
ModsInstalled sp131
Polls 3 Showcase SP13
Polls 3 SP132
print who is online v11 sp13
quick reply box 13
Recent posts list *
recent users list
report to moderator sp *
SMTP Authorisation2
User More Membergroups 4 for AMM and YaMS MBCO2 * 


* = Edited for personal use/1.3.2 compatibility.
Back to top
 
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Print Who is Online
Reply #40 - Nov 20th, 2004 at 3:20pm
Print Post  
I don't get any error, and the javascript debugger doesn't throw any error either.
  

The Administrator.
Back to top
WWW  
IP Logged
 
Senjion
Junior Member
**
Offline



Posts: 55
Location: Saint John
Joined: Nov 10th, 2004
Gender: Male
Re: Print Who is Online
Reply #41 - Nov 20th, 2004 at 7:08pm
Print Post  
odd...
  

***Installed Mods***
Code
Select All
amm sp131 15 *
edit profile during registration *
extended profiles v122 sp13
forum staff info SP13 *
img tag bugfix v11
ImgSize 13 sp11 sp12 sp131 *
improved code boxes v21a sp13
mbc2 sp13
mbco2 polls patch
membersearch 20
ModsInstalled sp131
Polls 3 Showcase SP13
Polls 3 SP132
print who is online v11 sp13
quick reply box 13
Recent posts list *
recent users list
report to moderator sp *
SMTP Authorisation2
User More Membergroups 4 for AMM and YaMS MBCO2 * 


* = Edited for personal use/1.3.2 compatibility.
Back to top
 
IP Logged
 
Senjion
Junior Member
**
Offline



Posts: 55
Location: Saint John
Joined: Nov 10th, 2004
Gender: Male
Re: Print Who is Online
Reply #42 - Dec 3rd, 2004 at 1:16pm
Print Post  
AHA! This is what happens. If there is one member logged in (and ONLY one member) it prints the information properly. If there are any more than one member on at a time it shows nothing at all.
  

***Installed Mods***
Code
Select All
amm sp131 15 *
edit profile during registration *
extended profiles v122 sp13
forum staff info SP13 *
img tag bugfix v11
ImgSize 13 sp11 sp12 sp131 *
improved code boxes v21a sp13
mbc2 sp13
mbco2 polls patch
membersearch 20
ModsInstalled sp131
Polls 3 Showcase SP13
Polls 3 SP132
print who is online v11 sp13
quick reply box 13
Recent posts list *
recent users list
report to moderator sp *
SMTP Authorisation2
User More Membergroups 4 for AMM and YaMS MBCO2 * 


* = Edited for personal use/1.3.2 compatibility.
Back to top
 
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Print Who is Online
Reply #43 - Dec 3rd, 2004 at 3:14pm
Print Post  
Hm ok then try this:
open Subs.pl and replace
Code
Select All
$users .= qq~ <a name}->[1]</a><font size="1">,</font> \n~;
 


with
Code
Select All
$users .= qq~ <a name}->[1]</a><font size="1">,</font> ~;
 

  

The Administrator.
Back to top
WWW  
IP Logged
 
TopHouse
Senior Member
****
Offline


The Top House

Posts: 297
Location: Manchester
Joined: Feb 15th, 2003
Gender: Male
Re: Print Who is Online
Reply #44 - Dec 8th, 2004 at 1:45pm
Print Post  
Got a very slight problem, or I think it is. Since I moved hosts, (my new host transfered all files to their servers) I have 2 mystery guests showing up on my main page. Obviously it could be 2 people logged on but they're there all the time. It still works properly except for the 2 mystery guests, ie if 1 person logs on it shows 3 guests xxx members, it's like it goes to 2 instead of 0 for guests. Is this possible?  It's only since I moved hosts, could it be a chmod somewhere or something?
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1 2 [3] 4 
Send TopicPrint