![]() |
Hooper,
Thanks for the reply! I should have given more info. I get the error when calling "online.php3". This is my first hack on the script so my default sessions.php3 file will work. I am usually pretty good at hacking Java so I was very careful in editing the sessions file. I even started from scratch several times and still get the errors.:( Maybe there is someone that can email me a stock sessions with only this hack.:D randy@dreamsweb.net From what you are saying, I have messed something up in the sessions file. hmmm Thanks for your time... dd |
Quote:
Something else you might try is renaming your .php3 extensions to just .php. Then try calling something from the browser. It's against your vBulletin license agreement to hand out code, hacked or not. That is out of the question. Sorry. |
They have to be .php3 on this server...
|
Quote:
Btw, I have PHP4 installed and use just the .php extension. |
Yea but with my server if you use .php, it will show the code.
I get the exact same error with the default sessions uploaded. I'm thinking it's in the online.php3 file.:confused: You can take a look at them at the following links. Maybe someone could take a look at them for me.:D www.dreamsweb.net/php/sessions.php www.dreamsweb.net/php/online.php Thanks dd |
This is what I recommend. First get your forums working properly. Without any hacks. Then backup the files you are going to hack. Then Hack. You should always be able to go back to the working version without the hack within a matter of seconds. The online.php3 file should not keep your forums from working as far as I know. I would suggest you back track and re hack. If this doesn't work after you attempt another hack installation from fresh working vBulliten files, then post again and maybe TubeDogg will come up with some ideas for you.
Best Wishes, |
Thanks for your time Hooper.
The forum continues to work fine, just the Who's Online doesn't. Thanks again.... dd |
Hi there,
I get the following error when browsing the online.php on my server: Warning: Variable $loggedins is not an array or string in /home/usr/(...)/forum/online.php on line 29 Parse error: parse error in /home/usr/(...)/forum/online.php on line 44 I tried to redo my steps several times - w/o repeating the mysql insert, phpMyAdmin shows me the new 'location' bit in the db, so this seems to be okay... Templates are there, online.php is in /forum, session in /admin... Am a little bit in the wild in the moment :rolleyes: Any hints? Thanks, -Tom |
Hmmm, I can't figure it out :(
Maybe it's because I'm using PHP3 on the server ? thx, -Tom |
Tom,
I am having the exact same problem you are. And have been waiting for a reply now for days. I think there is something wrong with the online file??? Please let me know if you figure it out. PS. I've been to Munich and I love Germany... |
Hi daydreamer :)
I just compared my files with yours, they are identical as far as I can see... sorry, I'm lost. @tubedog: Does it possibly has something to do with php3? greetings from Munich ;) -Tom P.S.: Unfortunately we have not the best weather at the moment, but maybe in some days will be the right weather for the beergarden :D |
Thomas,
I have been messing with the online file and found only three instantses(sp?) of $loggedins, the rest were $loggedin. So, I renamed them $loggedin. That got rid of the first error. Now if we could figure put what a parse error is... :confused: dd |
Quote:
Not to be disrespectful in any way but we are talking about a hack here. Not vBulletin. You will need to have patience. TubeDogg as well as others program these hacks for us but he and the others also moderate the forums. He is a very busy guy and I'm sure he is doing the best he can. The Hacks are "free for you to try" and there is never a guarantee that they will work in any way shape or form. Most hacks are in a perpetual state of developement. They are not part of vBulletin or the vBulletin program nor are they supported as such by vBulletin. The $160.00 you paid does include support. If you have a problem with the vBulletin program, please post in the appropriate forum. Although TubeDogg tries to answer questions and support his addons, it may take a day or two to get a response. If I could have helped you I would. I didn't have the answer. There very well could be a situation with the .php3 extension but I just don't know what it would be other than maybe a path statement being incorrect somewhere. But I assure you, set aside a few small items that could be improved, this script hack does indeed work. I don't know if anything else was mentioned on it, you may go back and read the entire thread. |
Hooper,
You are so right... and I do apologize :) It's been a late night and a early morning here. Thank you Hooper for showing me the error of my ways. :( dd |
In my research for creating the official version of this for v2.1 (or perhaps even an earlier version if I get it finished soon) I have found that this is the query you need if you want to only have the latest entry for each user. That being said this query is not very nice and I will let you know that I have found others way to achieve what I need without using this resource hog:
Code:
$users = $DB_site->query("SELECT s1.userid, username, s1.location, s1.host, invisible |
Hello,
After carefully following the instructions, I get the following error: Warning: Variable $loggedins is not an array or string in /home/noc/dre-www/board/online.php3 on line 29 Parse error: parse error in /home/noc/dre-www/board/online.php3 on line 44 Thanks dd |
Just so everyone knows I haven't died and I'm not ignoring you, I'll post a little update.
Thanks, Freddie, for the point in the right direction. :) For those of you getting parse errors, I'm working on it. Not sure why as it's still running cleanly on my server, might have something to do with php3. |
Is there a board somewhere that I can see this hack in action?
Joey |
in the template forumhome_loggedinusers i can't find this: <b>Currently Active Users</b>
in my template i well can find this: <b>Currently Active Users: $totalonline</b> but this is not the same i guess.. what can i do....?? help me! johnny |
You use a newer version of Vbulletin. This hack is based on RC2
|
I'm trying to reset everything to get rid of the
hack on mine, because it says there are x amount of users online, but doesn't show all the names on the main index page anymore. I've restored all the original files but it still does it How do I set MySQL back yo the way it was??? |
Thanks tubedogg, that sounds great,
thank you for your support! :) -Tom |
Quote:
ALTER session DROP location; and it should be back to normal. |
Quote:
can someone maybe post or pm me his forumhome_loggedinusers template here?? i don't know what i must change... because i have vb 2.0 and the hack is for vb 2.0 RC 2 Johnny |
You must upgrade to 2.0.0 to receive support from me or anyone else. Regardless, that exists in 2.0 RC2, so you are obviously not running RC2 or you did not revert a template somewhere along the way.
|
every time when I try to see the online members I see this error:
Warning: Variable $loggedins is not an array or string in /home/l/lichtfli/www/forums/online.php on line 29 Parse error: parse error in /home/l/lichtfli/www/forums/online.php on line 44 does anybody now what it is? |
Quote:
so..... but the hack is now working!! does anybody know the problem that lichtflits have posted??? Johnny |
This hack worked for me on the first try.
Thanks for the great instructions, although I did find the line number references to be off somewhat, I was still able to stumble my way through this one. Works good, looks good. Thanks a bunch. |
I install this hack last night and it works great!
One question -- I noticed some of my members show up twice on the list... did I do something wrong or is that actually accurate? It seems a bit odd... Thanks! |
anyone?
|
It works that way until I have time (and figure out how) to fix it.
|
Quote:
I can help you if you want... |
I've been dabling alittle with a little asp
forum too, and was just thinking how it would be nice if this hack could do something like this.... http://24.181.7.75/aspforum/active_users.asp |
Hello!
Just wanted to tell those ones, who want to have a link at the usernames to to the following: Edit the template online_userbits: Replace Code:
$username Code:
<a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$userid">$username</a> That's all ... Greetings, The Professor! |
Great hack. Keep up the good work!
|
What about the PHP3 bug? Can we please get it fixed?
Thankx for your time... dd |
i get t hat erorr you must refresh when i try to run mysql.php adn i have not added this specific who is online and i am running 2.01 whats heres the source
Code:
Database error in vBulletin Control Panel: Invalid SQL: INSERT INTO session (sessionhash,userid,host,useragent,lastactivity,location) VALUES ('19be5cce704b80c44554bfab15efb9e9','1','24.177.166.109','Mozilla/4.0 (compatible; MSIE 6.0b; Windows 98; Wi','','992984419') |
ok i fixed it but now its not showing where people are really at
|
If you read my recent post on the lastxx.php script I said that I got it working on an entirly differnt server/ip than the server that has our MySQL db.
Well I just tried this script and it worked just as well as assumed. Question though, Instead of just showing the names/numbers in plain text do you have any plans of making it look exactly like how it shows up in the boards? Where you have it say: ---------------------------------------------------------------------------------- | Currently Active Users: # | ---------------------------------------------------------------------------------- There are currently # members and # guests on the boards. Most users ever online was # on mm-dd-yyyy at hh:mm AM/PM. Name1, Name2, Name3, Name4, ..... , NameN ---------------------------------------------------------------------------------- And for the config file you can turn on/off the Name listing line, as well as the Most users ever line Just wondering, no pressure here. Thanks again =) |
OK about the php3 bug first I have to figure out what it is. Then I'll fix it.
Sean: You're asking for a different hack that I already made. :) http://161.58.84.213/forum/showthrea...threadid=12010 |
All times are GMT. The time now is 10:25 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|