PDA

View Full Version : Miscellaneous Hacks - [CMS] Use original thread for comments


Pages : [1] 2

Carnage
12-16-2009, 10:00 PM
As of 4.1.11 this functionality is included in vbulletin. So you no longer need this mod.

What does this do?
This is a really simple hack that sets the thread for article comments to be the original thread for any thread that is promoted to an article.

What can I use it for?
This mod has two major uses:

1. If you have a wealth of information in your forums and you want to promote it into articles, this mod allows you to retain the rest of the thread as comments in the cms while adding any new comments as replies to the thread; essentially allowing it to function as both a forum thread and a CMS article.

2. If you want to use multiple fourms for CMS comments. This is a fairly none obvious use case, but probably a popular one. If you have three sections in your cms (for example) and want each section to feed into its own forum, the current cms dosn't allow you to do this. With this mod installed, you can. Instead of creating your new article directly in the cms create it in the forum you wish to use for comments. Write your article as the first post of the thread and promote it to a cms article. Fill out the extra information needed (eg publish date) and save. Comments will be saved into the original thread, in the forum you created it in.

Installation Vb 4.0.1 and later
1. Import product

Uninstallation
1. Disable the plugin "set thread id"

Full uninstallation
1. Move threads that have been promoted to articles into the vbcms comments forum.
2. COPY the threads back to their original forums
3. Remove product

Steps 1 and 2 are needed to retain cache functions on the comments threads. Without them new comments will not appear on the article.

Changelog

4.0-0.1 a2

Fixed bug causing original thread to be delete when the article was deleted

4.0-0.1 a1

Initial release



Notes

I believe this is the first mod for the CMS (not including addon widgets/content types)
Removing this product entirly will cause issues with the cache on any articles using the original thread. Follow the uninstall steps to remove functionallity while retaining the ability to comment on these articles this mod has altered.
Although its compatible with vbulletin 4.0 Rc 4, a bug in RC 4 and 4.0.0 Gold (http://www.vbulletin.com/forum/project.php?issueid=33246) prevents it from acctually working. I have provided a replacement hooks_vbcms.xml file which corrects the issue in the interim. (fixed in vb4.0.1)
Deleting an article will remove the associated original thread This is considered a bug in this product and will hopefully be fixed with the next release. (fixed)
The above bug has been fixed, however pending this request: http://www.vbulletin.com/forum/project.php?issueid=34188 Thread tags for the original thread will still be removed. There is /nothing/ I can do about that until the issue listed is resolved. (this has been marked as fixed in 4.0.2; will update further when i've tested that its fixed.)
If you hard delete the original thread without first removing the article you will be affected by this bug: http://www.vbulletin.com/forum/project.php?issueid=34187 the fix I posted to that issue needs to be applied BEFORE deleting the original thread. After more research, this only becomes an issue if you promote a thread more than once. If you've done this, you can fix the error by clearing the CMS cache. (fixed in 4.0.1)


As of 4.1.11 this functionality is included in vbulletin. So you no longer need this mod.

buontaiviem
12-17-2009, 09:27 PM
Got big problem. When del article then it also del thread on Forum. I lost some threads for it :(
And comment from article is error Unicode font :(

Carnage
12-17-2009, 10:09 PM
Will fix the deleting problem asap; however there seems to be a lack of useful hooks for it.

Can you give me more details about the second problem?

mmcguire
12-17-2009, 10:24 PM
Installed on my test forum and it works great. Thanks!!

RadioErewan
12-18-2009, 08:05 AM
Would like to say "GREAT"!

buontaiviem
12-18-2009, 09:35 AM
Will fix the deleting problem asap; however there seems to be a lack of useful hooks for it.

Can you give me more details about the second problem?

I got second problem when i tested at my site. Now i testing at localhost, it run fine.
I will try again at my site after you fixed deleting problem.

dihuta
12-18-2009, 12:26 PM
Reserved for future use.
Thanks!

Carnage
12-18-2009, 01:56 PM
I've made a reasonable attempt to fix the deleting problem which has proved sucessful on my dev board. However you will still lose some data (thread tags) pending the hook I used being moved to a more sensible place.

Read the notes section for the other minor known issues. (and their fixes)

shadowedsoul
12-18-2009, 02:12 PM
This will be AMAZINGLY useful. It's honestly the way comments for promoted threads should act in the CMS.

Carnage
12-18-2009, 04:08 PM
This will be AMAZINGLY useful. It's honestly the way comments for promoted threads should act in the CMS.


I agree, which is why I made this mod. The only issue that I see is if you promote a post that isn't the first post in a thread - in that instance, the entire thread will be used for comments which might not be entirly relevant.

SillyAlien
12-18-2009, 11:24 PM
MOTM candidate. Easily!

... and Thank You!

Sean James
12-23-2009, 05:13 AM
Does this work with gold?

SpankMe
12-23-2009, 05:57 AM
Just what I need. :) Looking forward to further development of this mod. Would like to see the article displaying the original post as well. That way when a member updates their post it will be reflected in the article as well.

Carnage
12-23-2009, 05:45 PM
Does this work with gold?

ive had no issues with gold so far; if you had this installed when you upgraded, you may need to upload the hooks_ file attached again as the vb upgrade will have over written it

BozzaJos
12-24-2009, 03:12 PM
Hi Carnage!

It's so strange that this isn't a default option in vBulletin. My question is if step 1 and 2 are still needed with the gold release? If not, you might wanna update your first post.

Another question is if you can tell me how the development is going for this mod? Will there be some improvements soon and worth the waiting? It's always nice to be kept up-to-date.

I thank you for the time. All that's left to is that this is a great and must-have mod! Only reason why I don't just install it is because it's still in beta stage and since my vBulletin knowledge is pretty limited, I need fully tested products hehe. That's why I leave this reply. I hope you understand.

Keep up the good work!

Carnage
12-24-2009, 05:40 PM
My question is if step 1 and 2 are still needed with the gold release? If not, you might wanna update your first post.

Yes, unfortunatly, steps 1 and 2 are required with gold. The bug is listed as fixed for 4.0.1

Another question is if you can tell me how the development is going for this mod? Will there be some improvements soon and worth the waiting? It's always nice to be kept up-to-date.

There aren't likely to be more features. Its a very simple mod, it does exactly what its meant to, nothing more. If people find bugs, i'll fix them, if vb updates break this mod, i'll get it working again. Other than that, i can't see much development thats needed.

Only reason why I don't just install it is because it's still in beta stage and since my vBulletin knowledge is pretty limited, I need fully tested products hehe.

I think all of my mods are in beta stage; generally, my mods are used on my own sites, i release them as betas as I've no idea how they'll act in the wild... I'd say my betas are probably as good as most mods on the site; they may never leave beta if i don't get enough feedback on how well the work (as a comparison, most of googles apps are in beta, gmail was in beta for 5 years)

Booth
12-24-2009, 06:14 PM
This really should be a default feature of vBulletin 4 - I suggested it months ago, grrrr!

BozzaJos
12-24-2009, 08:20 PM
Thanks for the quick and detailed reply Carnage! Always fantastic to see such quality support...

I hope you don't mind that I ask a couple more things? I'm still a bit unclear how this mod actually works. Let me start by telling what my favorite method would be (within the possibilities of the CMS of course / hopefully). I would like to add articles on the CMS and promote threads on the Forum as an article. From what I know, the only possibility to have comments enabled in the CMS is to select 1 single section where the forum thread should be created. This is for me not very handy since I have many different sections and can't have all discussions placed in one single forum section. For that, I did have a solution. If possible, I want to select a section which isn't viewable on the Forum and isn't open for new posts (so only threads by staff members). This will keep the comments on the CMS and only one article. Perfect for the news articles.

But we have a lot of members who posts quality articles on the Forum so I need to use the "Promote to Article" button as well. Is this where your mod comes in action? And is it possible to combine this mod with the things I told above?

I hope you get my situations and I would love to hear from you if and how this mod can help me.

Thanks again for your time and sorry if I'm bothering you with all my questions.

Carnage
12-25-2009, 09:00 PM
i'm not 100% sure i've followed what you are trying to do but here is what this mod will do:

1. If you create an article in the cms, the comment thread will appear in the cms comments forum as defined in vb options.

2. If you promote a blog post, there will be a comments thread created in the cms comments forum.

3. If you promote a Forum post the thread that that post comes from will be used for the comments.

-----------

If you want multiple forums to contain the posts from articles; heres how you can do it with this mod.

1. Instead of creating a new cms article Create a forum post in the forum you wish to use for comments for that article.
2. Promote the post to an article.
3. The thread you created will be used for comments.

daveaite
12-26-2009, 04:29 AM
This should definately be part of vbulletin gold. TSK TSK

peleh
12-30-2009, 09:26 PM
Caused some problem here:

Fatal error: Call to a member function register() on a non-object in /home/xxxx/xxxxxx.com.br/forum/packages/vbcms/comments.php on line 706

linuxututs
12-31-2009, 04:19 AM
This will become the MOTM ! "Subscribed To Thread"

A must have here for-real...

Thanks,

buontaiviem
12-31-2009, 12:04 PM
It give error unicode utf-8 font when leave comment on CMS but without error when reply on theard at forum.

Can you fix it?

RadioErewan
12-31-2009, 12:50 PM
It give error unicode utf-8 font when leave comment on CMS but without error when reply on theard at forum.

Can you fix it?

Isnt it vB error?

Carnage
12-31-2009, 01:54 PM
Caused some problem here:

Fatal error: Call to a member function register() on a non-object in /home/xxxx/xxxxxx.com.br/forum/packages/vbcms/comments.php on line 706

This can happen due to a bug in the cms; only fix for it i've found so far is to clear the cms cache from the admin cp; it should be fixed in vb 4.0.1

Carnage
12-31-2009, 02:25 PM
It give error unicode utf-8 font when leave comment on CMS but without error when reply on theard at forum.

Can you fix it?

Not sure about this one... I think it may be something vbulletin related however...

Boots
12-31-2009, 02:30 PM
Thank god someone stepped up to provide basic functionality that should have been there in the first place.

Boots
12-31-2009, 02:53 PM
1. Make a backup copy of includes/xml/hooks_vbcms.xml

Does this apply to GOLD PL1?

Dygear
12-31-2009, 07:33 PM
That is a job done outstandlying well, if you need any help I would be more then willing to help with support. MOTM for sure!

buontaiviem
12-31-2009, 08:22 PM
Not sure about this one... I think it may be something vbulletin related however...

Thanks, i will try find something on VB CMS code :)

Carnage
01-01-2010, 12:54 PM
Does this apply to GOLD PL1?

Yes. I will update the first post once vb release a version with the issue fixed.

Thanks, i will try find something on VB CMS code :)

If it dosn't get fixed along with the friendly urls supporting proper utf-8 encoding etc, i'll look into this more myself, However I think the only result of my looking into it will be to submit a bug report to vb.

GeorgeB85
01-01-2010, 01:01 PM
Does anyone know if all the issues have been fixed yet?

buontaiviem
01-01-2010, 02:23 PM
Yes. I will update the first post once vb release a version with the issue fixed.



If it dosn't get fixed along with the friendly urls supporting proper utf-8 encoding etc, i'll look into this more myself, However I think the only result of my looking into it will be to submit a bug report to vb.

Yes, if you find a bug, please report to vb fix it.

Sarcoth
01-01-2010, 03:34 PM
Awesome mod Carnage. I have to agree with the others, this is a basic functionality that should already be a part of Gold. Thanks for making this mod.

Carnage
01-01-2010, 05:07 PM
Does anyone know if all the issues have been fixed yet?

The deleting original thread issues has been /mostly/ fixed (it unfortunaltly still deletes tags attached to the thread, and will do untill vb move one of the hooks i'm using to a slightly more sensible place.

Issues with character encoding remain; but i'm waiting on the next vb release to see if that fixes this along with the friendly urls.

The issue with the hooks file you have to upload still exists, but uploading the file provided here fixes it.

Verionia
01-03-2010, 01:59 AM
Will download this once bugs are fixed :)

Morrus
01-04-2010, 04:34 PM
This ia a great idea! I was actually very surprised to find out that promoting things to article status didn't work that way be defult, as it seems very obvious.

For me at least I'd need it to do the same with blogs as it does with forum threads. I'm far more likely to promote a blog post when one of my columnists writes an article, and having all the comments being on one place under the blog entry rather than in two places makes much more sense.

Carnage
01-06-2010, 02:44 PM
Its much harder to do with blog posts; as the comments for blog posts are stored separatly from the beggining. It might be something I look at doing when i've got more time; but right now I can almost certainally say that there won't be hooks in the right places to perform the task without code edits.

meissenation
01-06-2010, 05:16 PM
Installed and promoted a thread to an article with no problems. Thanks!

Question and pardon me if it's stupid - if I promote a thread that already has a bunch of replies will it break anything?

Carnage
01-06-2010, 07:22 PM
You'll get unexpected results if you promote the second post of a thread; (eg the first post won't be shown at all but all the rest of the comments (including the second post) will be) but otherwise it should be fine; better yet, the existing posts in the thread will also be shown as comments as soon as the article is published.

meissenation
01-07-2010, 12:59 AM
Perfect - exactly as I had hoped it would work. THANKS!!!

carrlos
01-07-2010, 04:25 AM
Can you explain the difference between 'Uninstallation' and 'Full uninstallation' please?

Carnage
01-07-2010, 12:03 PM
Uninstallation disables the products functionallity; that is any threads promoted after performing the uninstallation steps will have a comments thread made in the comments forum for them. Existing threads that have been promoted however would cease to work (eg comments wouldn't get updated onto the article). Full uninstallation enables you to totally remove the product without breaking the articles you promoted while having the mod enabled.

bamaster
01-12-2010, 05:40 PM
Ok, I must be doing something wrong. I can't get it to work.

I installed it, as described. I went into one of my forums and into a thread with multiple replies. I promoted the first post to an article. Clicked save. But no comments are seen in the CMS. Is there anything I have to select before saving?

Thoughts?

NeptunoGP
01-12-2010, 06:01 PM
deomo or screen?

Carnage
01-12-2010, 07:24 PM
I installed it, as described. I went into one of my forums and into a thread with multiple replies. I promoted the first post to an article. Clicked save. But no comments are seen in the CMS. Is there anything I have to select before saving?


Things to check:
1. Post a comment to the thread you promoted: does it go into the original thread?
- If not double + triple check you did everything right; (esp the uploading of the custom hooks.xml file; it may not have overwritten the original)
2. Clear the CMS cache and see if posts appear.


deomo or screen?


I don't see how I can provide a screenshot for this; as it would look no different from the basic vbulletin 4 setup. A demo is also difficult, as it uses what is essentially admin functionallity

buontaiviem
01-12-2010, 08:41 PM
Carnage-, Are this bug fixed on ver 4.0.1 yet? or only about hooks fixed.

Carnage
01-12-2010, 09:32 PM
hooks are deffinatly fixed; deleting the thread before deleting the article should be fixed (along with a whole host of other bugs caused by doing things like deleting your cms comments forum) but i've not had chance to verify this yet. The issue with tags being removed if you delete an article i've not had chance to verify either way - it may not even have been looked at. (i'll go check the bug report now)

Blackhat
01-12-2010, 11:20 PM
is the "deleting thread" problem fixed ?

Carnage
01-13-2010, 08:26 AM
until the hook is moved, deleting an article will remove the tags from the original thread; the thread itself however will not be deleted.

bamaster
01-13-2010, 01:02 PM
Things to check:
1. Post a comment to the thread you promoted: does it go into the original thread?
- If not double + triple check you did everything right; (esp the uploading of the custom hooks.xml file; it may not have overwritten the original)
2. Clear the CMS cache and see if posts appear.

I did everything right, but I found the problem.

Before uploading your "hooks_vbcms.xml" file, I renamed the original file to "hooks_vbcms_backup.xml". I left it in the xml folder.

As soon as I deleted that backup file the hack worked. Go figure.

Thank you! I think this should be delivered code in the vBulletin package.

Lee Roberts
01-13-2010, 05:50 PM
Yea me to Ba, this MOD really should be in vB as standard.

Carnage im about to install this, i'm running 4.1 so do i still need to use the hooks_vbcms.xml file or ?

Thanks,
Lee

Lee Roberts
01-13-2010, 07:08 PM
Np...Carnage, it looks like they are no longer defined as admin hooks for the next version. I've changed the fixed version.

Cool so anyone about to install this, if your running 4.0.1 you wont need to replace the hooks_vbcms.xml file.

Carnage
01-13-2010, 08:17 PM
Ive updated the first post to reflect the new situation for 4.0.1

carrlos
01-14-2010, 01:09 AM
Not working for me. I am running 4.0.1. I tried it without the included hooks_vbcms.xml file and tried it with the file. I tried posting to the CMS thread as well as the original thread that I promoted from the forums but nothing happened.

Edit:
It started working only after reinstalled and re-promoted a thread. Thanks!

Edit2:
This thing is freakin' awesome!! Why hasn't everyone downloaded it??? :D

Carnage
01-14-2010, 10:53 AM
Thanks for that feedback.

Did you install it on 4.0.0 and then upgrade to 4.0.1?

Dzi13
01-14-2010, 11:17 AM
is this only for vb cms or any other cms ?

Carnage
01-14-2010, 12:37 PM
It'll only work with the vbCMS.

Carnage
01-15-2010, 11:30 AM
Updated first post.

The only known outstanding bug left in this product is that if you delete an article that was promoted from a forum thread, it will delete the thread tags from the original thread. This has been marked as fixed by vbulletin, so it should be resolved in 4.0.2 or 4.0.3.

msimonds
01-15-2010, 05:04 PM
Works like a charm, thank you sir!!!

~Mike

carrlos
01-16-2010, 01:04 AM
Thanks for that feedback.

Did you install it on 4.0.0 and then upgrade to 4.0.1?

Yes, I installed with 4.0.0 then upgraded to 4.0.1. There was only one thread promoted and it wasn't working. I deleted it, then repromoted it and it started working.

Love it! :up:

argothiusz
01-16-2010, 01:43 AM
Installed. Perfect!

Carnage
01-20-2010, 10:22 AM
Yes, I installed with 4.0.0 then upgraded to 4.0.1. There was only one thread promoted and it wasn't working. I deleted it, then repromoted it and it started working.

Love it! :up:

It would probably have been sufficient to disable and reimport the product; I think its an issue to do with the fact that vb finially fixed the hooks.xml issue, rather than something thats likely to happen every upgrade.

If you do have issues, the first debugging step I'd suggest is clearing the CMS cache, that seems to fix 99% of problems. :)

Tony_FPM
02-01-2010, 08:25 PM
Outstanding!

Installed and working on vb4.

I hope Vb will have the same options in there next update's. I just need more forum cats to choose from when i want to use my website/cms optimal.

Thanks man!

VIPER-MAN
02-02-2010, 04:36 PM
I can't imagine why this isn't included as standard with the vB product, I mean why seriously would you have a CMS article with comments, and a thread with comments ... that is like having two conversations about one topic in two different rooms. From a UI perspective, it makes no sense and this product bridges that gap. Thank you for such a great mod!!

Videx
02-04-2010, 12:02 AM
why seriously would you have a CMS article with comments, and a thread with comments ... that is like having two conversations about one topic in two different rooms.Actually, I just thought of a practical use for two versions. We want a thread about Snow Removal Services that local plow people can post to with their phone numbers. But already after the first post people have started chattering. I can see where, in order to make the article useful, we would delete all the chatter, leaving only the advertisers.

But in the forum, we expect people to chatter away.

ThorstenA
02-04-2010, 08:43 AM
That should be build - in!

pitt34
02-06-2010, 07:20 AM
The best and the most useful mod ever!

Respect.

meissenation
02-10-2010, 12:37 PM
Is there any way to make it so the link to the "Read More" will go to the thread instead of the CMS? I promoted a thread to CMS that had a poll in the thread - I promoted it to an article to announce that voting has begun. If they click Read More, it takes them to the comments but they then obviously don't see the poll.

Carnage
02-10-2010, 09:00 PM
I think thats a case of a template change; but i'd have to look into it further.

swiftor
02-13-2010, 02:32 PM
Does this hurt SEO? Since you have the same comments in two places?

Carnage
02-13-2010, 07:44 PM
that is already the case, as vbulletin stock uses a forum thread for comments

NashChristian
02-15-2010, 12:32 PM
This is absolutely ESSENTIAL! Nominated for MOTM!

This should be CORE vB!

Front Range 4x4
02-15-2010, 01:54 PM
Very nice, thanks!

carrlos
02-18-2010, 12:34 AM
Is this working with 4.0.2?

Edit:
Installed 4.0.2 and lost all content on the Home page (i.e. lost threads promoted to articles). But if you click on a section, they're there.

Fixed:
1. Edit Home page
2. Go to Section Information > Content From
3. Choose Include Sub-Sections

Tested:
Everything works fine still! :up:

djbaxter
02-18-2010, 03:34 AM
If I have forum posts promoted to articles BEFORE I installed this add-on, will it work for those previously promoted articles?

Or do I need to go and undelete them and then re-promote them with this add-on installed?

sticky
02-18-2010, 04:29 AM
There are two files, which one do I use 4.0.1?

Carnage
02-18-2010, 09:09 AM
Edit:
Installed 4.0.2 and lost all content on the Home page (i.e. lost threads promoted to articles). But if you click on a section, they're there.

Fixed:
1. Edit Home page
2. Go to Section Information > Content From
3. Choose Include Sub-Sections

This would be caused by changes to vbulletin; not by this mod.


Tested:
Everything works fine still!


Thanks for letting everyone know; i've not had chance to upgrade to 4.0.2 yet. 4.0.2 should fix the one remaining issue with this product - deleting an article that was promoted from a thread removes the tags from the thread.


If I have forum posts promoted to articles BEFORE I installed this add-on, will it work for those previously promoted articles?


Unfortunatly not, this only works on threads promoted after the mod is installed. You will need to repromote articles for it to work.


There are two files, which one do I use 4.0.1?

You only need the product file for 4.0.1 and above. The additional file (hooks_vbcms) fixes a bug that prevents this mod working in 4.0.0 and below.

Don't forget to hit install if you are using this product :)

NashChristian
02-18-2010, 09:45 AM
So is this compatible with 4.0.2 as it stands currently?

Thanks! Love this mod!

Carnage
02-18-2010, 10:03 AM
A user has reported that it works on vb 4.0.2; there is no reason why it shouldn't, however i've not personally tested in on 4.0.2 yet.

KProjects
02-18-2010, 10:15 AM
Yep - works with 4.0.2 - thanks!

installed -> http://www.twilightrumors.com

sticky
02-18-2010, 11:09 AM
Hmm, this does not work the way I envisioned.

Only one forum can be used? I want a promoted article from anywhere not just a designated comment forum to be linked to the thread posts.

Honestly, if the stupid CMS just took you straigt to the thread that without the article page that would be best....

sticky
02-18-2010, 09:30 PM
I uninstalled it but have this:

Active Users in
Topic:
There are currently users online (Highest: )

at the bottom, why?

swiftor
02-20-2010, 02:04 PM
Amen to that. Thats what vBadvanced did, wish there was an easy way to do it for the vb4 cms



Honestly, if the stupid CMS just took you straigt to the thread that without the article page that would be best....

NashChristian
02-20-2010, 02:57 PM
A user has reported that it works on vb 4.0.2; there is no reason why it shouldn't, however i've not personally tested in on 4.0.2 yet.

Have you personally tested it yet? We seem to be getting conflicting opinions, and after what I just went through AGAIN while upgrading to 4.0.2 (thanks to vB's great R&D team), I'm hesitant to activate any mods...

Can you confirm if this seems to perform as you expect? Even if the uninstall issue isn't fixed, if it is running solid, that would be helpful to know.

Thanks again, love the mod! (I don't say that much...)
:D Jeff

Bob_R
02-20-2010, 09:02 PM
Thanks.

Nothing for it in AdmipCP > Settings > Options just use it from the front end?

djbaxter
02-20-2010, 09:17 PM
Thanks.

Nothing for it in AdmipCP > Settings > Options just use it from the front end?

No options. It just does one thing. Installed = on. Uninstalled = off.

carrlos
02-21-2010, 12:21 AM
This works perfectly fine after upgrading to 4.0.2. The only thing I had to do was edit the Home page to "pull content from Sub-folders." Apparently that was changed by vB, no fault of Carnage-. I have promoted threads to articles, posted to the article, posted to the thread and all works as it's suppose to. :up:

Sador
02-21-2010, 01:26 PM
Hmm, this does not work the way I envisioned.

Only one forum can be used? I want a promoted article from anywhere not just a designated comment forum to be linked to the thread posts.

Honestly, if the stupid CMS just took you straigt to the thread that without the article page that would be best.... It doesn't do that?

Hm, disappointing. I agree, it should just use the thread automatically, no matter from where you're promoting.. too bad. I hope something like that will come eventually.

Front Range 4x4
02-21-2010, 05:42 PM
This works perfectly fine after upgrading to 4.0.2. The only thing I had to do was edit the Home page to "pull content from Sub-folders." Apparently that was changed by vB, no fault of Carnage-. I have promoted threads to articles, posted to the article, posted to the thread and all works as it's suppose to. :up:

Carrlos, did you have it installed and articles promoted before upgrading to 4.0.2? How exactly do you edit the Home page to "pull content from Sub-folders."

DivineMessenger
02-24-2010, 06:13 AM
Is there a way to make this mod auto promote all threads in a section to articles? Or is there another mod that does this that I could use with this mod?

carrlos
02-24-2010, 12:22 PM
Carrlos, did you have it installed and articles promoted before upgrading to 4.0.2? How exactly do you edit the Home page to "pull content from Sub-folders."

Yes, it was installed before-hand. Just click on the little "pencil" next to your home page name on the CMS page and it will take you to edit the page. You'll find it on the left-hand side under Section Information. ;)

Is there a way to make this mod auto promote all threads in a section to articles? Or is there another mod that does this that I could use with this mod?
Yeah, I wish it did that too. I hate having to promote each time. Then you get taken to the screen where you have to choose all the publishing options. It would be nice to have an auto-promote hack that you can preconfigure with your publishing options in advance through the admincp. :up:

Carnage
02-24-2010, 01:39 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=231422" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=231422</a> This mod allows for multiple promotions at once; its not automatic but it'll save you a bunch of time.

I've not verified its compatible, but provided it uses the vbulletin datamanagers for creating the articles, it should be.

cmeinck
02-24-2010, 02:04 PM
Does this mod work in vb4.0.2? EDIT: I see that users have no issues with 4.0.2

Has anyone heard of vB adopting this mod? Seems like the logical solution, rather than the current method of creating two discussion paths.

carrlos
02-24-2010, 02:38 PM
https://vborg.vbsupport.ru/showthread.php?t=231422 This mod allows for multiple promotions at once; its not automatic but it'll save you a bunch of time.

I've not verified its compatible, but provided it uses the vbulletin datamanagers for creating the articles, it should be.

I looked at it Carnage- and although it's a time saver for setting up a CMS page, it doesn't help in the long run. We need something that will automatically publish articles from new threads created in a predetermined forum (a la vBadvanced). It should also have predetermined publishing options. ;)

acanuck
02-25-2010, 04:39 AM
Is there a way to make this mod auto promote all threads in a section to articles? Or is there another mod that does this that I could use with this mod?


I third that! :)

sticky
02-25-2010, 06:25 AM
I uninstalled it but have this:

Active Users in
Topic:
There are currently users online (Highest: )

at the bottom, why?

Still having this problem after uninstalling...

Fifth Dimension
02-26-2010, 06:33 AM
Sounds like a great fix.

One question though -- Import Product where?

To the includes/XML/ folder via Filezilla? Or somewhere else? Kind of new to this...

Videx
02-26-2010, 06:47 AM
Sounds like a great fix.

One question though -- Import Product where?

To the includes/XML/ folder via Filezilla? Or somewhere else? Kind of new to this...Try the manual: http://www.vbulletin.com/docs/html/import_product

Fifth Dimension
02-26-2010, 07:41 AM
It WORKS!!! This modification is awesome!! Thank you, thank you, thank you!!

And if a noob to admin like me can figure out how to install it, then there is no reason why anyone who wants borg like perfection of symmetry between the forums and the CMS -- shouldn't install it either.

Install it now. :)

EDIT: LOL, I had eventually figured out what was meant by "Import Product", but thanks Videx. I think the manual will come in handy anyway though; didn't have a link to it before.

Carnage
02-26-2010, 08:49 AM
Still having this problem after uninstalling...

At the bottom of where?

I'm 99.9% certain that this mod was not responsible for that issue; what other mods do you have installed, have you edited any templates?

sticky
02-28-2010, 10:37 AM
At the bottom of where?

I'm 99.9% certain that this mod was not responsible for that issue; what other mods do you have installed, have you edited any templates?
Honestly, I did not install any other mods since installing your and when I removed it, it was still there. I'm 90% certain it is responsible ;) No template modifications made.

I really want to get rid of it.

The area I am referring to is at the bottom where it shows who's online.

carrlos
02-28-2010, 02:42 PM
Honestly, I did not install any other mods since installing your and when I removed it, it was still there. I'm 90% certain it is responsible ;) No template modifications made.

I really want to get rid of it.

The area I am referring to is at the bottom where it shows who's online.

You probably only just noticed it. ;)

Carnage
02-28-2010, 06:41 PM
sticky: can you give me a link to your forum?

This mod dosn't make any template changes at all. So if it were the cause its by some strange fluke especially as no-one else seems to have the problem

nekiw
03-01-2010, 03:17 PM
Is this correct:

I can only set one predefined forum that will keep thread as comments that I promote to article?
Or am I mistaken, or can I promote articles from all forums and the thread will still be used as comments?

let me know, thanx

Videx
03-01-2010, 03:56 PM
Or am I mistaken, or can I promote articles from all forums and the thread will still be used as comments?Any forum. sets the thread for article comments to be the original thread for any thread that is promoted to an article.

mfbmike
03-01-2010, 05:42 PM
I recently installed this mod on my site and love it. Thanks a lot dude.

Carnage
03-01-2010, 08:18 PM
just to clarify:

default behaviour for a promoted thread is to create a new thread in the CMS comments forum that all article comments go into.

This mod makes it so that instead of doing that the thread that was promoted is used for the comments regardless of which forum it was in when it was promoted. It also means that any existing replies to the thread get displayed as comments on the article as soon as its promoted.

Wird0
03-10-2010, 06:15 PM
Great Mod! Works fine on 4.02.

gorman
03-13-2010, 08:47 PM
Its much harder to do with blog posts; as the comments for blog posts are stored separatly from the beggining. It might be something I look at doing when i've got more time; but right now I can almost certainally say that there won't be hooks in the right places to perform the task without code edits.Hi Carnage! Would a donation prompt development in this direction. On the website I run I would really need unified comments for both promoted posts and promoted blog entries.

Name your price.

Cheers.

Carnage
03-13-2010, 11:30 PM
Hi Carnage! Would a donation prompt development in this direction. On the website I run I would really need unified comments for both promoted posts and promoted blog entries.


At this time, unfortunatly not; I will take a look and see how much work it would be, however i'm unoptermistic as to this working easilly and I've not got the time I think it'll take to get this to work to spend on it at the moment (I have a university masters project due in in a few weeks and have loads of work to do on that, so its not a matter of money.)

If anyone is interested; I added a plugin to this mod for my own forums that 301 redirects the thread to the article. Its not been tested much yet as the CMS is still mods+ only however if anyone is interested I can release the code.

gorman
03-14-2010, 08:18 AM
Thanks anyway. One question: would it be okay to take this mod and further modify it to reach our goals? Giving you the proper credit in the code, clearly.

Carnage
03-14-2010, 03:56 PM
I have to be honest here; any code which implements this for blogs as well would be substantially different from the code here. You are welcome to use my code as a guide, but I doubt it'll be much use to you.

GeorgeB85
03-21-2010, 01:14 PM
Doesnt work for mine....mine still go into the vbms cms section.

Carnage
03-22-2010, 11:12 AM
Do you have any other mods installed that effect the CMS?

Realise that the article goes to the CMS, but the comments should be pre populated with the threads replies and any new comments will be posted into the thread that was promoted.

archet1337
03-24-2010, 04:04 PM
I can't get this mod to work. I don't get any error or anything, when clicking submit the page loads for a while like normal and then the comment just vanish into thin air. Is not displayed in the article and not in the original thread.

Any pointers on what to do would be much appreciated.

Edit: I just had to resubmit the articles and it works perfectly. Kind of annoying, but no big deal :)

Great mod. Marked installed and rated 4/5 :)

Carnage
03-25-2010, 11:22 AM
The mod cannot work retro-actively unfortunatly; you have to have promoted articles after its installed for it to work.

karlm
03-31-2010, 10:32 AM
am i correct in understanding, for vb4.0.2 PL4, I only need to import tthe product, not backup/replace the hook?

Carnage
03-31-2010, 02:58 PM
correct. Follow the instructions for 4.0.1 and later.

I'll probably remove the old instructioins once 4.0.3 is released.

karlm
03-31-2010, 03:38 PM
Thank you - I've installed it, and it works great! Nice job... I hope you can find the will/time to update it along with VB releases.

rollerman
04-03-2010, 01:52 PM
Yes, it was installed before-hand. Just click on the little "pencil" next to your home page name on the CMS page and it will take you to edit the page. You'll find it on the left-hand side under Section Information. ;)


Yeah, I wish it did that too. I hate having to promote each time. Then you get taken to the screen where you have to choose all the publishing options. It would be nice to have an auto-promote hack that you can preconfigure with your publishing options in advance through the admincp. :up:A-freaking-men! I'm dying for an auto-promote that will bring (in the case of my site) the latest news right up front for both visitors and current members just logging in.

Thanks, Carnage, for this mod. This will greatly simplify things on my end. Like pretty much everyone else said, why this wasn't at least an option from the get-go is beyond me. That's about as intuitive as it gets.

joyboy2001
04-05-2010, 02:02 PM
Nominated ...

The way I see it, vBulletin IS a forum software and the CMS is addon functionality ... Discussions should be THE FIRST priority ...

vBulletin should have not created the mess of having 'Article comments' in the first place ... Discussions on all articles should take place within their own unique threads in their respective forums ... If vB is obsessed with showing the number of comments to the article, it should use the number of replies ...

Essentially, this mod would not have been required if vBulletin would have done it's job well ...

djbaxter
04-05-2010, 02:21 PM
Nominated ...

The way I see it, vBulletin IS a forum software and the CMS is addon functionality ... Discussions should be THE FIRST priority ...

vBulletin should have not created the mess of having 'Article comments' in the first place ... Discussions on all articles should take place within their own unique threads in their respective forums ... If vB is obsessed with showing the number of comments to the article, it should use the number of replies ...

Essentially, this mod would not have been required if vBulletin would have done it's job well ...

I agree totally. Add-ons should not take members or visitors away from the core, which is the forums.

rollerman
04-06-2010, 01:55 AM
OK, what am I doing wrong? I've re-read this thread three times, and I just can't figure it out. If it's just importing a product, then something seriously isn't working for me. When I try to import it to "./includes/xml/product.xml," I get "Invalid File Specified." I've deleted and re-downloaded the XML file from here to no avail.

What am I missing?

Videx
04-06-2010, 02:12 AM
OK, what am I doing wrong? I've re-read this thread three times, and I just can't figure it out. If it's just importing a product, then something seriously isn't working for me. When I try to import it to "./includes/xml/product.xml," I get "Invalid File Specified." I've deleted and re-downloaded the XML file from here to no avail.

What am I missing?You may be taking the instructions too literally. If the .xml file is in your downloads folder, you want to import it from there. And it ain't called 'product.xml' - it's currently called 'product-imhotek_useoriginalthread alpha 2.xml'.

rollerman
04-06-2010, 10:58 AM
You may be taking the instructions too literally. If the .xml file is in your downloads folder, you want to import it from there. And it ain't called 'product.xml' - it's currently called 'product-imhotek_useoriginalthread alpha 2.xml'.Doh!

I was trying to import hooks_vbcms.xml. :o


Thanks!

murekhalir
04-06-2010, 05:45 PM
Do you install both xmls?

Carnage
04-06-2010, 08:36 PM
no, the hooks xml is only required for older versions of vb4; if you are running 4.0.2 you just import the product.

Carnage
04-06-2010, 08:49 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=231422" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=231422</a> adds promote to the inline mod tools and works really well with this mod. Recommended for anyone looking for a quick and easy way to promote 100's of threads.

osayidan
04-06-2010, 09:38 PM
Any way for this to keep or somehow make use of the thread prefixes of promoted articles?

With this mod allowing threads from any forum to become an article, when you have a root category showing all recent articles contained within it, things get confusing.

For example on a news forum one might have forums for various geographical locations, and on the CMS one root section on the front page to show all the recent articles contain within it's sub categories, but without prefixes people have to click on an article to find out what sub category it is in.

Even just transferring the prefix into the article title automatically when clicking on the promote button would be awesome. People sometimes forget to manually add it when promoting and it causes confusion and requires people to go back and fix these errors.

carrlos
04-12-2010, 05:14 PM
Can someone confirm this works with 4.0.3? Thanks!

sbsforum.us
04-13-2010, 08:20 PM
Installed and working!!!

sbsforum.us
04-13-2010, 08:20 PM
Can someone confirm this works with 4.0.3? Thanks!

Confirmed works.

carrlos
04-18-2010, 08:02 PM
Confirmed works.

Thanks! Upgrading.............. ;)

Jnai
05-03-2010, 06:51 PM
Hi, the Mod is fantastic. Thanks!

A quick question: is there any way to set it to display "0 Comments" after articles that have not had any following forum posts?

Carnage
05-04-2010, 12:05 PM
A quick question: is there any way to set it to display "0 Comments" after articles that have not had any following forum posts?

Does it do that for articles posted in the cms? (ie not ones promoted from the forum) If it does, or there is an option to, i'll look into getting it to work the same with this mod.

Billspaintball
05-05-2010, 09:31 AM
This is brilliant.
Absolutly brilliant.

Why vB could not add this as a standard feature is beyond belief.

Thanks Carnage, this has helped heaps.
Nominated for MOTM :D

Weeds
05-07-2010, 05:45 AM
First thank you for the nice MOD, i already get the same problem with Array and i am using Host Gator. I do not know what the problem is if anybody find the problem with API please let us all know i am sure it is very simple.

biosclan
05-07-2010, 03:20 PM
This is on the to do list :)

J6488EEA8E90
05-08-2010, 01:31 AM
Simply Brilliant Mod. Will have my IT support install this for me!

sticky
05-24-2010, 01:07 PM
Nominated ...

The way I see it, vBulletin IS a forum software and the CMS is addon functionality ... Discussions should be THE FIRST priority ...

vBulletin should have not created the mess of having 'Article comments' in the first place ... Discussions on all articles should take place within their own unique threads in their respective forums ... If vB is obsessed with showing the number of comments to the article, it should use the number of replies ...

Essentially, this mod would not have been required if vBulletin would have done it's job well ...

Exactly, EXACTLY, why in the hell do the people at Vbulletin not understand this.

sticky
05-24-2010, 01:15 PM
just to clarify:

default behaviour for a promoted thread is to create a new thread in the CMS comments forum that all article comments go into.

This mod makes it so that instead of doing that the thread that was promoted is used for the comments regardless of which forum it was in when it was promoted. It also means that any existing replies to the thread get displayed as comments on the article as soon as its promoted.

I'm taking another look at this mod but when I had it installed last that is not how it worked or maybe I was using it wrong.

Don't you need to have a specified forum for comments? As in, you can't just promote any thread from any forum and that original thread will serve for comments?

fcherub
05-24-2010, 03:49 PM
Excellent, I've been looking for this...
should be default
nominated and rated 5 star :)
thanks

mmacrypt
05-25-2010, 03:55 AM
I've also installed and love it so far, thank you for this mod.

Carnage
05-25-2010, 10:08 AM
Don't you need to have a specified forum for comments? As in, you can't just promote any thread from any forum and that original thread will serve for comments?

You still need the cms comments forum; comment threads for articles that are created normally go in there. This only effects the comment threads for articles that were promoted from the forums.

Ohiocustoms
05-26-2010, 12:07 AM
Nominated

Thank you.

mitch84
06-09-2010, 12:58 PM
thank you, installed

cbehan
06-11-2010, 03:26 AM
GREAT mod. love it.

Installed and nominated!

wcguy
06-18-2010, 03:06 PM
I disabled this mod in the product manager before updating to 4.0.4 and when I went to re-enable I received this error message......

The following products are required by Use Original Thread for Comments and must also be enabled:
1.vBulletin CMS
To continue enabling all these products, click here.


Since I already have the CMS enabled, I am unwilling to click the "enable all these products" link for fear of creating a duplicate type bug/scenario......

I love this mod. Any advice?

wcguy
06-18-2010, 03:21 PM
Crud. Even with the mod disabled, users can ad comments to an article promoted from the forum in the CMS, but then those comments won't show up on the CMS, even though the comment count is correct.

I'll have to think of a work around.

carrlos
06-18-2010, 10:00 PM
Will there be 4.0.4 support on this mod?

wcguy
06-19-2010, 12:48 PM
well, I ignored the error and re-enabled, so far everything seems fine.

swiftor
06-19-2010, 04:16 PM
You can vote for this to be fixed by the vbulletin guys here: http://tracker.vbulletin.com/browse/VBIV-952

Issue has been open for a while. I appreciate the effort the mod creator put into this, but it really should be something that's there by default.

Please vote.

carrlos
06-19-2010, 04:42 PM
You can vote for this to be fixed by the vbulletin guys here: http://tracker.vbulletin.com/browse/VBIV-952

Issue has been open for a while. I appreciate the effort the mod creator put into this, but it really should be something that's there by default.

Please vote.

I voted and think that everyone with this mod installed should vote too. I'm surprised that there are comments there in support of having this built into vB but none of the authors of the comments have voted. :rolleyes:

Sooooo.........

Can anyone confirm 4.0.4? ;)

KURTZ
06-19-2010, 05:51 PM
You can vote for this to be fixed by the vbulletin guys here: http://tracker.vbulletin.com/browse/VBIV-952

Issue has been open for a while. I appreciate the effort the mod creator put into this, but it really should be something that's there by default.

Please vote.

just voted, but need improvements ... :)

wcguy
06-19-2010, 11:07 PM
Since the "bug" has been labeled scrubbed, I doubt voting on it will help. A new bug report as a major item, then voted on, would be better.

Videx
06-19-2010, 11:36 PM
Since the "bug" has been labeled scrubbed, I doubt voting on it will help. A new bug report as a major item, then voted on, would be better.It says 'scrubbed' simply means 'verified', not 'fixed' or 'forgotten'.

I admit I thought I was voting for a feature, not a bugfix. All bugs should be fixed, regardless of votes.

carrlos
06-20-2010, 12:41 AM
4.0.4 compatibility confirmed. No need to disable the hack. Just run the normal upgrade process. As usual, make a db backup first to be on the safe side. ;)

Carnage
06-21-2010, 11:36 AM
Sorry, I've been away this weekend.

@wcguy: it requires the CMS to work, thats fairly obvious, if you are sure its enabled (they probably did something annoying like changing the productid in 4.0.4) you can remove the dependancy by editing the original thread mod. Then it'll re-enable just fine.

EDIT: added my own support to the bug report :)

naisho
06-23-2010, 02:46 PM
A new bug has appeared since the release of version 4.0.4
When we reply to a topic we get this kind of error before being redirected:

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in [path]/packages/vbdbsearch/indexer.php on line 69

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in [path]/packages/vbdbsearch/indexer.php on line 75

If I disable this mod only, no more bug.

This appears only if we reply in advanced mode, not in quick reply.

Cadellin
06-23-2010, 03:11 PM
I'm getting the first two errors but not the third.

naisho
06-23-2010, 03:32 PM
Me too. Just wrong copy and paste from me.

Bram H
06-24-2010, 07:20 AM
same errors for as naisho. is it damaging something if i just leave this mod enabled until a fix has been addressed?

Carnage
06-24-2010, 10:23 AM
I plan to update my boards to 4.0.4 this weekend; I'll find a fix then.

Exeter
06-25-2010, 05:08 AM
I love the idea. This is how article promotions should have worked from day one.

Does this mod work for articles I promoted before the install? If not, it should.

meissenation
06-30-2010, 01:35 PM
Anyone else on 4.0.4 with this modification installed? With this modification enabled, if I use "Reply with Quote" 100% of the time the post gets duplicated. The moment I disabled this modification it stopped duplicating the posts.

Cadellin
06-30-2010, 05:50 PM
I plan to update my boards to 4.0.4 this weekend; I'll find a fix then.

Thanks Carnage - it's a fantastic mod but with a MySQL and double post bug I've had to disable it for the moment.

I eagerly await a fix :)

blacksurgeon
07-01-2010, 08:07 PM
Anyone else on 4.0.4 with this modification installed? With this modification enabled, if I use "Reply with Quote" 100% of the time the post gets duplicated. The moment I disabled this modification it stopped duplicating the posts.

I can confirm this behavior... It randomly happens to normal answered posts also.

argothiusz
07-02-2010, 09:07 PM
+1 confirmed bug. Please fix it with 4.0.4 :)

Thanks

Carnage
07-03-2010, 07:46 AM
Anyone else on 4.0.4 with this modification installed? With this modification enabled, if I use "Reply with Quote" 100% of the time the post gets duplicated. The moment I disabled this modification it stopped duplicating the posts.


I believe this is an error in stock vb as well; i've seen it happen on vb.com

I am working on a fix for this mod, but its taking a while to fix some of my other custom mods for 4.0.4 I /wish/ vb provided a decent changelog

karlm
07-05-2010, 05:14 PM
Thanks to the Dev for this product, it REALLY is one of the best "should've been stock product of vb4" hacks out there!

Strike3ForumsMH
07-08-2010, 09:40 AM
Yep, I am getting the error too. I love this mod and appreciate that Carnage is looking for a fix!

carrlos
07-08-2010, 11:15 AM
I noticed this only once so far.

argothiusz
07-08-2010, 10:55 PM
Any new on this carnage-? :)

cmiller1014
07-09-2010, 01:27 AM
I need a fix for this too, but wont use this mod. Reason? The only way to post an article in someone elses name is to promote one of their posts. Usually a completely unrelated post, if they have sent an article in via email, and never posted it on the forum. I've even removed the text that says where the article originated from because it's never related.

So this mod is nice, but wont work for me. VB needs to fix this.

djbaxter
07-09-2010, 02:38 AM
I need a fix for this too, but wont use this mod. Reason? The only way to post an article in someone elses name is to promote one of their posts. Usually a completely unrelated post, if they have sent an article in via email, and never posted it on the forum. I've even removed the text that says where the article originated from because it's never related.

Use this mod:

Change Threads/Posts Owner/Date for vB4 (https://vborg.vbsupport.ru/showthread.php?t=245183)
https://vborg.vbsupport.ru/showthread.php?t=245183

Billspaintball
07-09-2010, 11:24 AM
Some of my users are experiencing the double post error after upgrading to 4.0.4 as well.
Hoping you find a fix soon, as I hav ehad to disable this Mod for now.

Carnage
07-11-2010, 11:44 PM
There is no reason I can see that this mod should cause the double post issue; can you be a little more specific?

- Which browser were your users using?
- Quick reply/multi quote or advanced editor?
- Were they replying to a thread which had been promoted?
- If so, were they replying via the CMS or the forum?

argothiusz
07-12-2010, 12:20 AM
- Which browser were your users using? Chrome, FF, IE
- Quick reply/multi quote or advanced editor? Quick Reply
- Were they replying to a thread which had been promoted? Nope, any threads will cause a problem.
- If so, were they replying via the CMS or the forum? Forum

fatal1980
07-12-2010, 05:20 AM
I also experience this same problem no matter which browser. However I only seem to see it on advanced editor and not on quick replies.

This is also the most useful mod.. looking forward to using it again..

Phalynx
07-12-2010, 07:11 AM
Do you have Post Thanks by Abe1 installed? That was causing the double posts on my board.

argothiusz
07-15-2010, 05:17 AM
Have anyone upgraded to 4.0.5 and have this working?

carrlos
07-16-2010, 01:11 AM
4.0.5 safe?

carrlos
07-16-2010, 02:10 AM
All text has disappeared for articles promoted using this hack. The smilies remain.

You can post in the forums and there will be a blank post in the CMS. If you post in the CMS, the text will be blank but will show up fine in the original thread.

Immediate attention needed!

MrMister
07-16-2010, 02:16 AM
I had to disable it after upgrading to 4.0.5 as it was double and triple posting all of the time. I love this mod and hope that it is something that can be worked out!!

sticky
07-16-2010, 08:45 AM
I finally got this to work as I imagined! :)

Why it doesn't work this way by default is beyond me. Thank you!

carrlos
07-16-2010, 11:06 AM
All text has disappeared for articles promoted using this hack. The smilies remain.

You can post in the forums and there will be a blank post in the CMS. If you post in the CMS, the text will be blank but will show up fine in the original thread.

Immediate attention needed!

Any word on the efforts to fix Carnage-?

Carnage
07-16-2010, 01:17 PM
Been busy graduating this week; I did however update to 4.0.4 pl1 and the issue with double posting seemed to disappear. I will be updating to 4.0.5 asap and see if I can figure whats causing the blank articles; I suspect it will be an issue with caching. (Try clearing your CMS cache and see if that fixes it.)

carrlos
07-16-2010, 02:14 PM
Been busy graduating this week; I did however update to 4.0.4 pl1 and the issue with double posting seemed to disappear. I will be updating to 4.0.5 asap and see if I can figure whats causing the blank articles; I suspect it will be an issue with caching. (Try clearing your CMS cache and see if that fixes it.)

I tried that first but it didn't work. ;)

Alexia
07-16-2010, 03:00 PM
Been busy graduating this week; I did however update to 4.0.4 pl1 and the issue with double posting seemed to disappear. I will be updating to 4.0.5 asap and see if I can figure whats causing the blank articles; I suspect it will be an issue with caching. (Try clearing your CMS cache and see if that fixes it.)

The double posting issue still exists in 4.0.5. The fix below is for double posting and also fixes blank or missing comments on our installation.

Change the code in the clear cache plugin to:
if (THIS_SCRIPT == 'vbcms') {
$vbulletin->options['vbcmsforumid'] = $foruminfo['forumid'];
}
if (method_exists(vB_Cache::instance(), 'clean')) {
vB_Cache::instance()->clean(false);
}

It will only run when dealing with the CMS fixing the bug with the search indexer(array_key_exists issue) being broken and the CMS cache will still get cleared.

carrlos
07-17-2010, 11:52 AM
The double posting issue still exists in 4.0.5. The fix below is for double posting and also fixes blank or missing comments on our installation.

Change the code in the clear cache plugin to:
if (THIS_SCRIPT == 'vbcms') {
$vbulletin->options['vbcmsforumid'] = $foruminfo['forumid'];
}
if (method_exists(vB_Cache::instance(), 'clean')) {
vB_Cache::instance()->clean(false);
}

It will only run when dealing with the CMS fixing the bug with the search indexer(array_key_exists issue) being broken and the CMS cache will still get cleared.

Didn't work for me. I still only have smilies. No text. :confused:

SpankMe
07-17-2010, 08:19 PM
Didn't work for me either. Still getting double posts.

karlm
07-17-2010, 08:31 PM
Please let us know when this will be 4.0.5 ready... I'm not upgrading until then - tha'ts how useful this product is!!! Top stars.

Carnage
07-17-2010, 08:56 PM
That would be a fix, however it means that when users post to the original thread through the forums; the cache isn't cleared and new comments aren't added to the article.

carrlos
07-17-2010, 09:37 PM
I have posted to both the original thread and the article and the post still shows on both sides except that the text is hidden in the CMS. Smilies always show.

daveaite
07-19-2010, 06:56 PM
Mine works fine except for the tons of double posting everywhere. No blank text.

carrlos
07-20-2010, 12:53 AM
Is anyone getting the double posts AND blank comments?? It's weird because I only have the blank comments but not double and triple posts.

Carnage
07-21-2010, 11:08 AM
I'm struggling to reproduce the double/triple posts; it could be a conflict with another mod; what else do people have installed?

Ozymandyus
07-21-2010, 01:43 PM
Carnage, I have SStabs vbsoporte, auto-backup, and vsa Chatbox installed, along with dartho's mobile styles. I can't tell you specifically if any of those are causing conflicts, but I can't tie any issues to them. Upgrading to 4.0.5 helped a great deal with my issues, but I was still seeing a lot of error messages on post and the occasional double. Turning off your mod alleviated this problem. I have a hard time living without it, but have managed to replicate the functionality by turning off the vb CMS and using a vbadvanced portal instead.

Only other tidbit I can contribute is that the double posting happens FAR more often in Internet Explorer 8 than in any other browser, according to my user reports. It seems to happen much less frequently in Mozilla and Webkit browsers, but doesn't completely go away.

carrlos
07-21-2010, 01:50 PM
How about the blank posts? Can we at least get a resolution for that?

Reeve of shinra
07-21-2010, 03:40 PM
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 (http://i672.photobucket.com/albums/vv86/Mufckingud/Untitled.png) 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/content.php?493-Jay-Freeman-%28saurik%29-talks-about-the-iPhone-4-jailbreak-with-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:

vb_Search_Indexcontroller_Queue::indexQueue('vBFor um', 'Post', 'index', $msgid);

There is now this:


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('vBFor um', '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
just looked at http://www.iphonemodding.com/forum/content.php?493-Jay-Freeman-%28saurik%29-talks-about-the-iPhone-4-jailbreak-with-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
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
@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
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
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
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
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
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
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
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
What version of vB are you using?

Definitely not the one were using :P (4.05)

Videx
08-06-2010, 01:19 PM
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
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
just looked at http://www.iphonemodding.com/forum/content.php?493-Jay-Freeman-%28saurik%29-talks-about-the-iPhone-4-jailbreak-with-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:

vb_Search_Indexcontroller_Queue::indexQueue('vBFor um', 'Post', 'index', $msgid);

There is now this:


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('vBFor um', '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
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?

daveaite
08-12-2010, 07:27 AM
No longer works in vbulletin 4.06 (at least on my site)

Carnage
08-12-2010, 10:48 AM
It doesn't work at all in 4.0.6?

The good news is that /finially/ vb seem to have taken notice of this bug report: http://tracker.vbulletin.com/browse/VBIV-952

Videx
08-12-2010, 12:02 PM
The good news is that /finially/ vb seem to have taken notice of this bug report: http://tracker.vbulletin.com/browse/VBIV-952I dunno, it's still unassigned and listed as an "improvement request" rather than the huge bug it is.

RustyDogma
08-12-2010, 01:01 PM
I'm a bit confused..

Which of the following should I be using to install .. just the 'hooks'?

hooks_vbcms.xml (748 Bytes, 313 downloads)
product-imhotek_useoriginalthread alpha 2.xml (2.0 KB, 474 downloads)

Videx
08-12-2010, 02:07 PM
I'm a bit confused..

Which of the following should I be using to install .. just the 'hooks'?Yes, you are very confused, and apparently haven't been reading. You shouldn't install anything right now as it doesn't work.

JonSidneyB
08-13-2010, 03:45 AM
It is working for me on 4.0.3 I understand it is not working on 4.0.6. I would like to upgrade to 4.0.6 but will not to preserve this.

Having this has increased my revenue by quite a bit. (well, it had dropped to near 0 but went up a bit after this) I don't understand what changes have taken place so if this cannot be made to work on 4.0.6 financially I need to stay where I am at.

If a solution comes around I will gladly upgrade at that point :)

Pathor
08-14-2010, 11:17 AM
It works for me on 4.0.6.

btw: thanks for the mod! :)

Videx
08-14-2010, 12:53 PM
It works for me on 4.0.6.It's started working again in 406 with no modification at all? Can anyone else confirm this?

mitch84
08-14-2010, 12:59 PM
work fine for me too on vb4.0.6

JonSidneyB
08-14-2010, 10:16 PM
This is interesting. Why would it start working in 4.0.6 on it's own?

Ok....I guess I can starting thinking about 4.0.6