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)

deverill2010 02-26-2012 11:06 PM

This seems to of stopped working for me.

If I move the article out of my dedicated vbcms forum it reverts back to the link and the article disappears out of the post?

Mark.B 02-26-2012 11:26 PM

Quote:

Originally Posted by deverill2010 (Post 2303753)
This seems to of stopped working for me.

If I move the article out of my dedicated vbcms forum it reverts back to the link and the article disappears out of the post?

I think the code is specific to the CMS comments forum - it isn't designed to work if the thread is moved elsewhere.

deverill2010 02-27-2012 04:09 AM

Quote:

Originally Posted by Mark.B (Post 2303758)
I think the code is specific to the CMS comments forum - it isn't designed to work if the thread is moved elsewhere.

Now that is really annoying lol.

It's fine I'll just delete it, post it as thread then promote it. Sigh, bleeding CMS.

Mark.B 02-27-2012 06:30 AM

You could always amend the code:

Code:

if (THIS_SCRIPT == 'showthread' AND $this->post['postcount'] == 1 AND $this->thread['forumid'] == $this->registry->options['vbcmsforumid']) {
I imagine if you took the last bit out of that it might work....
Code:

if (THIS_SCRIPT == 'showthread' AND $this->post['postcount'] == 1) {

deverill2010 02-27-2012 07:16 AM

Thank you mark works perfectly :)

Now If only I'd known that ages ago lol.

Kaishi 03-01-2012 05:29 PM

anyone know how to get this to work with 4.1.11 now that the comments are made to forums other than the cms comments forum?

Lynne 03-01-2012 05:47 PM

You can remove this from the if statement:
AND $this->thread['forumid'] == $this->registry->options['vbcmsforumid']

Unfortunately, there isn't any flag in the thread table to say the thread is an articles comment thread. I suppose you may be able to look at the thread title and see if it has the word"Article:" at the beginning and use that in the if statement so the query isn't run for every thread.

Kaishi 03-02-2012 05:25 PM

You know what's funny? Promoting from a thread to article only worked once for me. It worked and kept the original thread and prefixed it with Article:. After that 1 time, whenever I try to promote another thread, it would refuse to keep the original thread. I'm stumped.

Lynne 03-03-2012 05:17 PM

Quote:

Originally Posted by Kaishi (Post 2305414)
You know what's funny? Promoting from a thread to article only worked once for me. It worked and kept the original thread and prefixed it with Article:. After that 1 time, whenever I try to promote another thread, it would refuse to keep the original thread. I'm stumped.

This isn't really a suppor thread for the new CMS options. You do have three new settings on the page that you need to select before you promote the article if you want it to keep the original thread, so don't forget to set those correctly.

If you have more problems, you really should post over on vbulletin.com.

whitedd 03-17-2012 12:03 AM

...;)...now is perfect ;) ;) ;) ....thnx ;)


All times are GMT. The time now is 03:51 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.01822 seconds
  • Memory Usage 1,739KB
  • 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_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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