vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Show Thread Enhancements - Show First Post Only (https://vborg.vbsupport.ru/showthread.php?t=318588)

MarkFL 05-07-2015 09:00 PM

Show First Post Only
 
1 Attachment(s)
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.

https://vborg.vbsupport.ru/attachmen...1&d=1454473581

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.

https://vborg.vbsupport.ru/attachmen...1&d=1454473581

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.

https://vborg.vbsupport.ru/attachmen...1&d=1454473581

RichieBoy67 05-08-2015 04:59 AM

May be good for some sites but some sites would take a major seo hit.

MarkFL 05-08-2015 05:34 AM

Quote:

Originally Posted by RichieBoy67 (Post 2545091)
May be good for some sites but some sites would take a major seo hit.

Good point! :D

This add-on came about at the request of KGodel:

Reply but not View

He wanted this functionality for one particular forum on his site so that people could post about sensitive issues without others (except admins) being able to read their comments.

So, in light of Richie's astute observation, I would agree that this should be used as sparingly as possible. :)

Black Snow 05-08-2015 09:34 AM

This can almost be done by usjng forum permissions. Only difference I can see so far is members can see the first post by using this mod.

A large forum may take an SEO hit but you wouldn't use this on a forum wide basis. This could be used for post reporting, infraction reporting etc. good mod! Keep it up Mark!

Alan_SP 05-08-2015 03:22 PM

It certainly has many possibilities for using in special forums, where we don't want to have discussion between users, but still want to inform them about something. This mod enables certain privacy.

Maybe as feature request, that there's option to select usergroups which posts are seen normaly from everyone, e.g. from admins, moderators, or which ever usergroup we want it.

Special addition, to enable thread starters post to be also visible to all, if we choose so.

Only further thing, if possible, that we could create different rules for different forums, which would enable different use of this mod in different places.

MarkFL 05-08-2015 03:30 PM

Quote:

Originally Posted by Alan_SP (Post 2545129)
...Maybe as feature request, that there's option to select usergroups which posts are seen normaly from everyone, e.g. from admins, moderators, or which ever usergroup we want it.

Special addition, to enable thread starters post to be also visible to all, if we choose so...

These will be easy to add as options in the AdminCP settings for the product.

Quote:

Originally Posted by Alan_SP (Post 2545129)
Only further thing, if possible, that we could create different rules for different forums, which would enable different use of this mod in different places.

This may take a little more thought about the most efficient and intuitive way to go about implementing, but I think it is doable. :D

I truly appreciate your feedback and will do my best to add these features as soon as possible. :up:

Alan_SP 05-10-2015 03:09 PM

Thanks, that would make your mod more useful in creating special purpose forums and enable different usage patterns.

KGodel 05-13-2015 03:03 PM

This was exactly what I wanted and it works like a charm. Mark even got on my site and helped figure out the issue. Great mod, and some good ideas here for improvement! :D

ForceHSS 05-13-2015 03:18 PM

Works a bit like this mod but for guests only

Skyrider 06-04-2015 12:40 PM

I'd like to point out that using printable version, it still shows the additional replies ;).

MarkFL 06-04-2015 01:19 PM

Quote:

Originally Posted by Skyrider (Post 2547115)
I'd like to point out that using printable version, it still shows the additional replies ;).

Update: version 1.1
  • Affected users denied access to printable thread.

MarkFL 07-21-2015 02:10 AM

Update: version 1.2
  • Now fully compatible with "Hide BBCodes/Signatures From Guests/Users."

akz645 08-04-2015 04:05 PM

Quote:

Originally Posted by MarkFL (Post 2550901)
Update: version 1.2
Now fully compatible with "Hide BBCodes/Signatures From Guests/Users."

https://vborg.vbsupport.ru/external/2015/08/50.png

I installed 1.2, but it's still displaying as 1.1 @ Manage Products

& The settings it's showing 1.0

https://vborg.vbsupport.ru/external/2015/08/51.png

MarkFL 08-04-2015 04:22 PM

Thanks! I have fixed the version numbers. :)

akz645 08-04-2015 04:24 PM

Quote:

Originally Posted by MarkFL (Post 2552082)
Thanks! I have fixed the version numbers. :)

Thanks :)

@Mark
Did you implement Alan's suggestion into the mod, without including it in the update log? ;)
Quote:

Originally Posted by Alan_SP (Post 2545129)
SNIP

https://vborg.vbsupport.ru/external/2015/08/47.png

P.S=
https://vborg.vbsupport.ru/external/2015/08/48.png
I'm a little confused regarding ^that description.

Wouldn't this be valid:
https://vborg.vbsupport.ru/external/2015/08/49.png Hence the product is not "effectively disabled", is it?

MarkFL 08-04-2015 04:40 PM

Did you re-install the product? The section for configuring the forums shouldn't be there if you did. I ditched that idea. ;)

Uninstall it and then install it again...somehow that setting got in there by mistake.

akz645 08-04-2015 04:44 PM

Quote:

Originally Posted by MarkFL (Post 2552084)
Did you re-install the product? The section for configuring the forums shouldn't be there if you did. I ditched that idea. ;)

Uninstall it and then install it again...somehow that setting got in there by mistake.

You ditched it :O

I guess coding for it would take a long time/ is difficult...

And yeah, I just re-installed it and saw that it was gone :(

Oh well, I hope you do it in the future...

boss22 11-07-2015 10:17 PM

works not for me on vb 4.2.3

guests can see all posts - settings is ok but no efect.

regards

bosss

MarkFL 11-07-2015 10:31 PM

How do you have the settings set?

boss22 11-07-2015 10:35 PM

maybe i missunderstand this mod... should work to show only first post for guests ... but it show all posts in thread.

enabled mod and set yes to all forums.

regards

bosss

MarkFL 11-07-2015 10:50 PM

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. :)

boss22 11-07-2015 10:56 PM

PM sent!

regards

bosss

MarkFL 11-08-2015 01:30 AM

Quote:

Originally Posted by boss22 (Post 2558419)
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. :)

boss22 11-08-2015 08:54 AM

Thanks for help! Now works fine.

regards

bosss

Stratis 02-02-2016 07:24 PM

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 :D

MarkFL 02-02-2016 07:32 PM

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. :)

MarkFL 02-03-2016 02:30 AM

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.

MarkFL 02-03-2016 02:56 PM

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


All times are GMT. The time now is 04:54 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.01265 seconds
  • Memory Usage 1,800KB
  • 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
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (28)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