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 Full CMS Article in Comments Thread (https://vborg.vbsupport.ru/showthread.php?t=254333)

GamerPerfection 12-30-2010 08:39 PM

Awesome, removing the bit in red works! When I move it to anywhere in the forum it still keeps the content.

And no I don't move them to the same specific area, it can vary.

But thanks for helping me fix it. :)

mattysheff 01-15-2011 03:32 PM

Thanks for releasing this Lynne, its just what I've been looking for.

One question though, is it possible and if so how would I to it to only get it to show the text to signed in members. I've been trying to figure out how to do it myself but getting nowhere, as while its a user friendly feature, I don't want search engines to be able to see it as I don't want duplicated content listed in the search engines.

Lynne 01-15-2011 04:01 PM

Just add a condition to the plugin to only do it if the user is logged in - you can probably use the $show['member'] variable for that.

mattysheff 01-22-2011 05:03 PM

Thanks that works perfect.

tokenyank 01-22-2011 10:37 PM

This looks like a great mod - however, wouldn't this count against your SEO by having duplicate content?

Tagged for further investigation when it isn't 00:40! ;)

Lynne 01-22-2011 11:06 PM

Quote:

Originally Posted by tokenyank (Post 2153132)
This looks like a great mod - however, wouldn't this count against your SEO by having duplicate content?

Tagged for further investigation when it isn't 00:40! ;)

According to mattysheff, yes, which is why he asked the question and I told him to put the condition around it.

mattysheff 01-23-2011 07:04 AM

I've added this to the first bit:

if (THIS_SCRIPT == 'showthread' AND $show['member'] AND $this->thread['forumid'] == $this->registry->options['vbcmsforumid'] AND $this->post['postcount'] == 1)

It works perfect and only shows the content to members. I'm not currently using it though because I've got comment threads hidden because of the bug in vbulletin where if you future publish a article the comment thread is created immediately.

deverill2010 03-13-2011 03:37 PM

Hi Lynne and thanks for the mod but what exactly do you mean by -

Quote:

The person I wrote this for had forms in their articles and needed the submit button to be disabled, so this plugin does that also.
The ability to reply is removed??

Lynne 03-13-2011 04:28 PM

Quote:

Originally Posted by deverill2010 (Post 2172889)
Hi Lynne and thanks for the mod but what exactly do you mean by -

The ability to reply is removed??

No. This mod only effect the post text, nothing else.

traen 03-14-2011 02:37 AM

Installed, works great thank you Lynne! This should be default in vbulletin.


All times are GMT. The time now is 12:25 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.01200 seconds
  • Memory Usage 1,734KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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