Thread: New Posting Features - vFCoders - Hide Hack v4
View Single Post
  #180  
Old 06-10-2012, 10:34 AM
dwx dwx is offline
 
Join Date: Apr 2012
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Badshah,

I think you've written a GREAT addon! On our forum we use it primarily for the STG (SHOWTOGROUP) feature, so senior members can see restricted content and the junior level members have incentive to advance to the senior levels.

There are a few ideas that I had to make the addon a bit more functional and configurable:

Toolbar/BBcode ideas:
  1. Shorten SHOWTOGROUPS to be STG, but leave the SHOWTOGROUPS tag as well so that old posts will continue to work.
  2. Add an additional tag of SHOWTOUSERS for STU, just for completeness.
  3. Add two check boxes to the SHOWTOGROUPS and STU tag's dialogs that will allow the poster's friends to see the content, or the posters ignored users to be blocked, both of these "checked" functions should override the groups that the users belong to. And I suppose admin setting to enable these check boxes or not.
  4. Add a third check box to leave off the green box and outline. And and admin setting to enable this check box or not.
Core functionality ideas:
  1. Add an option to NOT map the HIDE tag to anything. i.e. jsut don't have the button or do anything with the code. We only have SHOWTOGROUP active, so we effectively have 2 buttons that do the same thing, although if we change the mapping in the future, a lot of posts will expose content that wasn't intended to be seen. The remappable HIDE tag is a liability.
  2. Allow the Green Box and outline to be optionally enabled or disabled. And possibly have the HTML code for the green box in a field in the control panel so the admin can edit the look and feel of the box. Possibly introduce some standard variables like {allowed_groups}, {allowed_friends} and {ignored_users} that can be used in the "green box" code to show WHO can see the content to all viewing users.
  3. Add an option to ALWAYS block users that are on the poster's ignore list. (As a global setting)
  4. Add an option to always ALLOW users that are in the poster's friends list. (As a global setting)
  5. Allow the admin to select which usergroups show up in the dropdown box for the SHOWTOGROUPS tag.
Nice to haves (but not critical):
  1. Allow users for the STU tag to be chosen by name instead of user number (similar to how you pick users for PMs)
  2. Add a pick from friends button on the STU dialog that will bring up a list of the poster's friends and check boxes to quickly select them.
  3. Allow the admin to choose the usergroups AND the order to be displayed for SHOWTOGROUP tag dialog. Also allow the admin to chose if selecting a group just effects that group or that group and ALL the groups higher on the list. (e.g. we have senior user groups defined as escalating ranks: bronze, silver, gold, platinum. Right now the poster has to select ALL 4 ranks to show content that requires a "bronze" rating. It would be nice if the poster could select "bronze and above" instead of individually picking the usergroups.)

Lastly, you need to come up with some way for us to pay you for this mod! You're doing great work, I'm sure that at least some of us would like to give you something for your efforts!

Oh, and PLEASE ANSWER the PM that I sent you about that other matter!

You're really done great work here, your efforts are definitely appreciated!
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01334 seconds
  • Memory Usage 1,771KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete