Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Who's Online False Location for vB 4 Details »»
Who's Online False Location for vB 4
Version: 1.0.1, by Boofo Boofo is offline
Developer Last Online: Jun 2012 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 03-15-2011 Last Update: 03-26-2011 Installs: 36
Uses Plugins
Additional Files  
No support by the author.

Who's Online False Location for vB 4
Version 1.0.1
(By Boofo)

What does this product do?
This product will show viewers of the Who's Online pre-defined actions for userids that you choose. You can exclude users from the Members List (and count), as well as replace the Last Visit in Members List, or Profile Last Activity, with a phrase.

NOTE: I know this has been done before for vb 3, but I re-wrote the code for my specific purposes and added a few options that were missing in the other one.

Credits:
Thanks goes out to nfn for allowing me to use his Exclude Users from Members List modification idea.

Version Information:
Version 1.0.0 --Initial release for vB 4
Version 1.0.1 --Added Exclude Users from Members List (and Members List count) for Who's Online False Location Userids. Also added the ability to show a custom phrase for the Profile Last activity as well as the Last Visit in the Members List.

Installation Overview:
---------------------------
1 Product XML (5 Plugins, 13 Phrases and 5 Settings)

Installation Instructions:
---------------------------
1. Upload the 'who_is_online_false_location.txt' file to your forum root.

NOTE: You will need to edit the text file according to your needs. I have included the one that I use.

2. Go to your Admin CP
Scroll down to 'Plugin System'
Click 'Manage Products'
Click 'Add/Import Product'
Click the 'Browse' button, and locate the 'product-boofo_false_location.xml' file on your computer

3. Go to your Admin CP -> vBulletin Options -> 'Who's Online False Location' and set the following options:

Who's Online False Location Userids:
--Enter the userids you want to show the false location for. (Default is userid 1)

Who's Online False Location Name:
--Enter the false location you want to show the location for the question mark icon. (Default is... a surprise)

Replace Last Activity in Who's Online:
--Do you want to replace Last activity in Who's Online with the phrase? (Default is "Yes")

Replace Last Activity in Profile:
--Do you want to replace Last activity in Profile with the phrase? (Default is "Yes")

Members List Options:
--Disable Members List changes: Disable any changes to the Members List. (Default)
--Replace Last Visit in Members List: Replace Last Visit in Members List with phrase.
--Exclude Users from Members List: Exclude users from Members List and Members List count.

NOTE: These options will use the Who's Online False Location Userids setting above to determine which users to include.
------------------------------------------------------

Done!
Enjoy!


Code:
if ($mark_as_installed != 'clicked')
{
	$you_get = 'squat';
}
else
{
	$you_get = 'support';
}

Download Now

File Type: zip Who_is_Online_False_Location_vb4.zip (6.3 KB, 130 views)

Screenshots

File Type: png memberslist_last_visit.png (4.8 KB, 0 views)
File Type: png profile_current_activity.png (16.5 KB, 0 views)
File Type: png profile_last_activity.png (5.0 KB, 0 views)
File Type: png whos_online_location.png (3.1 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 03-16-2011, 09:58 AM
Gemma's Avatar
Gemma Gemma is offline
 
Join Date: Apr 2004
Location: Scotland
Posts: 1,229
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Boofo. Been running this one for a while now - https://vborg.vbsupport.ru/showthread.php?t=145428

Now I can upgrade
Reply With Quote
  #3  
Old 03-16-2011, 10:06 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You forgot the install button?
Reply With Quote
  #4  
Old 03-16-2011, 10:09 AM
Gemma's Avatar
Gemma Gemma is offline
 
Join Date: Apr 2004
Location: Scotland
Posts: 1,229
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Leave me alone I've just woke up!
Reply With Quote
  #5  
Old 03-16-2011, 10:16 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I figured it had to be something like that as you don't usually forget.
Reply With Quote
  #6  
Old 03-16-2011, 12:12 PM
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Location: Liverpool UK
Posts: 802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tagged..will install later..thanks Boofo !
Reply With Quote
  #7  
Old 03-26-2011, 09:22 AM
Sforums Sforums is offline
 
Join Date: Dec 2010
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Boofo, love your stuff, you're very talented coder.

But unlike your other work, I've got problem with this one. Every time I go to who's online list my browser freezes (IE8, Win XP). I tried on another computer with different OS (IE8,Vista) and same issue. Uninstalled and everything went back to normal. Have any ideas why is this?
Reply With Quote
  #8  
Old 03-26-2011, 11:06 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sforums View Post
Hey Boofo, love your stuff, you're very talented coder.

But unlike your other work, I've got problem with this one. Every time I go to who's online list my browser freezes (IE8, Win XP). I tried on another computer with different OS (IE8,Vista) and same issue. Uninstalled and everything went back to normal. Have any ideas why is this?
Have you tried in another browser?
Reply With Quote
  #9  
Old 03-26-2011, 04:38 PM
Sforums Sforums is offline
 
Join Date: Dec 2010
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
Have you tried in another browser?
No, I am oldfashioned IE user.
Will try messing around, I'm sure it will work eventualy.
Reply With Quote
  #10  
Old 03-26-2011, 04:58 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works fine for me in IE7 and IE8. Make sure your host is allowing fgets to work.
Reply With Quote
Reply


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 01:59 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05866 seconds
  • Memory Usage 2,324KB
  • Queries Executed 24 (?)
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
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (5)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete