Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 9 1 2 3 4 5 6 7 8 9
#40887 03/04/2000 2:13 PM
Joined: Jan 2000
Posts: 68
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 68
Ok, this is definantly beta, but appears to be working. So, I'm gonna release it as beta since I hate documething stuff and answering tons of questions.

Get the hack here: http://www.arlo.net/ubb/whoonline.txt

Sponsored Links
#40888 03/04/2000 2:32 PM
Joined: Mar 2001
Posts: 69
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 69
If this thing works, it might just be one of the better hacks around at the moment [Linked Image]

I'll try it and give you guys some feedback

------------------
Cougar's here, so have no fear
Webmaster of www.artbeast.de

#40889 03/04/2000 3:43 PM
Joined: Jan 2000
Posts: 170
Member
Member
Offline
Joined: Jan 2000
Posts: 170
It's a very good hack!! [Linked Image]

#40890 03/04/2000 3:44 PM
Joined: Mar 2000
Posts: 3
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 3
It doesn't work for me ;((
Any ideas what I might be doing wrong?
It always says 'no one else is online'.

Thanks in advance.

#40891 03/04/2000 4:58 PM
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
I'll test it out for the older versions. 5.39b. Lets see if this bad boy will work.

------------------
I wish I were a Canuck
All they have to do is drink beer, play hockey, and say "Eh"

* No offense meant to any Canadians

Sponsored Links
#40892 03/04/2000 6:26 PM
Joined: Jan 2000
Posts: 68
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 68
One thing to note... it remove's YOUR name from the list when you view it. So, if you are the only one around, you will see "there is no one else around". Other people will see you though...

If you would like it to show your name remove the following line from the "GetOnlineUsers" subroutine:

if ($name eq $cookie{'UserName'}) { next; }

#40893 03/05/2000 12:47 AM
Joined: Jan 2000
Posts: 31
Member
Member
Offline
Joined: Jan 2000
Posts: 31
I'm hoping you come through Atom911. Since releases after 5.42 had some major cookie code changes and consolidation, I'm unsure it will work. I have too many hacks to start over so soon with 5.45 coming out. If 5.45 doesn't get many features I may stay with 5.42 a little longer.

BTW, I just noticed all the light bulbs stay on for me on this board...Cookie related?

Dave's light bulbs work okay though.

#40894 03/05/2000 1:23 AM
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Yea I added it to this board also. It seem like there is no bugs at the moment. Music Global Network why don't you make a backup of ubblibery.pl and try it to see if it will work. It should just replace the admin cookie section with what it has. It is the same but modtifyed version of the cookie section as 5.44. It shouldn't be a problem.

------------------
President and Webmaster of UBB Hackers Hideout.

Contact Me at:

ICQ: 33326211
AIM:SpazJCC
Email: ubbmaster@ubbcodehacking.com

#40895 03/05/2000 2:45 AM
Joined: Jan 2000
Posts: 31
Member
Member
Offline
Joined: Jan 2000
Posts: 31
I think I got it to work in 5.42. [Linked Image] I had to keep the existing get cookie subroutine though. See it in action here!



------------------
Michael Butterfield
Music Global Network
http://musicglobalnetwork.com

#40896 03/05/2000 4:10 AM
Joined: Mar 2001
Posts: 69
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 69
Strangely enough I can't find the get_cookie routine in ubb_library (5.43a)

------------------
Cougar's here, so have no fear
Webmaster of www.artbeast.de

Sponsored Links
#40897 03/05/2000 9:52 AM
Joined: Feb 2000
Posts: 116
Member
Member
Offline
Joined: Feb 2000
Posts: 116
Could it work for freeware????


and the arlo.net link is broken

#40898 03/05/2000 10:43 AM
Joined: Jan 2000
Posts: 170
Member
Member
Offline
Joined: Jan 2000
Posts: 170
For people who have got 5.43 or lower. Try editing in cookie-lib.

#40899 03/05/2000 11:46 AM
Joined: Jan 2000
Posts: 31
Member
Member
Offline
Joined: Jan 2000
Posts: 31
Thanks for the tip Slasher [Linked Image]

I wonder if I even need it in ubb_library for version 5.42 now?



------------------
Michael Butterfield
Music Global Network
http://musicglobalnetwork.com

#40900 03/05/2000 1:20 PM
Joined: Jan 2000
Posts: 64
Member
Member
Offline
Joined: Jan 2000
Posts: 64
sounds really cool!

can't wait to play around with this

#40901 03/05/2000 1:27 PM
Joined: Jan 2000
Posts: 31
Member
Member
Offline
Joined: Jan 2000
Posts: 31
Okay, now the fun part. Where should the code be added for the forumdisplay.cgi? Any ideas?

BTW, I found this cool icon that seems to fit this hack perfect...

------------------
Michael Butterfield
Music Global Network
http://musicglobalnetwork.com

#40902 03/05/2000 3:28 PM
Joined: Jan 2000
Posts: 68
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 68
Michael,

I have mine right after the following code in 5.44 (not sure if other versions are the same):

Code
code:

and here is what I added in right after it:

Code
code:

This will not write them to the file if they are browsing a private forum. I did this because of the addon script I'm working on which will display where in the forums they are (using the info you pass to the WriteUserSession routine), and I don't want people knowing who has access to private forums.

#40903 03/05/2000 4:01 PM
Joined: Jan 2000
Posts: 31
Member
Member
Offline
Joined: Jan 2000
Posts: 31
Dave,

Version 5.42 has that code. I added what you suggested above. Thanks, this script is great! Can't wait until the addon script is ready.


------------------
Michael Butterfield
Music Global Network
http://musicglobalnetwork.com

#40904 03/05/2000 5:57 PM
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Haven't gotten it yet(haven't tried yet >:0) Had some paying jobs that i had to take care of first, haha.

------------------
I wish I were a Canuck
All they have to do is drink beer, play hockey, and say "Eh"

* No offense meant to any Canadians

#40905 03/05/2000 6:02 PM
Joined: Jan 2000
Posts: 67
Member
Member
Offline
Joined: Jan 2000
Posts: 67
Works on 5.3* versions too

#40906 03/05/2000 7:40 PM
Joined: Mar 2000
Posts: 1
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 1
Having a problem with this hack in version 5.40... I changed everything in the Ultimate.cgi like you said, and made the changes to cookie-lib instead of ubb_library.pl (since my version doesn't have the get_cook sub in the ubb_library.pl). However, when I load ultimate.cgi, it gives me no message at all. The column is made, and it says "users currently online", but there is no message saying that people or online or not.

Also, I noticed that no online.cgi file was made in my members directory.

Any idea what might be going on? Thanks.
http://www.quantum9.com

#40907 03/05/2000 8:49 PM
Joined: Feb 2000
Posts: 116
Member
Member
Offline
Joined: Feb 2000
Posts: 116
Does it work on freeware????????????????????????????

#40908 03/05/2000 9:10 PM
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Dr. Dollarz -- can you please asking if hacks made for the license version work for the freeware. The obvious answer is no. The freeware and the licensed version are nothing alike internally, well, they are, but not enough for hacks to be compatible. So NO this hack does not work for the freeware.

------------------
I wish I were a Canuck
All they have to do is drink beer, play hockey, and say "Eh"

* No offense meant to any Canadians

#40909 03/05/2000 9:36 PM
Joined: Mar 2000
Posts: 3
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 3
only people who are on the main page show up in that box. whats the code for adding forumdisplay and posting etc?

#40910 03/05/2000 9:40 PM
Joined: Jan 2000
Posts: 68
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 68
If you look at the previous messages you'll see where I posted where you can put it in forumdisplay.cgi - any other place is left up to you to figure out. There are literally quite a few places where you could put it, but I don't want to spend all my time documenting that part of the hack... it's easy enough to figure out.

#40911 03/05/2000 10:46 PM
Joined: Jan 2000
Posts: 68
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 68
Ok, I've got a rough first cut at the addon "Who's Online" script. First thing though... I made a minor change in the "GetOnlineUsers" subroutine, to help with this addon script. If you installed today (Sunday) you shouldn't have a problem just adding the addon, as I updated the instructions. If not, check the routine for the lines in bold below:

Code
code:

If you want to make sure, just replace the entire "GetOnlineUsers" subroutine with the one above.

Now, the addon script can be gotten at: http://www.arlo.net/ubb/cgi-bin/online.txt and you can see it in action at http://www.arlo.net/ubb/cgi-bin/online.cgi Just grab the script, save it in your CGI directory, and rename it online.cgi.

Feel free to link it in however you want. I just made the "Currently Browsing the Boards" text a link to the script (in Ultimate.cgi).

#40912 03/06/2000 1:27 AM
Joined: Jan 2000
Posts: 31
Member
Member
Offline
Joined: Jan 2000
Posts: 31
Sweet!!!!!!!!!

Thanks a bunch Dave! I have it working. I added a link that says "Click here for detailed view" next to the "Currenly Browsing the Boards" text. Now I just need to clean up my Default Footer that I noticed you took advantage of (Great Idea).

Here's mine working on version 5.42

Now off to bed.

------------------
Michael Butterfield
Music Global Network
http://musicglobalnetwork.com

#40913 03/06/2000 6:02 AM
Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
Very Cool!

But,
It won't pick up the category text color! It stays black, and my text is white.

Thanks in advance!

#40914 03/06/2000 8:16 AM
Joined: Feb 2000
Posts: 3
Junior Member
Junior Member
Offline
Joined: Feb 2000
Posts: 3
Dear Dave Downin ,

I have UBB 5.42a and i can't know how can i put this hack script in it i mean in ubb_library.pl i can't find "get_cookie" and i don't know what can i do and really i like this script and i hope it work in my ubb please sir help me A.S.A.P

Regards

#40915 03/06/2000 9:26 AM
Joined: Jan 2000
Posts: 31
Member
Member
Offline
Joined: Jan 2000
Posts: 31
Add Dave's get_cookie routine after this code. Also replace the entire cookie-lib code with his ge_cookie routine.


sub GetCookieInfo {($junk, $Domain) = split(////, $CGIURL);($TheDomain, @junk) = split(///, $Domain);$ThePath = join("/", @junk);}



------------------
Michael Butterfield
Music Global Network
http://musicglobalnetwork.com

#40916 03/06/2000 2:57 PM
Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
How about a little twist on this hack?

How about an option to show X number Members are Browsing the Forums instead of names, and this could be pasted into a site's Front Page or wherever they want to put it?

Possible?

#40917 03/06/2000 3:19 PM
Joined: Jan 2000
Posts: 68
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 68
Code
quote:</font><HR>Originally posted by NBAustin:
How about a little twist on this hack?

How about an option to show X number Members are Browsing the Forums instead of names, and this could be pasted into a site's Front Page or wherever they want to put it?

Possible?
<HR></BLOCKQUOTE>

Yes, very easily done. Add the following code in Ultimate.cgi or wherever you want it:

<BLOCKQUOTE><font size="1" face="Verdana, Arial">code:

#40918 03/06/2000 4:00 PM
Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
COOL! Thank YOU!!

How can this be used in a non UBB page/script like a Front Page generated page?

PS...I've tried inserting this code (in Ultimate.cgi) and it won't format properly. The entire code is visible, and it doesn't show the # of users.

#40919 03/06/2000 4:13 PM
Joined: Jan 2000
Posts: 4
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 4
This hack can be made to work in the freeware version,aslong as you have a cookie hack already installed.

BTW this is a great hack Dave,you have done a supreme job.

Thanks,Chicken

#40920 03/06/2000 6:45 PM
Joined: Jan 2000
Posts: 31
Member
Member
Offline
Joined: Jan 2000
Posts: 31
Here's some extra guidance for the X number of users browsing in the forums. Maybe it will help someone since I had to twittle around some. Click here to see it on my site

First I replaced Dave's "addon" forumdisplay.cgi code above:

&get_cookie;
$online_url = "$CGIURL/forumdisplay.cgi?action=topics&forum=$ForumCoded&number=$number&DaysPrune=$DaysPrune&LastLogin=$LastLogin";
if ($LWA ne "private") {
&WriteUserSession("$Forum");
}

With this code

&WriteUserSession("Main Page");
$tot_browsing = @found;
$ForumCoded = &HTMLIFY($Forum);
$ForumCoded =~ tr/ /+/;
&get_cookie;
$online_url = "$CGIURL/forumdisplay.cgi?action=topics&forum=$ForumCoded&number=$number&DaysPrune=$DaysPrune&LastLogin=$LastLogin";
if ($LWA ne "private") {
&WriteUserSession("$Forum");
}

Note: I did not use the $tot_browsing++ variable, since I am using the option to display myself online. It seems to increment the variable +1

Next, in forumdisplay.cgi find the following code:


$TopicLegend
$ReplyLegend


Replace the above code with

Currently browsing the boards: $tot_browsing registered user(s)

$TopicLegend
$ReplyLegend


Thanks for keying us in on the purpose of those variables Dave.


------------------
Michael Butterfield
Music Global Network
http://musicglobalnetwork.com
#40921 03/06/2000 7:17 PM
Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
MGN,
Thanks for the help, but i'm confused now. (not a programmer here)

Perhaps it would be helpful to everyone if someone could document this part of the hack for both with and without the "View Self" option, and where to put the proper code in forumdisplay.cgi and ultimate.cgi.

It would be most appreciated.
Again, thanks to all for this GREAT hack!

#40922 03/06/2000 8:25 PM
Joined: Jan 2000
Posts: 31
Member
Member
Offline
Joined: Jan 2000
Posts: 31
Thanks, but, I actually have little idea of what I'm doing...It wouldn't surprise me if I'm mucking up something. It's hard to learn any other way though. [Linked Image]

Dave's code is based on the default of not showing yourself on-line. My personal feelings is that the final code/documentation should only "show you on-line"..it's much less confusing this way and who cares if you can see yourself, everyone else can.

Anyway, if you read Dave's txt file you can easily see what 1 line of code to delete to make it show yourself on-line in addition to others that can already see you.


------------------
Michael Butterfield
Music Global Network
http://musicglobalnetwork.com

#40923 03/06/2000 8:42 PM
Joined: Jan 2000
Posts: 313
Member
Member
Offline
Joined: Jan 2000
Posts: 313
NBA Austin - If you're still having trouble getting the colors to work in the tables, try putting the table and font color commands before the "colspan" tags. Worked for me.

------------------
Webmaster Van Halen Links.com
http://www.vhlinks.com
UBB Moderator
http://www.scriptkeeper.com/cgi-bin/Ultimate.cgi

#40924 03/06/2000 9:09 PM
Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
Thanks Slurpee!

#40925 03/06/2000 9:47 PM
Joined: Feb 2000
Posts: 3
Junior Member
Junior Member
Offline
Joined: Feb 2000
Posts: 3
Hello..

I have a big problem in cookies , once when a script need the cookies and wanting to display the name of the member if the name was in english letters it works just fine, but if the name of the member was in arabic letter i get RABISH (some thing not readable).
is there file which i can by pass to avoid this in cookies .
In few words if i want to install the private message code hack at the bottom if the forum appears [MemberName] you have of messages i mean [MemberName] if it was in english letters there is no pproblem but if the member name was in arabic letters i get [un understandable words] (RABISH) like this %34%&43%&%%!36%$%$7& please help me

#40926 03/07/2000 7:13 PM
Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
So far this hack is great...
Question:
When you click to see where a member is, it never show anything but "Main Page". Will there be an add-on to show EXACTLY where a member is? Now THAT would be REALLY cool!

Thank you all for the hard work. It's appreciated!

Page 1 of 9 1 2 3 4 5 6 7 8 9

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)