BlameThePixel!

BTForum » Other Stuff » BlameTheHelp » Code Prob

Page: [1] []
[G]drattigan
Statusless
Send PM
Posts:
Threads:
Money: £0.00 (D)
(+ Friend)
Not online within the last half an hour
Hey everybody... I was wondering if anyone cud help me with a code for my site? I'd like a code like the one here on BTP, where it shows which users are online from the homepage. And any other page for that matter...

If anyone cud help me with the code- I thank you guys so much!
15.09.04 17:55
Post #1
[Hide Sig (0)] [Profile] [Quote]
[]Pilki-AKA-Gollum
The power of the Ring Compels j00
Send PM
An Avatar
Posts: 645
Threads: 38
WWP Clan: DNA
Mood: Evil - sometimes
Money: £1440.47 (D)
(+ Friend)
Not online within the last half an hour




Perhaps you should have a look at the source code for one of the pages, maybe that will give you a clue. I give you any other help since I ain't really html literate :(

________________

The meaning of life is.... Forty-two!






15.09.04 18:00
Post #2
[Free Motorola RAZR V3!] [Hide Sig (11)] [Profile] [Quote]
[G]drattigan
Statusless
Send PM
Posts:
Threads:
Money: £0.00 (D)
(+ Friend)
Not online within the last half an hour
I've looked there... it wasn't much help. Any other ideas?
15.09.04 18:08
Post #3
[Hide Sig (0)] [Profile] [Quote]
[]minigunweilder
Acrap spelr
Send PM
An Avatar
Posts: 133
Threads: 15
Mood: pissed
Money: £137.33 (D)
User Tax: 30%
(+ Friend)
Not online within the last half an hour
yeah i need help installing phbb
doing that stuff
AND making a website for a project of mine

________________
warning the actions of this person if negative are not representitive of btp
15.09.04 18:51
Post #4
[Hide Sig (3)] [Profile] [Quote]
[G]drattigan
Statusless
Send PM
Posts:
Threads:
Money: £0.00 (D)
(+ Friend)
Not online within the last half an hour
Project WormWars? Ah.. well, I cud help. Though my designs aren't ace...
http://www.wormy-wonders.tk
15.09.04 19:15
Post #5
[Hide Sig (0)] [Profile] [Quote]
[B]C1
Looking For Status
Send PM
Posts: 0
Threads: 0
Money: £0.18 (D)
(+ Friend)
Not online within the last half an hour
I created a useronline thing on my site. It shows their ip, time and name, if they're logged in on a different page. And it displays the number of people online, on the contents menu. Not sure how to get the info, for what page they're viewing tho. It also shows whos online in the last 5 minutes.
15.09.04 19:54
Post #6
[Hide Sig (2)] [Profile] [Quote]
[G]the candy man
Statusless
Send PM
Posts:
Threads:
Money: £0.00 (D)
(+ Friend)
Not online within the last half an hour
yeah maybe you should tell him how to do it...thats kindof what he asked
15.09.04 20:35
Post #7
[Hide Sig (0)] [Profile] [Quote]
[B]C1
Looking For Status
Send PM
Posts: 0
Threads: 0
Money: £0.18 (D)
(+ Friend)
Not online within the last half an hour
Well, I don't know how to make it work with his forum users. I can only make it work, with random guests viewing the site. So If he wants that type of thing, then I'll give it to him.
15.09.04 21:17
Post #8
[Hide Sig (2)] [Profile] [Quote]
[G]drattigan
Statusless
Send PM
Posts:
Threads:
Money: £0.00 (D)
(+ Friend)
Not online within the last half an hour
Erm... well, I'll be changing forums soon anyway, if that helps! But ok.. if you can get me that thing that says which users are online and the counter, I thank yer!

http://www.wormy-wonders.tk
16.09.04 17:33
Post #9
[Hide Sig (0)] [Profile] [Quote]
[B]C1
Looking For Status
Send PM
Posts: 0
Threads: 0
Money: £0.18 (D)
(+ Friend)
Not online within the last half an hour
I can't get it to say WHO are online, because those forums are programed so stupidly, that it's impossible to mimic their code. I could probably make it show who's online for my site tho, (since I redid the user system, with just the forum info)
16.09.04 21:03
Post #10
[Hide Sig (2)] [Profile] [Quote]
[G]drattigan
Statusless
Send PM
Posts:
Threads:
Money: £0.00 (D)
(+ Friend)
Not online within the last half an hour
Erm.. well just give me what you've got. The guest thing'll be great.
18.09.04 12:23
Post #11
[Hide Sig (0)] [Profile] [Quote]
[B]C1
Looking For Status
Send PM
Posts: 0
Threads: 0
Money: £0.18 (D)
(+ Friend)
Not online within the last half an hour
\n
$time = @time(); $timer = 5; $ip = $REMOTE_ADDR; $timeout = time()-(60*$timer); include('connect.php'); $sql_client_details = "SELECT * FROM usersonline"; $sql_client_details_result = mysql_db_query("*thedatabasename*",$sql_client_details); $num_records = mysql_num_rows($sql_client_details_result); if($num_records=="0"){
$num_records="1"; }else{ $num_records=$num_records; } echo " $num_records"; $getuserinfo = mysql_query("SELECT time, ip FROM usersonline");
$userinfo = mysql_fetch_array($getuserinfo); $newtime = ($userinfo["time"]);
$newip = ($userinfo["ip"]); mysql_query("delete from usersonline WHERE ip='$ip'");
mysql_query("INSERT INTO usersonline (username, ip, time, page) VALUES ('$cookiename', '$ip', '$time', '$newtitle')") or die("eep, db probs..."); if(($timeout > $newtime) && (!$newtime == "")){ mysql_query("delete from usersonline"); }else{ }
\n

Take out the name field, because you don't have the same user system as I have. But the rest should work with any site.
18.09.04 14:08
Post #12
Last edited: 07.10.04 19:24 (C1 - 2 times) [Hide Sig (2)] [Profile] [Quote]
[G]drattigan
Statusless
Send PM
Posts:
Threads:
Money: £0.00 (D)
(+ Friend)
Not online within the last half an hour
Wud u highlight the name field or whatever it is? I'm not entirely sure what is what! Thanx.
07.10.04 15:41
Post #13
[Hide Sig (0)] [Profile] [Quote]
[]Pilki-AKA-Gollum
The power of the Ring Compels j00
Send PM
An Avatar
Posts: 645
Threads: 38
WWP Clan: DNA
Mood: Evil - sometimes
Money: £1440.47 (D)
(+ Friend)
Not online within the last half an hour




Does ne1 know the code for changing the font for my post?

________________

The meaning of life is.... Forty-two!






08.10.04 10:20
Post #14
[Free Motorola RAZR V3!] [Hide Sig (11)] [Profile] [Quote]
[G]drattigan
Statusless
Send PM
Posts:
Threads:
Money: £0.00 (D)
(+ Friend)
Not online within the last half an hour
It doesn't work on my site... any ideas?
10.10.04 17:59
Post #15
[Hide Sig (0)] [Profile] [Quote]
Page: [1] []

Post Reply

Jump To:


Your Comments:

Donate to BlameThePixel:
Donate to BTP Via PayPal


[22 Queries, Page Loaded in 0.236559 Seconds]

ShoutMeUp

Xmas Greetings from waka waka waka waka []Unvalidated EmailChristmasRiddle MERRY CHRISTMAS EVERYONE! []Spleet Except for Spleet. []TheAbdBoy Always bummin' a brother out. []Spleet Happy New Year everyone! But Spleet. []TheAbdBoy

Word Association

All

-10 Ago-

MiddleEastern []AlphaWolf camel [S]Bloopy toe []TheAbdBoy moose knuckle [S]Bloopy MeatLoaf []Spleet IdDoAnything4Lo ve []AlphaWolf rub n tug []TheAbdBoy tugboat []The Pope rope [S]Bloopy race []TheAbdBoy

-Latest-


Must be logged in to add new words

FictoLeague

You have to be logged in to vote...

Member Stats

Date: 22.11.24.
Members: 4731.
Latest: []Unvalidated Emailsdsakldsaldklasdsdsa
Active:
0 user(s)
1 guest(s)

On chat:
Lots of people

Files: 3330

Bloopy's Site
Get Firefox Get Opera Donate to BTP Via PayPal