Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 9 1 2 3 4 5 6 7 8 9
#40927 03/07/2000 7:52 PM
Joined: Jan 2000
Posts: 313
Member
Member
Offline
Joined: Jan 2000
Posts: 313
You can already do that if you place the &writesession code in the right place in the forumdisplay.cgi file. See above, it's explained how to do it there.

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

Sponsored Links
#40928 03/07/2000 9:26 PM
Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
Thanks again Slurpee.
WOW!! What a hack!!!!

Now the next step.....

How can this be incorporated into a static page such as a web site's front page?

Thanks again to EVERYONE!

#40929 03/07/2000 9:44 PM
Joined: Jan 2000
Posts: 68
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 68
For all those who have wanted this as a SSI call, I've modified the addon script to be able to be called as a SSI. Grab the script from here:
http://www.arlo.net/ubb/cgi-bin/online.txt

Save it to your CGIDIR, set the permissions properly, and rename it to "online.cgi". Then, open it up and edit the configuration variable ssi (set it = 1). Then, just call it from where ever you want.

#40930 03/07/2000 9:51 PM
Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
P.S.
Where do I put this so it shows up in Active Topics? I have some users who go straight there instead of the main forum.

I'm PSYCHED!!!!

Thank You, Thank You, Thank You!!!!

(I wonder if this can be modified to pin the user down to the THREAD he/she's reading!) [Linked Image]

#40931 03/07/2000 10:12 PM
Joined: Jan 2000
Posts: 68
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 68
NBA - What do you mean by "Where do I put this so it shows up in Active Topics?"

BTW, I have the following just after the configuration variables in my active.cgi script:

Code
code:

If you do this, make sure active.cgi has the require cookie-lib.pl and ubb_library.pl. After this call, you can reference the list of who is online by placing the variable $OnlineUsers elsewhere in the HTML part of the active.cgi script.

As for being able to pin a user down to what thread they are reading... not possible really, since the threads are not dynamically created. It's not impossible (it could be done using SSI calls on the static pages) - but it would add a good bit of overhead to the boards and the script.

Sponsored Links
#40932 03/07/2000 10:58 PM
Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
Thanks Dave,

But, I'm not sure where all this goes. (I'm not a programmer)

Could you guide me thru this please?

#40933 03/08/2000 6:03 AM
Joined: Jan 2000
Posts: 26
Member
Member
Offline
Joined: Jan 2000
Posts: 26
O.k. guys now I love this SSI thing, it works great, what I really want to know is this...
Can you get this to work for other parts of the site? I don't want to know who's currently browsing the boards, I want to let users know how many people are currently in my java chatroom from the main page of my site (and probably also from the boards).
My chatroom is embedded in a page and is therefore static (it will not move URL ever), so really all I need to do is be able to tell the script that I want it to let me know how many people are browsing the .html page that my chatroom is on (because if they are browsing the page then they are automatically in the chatroom).
Is this possible?
Thanks in advance,
Rob [Linked Image]

#40934 03/08/2000 11:00 AM
Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
Hey!

I have an idea.

Can a Forum be embedded into Online.cgi so members can post notes to meet in other forums/threads?

I think someone wrote a hack to do this in Ultimate.cgi for unregged members....

I think this could really be an excellent feature!

#40935 03/09/2000 3:08 AM
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
First, great hack! Works good.

I have a problem with the online.cgi not using my background image. Maybe its the wrong variable for the background image? I dunno. If you know the background image variable please let me know. =)

I still couldn't get it to display on the forums though. No idea why. Just doesn't display anything(and I updated the threads, etc.)



------------------
Troy(Trekkan)
RPG-Files Webmaster & Owner
http://www.rpg-files.com

#40936 03/10/2000 3:53 AM
Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
hello?

Anyone have answers?

Ps...is there a cookie problem on this site?

Sponsored Links
#40937 03/10/2000 4:14 AM
Joined: Feb 1999
Posts: 1,379
cal Offline
Programmer
Programmer
Offline
Joined: Feb 1999
Posts: 1,379
Yes, there seems to be.

Just a thought [Linked Image]

#40938 03/10/2000 9:33 PM
Joined: Mar 2000
Posts: 2
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 2
Ok, i installed the hack as described but it is not working properly. i deleted the one line from the GetOnlineUsers routine so that i would see myself when i am on. buti don't only after i postet a new topic or a reply my name would show up. what wrong? what can i do to fix it? i have version 5.42

#40939 03/10/2000 10:38 PM
Joined: Jan 2000
Posts: 68
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 68
mIkE 2oo0 - Go in to your preferences and make sure you have it set to remember your username. That should probably solve your problem. Because the way the hack works is it just pulls your cookie info and uses it... so if you don't have it set to remember your username, you won't show up until you post.

Troy - regarding the background image for the online.cgi script... oops. It's looking for it in your CGI directory, so you can either change the code, or just place a copy of your background image in the CGI directory. (I just did a symbolic link).

#40940 03/11/2000 12:57 PM
Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
There seems to be a problem with online.cgi.

Today instead of showing March 11..it's showing FEBRUARY 11. All posts and other date references on the board are OK, so i believe the problem lies in online.cgi.

Anyone else getting this bug?

#40941 03/11/2000 1:04 PM
Joined: Feb 1999
Posts: 1,379
cal Offline
Programmer
Programmer
Offline
Joined: Feb 1999
Posts: 1,379
Without looking, I'd imagine it's a mistake invloving the 'localtime' command. It returns the month as a zero based index, so you have to increment it.

Just a thought [Linked Image]

#40942 03/11/2000 1:06 PM
Joined: Jan 2000
Posts: 68
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 68
Yup, that's the problem... find:

($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime($seed);

adn right after it add:

$mon++;

Fixed!

#40943 03/11/2000 1:44 PM
Joined: Feb 1999
Posts: 1,379
cal Offline
Programmer
Programmer
Offline
Joined: Feb 1999
Posts: 1,379
I'd just like to congratulate myself on that superb bug-fix [Linked Image]

Just a thought [Linked Image]

#40944 03/11/2000 9:42 PM
Joined: Jun 2000
Posts: 263
Junior Member
Junior Member
Offline
Joined: Jun 2000
Posts: 263
How about making each username a link to his profile? Could be kind of handy to some people.

#40945 03/12/2000 8:51 AM
Joined: Feb 1999
Posts: 1,379
cal Offline
Programmer
Programmer
Offline
Joined: Feb 1999
Posts: 1,379
That would be nice. You could have a little table in the popup with the user's row of buttons (profile, mail, pm etc.)

Just a thought [Linked Image]

#40946 03/12/2000 12:33 PM
Joined: Jan 2000
Posts: 31
Member
Member
Offline
Joined: Jan 2000
Posts: 31
I think I found an incompatability between the Online Users Hack and the Start=here hack.

The Start=here hack seems to cause multiple displays of the online user.

Here's the location of the Start=here hack in case you want to investigate this further.

Start=here hack

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

#40947 03/12/2000 4:48 PM
Joined: Mar 2000
Posts: 1
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 1
Dont work with cyrillic MSIE 5.01 Win2k

for example:
%u0414%u0438%u0437%u0430%u0439%u043D%u0435%u0440

this is Äèçàéíåð

in NN 4.72 it prety

#40948 03/12/2000 5:50 PM
Joined: Feb 2000
Posts: 116
Member
Member
Offline
Joined: Feb 2000
Posts: 116
Quote
quote:
Good idea!! I'll get to work and see what I come up with

#40949 03/12/2000 11:04 PM
Joined: Jan 2000
Posts: 5
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 5
Hmmrm some people do not seem to be logged on there. I went on the irc chan and told some people to test it. Some people show up and some don't. Odd

++Russ

#40950 03/13/2000 12:35 PM
Joined: Jan 2000
Posts: 68
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 68
One final time...

THIS HACK WILL ONLY WORK FOR PEOPLE WHO HAVE A COOKIE SET!

That means they either had to select to have their username remembered for a year (from the preferences), or they had to have posted a message, or edited their profile... because these are the only timea the username cookie get's set.

#40951 03/15/2000 3:48 PM
Joined: Mar 2000
Posts: 52
TML Offline
Member
Member
Offline
Joined: Mar 2000
Posts: 52
I get this when i go to my Ultimate.cgi [5.44] :
= qq( Currently Browsing the Boards
TML );

how can I remove = qq( and ); ?

thanks!
[Linked Image]

------------------
[ No mystery is closed to an open mind ]

#40952 03/15/2000 4:06 PM
Joined: Mar 2000
Posts: 52
TML Offline
Member
Member
Offline
Joined: Mar 2000
Posts: 52
great hack BTW [Linked Image]

c-ya

------------------
[ No mystery is closed to an open mind ]

#40953 03/15/2000 7:54 PM
Joined: Jun 2000
Posts: 263
Junior Member
Junior Member
Offline
Joined: Jun 2000
Posts: 263
Dave, when are you going to make the hack create a link to user's profile?
Or did i miss that?

#40954 03/15/2000 8:43 PM
Joined: Jan 2000
Posts: 31
Member
Member
Offline
Joined: Jan 2000
Posts: 31
You missed it. Scrool up and look for Dave's add on hack (online.cgi). I have it on my board.



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

#40955 03/15/2000 11:26 PM
Joined: Jun 2000
Posts: 263
Junior Member
Junior Member
Offline
Joined: Jun 2000
Posts: 263
Stupid me, but I still can't find it [Linked Image]

#40956 03/18/2000 5:37 AM
Joined: Feb 1999
Posts: 1,379
cal Offline
Programmer
Programmer
Offline
Joined: Feb 1999
Posts: 1,379
Dr Dollarz - how are you doing with my sugested modification?

Just a thought [Linked Image]

#40957 03/18/2000 12:01 PM
Joined: Mar 2000
Posts: 52
TML Offline
Member
Member
Offline
Joined: Mar 2000
Posts: 52
sorry 4 bugging , works perfectly [Linked Image]
I didn`t follow the instructions well...

c-ya !


------------------
[ No mystery is closed to an open mind ]

#40958 03/18/2000 2:40 PM
Joined: Feb 2000
Posts: 116
Member
Member
Offline
Joined: Feb 2000
Posts: 116
You should make it so that on Ultimate.cgi when the users' name appears theres link to their profile.

------------------
Please Join My UBB

#40959 03/18/2000 8:52 PM
Joined: Jan 2000
Posts: 56
Member
Member
Offline
Joined: Jan 2000
Posts: 56
Dave:

Some of our members don't want to be listed. Any ideas on how to add an option to their profile that would able them to turn off the displaying of their name?

Great hack again.

Parker

#40960 03/19/2000 12:01 AM
Joined: Jun 2000
Posts: 263
Junior Member
Junior Member
Offline
Joined: Jun 2000
Posts: 263
I agree. That option has to be added!
Also, i think it would be nice to have an option "show my name always online", so the user's name will always be in that list.
I've seen it in some other scripts and really liked the feature [Linked Image]

#40961 03/19/2000 1:03 AM
Joined: Jan 2000
Posts: 68
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 68
Good suggestion... here's what I'll work on when I get a chance. I'll make it a "preference" setting, when people can go there and select to remain "invisible". This should be fairly easy to do. Easier than adding a field in their profile.

#40962 03/19/2000 6:14 AM
Joined: Feb 1999
Posts: 1,379
cal Offline
Programmer
Programmer
Offline
Joined: Feb 1999
Posts: 1,379
Ilya - why would someone want to show up as always online? If too many people did this, the online list would get too big and wouldn't mean anything. What am I missing here?

Just a thought [Linked Image]

#40963 03/19/2000 6:25 AM
Joined: Jan 2000
Posts: 56
Member
Member
Offline
Joined: Jan 2000
Posts: 56
Dave:

Nice idea. Would they have to make themselves invisible each time they got on the board then?

Parker

#40964 03/19/2000 10:42 AM
Joined: Feb 1999
Posts: 1,379
cal Offline
Programmer
Programmer
Offline
Joined: Feb 1999
Posts: 1,379
It would be better as some kind of profile option, so you were always hidden or always not. Cookie editing time....

Just a thought [Linked Image]

#40965 03/19/2000 12:20 PM
Joined: Jan 2000
Posts: 64
Member
Member
Offline
Joined: Jan 2000
Posts: 64
ok, i just added tha invisible mode in prefrences using ilya's kick *** hack found here.
http://ubbcodehacking.com/ubb/Forum7/HTML/000083.html

I didn't realize prefrences were so easy to modify. (thanx ilya)

anyway follow here directions for modifying ubbmisc changing the word 'Signature' with 'invisible'

change the wording how ever you like. here's mine

Code
code:

then jump to sub WriteUserSession in ubb_libray.pl

and throw an if statement around the
push(@online line

like this
Code
code:


thats it

#40966 03/19/2000 1:42 PM
Joined: Jun 2000
Posts: 263
Junior Member
Junior Member
Offline
Joined: Jun 2000
Posts: 263
Cal: being always online benefits some people.
I've just seen it done on another board (i think, wwwthreads) and kind of liked the idea.

Page 2 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
AllenAyres
AllenAyres
Texas
Posts: 21,079
Joined: March 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)