Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Subscribe to View Admin Posts Details »»
Subscribe to View Admin Posts
Version: 1.0.0, by calorie calorie is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 06-09-2005 Last Update: 06-09-2005 Installs: 1
 
No support by the author.

Subscribe to View Admin Posts

This is a vB 3.0.7 hack, where upon installing this hack, your users must subscribe to view a specified administrator's posts in the forums you specify. If a non-subscribed user views a post by said administrator, the user will see a "subscribe to view message" instead of the post. The way this works is that, if a user subscribes according to the vB subscription you set, the user will see said administrator's posts; otherwise the user sees the "subscribe to view" message. Make sure to read the following "things you need to know beforehand" section!

AS THIS IS AN 'AS-IS' HACK, MAKE A BACKUP BEFORE INSTALLATION OF THIS HACK. SUPPORT IS ONLY IF/AS TIME IS AVAILABLE, SO THERE IS NO GUARANTEE OF SUPPORT! IF YOU INSTALL, SAY THANKS BY CLICKING THE INSTALL BUTTON.

You may not redistribute this hack without my permission!

Screenshots:

* none needed: just pretend an admin post says, "subscribe to view this message."

Requirements:

* add 1 file, edit 6 files, edit 2 phrases, add 1 phrase, set 2 options, edit 4 templates

Difficulty:

* depends on how good you are with details or how well the instructions are written

Caveats:

* read the "things you need to know beforehand" section
* realize some combos may not be included in this hack

Things you need to know beforehand:
  • how to use the vB subscriptions feature and set members into a primary usergroup
    • see the vB manual for help on how to do this if you need instructions
  • forumids of the forums where a subscription is needed to read admin posts
    • herein the forumids are set to 2,3,4,5 so change them to your forumids (5 spots to change)
  • primary usergroupid of members who subscribed and are allowed to read admin posts
    • herein this usergroupid is set to 9 so change it to the appropriate value (5 spots to change)
  • admin username (case sensitive)
    • herein the admin username is set to ME_ADMIN so change it to your admin username (4 spots to change)
  • admin usergroupid
    • herein the admin usergroupid is assumed to be 6 so change it if needed (6 spots to change)
  • admin userid
    • herein the admin userid is assumed to be 1 so change it if needed (4 spots to change)
  • functionality lost by installing this hack:
    • ability to reply with quote by clicking quote button is removed
      • quote button icon is also removed from all threads
    • ability to view thread in Threaded / Hybrid modes is removed
      • only the linear mode is allowed for viewing thread
    • ability to search for threads / posts by admin is removed
      • cannot search by admin userid or admin username or a subset of admin username
  • functionality not removed by installing this hack
    • ability to mouseover a thread link and see partial text of a post
  • the logged in admin will see the forums as if this hack was not installed
Install Button


Show Your Support

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

Comments
  #2  
Old 07-05-2005, 09:46 PM
lange's Avatar
lange lange is offline
 
Join Date: Apr 2003
Location: Montreal (Canada)
Posts: 282
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll try it. Thanks.
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:07 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.03307 seconds
  • Memory Usage 2,199KB
  • Queries Executed 15 (?)
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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (2)post_thanks_box
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit_info
  • (1)postbit
  • (2)postbit_onlinestatus
  • (2)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete