Not signed in (Sign In)

Categories

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthoralan
    • CommentTimeMar 30th 2007
     # 101
    That works! Thank you so much, you are completely my hero.
    •  
      CommentAuthoralast
    • CommentTimeApr 8th 2007
     # 102
    @squirrel

    sorry for bothering you again with this, but haven't you looked into the encoding issue regarding the %BlogPostTitle% token? to recap, I checked both Vanilla and WP (and the DB) as far as encoding is concerned - it is utf8 throughout. but still the (Cyrillic) title of the blog-post gets garbled once posted to the forum... has smth to do with WP and it drives me nuts :)
    •  
      CommentAuthorsquirrel
    • CommentTimeApr 10th 2007
     # 103
    alast: Haven't had a chance to look at encoding, no. I will do what I can but I don't understand the problem very well.
    •  
      CommentAuthoralast
    • CommentTimeApr 10th 2007 edited
     # 104
    thanks, squirrel. the problem it seems is a generic wordpress one. i described the symptoms here

    and maybe you can just help me locate it if you say where exactly from in WP Janine picks up the title and the content, so that I could check those areas of WP encodingwise.
    •  
      CommentAuthorsquirrel
    • CommentTimeApr 10th 2007
     # 105
    Janine pulls the title and content directly from the wp_posts table.

    But now that I think about it, Janine doesn't open a new DB connection. It just uses the existing Vanilla DB connection. If Vanilla and WP use different encodings for the DB connection, maybe this could be the problem? I dunno...
    •  
      CommentAuthoralast
    • CommentTimeApr 11th 2007 edited
     # 106
    the thing is they use the same. or at least supposed to do so...

    maybe the easiest way to test this is to type in something in non-latin characters and see what happens? :)

    at this stage I don't even know whether it's just me who's having this :)
    •  
      CommentAuthorsquirrel
    • CommentTimeApr 11th 2007
     # 107
    Still not seeing it. It works for me.
    •  
      CommentAuthorsquirrel
    • CommentTimeApr 11th 2007
     # 108
    By the way, I'm using comment #2 in this discussion for bug/feature tracking information. Please let me know if I should add anything to the list. Thanks.
    •  
      CommentAuthoralast
    • CommentTimeApr 11th 2007 edited
     # 109
    ok. it looks like it's on my side somewhere. have to go through MaxB routine again... keep you posted :)
    •  
      CommentAuthoralast
    • CommentTimeApr 19th 2007
     # 110
    @squirrel

    jut to let you know that i've sorted the encoding thingy out. it was a weird bug in my editor. smth i eventually ran into almost by chance :)
  1.  # 111
    Few problems with Janine.

    I will be transferring content from the old site to the WP blog. So, I'm setting up lots of files, but assigning them to the appropriate authors. When a discussion is created, shouldn't it create the discussion using the name of either the person who clicked the discussion link to start the thread, OR the name of the author? Instead, it's listing ME as the creator on all of them.

    Also, the link from the discussion back to the article has gone bad again.

    Some of the links are still bad, I think it's because I have tried to change the link structure and some links were made with pretty links--but the blog links are back to default.

    Logging into one side doesn't log me into the other. Got a couple of things to try on that issue.

    Tried them, don't know where to go from here.
  2.  # 112
    Well, I haven't cone anything to the link structure and about half of the Janine-created links back to articles are good and the other half bad. I can manually fix each one, but don't understand what's happening.

    When I post a blog article--no matter who the author is--the Vanilla discussion puts me as the author. Today I learned that when my other authors create blog entries, the Vanilla discussions still list ME as the author, even though I wasn't even logged in when it occurred.

    Again, I'm not sure where Janine gets its author info, but it should be using the author, I think. Can this be changed?

    Login still doesn't apply to both sides.
    • CommentAuthorcircuit
    • CommentTimeMay 6th 2007
     # 113
    isn't there a setting in the config file for author - it's switchable, 0 or 1, depending on whether you want the admin or the blog post creator to make the forum post.
  3.  # 114
    Thanks circuit. I set that bugger so many times, but apparently missed it on the last install. Worked like a charm.
  4.  # 115
    I want to make my forum's URL friendly, but doing so will break the exitsting links from the blog to the forum. How do I change the URL the WP discussion link points to?
    •  
      CommentAuthor[-Stash-]
    • CommentTimeJul 4th 2007
     # 116
    Any of the issues mentioned in the 2nd post been included in the release yet?
  5.  # 117
    Haven't seen squirrel since April. Roadkill? :(
    •  
      CommentAuthor[-Stash-]
    • CommentTimeJul 13th 2007
     # 118
    LOL :D I hope not!
  6.  # 119
    Looking to expand the features of this add on. Noticed that we're currently using a very simple method for detecting XML-RPC requests. I wanted to know if anyone had any experience porting this over to a more robust XML-RPC Client/Server... say PEAR XML_RPC?
    •  
      CommentAuthorsquirrel
    • CommentTimeAug 28th 2007 edited
     # 120
    I... live... again!

    Based on feature requests I've received, I'm looking at a complete overhaul of Janine. The likely result will be a new extension that breaks compatibility with the old Janine. In this case a migration script will be included in the new extension.

    Features checklist:
    • Building on the generic idea of "affiliated discussions" to include support for blog posts, wiki pages, etc.

    • Support for external data sources (i.e., no need for Vanilla to share a database with the blog or wiki).

    • Support for affiliated discussions from more than one source (i.e., a blog and a wiki at the same time).

    • More intelligent matching of user and category names (useful on a totally plain Vanilla with no other modification).

    • A real, grown-up settings page with no need to hand-edit configuration files.


    I'm thinking of calling it "Affinity".
    •  
      CommentAuthor[-Stash-]
    • CommentTimeAug 29th 2007
     # 121
    I have a suggestion squirrel, why not call the extension something like "WP Affinity"? Then you can also make a "Drupal Affinity" and we have at least *some* indication what the extension does ;)
    •  
      CommentAuthorsquirrel
    • CommentTimeAug 29th 2007
     # 122
    Wait a minute... I just had a thought. Maybe we could add some sort of feature to the extensions menu that lets an author provide a sentence or two with some detail about what the extension does. You know, like a DESCRIPTION that is SHORTer than the full documentation, yet still slightly longer than the name itself.

    It's a crazy idea, but it just might work.
  7.  # 123
    Just finished my first test using XML RPC to create new categories... Had to modify Category->GetPropertiesFromDataSet to include CategoryRoleBlock, otherwise it's pretty clean (uses PEAR XML_RPC). Once I get it into line with the Add-Ons standard I'll post it.
    •  
      CommentAuthoralast
    • CommentTimeSep 30th 2007
     # 124
    @squirrel,

    hope you are working on the revised version. and hope, you know that the current one no ;onger works with wordpress 2.3, because the wp's new database structure
    • CommentAuthorNeverender
    • CommentTimeOct 17th 2007
     # 125
    yep. doesnt work with wp 2.3...
    •  
      CommentAuthor[-Stash-]
    • CommentTimeOct 17th 2007
     # 126
    Bugger, was planning on using this on a new WP 2.3 site. I'm available for testing if you want Squirrel ;)
    •  
      CommentAuthorsquirrel
    • CommentTimeOct 17th 2007
     # 127
    Understood. It's in my queue.
    •  
      CommentAuthorThaRiddla
    • CommentTimeOct 26th 2007
     # 128
    any news on this update?
  8.  # 129
    Great plugin squirrel!

    For the users who need to get it working on WP2.3 you have to change this code:

    File: Janine.Control.WordPress21.php

    From This:

    if (!array_key_exists('JanineBlogPost2Cat', $Context->DatabaseTables)) {
    $Context->DatabaseTables['JanineBlogPost2Cat'] = 'post2cat';
    $Context->DatabaseColumns['JanineBlogPost2Cat'] = array(
    'BlogPostID' => 'post_id',
    'BlogPostCategoryID' => 'category_id',
    );


    To This:

    if (!array_key_exists('JanineBlogPost2Cat', $Context->DatabaseTables)) {
    $Context->DatabaseTables['JanineBlogPost2Cat'] = 'terms';
    $Context->DatabaseColumns['JanineBlogPost2Cat'] = array(
    'BlogPostID' => 'term_id',
    'BlogPostCategoryID' => 'name',
    );


    It worked for me, I suggest you make a backup of everything before implementing this quick fix. I look forward to future releases!
    •  
      CommentAuthor[-Stash-]
    • CommentTimeNov 8th 2007
     # 130
    Thanks for that OSO! :) I've not had a chance to try it yet, but I certainly will.

    Considering that file is called WordPress21, perhaps we should create a WordPress23 file with these amendments in and change the reference to the file? Or is that just too complicated and not worth the hassle?
  9.  # 131
    If you want to do that you can open /conf/settings.php and change the following:

    $Configuration['JanineControlType'] = 'WordPress21';

    To This:
    $Configuration['JanineControlType'] = 'WordPress23';

    Then make a copy of Janine.Control.WordPress21.php and rename it to Janine.Control.WordPress23.php

    You will also have to change the following in Janine.Control.WordPress23.php:

    From This:

    class JanineWordPress21 extends JanineControl {

    function JanineWordPress21(&$Context, $PingMethod) {
    $this->Name = 'JanineWordPress21';


    To This:

    class JanineWordPress23 extends JanineControl {

    function JanineWordPress23(&$Context, $PingMethod) {
    $this->Name = 'JanineWordPress23';


    Make sure you include the changes from my above post, and that should do it for you!

    That should take care of it. I have tested it on my install and it works fine.
    • CommentAuthormschicamae
    • CommentTimeMar 17th 2008 edited
     # 132
    OMG justcallmeoso, bless you...i've been trying to get this to work for hrs and i'm not a php'r lol. That fixed everything! Thanks...and thanks squirrel for putting this together u rock...
    • CommentAuthorbuwg
    • CommentTimeApr 3rd 2008
     # 133
    Squirrel, where's Affinity?
    • CommentAuthorcircuit
    • CommentTimeJun 20th 2008
     # 134
    does this only create a forum post when a post is 'published' - i.e. not a draft or pending review?
    •  
      CommentAuthorsquirrel
    • CommentTimeJun 22nd 2008
     # 135
    Actually it only creates a forum post when the "comments" link is visited. So basically yes, because if no link is visible to click then no forum post happens.
    • CommentAuthorcircuit
    • CommentTimeJun 23rd 2008
     # 136
    yeah i realised that afterwards - duh! i realised that the behaviour i want (posting the thread when the post is published) doesn't work - you have to specifically create the discussion each time. not sure if it would be easy to fix this? what do you think?
    • CommentAuthorchanzero
    • CommentTimeAug 7th 2008
     # 137
    hey squirrel and friends :)

    does janine work with WP 2.6?
Add your comments
    Username Password
  • Format comments as