vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   only view thread if replied (https://vborg.vbsupport.ru/showthread.php?t=90871)

Dream 06-22-2005 10:00 PM

only view thread if replied
 
Not sure I understood this modification request. Not planning on develop it further, feel free to modify and re-release.

Description
Users will only see the thread if they replied, when using showthread.php

Installation
- Upload XML
- Edit $protect_forums array and put the forum numbers you want to protect there
- Activate plug-in

Info
Adds 1 query to showthread.php

(0.2) made it look nicer
(0.3) added $showfor_superadmins, $showfor_admins, $showfor_supermods, $showfor_mods, settable for "true" or "false"


this hack has been discontinued, and no longer will be updated. send me a pm if you want to take it from here.

Andreas 06-23-2005 03:21 AM

Does that make sense?
OK, it is possible to reply to a thread without being on showthread first, but honestly - who would do that?

Dream 06-23-2005 03:27 AM

beats me - thats what I understand the request was. I wont be using it, but was curious to see if it could be done.

you can still see the reply button in showthread

Andreas 06-23-2005 03:30 AM

That's crazy ^.^
Replying to smth. you don't know anything about.
Anyway, this does not cover the archive.

Dream 06-23-2005 03:31 AM

neither subscriptions :P hence the beta

calorie 06-23-2005 03:31 AM

Maybe a trivia thread, where the title is the question, and you see the answer after you post a guess?

Dream 06-23-2005 03:33 AM

and we have a use for it ^_^

youd have to make it a little prettier tho, its very ugly right now.

edit:

Quote:

If a plugin requires any code modification, do NOT post it here.
and I posted it in the wrong place, sorry about that.

StarBuG 06-23-2005 09:22 AM

Quote:

Originally Posted by Dream
and I posted it in the wrong place, sorry about that.

With file modification they ment for the original vB files not your hack xml ;)

This hack does sound like something FXP Boards would use even though they normaly just want to hide a certain part of text and not the whole thread.

StarBuG

Chris M 06-23-2005 11:02 AM

I believe the author has explained what this does a little wrong ;)

Upon viewing the code (but not actually using it) I believe it replaces every postbit message with the content "You must reply to this thread before you can view it"...

It is almost an imitation of the Lockdown hack - The user can still view the thread, but the post content is hidden until they reply ;)

Satan

tinjon 06-23-2005 05:49 PM

is there anything for 350b2? i dont' wanna hide any thread. what i want is that, in a particular thread, i could use "[hide]hidden message[/hide]" so that ppl must reply to see what's inside the tags.
thanks.


All times are GMT. The time now is 05:43 PM.

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.01078 seconds
  • Memory Usage 1,729KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete