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)
-   -   Miscellaneous Hacks - [CMS] Use original thread for comments (https://vborg.vbsupport.ru/showthread.php?t=230417)

Reeve of shinra 07-21-2010 03:40 PM

Quote:

Originally Posted by Carnage- (Post 2072399)
I'm struggling to reproduce the double/triple posts; it could be a conflict with another mod; what else do people have installed?

The ones that are active while I experienced the issue are:

Separate Sticky and Normal Threads
vBH - Add new tabs 1.2
vMoods By luqmanamjad.com
... and of course the vbulletin CMS and Blog.

SpankMe 07-21-2010 09:59 PM

Although many users report and I occasionally get double posts on my live site that I access via the internet, I do not get the problem on my synced copy of my site which I access via my home intranet. They both run on the same OS & software versions.

Too many mods, both downloaded and written myself to list.

I've disabled Quick Reply until the problem is sorted.

daveaite 07-22-2010 03:50 PM

Nah, its definately double posting on my site as well. (http://buypoe.com) After I disabled it, the double posting went away.

My question is why isnt this mod already built into vBulletin. seems wierd that CMS wouldn't attach the comments to the original thread...

So

#1 This Mod currently causes double posting on version 4.05 and 4.04 (it's worst on 4.05)
#2 I haven't gotten blank posts though
#3 Disabling this mod will make double posting go away.

carrlos 07-24-2010 01:23 AM

This is too weird. I don't have any double or triple posting but have all blank text (except for smilies) in the CMS. Is that happening to anyone else or just me?

Edit:
Quotes are working along with the smilies.
http://img823.imageshack.us/img823/158/cmserror.gif

BozzaJos 07-24-2010 12:57 PM

I'm experiencing double posts as well but no blank posts. When I have a double post, I get this error message as well.

When I look at Reeve of shinra's list, I have Separate Sticky and Normal Threads and vBH - Add new tabs 1.2 installed as well. I don't have the vMood mod installed.

Perhaps this info can be of any use...

Carnage 07-24-2010 10:30 PM

just looked at http://www.iphonemodding.com/forum/c...h-Make-It-Work (the thread you screenshotted) in my browser (FF3.6.7, winxp) I can view the comments fine.

I think I may be close to finding the source of the other problems with this mod; I went into the source code and compared it side by side with vb 4.0.3 Where once there was this:
Code:

vb_Search_Indexcontroller_Queue::indexQueue('vBForum', 'Post', 'index', $msgid);
There is now this:

Code:

                        if (isset($vbulletin->options['vbcmsforumid']) AND $foruminfo['forumid'] == $vbulletin->options['vbcmsforumid'])
                        {
                                vb_Search_Indexcontroller_Queue::indexQueue('vBCms', 'CmsComment', 'index', $msgid);
                        }
                        else
                        {
                                vb_Search_Indexcontroller_Queue::indexQueue('vBForum', 'Post', 'index', $msgid);
                        }

It seems that there is an intention to separate forum posts and CMS comments even further as they are now different content types. I'm sure that this is the root of the issues with this mod, however I've yet to figure out what its doing to cause them. :(

carrlos 07-25-2010 02:56 AM

Quote:

Originally Posted by Carnage- (Post 2074045)
just looked at http://www.iphonemodding.com/forum/c...h-Make-It-Work (the thread you screenshotted) in my browser (FF3.6.7, winxp) I can view the comments fine.

What can I do to make the comments viewable in Internet Explorer? Any ideas? :confused:

I just confirmed that not only does it work in Firefox but it also works in Safari (PC and iPhone).

Edit:
I turned off the Compatibility View in IE8 and now I can see everything fine. :up: Carnage- do you know of a fix that will allow the comments to be viewable whether that button is selected or not?

Summary: The hack works fine. No double or triple posts (must be a conflict with a different hack for affected users). If Compatibility View is selected in IE8 (probably IE7 too) then comments cannot be seen. This is not an issue in other browsers (Firefox, Safari).

Carnage 07-25-2010 12:09 PM

With the compatibility mode thing; it suggests that it may be an issue with your css and nothing to do with this mod.

@others: what is your setting for queue search updates under message searching options?

carrlos 07-25-2010 01:39 PM

Quote:

Originally Posted by Carnage- (Post 2074213)
With the compatibility mode thing; it suggests that it may be an issue with your css and nothing to do with this mod.

I understand. I'm just wondering why I was able to have the compatibility button selected in 4.0.4 and didn't have the issue and now on 4.0.5 I do. I have not added any custom CSS to my installation neither before the upgrade or after.

Can you point me in the right direction? :rolleyes:

Reeve of shinra 07-25-2010 07:02 PM

Quote:

Originally Posted by Carnage- (Post 2074213)
@others: what is your setting for queue search updates under message searching options?

Admincp -> Options -> Message Searching Options

Queue Search Updates = "NO"


I'll give you admin access if you want.

Ozymandyus 07-25-2010 08:53 PM

Quote:

Originally Posted by Reeve of shinra (Post 2074383)
Admincp -> Options -> Message Searching Options

Queue Search Updates = "NO"

Same here, set to "NO".

Carnage 07-26-2010 12:06 AM

ugh... I was hoping for a yes.

What I'm considering for a temp fix is to use the suggestion posted a while back; to limit clearing the cache to times when a post is made via the CMS and including the 301 redirect from forum thread to cms article by default.

I dunno how that sounds as a solution?

carrlos 07-26-2010 01:20 AM

Quote:

Originally Posted by Carnage- (Post 2074493)
ugh... I was hoping for a yes.

What I'm considering for a temp fix is to use the suggestion posted a while back; to limit clearing the cache to times when a post is made via the CMS and including the 301 redirect from forum thread to cms article by default.

I dunno how that sounds as a solution?

Please keep those of us in mind that have a working installation. ;)

ArchAngelz 07-30-2010 05:02 AM

I was wondering if it is possible to enhance this mod to be such that we can "demote" (for what of a better word) an article to a forum thread specified.

The reason for this is that I get articles from writers who do not post in the forums, and neither do they have forum accounts.

Hence, I start creating the articles in the CMS, but when its time for comments, they all go into that single comments subforum; which is bad because less people check that subforum. I'd prefer the comments go into a thread I can designate on a specific subforum so that the content will reach a more desired audience.

The other way is for me to first post it in the forum then promote it; but that would affect the users who do have a forum account (but still send me articles via email regardless) and the article now does not look like it is written by them.

I thought it may be good to have the functionality of an article get demoted to a forum post/thread functionality to make this complete.

Videx 07-30-2010 09:35 AM

Quote:

Originally Posted by ArchAngelz (Post 2076670)
The reason for this is that I get articles from writers who do not post in the forums, and neither do they have forum accounts.

Hence, I start creating the articles in the CMS, ...

I'm not sure I understand. In one sentence you imply you've given permissions for Guests to write articles, but in the next you talk about yourself creating articles. To solve the first, simply require membership to write articles. If you're creating the article, then don't - create a new thread instead, promote it to an article, and then flesh it out in the CMS.

Cadellin 07-31-2010 02:03 PM

Is there any news on a fix for the 4.0.5 bug? I love this mod and I'd like to wait until a fix is created before creating new articles however I'm not sure how much longer I can delay.

Thanks

Bigstack 08-02-2010 04:10 AM

Yea this causes a problem in 4.0.5. This Mod is Awesome and my site needs it Bad.

David Regimbal 08-02-2010 04:17 AM

I also am experiencing problems with this product using version 4.0.5 :( and I love this, lol
It just seems if I have it enabled then for some reason if someone posts, it will make it a double post - weird bug too because its not consistent, happens here and there. Though never happens when this product is disabled. I have not tried a double-post prevention mod yet though to see if that could act as a band-aid

Magnumutz 08-02-2010 10:42 AM

vBulletin CMS should be like this by default. This mod is awesome.
Hope someone will fix it.

carrlos 08-02-2010 01:24 PM

I'm curious as to why there are so many issues with double posting yet I have a working installation on 4.0.5. I don't think it's this mod. It must be a conflict.

Mooff 08-02-2010 03:12 PM

Quote:

Originally Posted by Magnumutz (Post 2078076)
vBulletin CMS should be like this by default. This mod is awesome.
Hope someone will fix it.

#2


The CMS in our Forum is deactivated until a "comments in forum and CMS" function is working. Hope this addon will be fixed soon.

argothiusz 08-04-2010 11:51 PM

Still no fix? :( I am dying for this mod to be working again lol

sticky 08-05-2010 04:35 AM

Quote:

Originally Posted by argothiusz (Post 2079405)
Still no fix? :( I am dying for this mod to be working again lol

LOL, I love it too. I'm not upgrading until I know it works in the newer versions, 4.0.2 is fine for me for now.

Ohiocustoms 08-05-2010 11:39 PM

I miss this mod too. I know it's not the same but this might help till this mod gets fixed. It's the best I could do from having everything scattered.
https://vborg.vbsupport.ru/showthread.php?t=247758

JonSidneyB 08-06-2010 02:39 AM

I need this Mod....I just posted on vB.com asking how to do this.

ArchAngelz 08-06-2010 02:48 AM

They will tell you that this is not a functionality in vbulletin and that any mods must be discussed at vb.org.

JonSidneyB 08-06-2010 02:56 AM

I am still on vB4.0.3

They way I understand it this does work on 4.0.3? If so I will stay put not upgrade.

Let me see if I understand this mod.

The things I have on the CMS I want to get a lot of attention but I don't want to take away from the forum.

Does this allow but comments in the CMS and replies to the threads. What I mean is comments are not both a comment and a post? Then posts are both a reply and a comment.

It would be fantastic of the information was in both places as people seeing the front page will find it and people in the forum will find it.

Videx 08-06-2010 03:04 AM

Quote:

Originally Posted by JonSidneyB (Post 2079899)
They way I understand it this does work on 4.0.3? If so I will stay put not upgrade.

There's a huge problem with that strategy. Namely, that tons of bugs have been fixed in later versions. While this mod is a convenience, it's by no means a necessity.

I sure wish the author would mark it as 'reusable code' if they aren't going to update it themselves. Not that I've seen anyone else clamoring for the opportunity.

JonSidneyB 08-06-2010 03:08 AM

I was going to wait on 4.0.6 anyway. I think the revenue it would help generate even for only a couple of weeks would be worth it.

That is if it does what I think it will do.

Is there another way to have matching information in a thread and in the CMS. Even if it is manual I will do it.

If it makes any difference I am the only one that starts articles but others can comment.

FighterO'Foo 08-06-2010 03:30 AM

Probably the simplest mod I've ever installed. Uploaded the product and it worked straight away, no messing about. Brilliant stuff.

JonSidneyB 08-06-2010 03:34 AM

Quote:

Originally Posted by FighterO'Foo (Post 2079910)
Probably the simplest mod I've ever installed. Uploaded the product and it worked straight away, no messing about. Brilliant stuff.

What version of vB are you using?

daveaite 08-06-2010 09:40 AM

Quote:

Originally Posted by JonSidneyB (Post 2079911)
What version of vB are you using?

Definitely not the one were using :P (4.05)

Videx 08-06-2010 01:19 PM

Quote:

Originally Posted by daveaite (Post 2079987)
Definitely not the one were using :P (4.05)

Nothing drives me crazy quite so much as when, in the middle of a hundred people pointing out problems someone jumps in with a quick "Thanks!" or "Works perfect!", then says nothing else. I mean, did they bother reading the dozens of posts before theirs detailing all the problems? Who knows? The guy might have installed it on 405 and just doesn't yet have any idea it's not working.

JonSidneyB 08-06-2010 06:05 PM

I messaged him. He is using it with 4.0.3

I will give it a try. If this works well on 4.0.3 I will delay 4.0.6 until a fix using this is ready for it.

JonSidneyB 08-07-2010 03:06 AM

I have it on my forum now and love it. This is fantastic. I am going to read this and see if I can find away to preserve the comments that existed before I loaded this.

I am on 4.0.3 however

sticky 08-07-2010 12:23 PM

Quote:

Originally Posted by Videx (Post 2079902)
There's a huge problem with that strategy. Namely, that tons of bugs have been fixed in later versions. While this mod is a convenience, it's by no means a necessity.

I sure wish the author would mark it as 'reusable code' if they aren't going to update it themselves. Not that I've seen anyone else clamoring for the opportunity.

You don't think it is a necessity, I do.

If they are going to have a CMS and comments, this is the way it should function. I won't upgrade unless this works with newer versions. Not having this is a bug in my opinion.

rossco_2005 08-07-2010 12:25 PM

Quote:

Originally Posted by Carnage- (Post 2074045)
just looked at http://www.iphonemodding.com/forum/c...h-Make-It-Work (the thread you screenshotted) in my browser (FF3.6.7, winxp) I can view the comments fine.

I think I may be close to finding the source of the other problems with this mod; I went into the source code and compared it side by side with vb 4.0.3 Where once there was this:
Code:

vb_Search_Indexcontroller_Queue::indexQueue('vBForum', 'Post', 'index', $msgid);
There is now this:

Code:

                        if (isset($vbulletin->options['vbcmsforumid']) AND $foruminfo['forumid'] == $vbulletin->options['vbcmsforumid'])
                        {
                                vb_Search_Indexcontroller_Queue::indexQueue('vBCms', 'CmsComment', 'index', $msgid);
                        }
                        else
                        {
                                vb_Search_Indexcontroller_Queue::indexQueue('vBForum', 'Post', 'index', $msgid);
                        }

It seems that there is an intention to separate forum posts and CMS comments even further as they are now different content types. I'm sure that this is the root of the issues with this mod, however I've yet to figure out what its doing to cause them. :(

This bug is affecting me too.
One plugin for this ("clear cache") is setting the vbcmsforumid to the id of the current forum, so that check you quoted thinks that this is the cms forum and that the comment should be indexed as a comment rather than post.
Haven't found a fix yet though. I just disabled the "clear cache" plugin, not sure what that will cause but it's better than having no posts indexed.

Videx 08-07-2010 12:51 PM

I wouldn't waste a lot of time trying to fix it because it's being changed again in 406.

djbaxter 08-07-2010 01:10 PM

Quote:

Originally Posted by Videx (Post 2080490)
I wouldn't waste a lot of time trying to fix it because it's being changed again in 406.

Yeah... "code, recode, revert code" seems to be vB policy of late... it's a joy. :eek:

C.Birch 08-08-2010 09:05 PM

I have a problem, when i set a forum to be used for the user comments, normal members are not able to view the forum they get 'Invalid Forum specified'.

Admin can see it fine, have checked forum settings and soon its removed from being the comments forum, users can see the forum.

Any ideas?


All times are GMT. The time now is 05:11 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.01608 seconds
  • Memory Usage 1,845KB
  • 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
  • (4)bbcode_code_printable
  • (16)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
  • (40)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