vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Subscribe to View Admin Posts (https://vborg.vbsupport.ru/showthread.php?t=82797)

calorie 06-09-2005 10:00 PM

Subscribe to View Admin Posts
 
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

https://vborg.vbsupport.ru/

lange 07-05-2005 09:46 PM

I'll try it. Thanks.


All times are GMT. The time now is 10:00 AM.

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.01044 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (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_navbar_search
  • (1)printthread
  • (2)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete