Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Reply
 
Thread Tools
vB Ghost - Complete invisible user Details »»
vB Ghost - Complete invisible user
Version: 1.00, by Marco van Herwaarden Marco van Herwaarden is offline
Developer Last Online: Dec 2010 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 07-16-2005 Last Update: Never Installs: 6
Code Changes  
No support by the author.

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

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 07-19-2005, 11:31 PM
Biker_GA Biker_GA is offline
 
Join Date: Oct 2004
Location: Where my hat is
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Marco, ran into a little problem on a 3.06 install.

Trying to find in memberlist.php

Code:
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
Reply With Quote
  #13  
Old 07-20-2005, 06:29 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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)
Reply With Quote
  #14  
Old 07-20-2005, 01:45 PM
Biker_GA Biker_GA is offline
 
Join Date: Oct 2004
Location: Where my hat is
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there an issue with the instructions then. It is in the section for memberlist.php..

Code:
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'])
---------------------------------------------------------------------------------------------
Reply With Quote
  #15  
Old 07-20-2005, 02:43 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
PHP Code:
        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:
PHP Code:
        $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.
Reply With Quote
  #16  
Old 07-20-2005, 02:58 PM
Biker_GA Biker_GA is offline
 
Join Date: Oct 2004
Location: Where my hat is
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks! I'll monkey with it after the coffee kicks in. LOL
Reply With Quote
  #17  
Old 10-08-2005, 08:38 PM
JohnBee JohnBee is offline
 
Join Date: Oct 2004
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #18  
Old 10-09-2005, 07:45 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will try to have a look, but i don't have much time for the next 2 weeks.
Reply With Quote
  #19  
Old 12-17-2005, 04:16 AM
JohnBee JohnBee is offline
 
Join Date: Oct 2004
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #20  
Old 03-20-2006, 07:53 AM
ubblite ubblite is offline
 
Join Date: Jan 2006
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm another user wanting this badly for v3.5.4, Marco... we need this! Thank you.
Reply With Quote
  #21  
Old 03-21-2006, 03:14 PM
TwinsForMe TwinsForMe is offline
 
Join Date: Oct 2004
Location: Canada
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another user wanting this for 3.5, please.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:24 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
  • Page Generation 0.07433 seconds
  • Memory Usage 2,303KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete