vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Integration with vBulletin - Complete Wordpress/Vbulletin Bridge - Share Users And Postings (https://vborg.vbsupport.ru/showthread.php?t=205388)

rcadden 02-21-2009 05:19 PM

I'm still using the previous version, with WP2.7 and vB3.8, and I actually turned the user integration off, as I don't have any need to have WP users.

My front page is the wordpress, where I publish new posts, etc. I've replaced the WP comments with vBulletin comments, so there's no need for anyone (other than authors and admin) to login to Wordpress at all.

This works great, except for that pesky scheduled posts bug, which no one has commented on. If you're a blogger and *not* using scheduled posts, you're missing out on a big time productivity helper. Can anyone (preferably the dev) comment on this scheduled posts issue?

Jafo232 02-21-2009 06:29 PM

I doubt I will ever get scheduled posts to work. Sorry for that, but the fact is, I never use them, and I just don't have to time to add/support every little possible addon feature people want.

Jafo232 02-21-2009 06:33 PM

By the way everyone, I am basically working on this today/tonight on my day off. Here is what I have fixed so far (have NOT uploaded yet):
  • Fixed issue where rich text editor was not being displayed
  • Fixed issue where permalinks were not working properly
  • Fixed issue where paragraphs where not converting
  • Added reset script so admin can turn off integration if locked out
  • Made the user interface a bit more understandable, meaning, your off to the VB admincp when adding/editing/viewing users
As for those of you out there who already have a substantial WP userbase and want to convert them to VB. That is not what this plugin does, sorry.

laztrix 02-21-2009 06:55 PM

Quote:

Originally Posted by Jafo232 (Post 1750887)
By the way everyone, I am basically working on this today/tonight on my day off. Here is what I have fixed so far (have NOT uploaded yet):
  • Fixed issue where rich text editor was not being displayed
  • Fixed issue where permalinks were not working properly
  • Fixed issue where paragraphs where not converting
  • Added reset script so admin can turn off integration if locked out
  • Made the user interface a bit more understandable, meaning, your off to the VB admincp when adding/editing/viewing users
As for those of you out there who already have a substantial WP userbase and want to convert them to VB. That is not what this plugin does, sorry.

You're doing a great job Jafo232. And I'm sure everyone aprreciates all the work of yours.

I don't know if someone has noticed that yet but when you turn the auto integration on also all the changes you have made in the layout setting in wordpress admin backend they gets lost too.

I hope there is a logical explanation for it.

Jafo232 02-21-2009 07:29 PM

Ok, I have updated the software. Here are some changes:
  • Fixed issue where rich text editor was not being displayed
  • Fixed issue where permalinks were not working properly
  • Fixed issue where paragraphs where not converting
  • Added reset script so admin can turn off integration if locked out
  • Made user menu go to VB Admincp
  • Added setting for users with UTF-8 forums.
Also, VB plugins are by default disabled when included into wordpress. This does NOT affect plugins on your forum. The bridge will include an instance of VB when integration is on. It used to be that occasionally a VB product might cause issues with the bridge and you could manually turn them off in the Wordpress instance. I have changed this so users have to turn it on if there was ever such a need (I doubt it).

Mr. Mooney 02-21-2009 07:33 PM

Thank you so much Jafo, it works perfectly now on my forum!!!

Mr. Mooney 02-21-2009 07:58 PM

Just a quick question. What would I need to do to setup the blog like this site:

http://www.jalopyjournal.com/?p=4070

I like the way it says XX comments on the forum, for each article, and gives a link to the forum page.

Thanks!

laztrix 02-21-2009 08:05 PM

I uploaded the files to the plugin directory.
Activated the plugin and select the UTF-8 Option.

The Visual Editor Came Back This time No Problem! But still having Charachter problems in content posting!

And after posting the post page goes blank !

http://img9.imageshack.us/img9/4305/68403843.png

http://img9.imageshack.us/img9/4062/70482045.png

I'm sorry to do all the complaining all the time but the fixes did not helped me out much!

tjpeople 02-21-2009 08:07 PM

Quote:

Originally Posted by Mr. Mooney (Post 1750945)
Just a quick question. What would I need to do to setup the blog like this site:

http://www.jalopyjournal.com/?p=4070

I like the way it says XX comments on the forum, for each article, and gives a link to the forum page.

Thanks!

Jafo has provided template codes that you need to add to your wordpress theme. Read the readme.

Mr. Mooney 02-21-2009 08:08 PM

Quote:

Originally Posted by tjpeople (Post 1750953)
Jafo has provided template codes that you need to add to your wordpress theme. Read the readme.

*Smacks forehead* I completely skipped over that. Thanks!

Jafo232 02-21-2009 08:14 PM

Quote:

Originally Posted by laztrix (Post 1750951)
I uploaded the files to the plugin directory.
Activated the plugin and select the UTF-8 Option.

The Visual Editor Came Back This time No Problem! But still having Charachter problems in content posting!

And after posting the post page goes blank !

http://img9.imageshack.us/img9/4305/68403843.png

http://img9.imageshack.us/img9/4062/70482045.png

I'm sorry to do all the complaining all the time but the fixes did not helped me out much!

What encoding have you set in your Wordpress setup? Something seems wrong on your end here, because there is no reason for this plugin to do what you show on the map users page. The UTF-8 option really only comes into play when it has to DECODE it.

laztrix 02-21-2009 08:24 PM

Quote:

Originally Posted by Jafo232 (Post 1750957)
What encoding have you set in your Wordpress setup? Something seems wrong on your end here, because there is no reason for this plugin to do what you show on the map users page. The UTF-8 option really only comes into play when it has to DECODE it.

I'm running a turkish translation of wordpress.

Without activating the plugin everything is working fine.

I even did try it by turning off the language option in config.php ( define ('WPLANG', 'tr_TR');

I does not make any sense, my config file is like this:

PHP Code:


<?php
/** 
 * The base configurations of the WordPress.
 *
 * This file has the following configurations: MySQL settings, Table Prefix,
 * Secret Keys, WordPress Language, and ABSPATH. You can find more information by
 * visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
 * wp-config.php} Codex page. You can get the MySQL settings from your web host.
 *
 * This file is used by the wp-config.php creation script during the
 * installation. You don't have to use the web site, you can just copy this file
 * to "wp-config.php" and fill in the values.
 *
 * @package WordPress
 */

// ** MySQL ayarlar? - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME''divxsdfasdfporsfstdsfsdfal_vt');

/** MySQL database username */
define('DB_USER''dsdfdsfs_user');

/** MySQL database password */
define('DB_PASSWORD''divxporsdfsftal3sdfsdf579');

/** MySQL hostname */
define('DB_HOST''localhost');

/** Database Charset to use in creating database tables. */
define('DB_CHARSET''utf8');

/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE''');

/**#@+
 * E?siz do?rulama anahtarlar?.
 * 
 * Her anahtar farkl? bir karakter k?mesi olmal?!
 * {@link http://api.wordpress.org/secret-key/1.1/ WordPress.org secret-key service} servisini kullanarak yaratabilirsiniz.
 *
 * @since 2.6.0
 */
define('AUTH_KEY''buraya e?siz karakter k?menizi yerle?tirin');
define('SECURE_AUTH_KEY''buraya e?siz karakter k?menizi yerle?tirin');
define('LOGGED_IN_KEY''buraya e?siz karakter k?menizi yerle?tirin');
define('NONCE_KEY''buraya e?siz karakter k?menizi yerle?tirin');
/**#@-*/

/**
 * WordPress veritaban? tablo ?n eki.
 *
 * T?m kurulumlara ayr? bir ?nek vererek bir veritaban?na birden fazla kurulum yapabilirsiniz.
 * Sadece rakamlar, harfler ve alt ?izgi l?tfen.
 */
$table_prefix  'wp_';

/**
 * WordPress yerel dil dosyas?, varsay?lan ingilizce.
 *
 * Bu de?eri de?i?tirmenize gerek yok! Zaten T?rk?e'ye ayarl?.
 * tr_TR.mo T?rk?e dil dosyas?n?n wp-content/languages dizini alt?nda oldu?undan emin olun.
 * T?rk?e ?eviri hakk?nda ?neri ve ele?tirilerinizi iletisim@wordpress-tr.com adresine iletebilirsiniz.
 *
 */
define ('WPLANG''tr_TR');

/* Hepsi bu kadar. Mutlu bloglamalar! */

/** WordPress absolute path to the Wordpress directory. */
if ( !defined('ABSPATH') )
    
define('ABSPATH'dirname(__FILE__) . '/');

/** Sets up WordPress vars and included files. */
require_once(ABSPATH 'wp-settings.php');
?>


dieslcruisrhead 02-21-2009 08:47 PM

Hi Jafo - thank you for all your hard work on this. I just donated you some $$ on this as well, really good work and great plugin...

FYI though I am still getting an error. When I save under Settings > vBridge settings it kicks out this error. Otherwise it seems to be working excellently...


Quote:

Options saved.

Warning: Cannot modify header information - headers already sent by (output started at /home/hazard/public_html/wp-content/plugins/vbbridge.php:149) in /home/hazard/public_html/wp-includes/pluggable.php on line 850

logiik 02-21-2009 09:00 PM

Has anyone tried uploading an image or any file for that matter from wordpress? If I try clicking the upload image button from the post editor, I just get a 404 page from the popup.

Going to Upload from the top bar, after uploading it just takes me to the login page.

Fraik 02-21-2009 09:09 PM

Thanks for the quick update, but the permalinks still look the same in my forum posts:

http://www.middleearthcenter.com/unc...ed/%postname%/

Jafo232 02-21-2009 09:26 PM

Quote:

Originally Posted by Fraik (Post 1750989)
Thanks for the quick update, but the permalinks still look the same in my forum posts:

http://www.middleearthcenter.com/unc...ed/%postname%/

Did you edit the post since the upgrade? The update will not fix existing posts, unless of course you edit them and save it..

Jafo232 02-21-2009 09:32 PM

Quote:

Originally Posted by laztrix (Post 1750963)
I'm running a turkish translation of wordpress.


Wordpress CP -> Settings -> Reading -> "Encoding for pages and feeds".. What do you have there?

Reynaldovb 02-21-2009 11:05 PM

Jafo232:

Thanks for the last version update.
You forgot to answer my posts. Is there a way to be able to use the name of the author in the permalink?
Normally in WP you can use %author% to add the author's name to the permalink, any way to populate that variable?

laztrix 02-21-2009 11:14 PM

Quote:

Originally Posted by Jafo232 (Post 1750999)
Wordpress CP -> Settings -> Reading -> "Encoding for pages and feeds".. What do you have there?

http://easycaptures.com/3974987308

It's UTF-8

RobInjection 02-22-2009 01:54 AM

Quote:

Originally Posted by skariko (Post 1746271)
I tried this but the link that i have is:

http://www.czeta.it/forum//image.php...ine=1234825805

without the number of the user. (it takes all the other variables like vbb_VBURL and other so i think that there's somthing wrong on user_id)

edit: i've solved it making this:

Code:

<img src="<?php echo get_option('vbb_VBURL') ?>image.php?u=<?php echo $vbulletin->userinfo['userid'] ?>&amp;dateline=<?php echo TIMENOW ?>" alt="<?php echo $reply['username'] ?>'s Avatar" class="avatar avatar-32 photo avatar-default" width="32" height="32"
i don't know if it is right.. but it works to me :P


This returns the author of the post's avatar.

When I tried the previous method, it was not picking up my user's avatar, instead getting an image not found. When I looked at the image url, I saw that the user ID is not being generated. Any ideas? This would be extremely helpful.

Fraik 02-22-2009 07:44 AM

Quote:

Originally Posted by Jafo232 (Post 1750994)
Did you edit the post since the upgrade? The update will not fix existing posts, unless of course you edit them and save it..

This was on a new post after the upgrade...

ckain 02-22-2009 08:13 AM

hey folks,

I have troubles reaching the comments of a post on WP and I don't know what the error is trying to tell me :(

Code:

Fatal error: Undefined class name 'vbulletinhook' in /www/htdocs/mio/usforum/includes/class_bbcode.php on line 2428
anybody has an idea what is going wrong with vb bridge?

laztrix 02-22-2009 09:28 AM

Quote:

Originally Posted by ckain (Post 1751223)
hey folks,

I have troubles reaching the comments of a post on WP and I don't know what the error is trying to tell me :(

Code:

Fatal error: Undefined class name 'vbulletinhook' in /www/htdocs/mio/usforum/includes/class_bbcode.php on line 2428
anybody has an idea what is going wrong with vb bridge?

Find :

Code:


## If you get errors relating to the class 'vBulletinHook' not found, uncomment next line.
#define('DISABLE_HOOKS', true);

Just uncomment it!

reimic 02-22-2009 09:34 AM

hello since i updated the auto-integration doesnt work! i tried anything.

1) deletet cookies
2) new newser mapping
3) deletet the admin user from wordpress

could you please help me!? bevore the upgrade it worked perfektly!

pypons 02-22-2009 09:43 AM

Hi Jafo!

There is news about the possibility to post in the forum a scheduled post ?

ckain 02-22-2009 10:19 AM

thx laztrix,

I fixed it removing all old code from version III in the various templates

Now i can't access the vBridge User Settings:
Fatal error: Call to a member function on a non-object in /www/htdocs/mio/blogs/newz/wp-content/plugins/vbbridge.php on line 408

Jafo232 02-22-2009 11:29 AM

Quote:

Originally Posted by laztrix (Post 1751041)

I have no idea. I never use any other language than English, so I guess I just do not understand what is happening with your install.

Jafo232 02-22-2009 11:31 AM

Quote:

Originally Posted by RobInjection (Post 1751115)
This returns the author of the post's avatar.

When I tried the previous method, it was not picking up my user's avatar, instead getting an image not found. When I looked at the image url, I saw that the user ID is not being generated. Any ideas? This would be extremely helpful.

Hmm, I may have written that wrong in the readme:

Code:

<img src="<?php echo get_option('vbb_VBURL') ?>image.php?u=<?php echo $reply['userid'] ?>&amp;dateline=<?php echo TIMENOW ?>" alt="<?php echo $reply['username'] ?>'s Avatar" class="avatar avatar-32 photo avatar-default" width="32" height="32"

Jafo232 02-22-2009 11:32 AM

Quote:

Originally Posted by Fraik (Post 1751218)
This was on a new post after the upgrade...

Hmm, unable to reproduce this. Are you sure you uploaded ALL of the new files? Are you using the most recent release of Wordpress?

Jafo232 02-22-2009 11:34 AM

Quote:

Originally Posted by reimic (Post 1751267)
hello since i updated the auto-integration doesnt work! i tried anything.

1) deletet cookies
2) new newser mapping
3) deletet the admin user from wordpress

could you please help me!? bevore the upgrade it worked perfektly!

Why would you delete the admin user from wordpress?

I have no idea what your going to do now.

BTW, the old version is still available here: https://vborg.vbsupport.ru/showthread.php?t=134521

Jafo232 02-22-2009 11:35 AM

Quote:

Originally Posted by pypons (Post 1751270)
Hi Jafo!

There is news about the possibility to post in the forum a scheduled post ?

https://vborg.vbsupport.ru/showpost....&postcount=123

Jafo232 02-22-2009 11:36 AM

Quote:

Originally Posted by ckain (Post 1751284)
thx laztrix,

I fixed it removing all old code from version III in the various templates

Now i can't access the vBridge User Settings:
Fatal error: Call to a member function on a non-object in /www/htdocs/mio/blogs/newz/wp-content/plugins/vbbridge.php on line 408

Not sure what you "fixed" but it seems to have broken something. Looks to me that your path is not right to Vbulletin, but all of that depends on what you "fixed".

amjadz4 02-22-2009 11:41 AM

Anyone need to wrap their vBulletin inside the wordpress theme? please PM me. I can do it for you for a small service fee.

:)

laztrix 02-22-2009 11:47 AM

Quote:

Originally Posted by Jafo232 (Post 1751323)
I have no idea. I never use any other language than English, so I guess I just do not understand what is happening with your install.

I'm gonna try it with the english version of wordpress.

I'll keep you posted what's going on with it.

Thank you so much for everything.

Reynaldovb 02-22-2009 01:06 PM

LOL, is it me or Jaffo is ignoring my question? :confused:

Mr. Mooney 02-22-2009 02:08 PM

Quote:

Originally Posted by Reynaldovb (Post 1751386)
LOL, is it me or Jaffo is ignoring my question? :confused:

He's not ignoring your question. He probably assumed you would check the features of the new update.

The new update has an option to set if your forum uses UTF-8, which yours does.

Fraik 02-22-2009 02:49 PM

Quote:

Originally Posted by Jafo232 (Post 1751329)
Hmm, unable to reproduce this. Are you sure you uploaded ALL of the new files? Are you using the most recent release of Wordpress?

Yes, I've updated it all. I am using excerpted posts and I have set a custom permalink structure.

However, I will delete the plugin files and re-upload them, just to make sure.

Edit: Works now! Thanks. Something must've gone wrong with overwriting the files last time...

pypons 02-22-2009 03:24 PM

Quote:

Originally Posted by Jafo232 (Post 1751331)

Hi Jafo,

i have tested this new version but the future post don't work.

I use wp 2.7.1. Tell me if you need help.

Thanks.

Reynaldovb 02-22-2009 04:05 PM

Quote:

Originally Posted by Mr. Mooney (Post 1751437)
He's not ignoring your question. He probably assumed you would check the features of the new update.

The new update has an option to set if your forum uses UTF-8, which yours does.

Thank you for your reply. I meant the permalink issue which still persists, you know the one where Wordpress doesnt have any value to assign to the %author% variable in the permalink. Right now it is populated with an empty value.

aparatchik 02-22-2009 05:21 PM

no idea if this is possible, but it would be cool to be able to assign a forum ID for each individual WP post. I don't necessarily want to drop them all in the same forum...


All times are GMT. The time now is 02:23 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02148 seconds
  • Memory Usage 1,871KB
  • 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
  • (5)bbcode_code_printable
  • (1)bbcode_php_printable
  • (23)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
  • (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