vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBulletin-WordPress Bridge (https://vborg.vbsupport.ru/showthread.php?t=94443)

cyberxp9 08-24-2005 02:07 AM

is it a problem that if I access postfeed directly you get an error?
Database error in vBulletin 3.0.8:

Quote:

Invalid SQL:
SELECT title
FROM thread
WHERE threadid =
AND visible = 1

mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND visible = 1' at line 4

mysql error number: 1064

Date: Tuesday 23rd of August 2005 11:05:30 PM
Script: http://www.cyberxp9.net/forum/postfeed.php?
or get an error like this:
Quote:

Database error in vBulletin 3.0.8:

Invalid SQL:
SELECT title
FROM thread
WHERE threadid =
AND visible = 1

mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND visible = 1' at line 4

mysql error number: 1064

Date: Tuesday 23rd of August 2005 10:57:28 PM
Script: http://www.cyberxp9.net/forum/postfeed.php?t=&type=rss2
Referer:
IP Address: 69.177.28.85

rsuplido 08-24-2005 03:04 AM

Yes, you need to specify the id of the thread:

..postfeed.php?t=x

where x is the thread id

cyberxp9 08-24-2005 03:05 AM

Quote:

Originally Posted by rsuplido
Yes, you need to specify the id of the thread:

..postfeed.php?t=x

where x is the thread id

huh? I just change the url? than how come I get this thing
LINK REMOVED DUE TO RETARDS CLICKING ON IT SO I KEPT ON GETTING SENT ERROR EMAILS

rsuplido 08-24-2005 02:31 PM

You would notice that Wordpress posts that weren't done through the bridge will not allow comments ("Comments Off"). I think you are clicking on those blog entries and thus getting the error. If you look at you latest blog entries, they run pretty well.

Spacefreak 08-28-2005 03:57 AM

Quote:

Originally Posted by OrangeFlea
No, I think you misunderstand. I just want for the comments to appear under the blog article itself, not on a forum, like this: http://www.sitepoint.com/blogs/2005/...ajax/#comments. Sitepoint uses Wordpress for their blog, by the way. Furthermore, I want the comments, which would be placed under the blog article, to be made by registered members of the vbulletin board.

This is exactly what I am looking for as well: Comments appear on the blog (Wordpress) , yet utilizes the vBulletin user registration system.

http://www.macnn.com is another site that pulls it off.

Darth Gill 08-28-2005 10:07 PM

Back from vacation, and I made this change so that I could make drafts and click the "advanced editing" button without creating a new thread. Basically, you should only create a new thread if you publish.

Find in wp-admin/post.php
Code:

// VB Bridge Start
        if ($vb_bridge) {
                if ($post_title == "") {
                        return;
                }

and replace it with
Code:

// VB Bridge Start

        if ($vb_bridge && $post_status=="publish") {


chanzero 08-29-2005 06:14 PM

this is very cool. a couple questions though:

1) after the wp post is written and automatically generates the vb thread & post, am i correct in assuming that editing the wp post will not affect the vb thread/post? i think that would be good for when people rename the post or edit the post, etc

2) does anyone have any experience with wordpress MU (multi-user)? if so, would this hack be just as easy to apply to MU?

Cole2026 09-04-2005 04:14 AM

Quote:

Originally Posted by chanzero
this is very cool. a couple questions though:

1) after the wp post is written and automatically generates the vb thread & post, am i correct in assuming that editing the wp post will not affect the vb thread/post? i think that would be good for when people rename the post or edit the post, etc

2) does anyone have any experience with wordpress MU (multi-user)? if so, would this hack be just as easy to apply to MU?

Any chance you could give us the ability to not use the forum as a comment system, but use the wordpress system with forum integration?

Thanks

sarahsboy18 09-04-2005 05:04 PM

Would it be possible to set it up so that when I set which forum the post is submitted to based on the post's category in WP?

I have several major sections of my blog that I would like to keep seperated in my forums pages... E.G.

News Category Blog -> News Forum
Product Reviews Blog Category -> Product Reviews Forum

rsuplido 09-04-2005 06:14 PM

Quote:

Originally Posted by sarahsboy18
Would it be possible to set it up so that when I set which forum the post is submitted to based on the post's category in WP?

I have no plans of incorporating that feature. Imagone if there are 100 categories. :( What you can do however is choose a hidden forum and then move the thread manually to to correct forum.


All times are GMT. The time now is 09:28 AM.

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.01254 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete