#42751
03/31/2000 3:44 PM
|
Joined: Jan 2000
Posts: 64
Member
|
Member
Joined: Jan 2000
Posts: 64 |
here are instructions on how to have who's online track guests as well as members. you now have a message which can be used anywhere you have an &WriteUserSession Online: 2 Members, and 3 Guests plus the online list in utimate will list all member names and tack ", and 3 Guests" to the end. you can download the instructions HERE! can be seen at my new site under construction see url in sig Mutt ------------------ BarTourOnline.com my new v5.43 under construction
|
|
|
#42752
03/31/2000 4:35 PM
|
Joined: Jan 2000
Posts: 67
Member
|
Member
Joined: Jan 2000
Posts: 67 |
a bit of a struggle but I managed to get this working, or at least the parts that i wanted anyway on 5.39 http://cpfc-bbs.com/ there has been some intresting results though The online users at the bottom showed guests IPs for a start
|
|
|
#42753
03/31/2000 5:00 PM
|
Joined: Jan 2000
Posts: 395
Member
|
Member
Joined: Jan 2000
Posts: 395 |
I'm getting a missing terminator when i click to see where the members/guests are from ubb_library.pl.
Could someone document exactly where evrything goes in online.cgi and ubb_library.pl?
(I too, am running 5.39)
Thanks in advance!
|
|
|
#42754
03/31/2000 5:57 PM
|
Joined: Jan 2000
Posts: 64
Member
|
Member
Joined: Jan 2000
Posts: 64 |
just replace the 2 subs. DONE!!
make sure that the variable you call in ultimate.cgi is $OnlineUsers
the changes to online.cgi are optional.
dave, went to your site and it is working fine.
People, don't try customizing the message until you get it working. It sounds like that was daves problem, i don't know though.
it saves guest names as Guest(ipnum). it looks for users name that start with Guest. if it finds one, it won't print the name, instead it ups the guest counter. If you change the guests name to something other than Guest(ipnum) it woundn't recognize them as guests and just print thier name like any other member.
|
|
|
#42755
03/31/2000 6:11 PM
|
Joined: Jan 2000
Posts: 395
Member
|
Member
Joined: Jan 2000
Posts: 395 |
Mutt,
Forgive me for asking this, but what subs are we supposed to replace in ubb_library.pl?
Thanks in advance.
|
|
|
#42756
04/01/2000 9:01 AM
|
Joined: Jan 2000
Posts: 64
Member
|
Member
Joined: Jan 2000
Posts: 64 |
ok you need to have lready installed thw who's online mod. when you install it, it tells you to put 2 subs in ubb_library.pl
sub WriteUserSession sub GetOnlineUsers
my txt file replaces these 2 subs with modified ones.
if i am crazy let me know
|
|
|
#42757
04/01/2000 10:52 AM
|
Joined: Jan 2000
Posts: 395
Member
|
Member
Joined: Jan 2000
Posts: 395 |
This is bizarre!
I installed the Who's online hack a week or so ago.
Neither of those subs appear in th ubb_library.pl file, and neither does the new cookie sub.
this is the only sub that appears:
sub GetCookieInfo { ($junk, $Domain) = split(////, $CGIURL); ($TheDomain, @junk) = split(///, $Domain); $ThePath = join("/", @junk); }
The hack works fine. i don't understand this at all.
I'm running 5.39
|
|
|
#42758
04/01/2000 11:16 AM
|
Joined: Jan 2000
Posts: 64
Member
|
Member
Joined: Jan 2000
Posts: 64 |
????????
I'll go back and reread the directions, but those subs came fromw somewhere. it couldn't work without em.
be right back
|
|
|
#42759
04/01/2000 11:22 AM
|
Joined: Jan 2000
Posts: 64
Member
|
Member
Joined: Jan 2000
Posts: 64 |
http://www.arlo.net/ubb/whoonline.txt here are his directions. the first thing you do is replace the cookie sub in ubb_libray.pl when you do that you actual add 2 extra subs. WriteUserSession and GetOnlineUsers since you have an older version of ubb, you had to replace the cookie sub in cookie-lib.pl and add the other 2 subs to ubb_library.pl you must have added all three subs to cookie-lib.pl. I suppose it would work fine that way. look in your cookie-lib.pl and see if the subs are there by mistake.
|
|
|
#42760
04/01/2000 11:25 AM
|
Joined: Jan 2000
Posts: 395
Member
|
Member
Joined: Jan 2000
Posts: 395 |
LOL!!!!
That's where they are! Go figure!
Maybe I forgot that someone told me to do that. ????
Thanks for all the help!
|
|
|
#42761
04/01/2000 4:22 PM
|
Joined: Jan 2000
Posts: 395
Member
|
Member
Joined: Jan 2000
Posts: 395 |
Hi Mutt, Now I have a CGI Error when opening Ultimate.cgi. Undefined subroutine &main::ReadParse called at D:usersunitedconservatives.comwwwubbcgiUltimate.cgi line 46. What's wrong here? .............. Also.. There is nothing that remotely looks like this code in online.cgi, and I DO have user names linked to profiles. $username2 = quotemeta("$username"); if ($username2 =~ m/Guest/i) { $Person = qq( $username ); } else { $Person = qq( $username ); } ..... And you have this line commented with a # in the sub GetOnlineUsers: # if ($name eq $cookie{'UserName'}) { next; } Is this a typo? ...... There are also missing periods before equal signs here: $onlinemessage = "There is 1 Member"; } elsif ($membercount > 1) { $onlinemessage = "There are $membercount Members"; } elsif ($guestcount > 1) { $onlinemessage = "There are $guestcount Guests"; Typos? This has been a bear to get to run. Could you please help me?
|
|
|
#42762
04/01/2000 5:39 PM
|
Joined: Jan 2000
Posts: 64
Member
|
Member
Joined: Jan 2000
Posts: 64 |
NO - they are not typos. leave it alone. you should be looking for this code print qq(> $Person | $TheDate / $TheTime | $where | | );
instead of $person you probably have the link to the users profile. my code is that same thing but with an if statement to weed out the guests.
|
|
#42763
04/01/2000 6:26 PM
|
Joined: Jan 2000
Posts: 395
Member
|
Member
Joined: Jan 2000
Posts: 395 |
Thank you Mutt!
Got it running great.
Fantastic hack sir!
BTW, is there a way to show Guests as Guest#1, Guest#2, etc...instead of IP numbers?
Some lurkers may find the IP thing intrusive.
Thanks again so much.
|
|
|
#42764
04/01/2000 6:50 PM
|
Joined: Jan 2000
Posts: 64
Member
|
Member
Joined: Jan 2000
Posts: 64 |
screw them, they should register if they don't like it! i don't know I guess. that was just the easiest way to do it.
|
|
|
#42765
04/01/2000 9:09 PM
|
Joined: Jan 2000
Posts: 395
Member
|
Member
Joined: Jan 2000
Posts: 395 |
Found one little bug Mutt.
I'm using the old links on my forumdisplay pages (not your $OnlineUsers..etc), and it's showing one more user online than there actually is. If there are 4 people online, the link shows 5 and so on.
Otherwise it's working fine.
How do i fix this? (I don't wanna screw this up again!)
Thanks for your patience with me today. I really appreciate it!
|
|
|
#42766
04/02/2000 5:24 AM
|
Joined: Mar 2000
Posts: 1
Junior Member
|
Junior Member
Joined: Mar 2000
Posts: 1 |
Thanks Mutt!!! It is working great
|
|
|
#42767
04/02/2000 10:38 AM
|
Joined: Jan 2000
Posts: 170
Member
|
Member
Joined: Jan 2000
Posts: 170 |
|
|
|
#42768
04/02/2000 10:50 AM
|
Joined: Jan 2000
Posts: 64
Member
|
Member
Joined: Jan 2000
Posts: 64 |
i bet thats you. you are the extra person. did you remove that # sign? after i redid it you don't have an option of not including yourself in the count. it assumes you are there. it sounds like you are being counted and assumed. you are the only one with this problem. so look at the code and see what you changed from mine.
what old links?
|
|
|
#42769
04/02/2000 1:26 PM
|
Joined: Jan 2000
Posts: 395
Member
|
Member
Joined: Jan 2000
Posts: 395 |
I was using the old $tot_browsing.
I'm using your $onlinemessage now. Works great!
Thank you!
|
|
|
#42770
04/04/2000 11:17 AM
|
Joined: Feb 2000
Posts: 3
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 3 |
i replaced the code (the cookie-lib code) with the original who is online hack. but now i think i have a problem... i got a little "name cookie problem" look at this:
Welcome BiLLBiLLBiLL, you last visited: 04 April 2000 08:09 AM04-04-2000
and
Online Users Currently browsing the boards: BiLL, lauko, Mephisto, BiLLBiLL, Mr. Black, and 3 Gues
incomplete and nick problems - someone know how to fix this problem?
------------------
|
|
|
#42771
04/08/2000 1:25 PM
|
Joined: Mar 2000
Posts: 20
Member
|
Member
Joined: Mar 2000
Posts: 20 |
|
|
|
#42772
04/09/2000 6:52 PM
|
Joined: Jan 2000
Posts: 18
Member
|
Member
Joined: Jan 2000
Posts: 18 |
For some reason mine is off a month! Check it out
|
|
|
#42773
04/09/2000 8:53 PM
|
Joined: Mar 2000
Posts: 26
Junior Member
|
Junior Member
Joined: Mar 2000
Posts: 26 |
Funny thing is this board that we post to everyday has the same problem.
|
|
|
#42774
04/09/2000 9:43 PM
|
Joined: Jan 2000
Posts: 395
Member
|
Member
Joined: Jan 2000
Posts: 395 |
Highlander, What code did you use for the page auto refresh?
|
|
|
#42775
04/09/2000 10:38 PM
|
Joined: Jan 2000
Posts: 18
Member
|
Member
Joined: Jan 2000
Posts: 18 |
Actually I had to update all the scripts,(who's online.txt, online.cgi) I noticed that there were changes in the original installation, so I re did everything...
The refresh came with the Online.cgi (current download)
I was able to get rid of the name doubling (name[]name) by doing this, but gained the wrong month!
|
|
|
#42776
04/09/2000 11:09 PM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
I am hoping someone can help me out. I installed the who's online hack found at: http://www.arlo.net/ubb/cgi-bin/online.txt, it works well, except that it only shows members and not guests, and the online.cgi file doesn't show anyone online. I used Mutt's add-on found at his download site and replaced the 2 subs. Now it doesn't show anyone online in ultimate.cgi (just Currently Browsing the Boards ()). But online.cgi works well. I am hacking it on a test site now that hasn't launched yet, so there are no guests to count. Any ideas would be helpful, I am using v5.45b, like this board. ------------------ Allen - http://www.stand318.com
|
|
|
#42777
04/09/2000 11:34 PM
|
Joined: Jan 2000
Posts: 395
Member
|
Member
Joined: Jan 2000
Posts: 395 |
Could someone post the code here and where to put it in the script please. I don't wanna screw up what is working well right now. Also, can it be used with active.cgi (Active Topics)? [This message has been edited by NBAustin (edited April 10, 2000).]
|
|
|
#42778
04/10/2000 5:48 PM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
it is working well now... not sure what the changes were.. thanks anyways ------------------ Allen - http://www.stand318.com
|
|
|
#42779
04/11/2000 12:22 PM
|
Joined: Jan 2000
Posts: 68
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 68 |
Well, I've updated my install instructions as well as the "online.cgi" script. Basically all I did was add in the stuff to log guests... I did not use Mutt's code however, as I prefer to do my own coding (never really looked at his code) simply because it's easier for me to work on if it's something I wrote. The main difference is that when I added in the stuff to do the guest logging, I also added in the ability to select if you'd like to be included in the list or not. Updates to the "online.cgi" script include auto-refresh, as well as displaying the guests (and I fixed the date/month bug and it now properly displays the background). The other difference from what Mutt did is the "online.cgi" will do a hostname lookup for you (rather than just displaying the IP address). I'd be interested to hear from anyone who installs this fresh from my instructions, just to make sure it does work as it says it should. The install file can be found here: http://www.arlo.net/ubb/whoonline.txt You can see it in action here: http://www.arlo.net/ubb/cgi-bin/Ultimate.cgi [This message has been edited by Dave Downin (edited April 11, 2000).]
|
|
|
#42780
04/11/2000 5:20 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
I did this step by step and By luck i remembered to backup those two files All i would get is a white screen, almost like it was loading a blank document. Let me know please, as I really like this hack.
|
|
|
#42781
04/11/2000 5:46 PM
|
Joined: Jan 2000
Posts: 68
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 68 |
I've looked over the install instructions and don't see anything glaringly wrong. If you want - e-mail me your modified "Ultimate.cgi" and "ubb_library.pl" files and I'll take a look at them! Also, what version are you trying to install this on?
[This message has been edited by Dave Downin (edited April 11, 2000).]
|
|
|
#42782
04/11/2000 10:36 PM
|
Joined: Jan 2000
Posts: 68
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 68 |
Ok, I just heard from someone else having a problem with just getting a blank page. If this happens, check to make sure the code you added didn't accidently get broken up in to multiple lines. They had the following line in 2 pieces instead of one long line: If you are on a UNIX system, and have telnet access, switch to your cgi-bin directory and type the following: perl -c Ultimate.cgi It should return: Ultimate.cgi syntax OK Do the same thing for ubb_library.pl. If you have a broken line, it will give you a clue where to start looking. For anyone who hasn't installed this yet, I do believe that there are no problems with the install instructions - but make sure to make a backup of these files just in case you do have problems! [This message has been edited by Dave Downin (edited April 11, 2000).]
|
|
|
#42783
04/12/2000 8:28 AM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Im going for round two. Ill let you know how things turn out. Thanks
|
|
|
#42784
04/12/2000 8:37 AM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Heh, mornings. I wasnt useing pico -w so i truncated some of the code. It works like a charm! thanks, great hack.
|
|
|
#42785
04/12/2000 8:50 AM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
I Tried setting up mutt's enhancement, and now i have the same problem someone on page 2 of this thread had.. I am hoping someone can help me out. I installed the who's online hack found at: http://www.arlo.net/ubb/cgi-bin/online.txt, it works well, except that it only shows members and not guests, and the online.cgi file doesn't show anyone online. I used Mutt's add-on found at his download site and replaced the 2 subs. Now it doesn't show anyone online in ultimate.cgi (just Currently Browsing the Boards ()). But online.cgi works well. I am hacking it on a test site now that hasn't launched yet, so there are no guests to count. Any ideas would be helpful, I am using v5.45b, like this board.
|
|
|
#42786
04/12/2000 12:02 PM
|
Joined: Jan 2000
Posts: 68
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 68 |
Sorry, I should have mentioned that. My new install instructions basically include what Mutt had done, so there is no need to install his hack after doing my installation. That is why the guests aren't showing up for you... we probably used different methods of identifying them.
Just put back the subs from my install instructions and you should be back in business!
[This message has been edited by Dave Downin (edited April 12, 2000).]
|
|
|
#42787
04/12/2000 1:32 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
|
|
|
#42788
04/12/2000 5:14 PM
|
Joined: Jan 2000
Posts: 68
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 68 |
Just added a few improvements to my hack. I updated the subroutines to handle (and include) the user selectable "invisible" option. Mine works a little differently than Mutt's... it does log people who decide to remain invisible - and includes them in the total count. But on the detailed display page (online.cgi) they do not show up. The admins and moderators are able to see the invisible users (and they are marked as such).
If you installed a previous version, just replace the subroutines in ubb_library.pl with the ones in my instructions, and then grab the updated version of the online.cgi script.
[This message has been edited by Dave Downin (edited April 12, 2000).]
|
|
|
#42789
04/14/2000 5:51 PM
|
Joined: Mar 2000
Posts: 13
Junior Member
|
Junior Member
Joined: Mar 2000
Posts: 13 |
Okay, I have a mixture of Mutt's and Dave's mods, I'm afraid. But mostly Dave's. http://utbooty.unrealism.com/cgi-bin/ubb/Ultimate.cgi I'd like it to report the users with their names, like this: Currently Browsing the Boards (10) twice, Mutt, fleabo, bingbang, and 6 guests Not sure if this means changes in ubb_library.pl or Ultimate. Any ideas? -twice
|
|
|
#42790
04/14/2000 7:46 PM
|
Joined: Jan 2000
Posts: 68
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 68 |
Open Ultimate.cgi and find the spot where you have: replace the "$OnlineUserMsg" with "$OnlineUsers" and you should get the comma seperated list!
|
|
|
#42791
04/15/2000 2:57 AM
|
Joined: Mar 2000
Posts: 13
Junior Member
|
Junior Member
Joined: Mar 2000
Posts: 13 |
Hmmm.. that does turn it back into a comma separated list, but doesn't count up the guests like I had wished. (twice, Dave, Fleabo, and 3 Guests)
Thanks.
|
|
|
#42792
04/15/2000 1:09 PM
|
Joined: Jan 2000
Posts: 68
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 68 |
Open up "ubb_library.pl" and skip down to the "GetOnlineUsers" subroutine and remove the following line: Then, find: chomp($OnlineUsers); chomp($OnlineUsers); and add this right before them: It should now work like you want... and I've updated my install instructions to include this as well!
|
|
|
#42793
04/15/2000 2:33 PM
|
Joined: Mar 2000
Posts: 13
Junior Member
|
Junior Member
Joined: Mar 2000
Posts: 13 |
Well, it's not working all that well, the plural portion is all wacky, and the commas are where they shouldn't be. And for guests, it shows "23.35.345.90.guest and 1 guests," when there's a member and a guest.
I'm not sure what happened. Thanks for your help, but I think I'll revert back to your original script and have the $OnlineUserMsg show up instead.
-2-
|
|
|
#42794
04/15/2000 5:46 PM
|
Joined: Jan 2000
Posts: 68
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 68 |
Oops, sorry about that, I missed one thing. To clear the problem up I would suggest replacing the "WriteUserSession" and the "GetOnlineUsers" subroutines in ubb_library.pl with the ones in my install instructions. I found a bug that the comma seperated list was showing invisible users too. That has been corrected as well! After doing all that you should be able to use the $OnlineUsers variable... I tried it out on my board and it seems to work.
|
|
|
#42795
04/15/2000 8:46 PM
|
Joined: Jan 2000
Posts: 31
Member
|
Member
Joined: Jan 2000
Posts: 31 |
I have Dave's new online.cgi and updated the other CGIs with his new code. I can not get the invisible users to not show, they are not invisible. I think it has something to do with the cookie not getting the info so the new cgi's can process it. Any help would be appreciated. Here's my board so you can see what I have. http://24.13.120.101/cgi-bin/Ultimate.cgi?action=intro ------------------ Michael Butterfield Music Global Network http://musicglobalnetwork.com
|
|
|
#42796
04/15/2000 10:30 PM
|
Joined: Jan 2000
Posts: 64
Member
|
Member
Joined: Jan 2000
Posts: 64 |
am I missing something or did my code not work?
|
|
|
#42797
04/15/2000 11:14 PM
|
Joined: Jan 2000
Posts: 31
Member
|
Member
Joined: Jan 2000
Posts: 31 |
Mutt, I think you only elude to it. I have not seen any code by you that specifically updates the cookie file to make the invisible mode work. I figured it out. Where the below code in ubbmisc.cgi says "Signature" it should be changed to "invisible". var Signature2 = escape("$in{'Signature'}");document.cookie = "Signature=" + Signature2 + ";expires=" + expireDate.toGMTString() + ";$ExtraInfo"; I wish Dave would include the fix in his "whoonline.txt" file to make this complete. By the way I notice that Dave is using a value of "0" and "1" in the cookie file instead of "yes" and "no". Is this part of the hack still being tweaked? ------------------ Michael Butterfield Music Global Network http://musicglobalnetwork.com
|
|
|
#42798
04/16/2000 1:45 AM
|
Joined: Feb 2000
Posts: 11
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 11 |
for some reason my UBB isn't storing the cookies properly so it's always showing "guest" on my Ultimate.cgi. The online.cgi shows "Guest #1 (209.240.200.85)". Any ideas on this one? Here's my site: http://www.huntingpa.com/cgi-bin/ubbcgi/Ultimate.cgi Thanks in advance for any help.
|
|
|
#42799
04/16/2000 6:41 AM
|
Joined: Feb 1999
Posts: 1,379
Programmer
|
Programmer
Joined: Feb 1999
Posts: 1,379 |
1) Check your browser is set to accept cookies 2) Trash your cookies in preferences If that doesn't help, then post again... Just a thought
|
|
|
#42800
04/16/2000 11:12 AM
|
Joined: Jan 2000
Posts: 31
Member
|
Member
Joined: Jan 2000
Posts: 31 |
This is really weird. I have the invisible preference set, my cookie has a "yes" value for invisible set, and when I look at the online users from another pc I can see the other users that are suppose to be invisible. The user has an .inv extention after their user name. I can not look at their profile, but I can see what page they are on. BTW, the other PC I am on is set up with a regular user account with "no" moderator or administrative privledges. Why are invisible users being shown? The onlineusermsg variable works great and says how many invisible users are there. Again, here is my board. http://24.13.120.101/cgi-bin/Ultimate.cgi?action=intro
|
|
|
#42801
04/16/2000 1:24 PM
|
Joined: Feb 2000
Posts: 11
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 11 |
It does populate my username and PW when I post or reply to a topic, but it still shows "guest" in the "users online" unless I post something. Is there a way to turn off the IP in online.cgi? BTW: All cookies were removed, browser shut down, cookies reset. ------------------ William Smith HuntingPA
|
|
|
#42802
04/16/2000 1:46 PM
|
Joined: Jan 2000
Posts: 68
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 68 |
Michael,
Do you have the latest version of the "online.cgi" script? I'm not sure why you would see the inivisble people... are they showing up with the (invisible) after their name or "name.inv".
Also, how did you know I was using 0 or 1 for my invisible cookies (which I am)? The install instructions are for using "yes" and "no".
|
|
|
#42803
04/16/2000 1:51 PM
|
Joined: Jan 2000
Posts: 31
Member
|
Member
Joined: Jan 2000
Posts: 31 |
WillSmith, After you delete cookies and reset them, your cookie file will not contain the USERNAME and PASSWORD. Once you post the Cookie file is updated with the USERNAME and PASSWORD and you will no longer be a guest. I agree this is annoying since many registered users will show as a guest. To get rid of the IP DisplayOpen Online.cgi Find:$username = "Guest #". "$guest_counter ($username)"; Replace with:$username = "Guest #". "$guest_counter"; Now will someone please help me with my invisible problem...please ------------------ Michael Butterfield Music Global Network http://musicglobalnetwork.com
|
|
|
#42804
04/16/2000 1:55 PM
|
Joined: Jan 2000
Posts: 68
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 68 |
That is why I set the default on my boards to store the username and password for a year. I also added a "login/logout" system that basically just sets and unsets the username and password cookies.
|
|
|
#42805
04/16/2000 2:06 PM
|
Joined: Jan 2000
Posts: 31
Member
|
Member
Joined: Jan 2000
Posts: 31 |
Hi Dave, I downloaded your new instructions and new online.cgi file last night around 7pm. I see name.inv I know you use "0" and "1" because I opened an account on your board and looked at my cookie file I sure would appreciate your help, this hack is getting cooler and cooler by the minute. ------------------ Michael Butterfield Music Global Network http://musicglobalnetwork.com
|
|
|
#42806
04/16/2000 2:17 PM
|
Joined: Jan 2000
Posts: 68
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 68 |
C R A P!!!!
I can't believe what happened. I had my "online.txt" file linked to my live "online.cgi" file. Somehow the link got broken and turned into a regular file. Grab the new version and the problem of people showing up as "username.inv" should go away.
Sorry about that!!! You'll notice the new version resolves the IP addresses as well.
Also, any other ideas for this script???
|
|
|
#42807
04/16/2000 3:06 PM
|
Joined: Jan 2000
Posts: 31
Member
|
Member
Joined: Jan 2000
Posts: 31 |
Ssswwwweeeeet! It works now baby! Thank you so much. The only suggestion I can think of right now is to add appropriate code in your whosonline.txt file so that the cookie file gets updated with the invisible feature. (see above post to mutt). Until you add that, the preferences will only allow you to turn invisible on and off, but will not process it. ------------------ Michael Butterfield Music Global Network http://musicglobalnetwork.com
|
|
|
#42808
04/16/2000 3:45 PM
|
Joined: Jan 2000
Posts: 31
Member
|
Member
Joined: Jan 2000
Posts: 31 |
I just thought of a feature that should be pretty easy. How about if there was a selection in online.cgi where you can make it so only Admins/Mods or All could see the Guests IP/Host. If Admin/Mods is selected then users would only see other users as Guest1, Guest2, Guest3...etc (No Ip/Host). I have the rest of my board set up so no one but Admin/Mods can view IP addresses. I want to welcome my guest not scare them off. Other users do not need to see that info. I know how to hack it out, but if I do, then I will not be able to see the IP/Host either. ------------------ Michael Butterfield Music Global Network http://musicglobalnetwork.com
|
|
|
#42809
04/16/2000 4:29 PM
|
Joined: Jan 2000
Posts: 68
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 68 |
Grab the latest online.cgi - I just added a variable that allows you to control who can see the IP/host information.
|
|
|
#42810
04/16/2000 5:36 PM
|
Joined: Jan 2000
Posts: 31
Member
|
Member
Joined: Jan 2000
Posts: 31 |
Hi Dave, Thanks. It works great. ------------------ Michael Butterfield Music Global Network http://musicglobalnetwork.com
|
|
|
#42811
04/17/2000 5:33 PM
|
Joined: May 2000
Posts: 33
Member
|
Member
Joined: May 2000
Posts: 33 |
what happened to "$include_yourself"?
I haven't owned a UBB in over 3 years!
|
|
|
#42812
04/17/2000 8:25 PM
|
Joined: Jan 2000
Posts: 68
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 68 |
"$include_yourself" is set in the "WriteUserSession" subroutine in ubb_library.pl.
|
|
|
#42813
04/17/2000 9:56 PM
|
Joined: May 2000
Posts: 33
Member
|
Member
Joined: May 2000
Posts: 33 |
No it is not, I installed the addon and it is not there anymore. The addon did not include this feature.
And I cannot go back to the previous version because the previos version does not display usernames correctly.
I haven't owned a UBB in over 3 years!
|
|
|
#42814
04/17/2000 10:29 PM
|
Joined: Jan 2000
Posts: 68
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 68 |
Jaxel - $inlcude_yourself is only set in "ubb_library.pl". online.cgi has NEVER had that variable... it uses whatever it is set to in ubb_library.pl
|
|
|
#42815
04/18/2000 1:43 PM
|
Joined: May 2000
Posts: 33
Member
|
Member
Joined: May 2000
Posts: 33 |
I'm talking about ubb_library.pl!
And I am telling you that $inlcude_yourself is not in the addon! Go to page one of this topic and click the link in the first message, it is not there.
I haven't owned a UBB in over 3 years!
|
|
|
#42816
04/18/2000 3:20 PM
|
Joined: Jan 2000
Posts: 68
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 68 |
Jaxel - if you want the ability to use the "$include_yourself" you have to use my routines, found at: http://www.arlo.net/ubb/whoonline.txt I would suggest starting from scratch with my instructions. They include the ability to track guests, as well as user selectable invisibility.
|
|
|
#42817
04/18/2000 10:32 PM
|
Joined: May 2000
Posts: 33
Member
|
Member
Joined: May 2000
Posts: 33 |
those other routines do not show the usernames correctly...
I haven't owned a UBB in over 3 years!
|
|
|
#42818
04/18/2000 10:58 PM
|
Joined: Jan 2000
Posts: 68
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 68 |
Jaxel - I'm unaware of any problems with the routines. There have been bugs, but every one that has come to my attention has been quickly fixed. If you install my routines, and my online.cgi script, and have a problem, please let me know.
If you are worried about a particular problem, let me know which one. I have fixed the problem of invisible users showing up as "username.inv". I have also fixed a problem where a guest occasionally would be listed as Guest #x () - with no host information. Also, I just added a bit of code that if a person first shows up as a guest, and then posts or gets their cookie set, their guest entry is removed and their name logged in it's place.
And finally, just tonight I added the current time display to the Who's Online page... and if there is no one else around and you don't have it set to include yourself, it displays a message on the Who's Online page instead of just the table headings.
|
|
|
#42819
04/19/2000 3:54 AM
|
Joined: Feb 1999
Posts: 1,379
Programmer
|
Programmer
Joined: Feb 1999
Posts: 1,379 |
This is what every hacker should be doing - supporting their products fully. Nice work Dave. Just a thought ------------------ "Just is a thought" is a regestered trademark of Cal Corporation. Any violation of this copyright is a crime, punishable by death, under UBB CHH Law.
|
|
|
#42820
04/28/2000 3:36 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Installed the Who's Online and as stated here and elsewhere replaced the $OnlineUserMsg with $OnlineUsers
It doesn't show anything other than this:
Currently Browsing the Boards (1)
Furthermore I wanted to add 2 more tables for # of Guests and # of Members, the $membercount works but $guestcount does not.
Any help or advice would be very much appreciated.
|
|
|
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: 1,157
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|