Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
only view thread if replied Details »»
only view thread if replied
Version: 0.3, by Dream Dream is offline
Developer Last Online: Sep 2010 Show Printable Version Email this Page

Version: 3.5.0 Beta 2 Rating:
Released: 06-22-2005 Last Update: 07-03-2005 Installs: 5
Uses Plugins
Re-useable Code Is in Beta Stage  
No support by the author.

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.

Show Your Support

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

Comments
  #12  
Old 06-23-2005, 06:07 PM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no hooks for "bbcode" anywhere. how would I go about intercepting a bbcode and changing its behavior?
Reply With Quote
  #13  
Old 06-27-2005, 12:50 AM
WhiteOx2 WhiteOx2 is offline
 
Join Date: Nov 2003
Location: Newcastle, Australia
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hellsatan
The user can still view the thread, but the post content is hidden until they reply

Satan
So basicly the only post in the whole thread that would make any sense is the first one.
Reply With Quote
  #14  
Old 06-28-2005, 12:49 PM
MentaL's Avatar
MentaL MentaL is offline
 
Join Date: Jan 2003
Posts: 550
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How does it work? All topics or single selected topics?
Reply With Quote
  #15  
Old 06-28-2005, 01:38 PM
flup's Avatar
flup flup is offline
 
Join Date: Jan 2002
Location: Maastricht, NL
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KirbyDE
Does that make sense?
OK, it is possible to reply to a thread without being on showthread first, but honestly - who would do that?
What about letting your users reply before you want them to see a download link in case the forums are inactive? :-) n1!
Reply With Quote
  #16  
Old 06-28-2005, 01:47 PM
flup's Avatar
flup flup is offline
 
Join Date: Jan 2002
Location: Maastricht, NL
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hellsatan
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
The HIDE hack is only for freakin' FTPs
Reply With Quote
  #17  
Old 06-28-2005, 03:50 PM
flup's Avatar
flup flup is offline
 
Join Date: Jan 2002
Location: Maastricht, NL
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And where can u edit the $protect_forums

nvm seen it
Reply With Quote
  #18  
Old 06-28-2005, 04:06 PM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mentalrz
How does it work? All topics or single selected topics?
all topics from a selected forum are hidden. the only thing you can see is the topic title until you reply.
Reply With Quote
  #19  
Old 06-28-2005, 04:30 PM
flup's Avatar
flup flup is offline
 
Join Date: Jan 2002
Location: Maastricht, NL
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works fine, just what I needed, Can U only try to fix the way it looks?

You know, showing the post but ONLY replacing the postcontent....
Reply With Quote
  #20  
Old 06-28-2005, 04:37 PM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by flup
Works fine, just what I needed, Can U only try to fix the way it looks?

You know, showing the post but ONLY replacing the postcontent....
gonna look into it. remember this wont hide the topic from the archive, or keep users from subscribing the topic.
Reply With Quote
  #21  
Old 06-28-2005, 05:06 PM
flup's Avatar
flup flup is offline
 
Join Date: Jan 2002
Location: Maastricht, NL
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why don't u finish it, it's a great hack if you make these features...
Reply With Quote
Reply

Thread Tools

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 03:20 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.06582 seconds
  • Memory Usage 2,298KB
  • Queries Executed 25 (?)
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
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete