View Full Version : vB Ghost - Complete invisible user
Marco van Herwaarden
07-16-2005, 10:00 PM
This is an old hack that i had laying around, and i posted it as a response to a Service Request recently. I see that it has 7 downloads, so i guess more people are interested in it.
What does it do?
It will make a user really invisible to everyone, including Administrators in all online functions.
Installer included? It was a job that i had to make very quickly once, so you must be kidding about an installer. Be glad that i included the hard to read instructions.
File change: A lot!!!
Database changes: No
Fancy Admin Page? No ofcourse not, then the other Admin's would quickly spot you got this turned on.
Support? I doubt it:D
Supported vB versions: was written for 3.0.3, but will probably work until 3.0.7
Make sure that you backup all your files and use a decent text editor.
Quote of the year: 0 installs
If you really like this (which i can't imagine) and you don't know what to do with your money, a paypal donation at marcoh64@gmail.com is always appreciated.
Marco van Herwaarden
07-17-2005, 01:59 PM
Reserved for support that i probably won't give anyway.
Nice idea :) Sounds useful may give it a try
* Dan clicks install
Marco van Herwaarden
07-17-2005, 06:46 PM
* Dan clicks install
You just want to ruin my chances for quote of the year. :D :D
You just want to ruin my chances for quote of the year. :D :D
Drats.... you ruined my plan!
Mla7a6
07-17-2005, 07:37 PM
nice idea.. but lots of files to edit.. gonna try it sooon..
Marco van Herwaarden
07-17-2005, 08:12 PM
nice idea.. but lots of files to edit.. gonna try it sooon..
File change: A lot!!!
Like i said, a lot of edits, but user status is coded on a lot of places, so they are all needed.
And i know the instruction suck, no nice layout, just a list of what to do. But like i said i once needed this very fast, and it was a one time job, so i didn't pay much attention to make a nice installer or instructions.
KevinL
07-17-2005, 08:56 PM
This is a really cool idea!
Im going to have to try this out :)
Thanks!
Marco van Herwaarden
07-17-2005, 09:01 PM
Lol i think i should have released it earlier. Never bothered about it since i couldn't imagine people would want this.
Biker_GA
07-17-2005, 09:05 PM
Heh.. Since we're going to upgrade to 3.5 soon, I'm going to have some fun with this one. Should drive the staff absolutely bonkers. Hee hee hee
Biker_GA
07-19-2005, 11:31 PM
Marco, ran into a little problem on a 3.06 install.
Trying to find in memberlist.php
if (!$userinfo['invisible'] OR $permissions['genericpermissions'] & CANSEEHIDDEN OR $userinfo['userid'] == $bbuserinfo['userid'])
Can not find that line anywhere. Did a search on CANSEEHIDDEN, and no luck that way either. Now I know there's no "support", but I REALLY want to mess with some folks until we upgrade. LOL
Marco van Herwaarden
07-20-2005, 06:29 AM
Please read the instructions again. ;)
The line you are quoting needs to be found in member.php, not in memberlist.php (yeah i know, the instuctions are hard to read:()
Biker_GA
07-20-2005, 01:45 PM
Is there an issue with the instructions then. It is in the section for memberlist.php..
In file memberlist.php
Find:
---------------------------------------------------------------------------------------------
" . iif($usergroupid, "LEFT JOIN " . TABLE_PREFIX . "usergroupleader AS usergroupleader ON (user.userid = usergroupleader.userid AND usergroupleader.usergroupid=$usergroupid) ") . "
WHERE $condition
AND user.usergroupid IN ($ids)
---------------------------------------------------------------------------------------------
Add BELOW
---------------------------------------------------------------------------------------------
AND (user.options & $_USEROPTIONS[isghost]) = 0
---------------------------------------------------------------------------------------------
Find:
---------------------------------------------------------------------------------------------
if (!$userinfo['invisible'] OR $permissions['genericpermissions'] & CANSEEHIDDEN OR $userinfo['userid'] == $bbuserinfo['userid'])
---------------------------------------------------------------------------------------------
REPLACE by:
---------------------------------------------------------------------------------------------
if (!$userinfo['invisible'] OR ($permissions['genericpermissions'] & CANSEEHIDDEN AND !$userinfo['isghost']) OR $userinfo['userid'] == $bbuserinfo['userid'])
---------------------------------------------------------------------------------------------
Marco van Herwaarden
07-20-2005, 02:43 PM
Sorry missed the second line, since it is (almost?) the same as the line to change in member.php, just above that.
Now this is interesting, i checked it in a 3.0.7 version and that whole if statement is gone. In the memberlist the 'Last Visit' date is always shown.
3.0.3: if (!$userinfo['invisible'] OR $permissions['genericpermissions'] & CANSEEHIDDEN OR $userinfo['userid'] == $bbuserinfo['userid'])
{
$userinfo['lastvisit'] = vbdate($vboptions['dateformat'], $userinfo['lastactivity'], true);
}
else
{
$userinfo['lastvisit'] = ' ';
}
In 3.0.7: $userinfo['lastvisit'] = vbdate($vboptions['dateformat'], $userinfo['lastvisittime'], true);
This means that the last visit date is always shown, even if a member hsa choosen to stay invisible. Not sure if this is a bug in 3.0.7 or not. Looks like it is done on purpose.
If you want, you can replace the 3.0.6 code with the 3.0.3.
Biker_GA
07-20-2005, 02:58 PM
Thanks! I'll monkey with it after the coffee kicks in. LOL
JohnBee
10-08-2005, 08:38 PM
I totally love this hack! I have moved to 3.5 and so I wondered if there was a chance this could work on 3.5?
I rely on this, on my forums to hide a "system account" to post news and submit other forms of data via automated form. I really miss it, is there any way you could make it work under 3.5?
Marco van Herwaarden
10-09-2005, 07:45 AM
I will try to have a look, but i don't have much time for the next 2 weeks.
JohnBee
12-17-2005, 04:16 AM
Yes please do bring this to 3.5 - I have a script that uses an account to post news and this is exacly what I need to clean things up.
ubblite
03-20-2006, 07:53 AM
I'm another user wanting this badly for v3.5.4, Marco... we need this! Thank you.
TwinsForMe
03-21-2006, 03:14 PM
Another user wanting this for 3.5, please.
neila
04-22-2006, 06:41 PM
bump for another user waiting on this.
Sangrun
06-14-2006, 03:47 AM
Another user for 3.5 who is interested. Thanks!
Christine
06-14-2006, 09:40 PM
Am willing to pay... :smoke:
JohnBee
06-14-2006, 11:58 PM
Perhaps we could reauest, if the original programmer is not interested that he give permission for someone else to port it?
Stangsta
10-31-2006, 07:28 PM
another 3.5 bump
Awakeni
06-18-2007, 09:24 PM
Bump! I want!
kofoid
08-06-2007, 05:09 PM
I will see your bump and raise you another. Would be great to have this in 3.6
Marco van Herwaarden
08-10-2007, 11:59 AM
I have no intention to port this to any version other then the current (3.0) version.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.