![]() |
i think one part of the problemw ould be that my ENTIRE original code in the forumdisplay_loggedinuser is
$stylevar[dirmark]<a href="member.php?$session[sessionurl]u=$loggedin[userid]" target="_blank">$loggedin[musername]</a>$loggedin[invisiblemark]$loggedin[buddymark] so i don't know where to find a <if condition="$loggedin[userid]"> like the install asks... |
Move the code you added for this hack up before
Code:
$stylevar[dirmark]<a href="member.php?$session[sessionurl]u=$loggedin[userid]" |
Quote:
|
what if i dont add this
FIND: user.username, (user.options & " . $vbulletin->bf_misc_useroptions['invisible'] . ") AS invisible, user.usergroupid, IN LINE FIND: user.username, AFTER ADD: user.browser, cuz i get errors if i do |
What error do you get? You need that or the hack will not work.
|
Version 1.0.1 has been released. I have moved the users' browser information to the session table instead of the user table. Also, I have removed 'Unknown' from being stored in the database, and have replaced it with Psionic Vision's suggestion.
Simply follow the upgrade instructions in the install.txt file to upgrade. Let me know if you have any problems. Derek |
Quote:
P.S.great hack ;) |
Sorry, this hack doesn't support that hack, so therefore the browser information isn't shown on that hack.
|
Got the same error as mentioned in post #16 on uninstalling version 1.0.1.
Manually reverting the template and file edits seems to be OK. But product is still shown in installed product list and could not be removed. How do I remove the entry in the product list? |
Hello nice idea, some questions.
- Can i have this only appear on the Who's Online page? - Why is not working with the guests? I mean can it see what the guest browser is, and show approximately? - What will happen if we have special html markaps for our users in our forums? We use special mini icons for each of our usergroups. Will they be replaced from the browser icons or will display both of them (for this i only want to have it on my Who's Online page, prefferably with both the icons displayed) Thnx in advance for any reply :) |
Quote:
Quote:
Quote:
Quote:
Derek |
Very nice hack Derek! We'll be adding it soon and look forward to the new features :nervous:
|
Thnx for your replies, waiting for the new version :)
|
Edit: i fixed it it seems i needed to to the tempalte edits then the porduct before i do the index.php edit.
Code:
There seems to have been a problem with the |
Edit ya IP address m8..tis best if ya do :)
|
Wow of all the things a deleted i left the ip wow thanks hehe
|
NP m8, just trying to help :)
Have fun Bashy |
Hmm, for some reason the SQL query didn't get executed when you imported the product. Please run the following query in your AdminCP or PHPMyAdmin:
[sql] ALTER TABLE `vb3_session` ADD `browser` VARCHAR( 50 ) DEFAULT '' NOT NULL; [/sql] Let me know if you still have any problems. Derek |
Invalid SQL:
ALTER TABLE `session` DROP `browser`;; MySQL Error : Can't DROP 'browser'; check that column/key exists Error Number : 1091 uninstall problem I have...how can I fix it for uninstall??? |
Just edit the product and remove the stuff in the uninstall code selected, then try uninstalling, that should fix it.
|
Installed... working fine so far without any prob. I think it'll be very nice if it'll show nick as 'Group by Browser', bcuz when thr'll be 50/100 users online it'll look funny or messy :/
|
heh, I just came here to request what soulface said... organize the wol by browser so that only 1 icon is displayed for each browser in use.
|
Ok, I can probably add an option to do that. I'll take a look and see. Nice Suggestion!
|
Looks good.. One problem though, vBAdvanced CMPS v2.0.0 needed to be modified as well if you use it and would like it to show properly on your home page. ;)
For those who use vbAdvanced and would like it to work for your home page do the following. in /modules/onlineusers.php find: Code:
SELECT session.userid, username, usergroupid, (user.options & " . $vbulletin->bf_misc_useroptions['invisible'] . ") AS invisible, IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid Code:
SELECT session.userid, session.browser, username, usergroupid, (user.options & " . $vbulletin->bf_misc_useroptions['invisible'] . ") AS invisible, IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid Code:
'username' => $vbulletin->userinfo['username'], Code:
'browser' => $vbulletin->session->vars['browser'], * Clicks install. |
Thanks for that tutorial. I'll add it to the first post so that people who use vBa know what to do. :)
Thanks again, Derek |
Quote:
Quote:
|
Anyway we can add WebTV as a browser?
Edit: Attached WebTV icon in case you decide to add it or use it. ;) |
Thanks, I'll add it to the next release with your images too.
Thanks so much! Derek |
Hi peeps
I get this error (below) from only 1 member atm, he cannot login when this hack is turned on, turn it off an he can login although the ? icon shows when turned off so looks a tad untidy...anyway back to the issue at hand lol... Whats ya thoughs, his browser is IE6 but the WOL is showing him as mozilla? Your hack is showing him as a question mark and stops him from loggin in Database error in vBulletin 3.5.3: Invalid SQL: ; MySQL Error : Query was empty Error Number : 1065 Date : Saturday, February 4th 2006 @ 07:08:08 PM Script : http://IP.ADDY/bashys-place.com/forums/index.php Referrer : IP Address : This was an IP addy :p Username : This used to be a username Classname : some database |
Hmm, thats a weird error. Want to PM me admin access details so I can take a look? Also have you installed any hacks that modify user sessions?
Thanks, Derek |
PM on way...
As for installing out to do with the sessions, not sure, i cant emember sorry, but i am sure you can see for ya self m8, I have 1 or 2 installed pmsl.... Quote:
|
Hi m8
I have got to the bottom of this.. Its his firewall blocking ya script.... He is using sygate |
Thats really weird lol. It just uses vB's is_browser function to determine the browser, so I guess your right. His firewall must be blocking access to your forum somehow.
|
Very m8 lol...Like i say, turn ya hack off and he gets in no problem lol
Quote:
|
I have a huge problem... When i try to uninstall this it gives me a DB error
Code:
Database error in vBulletin 3.5.0: |
You can ignore that error. That just means that field doesn't exist in your database.
If it won't let you uninstall completely, just edit the product and remove the uninstall code. Derek |
Quote:
Ok that seemed to work thank you... for some reason when i had it installed i kept gettin DB errors :( |
I am now getting this error
Code:
Database error in vBulletin 3.5.0: |
That means it didn't insert the browser field to the session table. To fix it run this query in PHPMyAdmin or vB's Query page in the AdminCP:
[sql] ALTER TABLE `session` ADD `browser` VARCHAR( 50 ) DEFAULT '' NOT NULL; [/sql] |
Quote:
|
All times are GMT. The time now is 12:53 PM. |
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:
|