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)

thenetbox 08-22-2005 12:20 PM

Thank you! I'm going to try this with 3.5 :D

cyberxp9 08-22-2005 12:32 PM

still need help

rsuplido 08-22-2005 01:27 PM

Quote:

Originally Posted by cyberxp9
still need help

Looking at your site, it seems like it's running pretty well. If you look at this test entry:
http://www.cyberxp9.net/blog/?p=15
and click on the "RSS 2.0" link, it tries to run postfeed.php which is correct.

I think the problem on your part is you haven't activated RSS on your forums. To activate it, on your forums admincp, go to vBulletin Options->External Data Provider and check 'Yes' on Enable RSS Syncidcation. That should fix it.

cyberxp9 08-22-2005 01:45 PM

Quote:

Originally Posted by rsuplido
Looking at your site, it seems like it's running pretty well. If you look at this test entry:
http://www.cyberxp9.net/blog/?p=15
and click on the "RSS 2.0" link, it tries to run postfeed.php which is correct.

I think the problem on your part is you haven't activated RSS on your forums. To activate it, on your forums admincp, go to vBulletin Options->External Data Provider and check 'Yes' on Enable RSS Syncidcation. That should fix it.

still a problem, do you know whats wrong with the rss on wordpress? Try clicking the Entries (RSS) part on the bottom of my blog. Was that updated postfeed that you posted for some other guy only meant for vb 3.50? Or should I get it?

rsuplido 08-22-2005 01:49 PM

First, I see that your blog comments RSS is already working:
http://www.cyberxp9.net/forum/postfe...=170&type=rss2

For the Entries (RSS), no, the change should not have affected it. Actually it works. If you try: http://www.cyberxp9.net/blog/?feed=rss2 you should see the actuall RSS of your blog's entries.

OrangeFlea 08-22-2005 02:39 PM

Let me ask this regarding the vBulletin integration:

If someone wanted for the comments to be posted exclusively by forum members within the blog itself and not the forum, is that possible? Just like how Sitepoint.com has it, in where members of the message board could post comments inside the blog article and not on the forum.

rsuplido 08-22-2005 02:46 PM

It seems like you are asking for an integration of the user database. That would be an entirely different hack. This hack aims to have users not register via WordPress at all and just use vBulletin as the main user database. Only the authors are intended to be registered in Wordpress.

I thought that having just one database will be more efficient. Also, a lot of 3rd party commercial programs integrate best with vB, like PhotoPost, ReviewPost, Coppermine, Chat apps, etc.

OrangeFlea 08-22-2005 03:47 PM

Quote:

Originally Posted by rsuplido
It seems like you are asking for an integration of the user database. That would be an entirely different hack. This hack aims to have users not register via WordPress at all and just use vBulletin as the main user database. Only the authors are intended to be registered in Wordpress.

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.

rsuplido 08-22-2005 04:01 PM

I can probably create an enhancement to list the comments made in vB. ;) If they want to add a comment, they have to do it in the forums though.

cyberxp9 08-23-2005 03:27 PM

Quote:

Originally Posted by rsuplido
First, I see that your blog comments RSS is already working:
http://www.cyberxp9.net/forum/postfe...=170&type=rss2

For the Entries (RSS), no, the change should not have affected it. Actually it works. If you try: http://www.cyberxp9.net/blog/?feed=rss2 you should see the actuall RSS of your blog's entries.

weird dude, it must of took some time to activate hit, thanks a bunch :) xp9

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.

sarahsboy18 09-04-2005 06:41 PM

Quote:

Originally Posted by rsuplido
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.

I understand...

For my particular needs I only have 3 categories and wouldn't have any trouble managing it. Basically what I have done so far is to make sure that my Forum IDs are the same as my Category IDs. What I am trying to do now is force the forumid variable to use submitted category variable instead of the vb3-settings.php forumid.

E.G (from the "post.php" file)
Code:

... WHERE `forumid`='{$post_category}' ...
However, I can't seem to figure out which variable is the correct one to pass in the above query. I have tried $post_category, $post_categories, $category_id... I just can't get it to pass... It keeps sending a "0"

Edit:

I did it!... Basically I just moved the hack code down below the category functions in the post.php left the variable as $post_category. And it's working great now. Thanks!

cyberxp9 09-05-2005 06:17 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 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

if i click here feed:http://www.cyberxp9.net/blog/?feed=rss2 (thats the link to subscribe to my feed for my blog) It says "feed is not a registered protocol" (in firefox)

rsuplido 09-05-2005 06:20 PM

take out the "feed:" in the URL. Use this instead: http://www.cyberxp9.net/blog/?feed=rss2

Stachel 09-05-2005 06:54 PM

Any links to demo blogs?

Darth Gill 09-05-2005 06:55 PM

You can see mine. I have it integrated with 3.5 also! http://blog.5solas.org

Stachel 09-05-2005 06:57 PM

Thank you Darth Gill !

cyberxp9 09-05-2005 09:36 PM

Quote:

Originally Posted by cyberxp9
if i click here feed:http://www.cyberxp9.net/blog/?feed=rss2 (thats the link to subscribe to my feed for my blog) It says "feed is not a registered protocol" (in firefox)

still doesnt work, it just shows the xml file :(

The Bad Astrono 09-05-2005 11:05 PM

This is a nice hack! It's just what I need, with one minor (haha) problem: my bulletin board is a different database, and on a different server than my blog. My php and DB skills are pretty minimal, so does anyone know how to do this? I would dearly love to have the comments from my blog on my bulletin board!

deb0 09-06-2005 12:45 AM

Yeah, me too and I'm in the same situation as you Bad Astrono.

rsuplido 09-06-2005 01:10 AM

A workaround is probably to add the database name in the dbprefix variable like:

$vb_dbprefix = 'databasename.vb3_';

Also, in phpmyadmin, give full access to the wordpress user to the vb database. It might work.

The Bad Astrono 09-06-2005 04:45 AM

Interesting. I might try that. Thanks!

Would that be visible to users? If they did, say, a View Source on the page? I'd hate for someone to figure out how to access my bulletin board! :-)

cyberxp9 09-06-2005 09:03 AM

Quote:

Originally Posted by The Bad Astrono
Interesting. I might try that. Thanks!

Would that be visible to users? If they did, say, a View Source on the page? I'd hate for someone to figure out how to access my bulletin board! :-)

Everyone STOP!!!!!!! CLICKING ON THE LINKS I GIVE! they send me database errors.. cause they are errors... if you dont ill just remove them.

rsuplido 09-06-2005 11:17 AM

Quote:

Originally Posted by The Bad Astrono
Would that be visible to users? If they did, say, a View Source on the page? I'd hate for someone to figure out how to access my bulletin board! :-)

No, it shouldn't be visible. Anything between <?php ... ?> will not be visible when you do a 'view source'. The server parses and executes all the php scripts and renders the page as pure html, without the php scripts.

rsuplido 09-06-2005 11:35 AM

Quote:

Originally Posted by cyberxp9
still doesnt work, it just shows the xml file :(

Well, that's what the RSS feed is. If the XML reneders properly, then it usually means that the feed works. If you want you can check how your feed looks here:

http://www.netimechannel.com/OnlineRssViewer/

Enter "http://www.cyberxp9.net/blog/?feed=rss2" in the feed field and hit on "View Results". On the results, click on the expand icon to see the contents of each entry.

Btw, the "feed:" protocol is for the Mac's Safari RSS viewer.

rsuplido 09-08-2005 02:52 PM

I finally got my site working. Here's the live demo:

http://www.internettablettalk.com/blog/

cyberxp9 09-08-2005 09:24 PM

Quote:

Originally Posted by rsuplido
First, I see that your blog comments RSS is already working:
http://www.cyberxp9.net/forum/postfe...=170&type=rss2

For the Entries (RSS), no, the change should not have affected it. Actually it works. If you try: http://www.cyberxp9.net/blog/?feed=rss2 you should see the actuall RSS of your blog's entries.

PLEASE DELETE THAT LINK AND ALL OTHER LINks THERE CAUSE RETARDS KEEP ON CLICKING IT AND I KEEP ON GETTING ERROR EMAILS, ITS FREAKING ANNOYING!

rsuplido 09-08-2005 10:09 PM

Well, delete the erring link at post 41 and you'll be ok.

limey 09-09-2005 03:35 PM

I'm wondering if it would be easy to add a box inside wordpress under your categories posting box that lists your forums. This way you could click which forum you want the post to go in addition to your wordpress categories. This would be helpful for people who don't want to create a one blog forum for all the WP posts.

I think that would be easy to do. SQL the forums > html with form data for the checkboxes.

I'm a newbie when it comes to php/mysql programming, but I know enough thatthis should be doable.

I couldn't find where you were inserting information into the database, but that could be done by using the forumid with the associated checkbox.

Cole2026 09-11-2005 01:34 PM

Quote:

Originally Posted by bfoot045
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

Hmm, I guess the post wasn't seen, anyways, same question.

I just want to use the wordpress comments system, but have that user integration so users can use their forum account to make comments on the wordpress.

cyberxp9 09-13-2005 07:48 PM

Quote:

Originally Posted by rsuplido

where did you get that skin on your blog?


All times are GMT. The time now is 11: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.01607 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
  • (3)bbcode_code_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (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