Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter
Support for Vanilla Forums Cloud product

In this Discussion

Follow Us


New WordPress Plugin

edited January 2011 in Questions
@mark @tim I broke something installing the new WP plugin

I was previously using the older one which came with the plugin. I deactivated it then installed your new embed plugin that comes with the latests release of Vanilla.

...I haven't had he chance to upgrade my Vanilla yet, but I wanted to get the widgets included in the new plugin.

The trouble:
I'm getting this error:
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'vf_embed_menu' was given in .../wp-includes/plugin.php on line 395
Additionally, Validate and Save button doesn't work. The widgets are also not available.

Is a problem with the plugin, or probably something on my end? Can you translate that error message into layman's terms?

I downloaded the plugin from here: http://vanillaforums.com/blog/downloads/vanilla_wordpress.zip
Tagged:
«1

Comments

  • MarkMark Vanilla Staff
    Doh! I've pushed up a new version of the plugin at the same location: http://vanillaforums.com/blog/downloads/vanilla_wordpress.zip
  • @mark uploaded your new version...still getting the same error and issues...
  • MarkMark Vanilla Staff
    What version does it say you have of the plugin on the wp plugin management screen? If it's not 1.0.2, then you didn't get the latest version.
  • edited January 2011
    I'm also having an issue with the WP plugin. Whenever the plugin is activated in WP, the page url field on the edit page gets messed up(screenshot: http://www.thegallerymusic.com/forumSC1.png). I tried deleting it > installing it again twice to no avail.
    Also, when I go to enter my forum url in the admin settings it refuses it every time except once randomly. Now, after a reactivation, it's not accepting it at all.
    I just have no idea what's going on, haha. Any suggestions? Thanks!

    **EDIT**
    My forum is in located in a directory/subdomain (ie. forum.yourdomainhere.com), but since it worked once, I'm assuming this isn't a factor, but confused as to why it did then but not now.
  • I was having this problem too with v1.0.1 but v1.0.2 fixes the issue. Thanks.
  • Same here. The plugin version that comes with the vanilla installer is still 1.0.1. Please update the vanilla core file with the new plugin version. Glad I found this thread. :)
  • The 1.0.2 plugin seemed to work OK regarding embedding the forum, but it caused a weird graphics glitch in my Wordpress admin page.

    The slug editor input field is compressed and the "Edit" and "View Pages" buttons overlap the edit field. See examples here: http://www.ispwp.com/vanilla/embed.jpg and here http://www.ispwp.com/vanilla/editpage.jpg.

    Before installing the plugin the edit field and buttons looked normal. Anyone else having this problem?
  • edited January 2011
    @jcmilton, Are you using a subdomain or subdirectory? My WP plugin isn't recognizing my forum url. I've tried both a subdomain and subdirectory, but neither work.

    Would love to get this figured out. Heard a lot of great things about Vanilla, but quickly losing favor with these unresolved glitches.

    EDIT: and i AM using v.1.0.2. of the plugin, but....nothing.
  • edited January 2011
    @dave_moz I had to keep the standalone Vanilla ProxyConnect for WP3 plugin active in order to get the new VanillaWordpress plugin to recognize the forum url. I can only assume that's because the sso portion of the new WP plugin is commented out and not functional at this point.
  • edited January 2011
    @Cablespider Thanks! I did find that on the addons site, but I'd love to get the regular plugin working since so many people on here already have been. I guess I'm just trying to figure out what's making my install work improperly every time. I'll try ProxyConnect, but I'm still actively looking for a fix to my plugin problem.

    *EDIT*
    That's also not working. I currently have a static homepage on my WP site. Would that interfere when I try to punch in my blog address?
  • @dave_moz I'm using a subdirectory. I also have a static homepage on my WP site and my Vanilla forum is installed in the subdirectory "Vanilla" like this: http://www.yoursite.com/vanilla .

    Here's how I got the embed plugin to work for me:

    As I recall, Vanilla setup a Wordpress page with the title of "Discussion" and the slug was http://www.yoursite.com/discussion. I changed the page name from "Discussion" to "Forum" and changed the slug line to http://www.yoursite.com/forum

    In the Wordpress Plugin settings under Forum Administration where it says: "Tell WordPress where your Vanilla Forum is located" I put http://www.yoursite.com/vanilla (that's where it's installed).

    In the Vanilla section where it says: Forum Location in WordPress - Define where to access your Vanilla Forum within WordPress, that is set to: http://www.yoursite.com/forum. Underneath that is the embed code you can get from the Forum Code in your Vanilla admin page.

    Does that help?
  • A new version of the plugin has been uploaded here http://vanillaforums.com/blog/downloads/vanilla_wordpress.zip this should resolve most issues.

    We are still working on the plugin, and we appreciate all feedback.

    Community Manager for Vanilla Forums

  • @digibomb Thanks for the new version. Is there a changelog somewhere so we can see what has been fixed/changed?
  • Version 1.0.3. worked first try. fantastic! thanks so much. just trying to get the embed to work now, haha. got the embed code on the WP page I want, but nothing's showing up. Pressing on...
  • @jcmilton
    @digibomb Thanks for the new version. Is there a changelog somewhere so we can see what has been fixed/changed?
    I'll talk with @Mark and get one up as soon as I can.


    Community Manager for Vanilla Forums

  • @digibomb - I'm getting this response from the plugin: Forum url could not be validated. Are you sure you entered the correct web address of your forum?

    I wonder if this is some conflict with the Vanilla plugin?

    I installed 1.0.3 of the WP plugin, and am running WP embed plugin 1.0.1

    My forum is located in a subdirectory of my WP site.
    In the Forum Admin page I entered several variations of the url:
    http://leafboxtea.com/social/vanilla (the actual forum location)
    http://leafboxtea.com/social/vanilla/index.php
    and the embedded url of
    http://leafboxtea.com/discuss

    I did deactivate the embed plugin and tried again using the actual url for the forum and still received the negative response. Not sure what is going on here and since other folks got it working, I'm wondering if my trouble can even be recreated? I wonder if this is a conflict with some other plugin....?

    I really don't want to do the plugin dance...
  • edited January 2011
    So trying to get the embed to work, I deactivated the Wordpress plugin, and it once again no longer accepts my forum url to setup. My "Embed Vanilla" page has never showed the Remote URL field at the bottom either, so I'm not sure if this was one reason the actual embed never worked(even when I got the Wordpress plugin to work).

    Pretty glitchy experience so far. Any thoughts?
  • @leafboxtea, I deactivated all my other plugins and still no luck. Can't for the life of me figure out why it would work once, then never again.
    Seems like a couple people have a similar problem though.
  • The Wordpress plugin is now available in the WP repository! You can find it by searching Vanilla. If you already have it installed, your wordpress should have already nagged you about it.

    As of this post, it is version 1.0.4

    However.... @mark, I'm still not able to get the forum to validate. Are there certain requirements about this? Should the plugin be validating the forum from any url? I just can't get this sorted....
  • edited February 2011
    @digibomb - I'm getting this response from the plugin: Forum url could not be validated. Are you sure you entered the correct web address of your forum?
    I have the same error on my local development machine. These are my settings:

    PHP 5.3.0
    Wordpress 3.1 RC2
    Vanilla 2.0.17.8
    Vanilla Forums 1.0.4 (plugin for Wordpress)

    cURL 7.19.4 support is enabled on my PHP environment

    Wordpress is located in: http://localhost/wordpress/
    Vanilla is located in: http://localhost/wordpress/vanilla/

    I am very noob at PHP, but it seems like a redirect problem. But my .htaccess file on Wordpress installation is empty.

    Printing the variable $html in function
    vf_validate_options
    (/vanilla-forums/functions.php) returns the value Redirect. Don't know if could help.


  • edited February 2011
    Just installed vanilla for the first time in a subdomain (http://subdomain.mydomain.com/forum) and I am getting the same error about Forum URL cannot be validated. I can definitely access the forum directly using that URL. Any advice appreciated. Like the look and ease of use of the forum so far! I'm using WP plugin 1.04 as well with WP 3.05.
  • @shadowdare - not sure, there is no changelog. I know they mentioned publishing one, but I also know they are very busy and working hard. I just keep upgrading every time they push one out and hope for the best.

    I like the features the wordpress plugin offers, but I've managed to setup a good embed without it (my users primarily only interact on the forums). It'll be nice to have if it ever works for me, but I've found I can live without it.
  • @shadowdare changelog in 1.0.4 can be found in plugin.php is as follows:

    1.0.4
    - Fixed validation of Vanilla Url to correct when users incorrectly enter the path to their discussion instead of the actual root of the forum.
    - Fixed a bug that caused Vanilla Admin JS & CSS to be included on all wp dashboard pages.
    - Fixed a bug that caused the copy of the embed template to fail and throw a fatal PHP error.
    - Added an option to the embed form that allows widgets to use the embed url instead of the actual forum url.
    - Changed discussions widget to friendly-url-encode discussion titles.
    - Fixed plugin to work with forums that are not using mod_rewrite.

    I happened to stumble accross it when trying to find an answer to the "URL validation" issue, I am using:

    WP Version 3.0.5
    Vanilla Version 2.0.17.8
    WP Embed 1.0.4

    I cannot figure this out...any suggestions?
  • MarkMark Vanilla Staff
    It validates that the forum is there by sending a curl request to the url and then looking in the source of the response for your Vanilla's configured "WebRoot" url. If it is failing to validate, I bet it's because you don't have curl set up on your server. I can make it try to do an fsock request, but I bet you'd run into the same problems.

    I guess we need to change it so that you can force it to accept a specific url, but you're going to run into more problems with the widgets after the fact as they currently use curl to pull data as well.
  • @mark - That explains it, I've other problems with curl recently on something else not working. Low-level tech guy at my host says curl is setup but the other item that relies on it doesn't work either.

    Don't rewrite for us about that, not ur fault hosts don't keep things modern, up-to-date and flexible. I'm moving hosts anyway next week. Will try again with a host that is more contemporary.
  • @Mark

    It seems that my local environment has cURL enabled (version 7.19.4) but url fails to validate. Maybe there is some other host/cURL wrong setting.

    Do you have any suggestions what I need to check regarding this issue?
  • MarkMark Vanilla Staff
    edited February 2011
    @Drake - What is the url to your actual forum? Just want to make sure that it contains the info that the wp plugin is looking for.

    Also, what is the url you are entering in wp to validate?
  • @Mark just checked and we have cURL version 7.12.1 running on our server, any chance you can let us know what the WP Plugin is looking for on the forum URL in order to validate / what you are checking for in the above post?

    And also what we can do to fix whatever we can't find...if its not there... Hopefully that makes sense... just a bit of noob-ness showing through there - sorry about that!!

  • edited February 2011
    @Mark
    These are my settings:

    PHP 5.3.0
    Wordpress 3.1 RC2
    Vanilla 2.0.17.8
    Vanilla Forums 1.0.4 (plugin for Wordpress)

    cURL 7.19.4 support is enabled on my PHP environment

    Wordpress is located in: http://localhost/wordpress/
    Vanilla is located in: http://localhost/wordpress/vanilla/

    I am very noob at PHP, but it seems like a redirect problem. But my .htaccess file on Wordpress installation is empty.

    Printing variable $html in function
    vf_validate_options
    (/vanilla-forums/functions.php) returns the value Redirect. Don't know if could help.

«1
Sign In or Register to comment.