Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 01-04-2016, 01:36 AM
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
Posts: 579
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Mark!
Reply With Quote
  #12  
Old 01-04-2016, 06:55 AM
setishock setishock is offline
 
Join Date: Feb 2008
Location: Houma, La.
Posts: 1,177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mark this would be helpful to keep the bots from looking at user profiles. Since at my forum they seem to be looking up banned user profiles.

Instead of having to put in each user name, is there a way to do an "all" command instead of individual names?
Reply With Quote
  #13  
Old 01-05-2016, 12:00 PM
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
Posts: 579
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by setishock View Post
Mark this would be helpful to keep the bots from looking at user profiles. Since at my forum they seem to be looking up banned user profiles.

Instead of having to put in each user name, is there a way to do an "all" command instead of individual names?

For groups?
Reply With Quote
  #14  
Old 01-06-2016, 05:45 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, version 1.2 (which I have attached), allows you to select entire usergroups whose profiles will be hidden (from the groups you select from which to hide them), and allows you to select usergroups who will see a new link on the profile pages of users (not part of a hidden groups already) that will allow you to hide/unhide their profiles.

There is an external script you need to upload this time (it handles the hiding/unhiding from the clickable link).

If a user whose profile is being viewed is NOT a member of a usergroup that is hidden, and the browsing user is a member of a usergroup allowed to hide/unhide profiles, then if the profile being viewed is not hidden the following link will appear:



And if that user's profile is already part of the hidden list (by username), this link will appear:



Here are the settings for this updated version:



Enjoy!
Attached Images
File Type: png hideprofile_link.png (3.0 KB, 0 views)
File Type: png hideprofile_link2.png (3.1 KB, 0 views)
File Type: jpg hideprofile_acp.jpg (89.5 KB, 0 views)
Attached Files
File Type: zip MarkFL - Hide Profiles v1.2.zip (3.8 KB, 13 views)
Reply With Quote
  #15  
Old 01-06-2016, 03:02 PM
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
Posts: 579
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Muchos gracias Senor Mark.

--------------- Added [DATE]1452100467[/DATE] at [TIME]1452100467[/TIME] ---------------

Fatal error: require_once(): Failed opening required '/home/science/public_html/*.com./includes/adminfunctions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/science/public_html/*.com/hideprofile.php on line 4
Reply With Quote
  #16  
Old 01-06-2016, 03:24 PM
Dragonsys's Avatar
Dragonsys Dragonsys is offline
 
Join Date: Jan 2008
Location: DFW, Texas
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Elixar View Post
Muchos gracias Senor Mark.

--------------- Added [DATE]1452100467[/DATE] at [TIME]1452100467[/TIME] ---------------

Fatal error: require_once(): Failed opening required '/home/science/public_html/*.com./includes/adminfunctions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/science/public_html/*.com/hideprofile.php on line 4
OPEN: hideprofile.php
FIND:
PHP Code:
require_once(DIR './includes/adminfunctions.php');
require_once(
DIR './includes/adminfunctions_options.php'); 
REPLACE WITH:
PHP Code:
require_once('./includes/adminfunctions.php');
require_once(
'./includes/adminfunctions_options.php'); 
Reply With Quote
Благодарность от:
Elixar
  #17  
Old 01-06-2016, 03:34 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Elixar View Post
Muchos gracias Senor Mark.

--------------- Added [DATE]1452100467[/DATE] at [TIME]1452100467[/TIME] ---------------

Fatal error: require_once(): Failed opening required '/home/science/public_html/*.com./includes/adminfunctions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/science/public_html/*.com/hideprofile.php on line 4
Okay...try the attached...
Attached Files
File Type: zip MarkFL - Hide Profiles v1.2.zip (3.8 KB, 3 views)
Reply With Quote
  #18  
Old 01-06-2016, 03:35 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dragonsys View Post
OPEN: hideprofile.php
FIND:
PHP Code:
require_once(DIR './includes/adminfunctions.php');
require_once(
DIR './includes/adminfunctions_options.php'); 
REPLACE WITH:
PHP Code:
require_once('./includes/adminfunctions.php');
require_once(
'./includes/adminfunctions_options.php'); 
Yes, that's the exact change I made.

The original worked on my local dev site, but not on my online dev site. Go figure.
Reply With Quote
Благодарность от:
Dragonsys
  #19  
Old 01-06-2016, 03:37 PM
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
Posts: 579
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One thing, because of an additional usergroup I have on my account, it hide the profile from me. Anyway there is a way to make a list of exempt people that can see the profile always?
Reply With Quote
  #20  
Old 01-06-2016, 03:56 PM
Dragonsys's Avatar
Dragonsys Dragonsys is offline
 
Join Date: Jan 2008
Location: DFW, Texas
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarkFL View Post
Yes, that's the exact change I made.

The original worked on my local dev site, but not on my online dev site. Go figure.
Dev site Windows?
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 07:24 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.08494 seconds
  • Memory Usage 2,306KB
  • Queries Executed 14 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (2)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete