Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Show First Post Only Details »»
Show First Post Only
Version: 1.4, by MarkFL MarkFL is offline
Developer Last Online: Jun 2020 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.x.x Rating:
Released: 05-07-2015 Last Update: 02-02-2016 Installs: 13
Uses Plugins Auto-Templates
Re-useable Code Additional Files Translations  
No support by the author.

Overview:

This product will allow you to restrict users to seeing only the first post in a thread, (and their own posts so that they can review/edit). There are settings that allow you to exclude usergroups from this restriction and to choose in which forum(s) and thread(s) this restriction will apply.

You can set additional CSS for the message shown to users, alerting them that they are being restricted to seeing only the first post and their own posts.



In order for the restricted users to see only the first post and their own in the "Topic Review," you will need to install my Enhanced Thread Review.



In order for the restricted users to see only the first post and their own in the "View Forum Posts" search result list, you will need to install my Enhanced View Forum Posts (search results)

Updates:

Version 1.1:
  • Affected users denied access to printable thread.

Version 1.2
  • Now fully compatible with "Hide BBCodes/Signatures From Guests/Users."

Version 1.3
  • Forum and Usergroup selection updated to use multi-select scrollable menu.
  • Message shown to user can be customized via CSS in the settings, and the message itself is now a vB phrase.
  • Individual threads may now also be set as restricted.

Version 1.4
  • Added support for both "postbit" and "postbit_legacy" templates.

To Install:
  1. Download and extract the attached .zip file.
  2. Upload the contents of the "upload" folder to your forum root. If you have already installed my "Enhanced Thread Review" product (ver. 2.2 or higher) or you do not wish to install it, then you may skip this step.
  3. Follow AdminCP ► Plugins & Products ► Manage Products ► Add/Import Product.
  4. Click on "Choose File" and browse to the product xml file that was packaged in the .zip file.
  5. Click "Import"
  6. Set the product settings.

Download Now

File Type: zip MarkFL - Show First Post Only v1.4.zip (7.5 KB, 40 views)

Screenshots

File Type: png markfl_sfpo_message.png (4.4 KB, 0 views)
File Type: png markfl_sfpo_review.png (20.2 KB, 0 views)
File Type: jpg markfl_sfpo_acp.jpg (93.3 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
Alan_SP, SaN-DeeP, Stratis

Comments
  #22  
Old 11-07-2015, 10:50 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It prevents guests from seeing all but the first post of threads on both my vB 4.2.x dev sites. You didn't happen to check the checkbox associated with "Unregistered / Not Logged In" did you? Those checkboxes are to exclude usergroups from the actions of the product, which would allow them to see all posts.

If not, I would be happy to come to your site and take a look later tonight when I am in for the evening.

If you are okay with that, send me a PM with your site URL, and the login credentials for an admin account.
Reply With Quote
  #23  
Old 11-07-2015, 10:56 PM
boss22 boss22 is offline
 
Join Date: Oct 2012
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PM sent!

regards

bosss
Reply With Quote
  #24  
Old 11-08-2015, 01:30 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by boss22 View Post
PM sent!

regards

bosss
Okay, I believe I have the issue resolved. I had to declare $vbulletin as global in the plugins. Please let me know if everything is now working to your satisfaction.
Reply With Quote
  #25  
Old 11-08-2015, 08:54 AM
boss22 boss22 is offline
 
Join Date: Oct 2012
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for help! Now works fine.

regards

bosss
Reply With Quote
Благодарность от:
MarkFL
  #26  
Old 02-02-2016, 07:24 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just test it Mark, thanks.
What about if there is an option to put thread id, so all rules goes to those threads only.

And last one, how can I make this:
"(All Posts Except The First and Yours Are Hidden From View)"
non clickable, it is near the title of the post inside the thread and it has the url of the thread.
Hope I give you to understand
Reply With Quote
Благодарность от:
MarkFL
  #27  
Old 02-02-2016, 07:32 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That message is appended to the thread title, so it becomes part of the link. I agree that's not ideal, and I will look into changing this.

I will also look into allowing the definition of a comma-delimited list of threadids as well.
Reply With Quote
  #28  
Old 02-03-2016, 02:30 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update: Version 1.3
  • Forum and Usergroup selection updated to use multi-select scrollable menu.
  • Message shown to user can be customized via CSS in the settings, and the message itself is now a vB phrase.
  • Individual threads may now also be set as restricted.
Reply With Quote
  #29  
Old 02-03-2016, 02:56 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update: Version 1.4
  • Added support for both "postbit" and "postbit_legacy" templates.
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:27 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.05115 seconds
  • Memory Usage 2,328KB
  • Queries Executed 24 (?)
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)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (9)post_thanks_box
  • (5)post_thanks_box_bit
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (4)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete