Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
0 registered (), 33 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/02/04
Posts: 195
Top Posters (30 Days)
Ruben 51
DennyP 24
Gizmo 23
Dunny 16
SteveS 14
AllenAyres 12
dbremer 10
SD 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#183483 - 04/29/07 01:11 PM Extend who's online to other pages?
ScriptKeeper Offline

veteran
Registered: 12/09/06
Posts: 1420
Loc: UK
Is it possible to have external pages register visitors info so it displays in who's online?

Example, if I have page2.php in my root directory, is there any way that I can add some code to that page (and of course add to the language file) so it displays "Viewing page2" on the who's online details page?
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#183553 - 05/01/07 03:47 AM Re: Extend who's online to other pages? [Re: ScriptKeeper]
Ian Offline
Registered: 06/05/06
Posts: 4337
Loc: Essex, UK
Hi,

Yes \:\)

Just add the info to /languages/yourdir/online.php \:\)
Top
#183571 - 05/01/07 06:01 AM Re: Extend who's online to other pages? [Re: Ian]
ScriptKeeper Offline

veteran
Registered: 12/09/06
Posts: 1420
Loc: UK
What info?

Can I put a directory address in the language file - /dir1/index.php

online.php has the format - $ubbt_lang['newreply'] =

so will it work like - $ubbt_lang['/dir1/index.php'] =

BTW - Happy birthday Ian ;\)
Top
#183575 - 05/01/07 06:38 AM Re: Extend who's online to other pages? [Re: ScriptKeeper]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
FYI, ian's method will only work for items housed within the UBB; not sure how to do it outside of it offhand as it seems thats what you're wanting...
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#183600 - 05/01/07 02:12 PM Re: Extend who's online to other pages? [Re: Gizmo]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
It's a bit of both of what gizmo and ian stated. If it's outside your forum directory and not using the UBB.threads script/template system, then it will take some coding to accomplish.

You'd need to insert some info into the ubbt_ONLINE table. Take a look at the contents of this and you'll get an idea of what you need to insert when a user visits the page in question. One of the fields is the script name, which is what you'd add to your language file.
Top



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
Yesterday at 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10489 Members
36 Forums
33841 Topics
181706 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image