PDA

View Full Version : See who is logged in outside of vBulletin


nabeel
21 Jul 2002, 17:22
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------




this could be used if you want to make sure someone is logged in before they come to your site, or a customized home page showing their info

ModshackUK
21 Jul 2002, 17:25
Ermmm does that not contain your password for your sql server ?

HM

nabeel
21 Jul 2002, 17:26
lol woops

i edited it

ModshackUK
21 Jul 2002, 17:30
LOL

Its ok I posted my IRCOP password the other day by accident but no one noticed :)

HM

Velocd
21 Jul 2002, 17:32
I'm amazed by your very detailed explanation in your first post by what this hack actually does :rolleyes: :p

If this is going at before the HTML tag, doesn't it still need the <?php and ?> tags?

I have this on my forum anyway, using one of Firefly's header online hacks, but installed on every page with some integration..

Good for those using HTML pages I suppose..

ModshackUK
21 Jul 2002, 17:36
I like the idea and will give it a shot later on tonight as I run another site thats mainly html based.

HM

nabeel
21 Jul 2002, 17:37
i couldnt get that one working, so i came up with this..took me a while. i added that stuff in.

blah...its too early :\

KuraFire
22 Jul 2002, 12:21
Erm, would this work if I want to see users, who are elsewhere on the site, on the Who's Online page of my vB?

nabeel
22 Jul 2002, 17:57
itll work if you wanna make a customized page on another part of your site.

im working on a "whos online" thing

webhost
25 Jul 2002, 03:38
This is what we use,
http://logitpro.com/

trackpads
30 Aug 2003, 16:38
How do you do this with VB3?

Thanks!

Dean C
30 Aug 2003, 19:29
No vb3 hacking is allowed until the RC stage :) ^^

trackpads
30 Aug 2003, 20:24
Is this considered hacking since I am not touching any of the VB3 files? I just want to do this on all the other pages of my site.

higabyte
31 Aug 2003, 20:22
Yesterday at 03:24 PM trackpads said this in Post #13 (http://www.vbulletin.org/forum/showthread.php?postid=429782#post429782)
Is this considered hacking since I am not touching any of the VB3 files? I just want to do this on all the other pages of my site.

i dont think its considered hacking since all you are doing is requiring them logging in before accessing your non vbulletin pages, heres how i did it:

I did something similar to this with my vb2.5 and upgraded to vb3 and it still works fine...

http://board.accordtuner.com/external.php

I mean I dont know how correct it is per say but it seems to do the job and thats all that matters..
.



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

trackpads
02 Sep 2003, 01:35
Thanks!

That works on some pages but I get some funny errors on others. Have to play more but thanks again, I do apprecaite it.

What is really ironix is that I use phpbb for some content mgmt sites and I can now require VB membership to have people access the phpbb sites ;-)

otacon
26 Sep 2003, 18:00
does this work on VB 3

www.randomobjects.com/testme.php I get this.

trackpads
28 Sep 2003, 14:53
I am using VB 3 and it works

ttol
02 Dec 2003, 15:21
hey, there is a missing semicolon after $DB_site->database=$dbname. took me 20 minutes to find that.

agip33
18 Dec 2003, 00:22
if cookies are disabled OR the user sets "Automatically login when you return to the site? (uses cookies)" as NO...

will this still work? if not, how can i make it work without cookies.

hwtan
05 Jan 2004, 07:24
hmm.. what I usually do is:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

DreyerMedia
13 Jun 2007, 14:23
Any updated versions of this?

Dismounted
14 Jun 2007, 09:09
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------