robotom

robotom supports this item

Supported

This author's response time can be up to 1 business day.

178 comments found.

Good afternoon Robotom,

Purchased and installed your code and now have a few questions – here’s the first three:

1) I posted a new WP blog post and the “post excerpt” did post to vB as hoped.

Then I replied twice in vB, and I see all three vB posts at the bottom of my post in WP.

However, if I select “Ignore first post” it actually ignores the first TWO posts and only shows the third :-(

So, can you point me to the file I can edit to fix this so I only hide the first post?

2) When creating a WP Blog post I can indeed choose the forum to which the article gets cross posted too, but because of my forum structure I’ve run into a horrible issue…

On my forum I have multiple sub forums with the same name. For example in my Siemens forum I have a Sensors sub-forum, and in my GE forum I also have a Sensors sub-forum, etc.

However I can’t tell which one I’m choosing in WordPress as they both are listed as “Sensors”

So could you could point me to the file to edit to either (a) add the parent forum to the name, or (b) add the sub forum number to the end of the name, like this:

Siemens - Sensors
GE - Sensors

or

Sensors (5)
Sensors (10)

instead of

Sensors
Sensors

3) I see I’m not the first customer to desire not have the comments show up inside and at the bottom of the article.

However, unlike others, unchecking the “Compatibility Mode” option didn’t make the comments show up under the article.

That said, is there something else I need to do to make comments show up under the article instead of inside and at the bottom of the article?

As an alternative, if I can’t get under article listing of the comments working with my style and the settings you recommend, I do have the ability to turn on an “under article” advertising block in which I can place HTML or a Shortcode.

However, I’d need a hint of how to use your “public static variable scVBConnector::$storedCommentsStr” as I couldn’t find a good reference on how to display a public static variable in HTML :-(

Well, that is enough for tonight.

I’ll continue to test different settings and custom css styling while I await your reply,

Sincerely,

Shawn Tierney

HI Shawn,

1. I wasn’t able to replicate the issue on my VB4/VB5 sites. Can you send me a link to the post in question? (you can email it to william@solidcoding.com) if you don’t want to post here. Also, if you can include a screenshot of the settings page for the plugin that would help.

2. This one’s pretty easy, and I’ll consider adding it to the next version of the plugin. In the scVBConnector.php file, in the renderPostScreenOptions function, you can replace the echo for $forumObj->title . </option> with:

$forumObj->title . ’ (’ . $forumObj->forumid . ‘)</option>’

The parent forum string is a little tougher since my SQL queries don’t fetch that data at the moment. Maybe in the next version!

3. The reason unchecking the ‘compatibility mode’ doesn’t work for some users is because different Wordpress themes access the Wordpress comments differently (sometimes against WP’s recommendations). When they access them in a non-recommended way, their code skips the hook that this plugin relies on to display in the comments section.

You have two options: a) Use Javascript to move the comments from inside the article to under it on page load or b) Add the scVBConnector::$storedCommentsStr to the appropriate place in your theme. All you have to do in the theme is add something like (php open tag) echo(scVBConnector::$storedCommentsStr); (php close tag)

William

Good morning William,

Thank you very much for your quick reply!

Your help is very much appreciated!

1) The post in question can be found at:

http://theautomationblog.com/are-you-attending-automation-fair-2016/

It’s odd that it appears to be showing only #2 of three comments, and the title of “1. Showing comments 1 through 2 of 0 total comments” seems also not to make sense but maybe that’s a hint?

I’ve attached a zip file with pictures of the before and after, as well the plugin settings, in the email I just sent.

While we are on this topic I have two new questions:

4) I’ve tried to use CSS to get rid of the “1.” showing up in front of the “Showing Comments” but have had no luck at all – any suggestions on how I would remove the “1.” as it doesn’t look right?

5) Some of my most popular Blog Articles which receive over 100 views a day and have many existing Wordpress comments can no longer be commented on? I was hoping that since these don’t all get imported into vB, that I could continue to display the old existing comments but also allow new comments (even if it looks odd having two sets of comments)

Here’s an example of one of my popular posts which shows no way to comment:

http://theautomationblog.com/seven-things-you-need-to-know-before-using-the-panelview-plus/

2) Thank you very much for this answer, I’ve included a screen shot of it working and have a small suggestion that in the next rev (if possible) the list of forums be sorted in order? In any case this fix is very helpful – thank you!

3) Thank you very much for this additional info – I’m going to work on this today.

Quick Question – Would you mind sharing the “name” of the hook you use so I can discuss supporting it with my Theme author?

Again thank you very much for all your support – it is greatly appreciated,

Shawn Tierney

Update:

In case anyone else has similar questions, William has provided these two more answers via email:

3) Question – What is the name of the hook used to display the replies under the post (instead of in the post) by unchecking the “compatibility mode” selection – it doesn’t seem to be enabled in my theme (Sahifa)

Answer – “The hook I use is called comment_form_after, which is called at the end of the comment_form(); execution used by the TwentyTen, etc. default WP themes”

4) Question – Could you suggest CSS to get rid of the “1.” showing up in front of the “Showing Comments” (I understand this is not an issue with all themes, but it is with the one I use, Sahifa)

Answer – “In your CSS, you’ve got this:

.entry ol li {
    list-style: outside decimal;
}

You can try adding:

body .entry .scVBConnectorCommentsList li  {
    list-style: outside decimal;
    list-style: none;
    list-style-type: none;
}"

This worked with my theme which is Sahifa, a very popular theme here on Evanto.

Hope this helps – thanks William!

Shawn Tierney

I have installed the Mod and parts of it works but I need some assistance. I can’t get it not to display the 1st post in comments even when it is set to ignore first post in the settings. Also it seems to lag on wanting to show further comments.

I have 5 authors/writers. Is there a way to select which person is posting the article to the forum? Right now I can only post it as one person.

Hi there,

Are you using the latest version (4.2) of the plugin? When you enable Debug Mode, are you getting any error messages that might indicate a database issue?

I am guessing that the 5 authors don’t have permission to publish the articles and that you are manually approving and publishing them, correct?

In this case there In this case there is currently a not-so-great workaround: it is possible if you configured the Advanced Setting of ‘Allow vBulletin registered user comments’. When this setting is configured, the VB thread can be assigned to the concurrently logged in VB user at the time a WP post is published. This means that if you log in to the desired target VB user’s account when publishing, a checkbox will show up on the Publish Post page allowing you to create the thread as that user.

Barring that annoying workaround, I will have to consider adding the option to specify the Thread Create User in a future version of the plugin.

William

Yes latest version I downloaded it yesterday.

When I tell it to sort the newest on bottom it works correctly but when sorting the newest comment on top it doesn’t ignore the first one.

I did not enable debug mode but I will, I will assume if it works correctly with a different sort order setting it isn’t my database.

All my authors have permission to publish. But in the setup you have to pick a username for it to post as in the forum. For now I just set up a new user name news. It would be in nice in the future it posted in the forum as the author that is publishing.

That makes sense. It doesn’t sound like you need to enable Debug Mode. I was able to reproduce your issue on my test site and will issue a hotfix shortly. If you email me at william@solidcoding.com I can send you the fixed version sooner since CodeCanyon needs to approve it still.

Thanks,

William

Hi we would like to migrate our site: www.elazar-gilad.com to vBulletin Referral Links theme do you think it is possible? thanks

Hi there,

vBulletin Referral Links isn’t a theme and I don’t see a vBulletin installation on your site. Can you be more specific with regards to what you need?

William

Hi, before I buy this plugins I need to confirm this functionality to integrate wordpress with vbulletin 5:

- Registration sync – new users created on WP are automatically created on vB

Does this plugin have this functionality?

Thanks

This plugin does not have this functionality. You may want to consider the vBLink plugin that is also available on CodeCanyon.

Hi William,

I am still using your wonderful plugin with much pleasure, but I want to switch to PHP 7.0 very soon. However, your plugin does not support PHP 7.0 at the moment. Are you currently working on an update? Otherwise I will postpone the switch to PHP 7.0.

Rob

When trying to activate on a fresh install I get the following message: Fatal error: Redefinition of parameter $postUsername in /wp-content/plugins/scVBConnector/vbBase.php on line 213

When switching to PHP 7.0 on a fully running site, the site and admin panel simply showing a white screen.

Oh… that’s actually more of a “bug”... Just never noticed it because PHP didn’t complain about it before. For whatever reason, I redefined the same parameter in the function definition there and actually passed in the argument twice too.

If you send me an email at william@solidcoding.com I can send you a fixed version now. Otherwise you can wait until I’ve tested it myself on PHP 7 and submitted the update to CodeCanyon. Your choice!

Just a heads up to anyone reading this that this bug was fixed and will be included in the 4.3 update for the plugin when it gets released.

Hello,

I like your plugin. I have one question though.

When a visitor makes a purchase on our wordpress site, it automatically creates a new wordpress user account.

Is it possible with the plugin that then a new user is also automatically created in vbulletin? Both wordpress and vbulletin are on the same server.

Thanks and best regards Rolf

Hi Rolf,

Thanks for your interest in the plugin. There’s good news and there’s bad news there.

The bad news is: 1) This plugin doesn’t sync registrations 2) I am not aware of any plugin that does registration sync well. There’s vBLink, which redirects the user to the VB Registration screen after the Wordpress account is created, but does not create them simultaneously.

The good news is: 1) If this feature is a high priority for you then I can create a custom plugin that accomplishes just this task. The cost for the development of such a plugin with installation will probably be somewhere in the $$$ range. If you are interested in this option, just let me know.

William

Hi, i have a vbulletin 4.3 and i want to transfer news, only web´s news, forum doesn´t. I´d like to know if with this plugins can i do it without problems?

Hi there,

Are you trying to migrate vBulletin’s News feature to Wordpress posts?

This plugin is designed to show vBulletin comments inside a Wordpress page/post so it most likely isn’t what you are looking for.

I believe you would need a custom solution to migrate all of your vBulletin news to Wordpress.

William

Wonder if vBulletin 5.2 is supported?

I will update my demo to 5.2 and let you know! It’s 99% likely to work though.

Hi, I just purchased the plugin. I found 2 issues. I am using Wordpress 4.7 , php 7.0, and vBulletin 5.2.5

1. After I create a post in wordpress, no post created in the vbulletin. I check the post in wordpress and it does show the reply link like below

http://imageshack.com/a/img924/3155/YjCpEC.jpg

However, the link show blank URL like this

http://www.abc.com/bbs//-

2. If I type some Chinese characters in the Wordpress post, I got a bunch of these error on the first time I click on the wordpress post. (Still no post create in vBulletin)

Warning: mysqli_query(): (HY000/1267): Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8mb4_unicode_ci,COERCIBLE) for operation ’=’ in /usr2/home/business/zerosaga/simegg/wp-includes/wp-db.php on line 1877 WordPress database error: [Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8mb4_unicode_ci,COERCIBLE) for operation ’=’] SELECT (a.textcount+1) as commentCount FROM vb_node a WHERE a.nodeid IN ( SELECT x.nodeid FROM vb_node x WHERE x.routeid=’’ AND x.title=’B-Mobile 14day無限sim’ )

Warning: mysqli_query(): (HY000/1267): Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8mb4_unicode_ci,COERCIBLE) for operation ’=’ in /usr2/home/business/zerosaga/simegg/wp-includes/wp-db.php on line 1877 WordPress database error: [Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8mb4_unicode_ci,COERCIBLE) for operation ’=’] SELECT (a.textcount+1) as commentCount FROM vb_node a WHERE a.nodeid IN ( SELECT x.nodeid FROM vb_node x WHERE x.routeid=’’ AND x.title=’B-Mobile 14day無限sim’ )

Warning: mysqli_query(): (HY000/1267): Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8mb4_unicode_ci,COERCIBLE) for operation ’=’ in /usr2/home/business/zerosaga/simegg/wp-includes/wp-db.php on line 1877 WordPress database error: [Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8mb4_unicode_ci,COERCIBLE) for operation ’=’]

Setting like below

http://imageshack.com/a/img924/3708/qP2SNS.jpg http://imageshack.com/a/img922/4319/jBqHUh.jpg

Hi sdugoten,

The error for #1 is likely an issue with the settings in the plugin. If you can send me the link to your test site and a screenshot of your settings at william@solidcoding.com I can take a look to see what the issue might be. It’s most likely the wrong “vBulletin Forum” setting. One easy way to figure out the proper value for this setting is to go to the New Post page on Wordpress. At the bottom, in the vBConnector Options box there is a dropdown. Inspect the HTML of the dropdown and find the value # for the forum you want to create the post in (or select a forum). That will be the correct “vBulletin Forum” setting. Here is a screenshot for reference: http://imgur.com/nKC1ICh

For #2 this is because your Wordpress database is using utf8mb4 and your vBulletin is latin1_swedish_ci. There are some options here:

1) Ignore the warnings (turn off warning reporting) 2) Update your vBulletin tables/character fields in MySQL to utf8mb4 instead of MySQL.

William

Just an update on this, version 4.4 of the plugin fixes the Chinese character issues sdugoten was experiencing.

Hello running 4 vbulletin 4 sites, 1 VB3. I have amazon and ebay referral links going well. however need many more outdoor based sites. will the link referral product work for some? open to custom work if needed as well. let me know Kevin

Responded via email. Thanks!

Hello,

First of all – thank you for your work. The plugin works as a dream! With exception of two things…

1. Your client-side code depends on jQuery to do the smiley replacement for vb 5.x. I believe it to be a bad assumption that every site has jQuery loaded. I’ve modified code to be library-independent, and I suggest you to do the same in the next updates.

2. I’m running both latest Wordpress and vBulletin, and MySQL is set to utf8mb4_unicode_ci. Still the automated post appeared with ‘’’ instead of ‘’’ both on the forum and in the database. Is there any way to fix this issue? Should I check DB/WP/VB settings for something special?

Best regards, Max

Hmm… I’m having trouble reproducing this issue.

See here: http://wpdemovb5.solidcoding.com/?p=614 And here: http://vb5demo.solidcoding.com/forum/main-forum/189-crumbling-away-under-a-mass-of-vegetation-inside-the-abandoned-grossinger-s-catskill-resort-hotel?_=1490257919799

It looks like the problem doesn’t crop up in the text of the thread post which is really weird. My settings are with “Extra Character Encoding Compatibility #2” checked and set to “Default”.

Is there any way I can get WP admin access to reproduce and diagnose the issue on your site? My email is william@solidcoding.com

William

Replied over email, thanks

Heads up to other users, a recent change I made in version 4.4 of the plugin causes character encoding issues in VB5 when Wordpress database is UTF8. Will fix in upcoming update patch.

Hello William,

I hope it’ll be the last time I’m bothering you, but this issue needs your help.

So, for the improving performance reasons, I’m trying to put off the comments loading to wp ajax. Here’s the gist of my ajax call processing function:

$p = 11111; // post id $loop = new WP_Query(array('p'=>$p)); if ($loop -> have_posts()) : while ($loop -> have_posts()) : $loop -> the_post(); $comments = scVBConnector::$storedCommentsStr; endwhile; endif; $resp['htm'] = $comments; wp_die(json_encode($resp,JSON_UNESCAPED_UNICODE|JSON_UNESCAPED_SLASHES));

Function works properly, so there are no parsing errors or anything like that, but, unfortunately, it doesn’t get any comments, returning empty variable. Should I fire any triggers or address scVBConnector in some other way in this case? Is it even possible by default or does it require some code modification?

Cheers, Max

Actually, I think I’ve figured it out: if(!( (is_single() && is_main_query()) || is_page())) at line 1198 should be replace with if(!self::$scVBConnectorVarModeSetting && (!( (is_single() && is_main_query()) || is_page())))

But that’s a wild guess, so correct me if I’m wrong.

That’s ambitious! Yes I agree that AJAX would be the best way to load the comments. I do cache the comment pulls to help improve performance but you really can’t beat postloading the comments for optimal page load times.

scVBConnectorVarModeSetting is kind of what you are looking for but even with it enabled, the plugin will be pulling the comments on your initial page load anyway, so if you AJAX call it, now the database queries are running twice. What you will want to do is remove the displayComments hooks (add_filter( ‘the_content’, array(‘scVBConnector’,’displayComments’) );) and then statically call displayComments somehow from your AJAX endpoint.

Thanks for the advice, William. I saw the double-call problem, but the trick here is that I use several caching techniques, including CDNs and varnish boxes. So, with proper setup, I don’t really care about doing database calls in this situation: the original post is cached for a day on the edge server, for example, while ajax script is refreshed every half an hour.

Hey, does this plugin allow users from wordpress to be synced with vbulletin as well as the reverse? But for reverse they still sign up to wordpress & then it just syncs up with vbulletin. I saw you potentially found a way 2 years ago & if this is supported, I’d gladly pick up your plugin. :)

Hi there,

This plugin does not sync logins/registrations. However, it does allow users on the Wordpress side of the site to directly comment on posts/insert comments into the vBulletin thread, if they are logged in to the vBulletin forum or have the ‘Remember Me’ option checked.

Hope this helps,

William

I get this error at the top in WP when I save settings

Warning: file_put_contents(/home/xxx/public_html/wp-content/plugins/scVBConnector/cache/cache.php): failed to open stream: No such file or directory in /home/xxx/public_html/wp-content/plugins/scVBConnector-2/scVBConnector.php on line 234

Permissions are ok and file is there.

and also had to comment out line 13 in vbBase.php because I was getting iconv error and just blank page.

How to fix this?

I’m using vbulletin 3.8 but the database is hosted on different server, not the same where the files is.

He betrocker,

It looks like you’ve uploaded the plugin to a different folder name. I’ll fix this by using plugin_dir_path in the next update. For now, I would just edit the scVBConnector::$fileCache on line 21 of the scVBConnector.php file and replace scVBConnector with scVBConnector-2

For iconv it looks like in the next update I’ll need to wrap a function_exists call around iconv for installations that don’t have it enabled. By default iconv is enabled in PHP.

Let me know if you have any other questions!

William

Ok, I fixed the error by reinstalling plugin but I still can’t get it to work.

Is there a way to test DB connections?

Yes, if you enable ‘Debug Mode’ in the plugin you should see a bunch of red debug boxes (see demo for example: http://wpdemovb5.solidcoding.com/?p=631). Specifically you want to look for the “Database Connection:” box.

Alternatively, you can try accessing your MySQL server through the command line on your webserver to see if your database server is allowing remote connections: https://dev.mysql.com/doc/refman/5.7/en/connecting.html

If remote connections are not allowed, you will need to configure MySQL as well as your firewall to allow it. For remote connections, I recommend using a non-default port and also firewall restrictions allowing just your webserver through on that port.

You have any plan to implement user login sync between wordpress and vBulletin? the only plugin that was available “vBlink” is no longer replying message nor email…........

I don’t have any plans to implement that feature in this plugin. As far as I’m aware, vBlink is/was the best plugin for the login sync feature.

I am willing to write, implement, and support a custom login sync solution but it would have to be on consulting basis (charged by the project or hourly) instead of something I would sell on CodeCanyon. Let me know if interested!

Having trouble connecting to a remote mysql server.

WP is installed on a server with mysql 5.6.35

vbulletin3 is installed on a remote server with mysql 5.1.73

I’ve added WP server IP address to remote access and firewall whitelist.

The WP server can successfully connect to vb server via ssh command line. However, only when “—skip-secure-auth” it included in the command.

For example…

This connects:

mysql -u XXX -pXXX—host=74.86.XXX.XXX db_name—skip-secure-auth

However this does not connect:

mysql -u XXX -pXXX—host=74.86.XXX.XXX db_name

It gives this error:

ERROR 2049 (HY000): Connection using old (pre-4.1.1) authentication protocol refused (client option ‘secure_auth’ enabled)

I believe the mysql versions on each respective server may be the issue.

I think I need a way of adding “—skip-secure-auth” to the scVBConnector.php file. Any help is appreciated. Thanks!

Hi there,

Try changing the password for the DB account you are connecting to per: https://serverfault.com/questions/573809/skip-secure-auth-mysql-5-6-15

William

Thanks, however I’ve tried this and no luck. Would you be interested in assisting directly here? I’ve sent you a direct message. Obviously will pay for your time. Thanks.

Hi, I just bought this connector. Can you tell me if it is possible to somehow configure this plugin so that it will do the following:

take my forum topics (I have over 100k topics) and display them as posts in wordpress?

Hi proxxxxx,

Unfortunately although the plugin can create VB threads from WP posts, it does not do the reverse.

What you want is technically possible (by taking all the VB threads/topics, parsing the text and converting BBCode to HTML, and then creating WP posts) but it would require a custom conversion script.

William

Hi William, where can I contact you, maybe you could give me a quote to do this?

I can be reached at william@solidcoding.com

If you can give me some examples/specifics/urls I can get a better estimate of what you need done.

William

Hello

Until yesterday I had version 2.9 of vBulletin Connector and started to run php7 on my site so I force myself to update the plugin, I already have version 5.1 installed, I just use to display the forum thread on my homepage through another Plugin that is called wpdisplaybar, which I see is discontinued. I would like to know the current method for displaying the vbulletin thread.

Replied via email. For other interested parties, wpdisplaybar still works with the current version of vBulletin Connector, it’s just that I removed it off of CodeCanyon due to lack of interest.

by
by
by
by
by
by