Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Intense Debate 0.1

  1. #1
    Design & Development petsagouris's Avatar
    Join Date
    Jul 2010
    Location
    Rethymno, Greece
    Posts
    314
    Blog Entries
    2
    Thanks
    54
    Thanked 137 Times in 102 Posts

    Default Intense Debate 0.1

    Intense Debate
    Version: 0.1
    Author: George Petsagourakis
    Created: 2010/09/06
    Last Updated:
    2010/11/22
    Tested on: Hotaru 1.5.0-dev
    Plugins Required: None
    Plug & Play: Yes
    Supported: Yes

    Description
    A very basic plugin to enable comments with Intense Debate.
    It doesn't support importing comments and there's no integration between
    Hotaru users and Intense Debate users.

    Instructions
    1. Upload the "intense_debate" folder to your plugins folder.
    2. Install it from Plugin Management in Admin.
    3. Add your Intense Debate "IntenseDebate site acct" key in the Settings page.


    Known Issues
    The comment count link, e.g. "3 comments" will show zero if the url doesn't match the url that the first comment was posted on. Therefore, switching between friendly and standard urls will reset the counter for all previous posts. This doesn't remove comments, just the comment count.



    Revision History
    - v.0.1.0 2010/09/06 - George - Released first version

    Please click "Rate Thread" and give this plugin a rating. Thank you.
    Attached Files Attached Files

  2. Thanked by:


  3. #2
    Member
    Join Date
    Nov 2010
    Posts
    59
    Thanks
    2
    Thanked 5 Times in 4 Posts

    Default

    WOW good job, I like how hotaru is getting all the plugins really essential for a good wordpress site, which makes for an awesome hotaru platform experience. Quick question, (sorry my testing platform broke) I assume normal users and intense debate can't interact at the same time, so users would only register if they wanted to submit stuff right?

  4. #3
    Design & Development petsagouris's Avatar
    Join Date
    Jul 2010
    Location
    Rethymno, Greece
    Posts
    314
    Blog Entries
    2
    Thanks
    54
    Thanked 137 Times in 102 Posts

    Default

    Quote Originally Posted by done View Post
    I assume normal users and intense debate can't interact at the same time, so users would only register if they wanted to submit stuff right?
    Correct. This is as far as I could go. If you know of a way to make the users that are logged in the Intense Debate to be able to submit content then please enlighten me.

  5. #4
    Member
    Join Date
    Nov 2010
    Posts
    59
    Thanks
    2
    Thanked 5 Times in 4 Posts

    Default

    Damn I was about to edit the post as I tested it, but I will say again really great plugin. IntenseDebate is super powerful commenting system, and apparently now has its own set of plugins too - crazy. Lack of local comments is deff a shortfall since it means less visible material for google seo, but since I'm not focusing too much on that I will definitely use this. Thank you!

    ADDON: I noticed it doesn't support comment count on the main page (which is pretty important), are you planning on adding that? It doesn't seem too difficult a task, but if you're not, I will see what I can do or maybe add my findings here so the code can be generated (though I admit it will be very much outside of my experience).

    UPDATE: Hmm, I see that the code seems to support comment count on main index page; however it doesn't work for me. I tried changing the !== to !=, but beyond that I'm not sure what else needs changing.


    Am I really the only one with this problem?
    Last edited by done; 11-25-2010 at 12:39 AM. Reason: update

  6. #5
    Member
    Join Date
    Nov 2010
    Posts
    59
    Thanks
    2
    Thanked 5 Times in 4 Posts

    Default something is wrong

    OK, so I have been working on plugin and something is wrong. I cannot display ANYTHING through show_post_extra_fields. I know the comment count code works because when I swapped that with comment list it showed comment count. I have tried with just bookmarking and intense debate plugin activated and still could not get anything to display at show_post_extra_fields, I'm not sure that plugin hook is working at all.

  7. #6
    Design & Development petsagouris's Avatar
    Join Date
    Jul 2010
    Location
    Rethymno, Greece
    Posts
    314
    Blog Entries
    2
    Thanks
    54
    Thanked 137 Times in 102 Posts

    Default

    Maybe it is that you haven't declared you are going to use the hook in the plugin file header comment.
    Please see more information in the docs for making plugins.

  8. #7
    Member
    Join Date
    Nov 2010
    Posts
    59
    Thanks
    2
    Thanked 5 Times in 4 Posts

    Default Fix

    I'm happy you wrote this plugin, but that last response is pretty absurd given this is your plugin. Anyways, I figured out fix:

    (1) change header hook to show_post_extra_fields instead of posts_show_post_extra_fields
    (2) change evaluation of to != from !==
    (3) add background-repeat:no-repeat; to intense_debate.css

    Nick, I also had a ton of frustration because plugins would not change after saving the .php and clearing cache, I had to install and uninstall the plugin from plugin management for changes to take place (I don't know why) - might want to be put that in the documentation as platforms like Wordpress don't require that.
    Last edited by done; 11-25-2010 at 10:40 PM.

  9. #8
    Former lead dev Nick's Avatar
    Join Date
    Jun 2009
    Location
    Kakamigahara, Japan
    Posts
    2,863
    Blog Entries
    88
    Thanks
    486
    Thanked 810 Times in 529 Posts

    Default

    Quote Originally Posted by done View Post
    I had to install and uninstall the plugin from plugin management for changes to take place (I don't know why)
    When you install a plugin, it registers the hooks in the database. To change those hooks you can either:

    a) upgrade the plugin (i.e. increase the version number and re-enable the plugin); or
    b) re-install the plugin.

    Note 3 in Make your first plugin mentions the need to reinstall the plugin after changing a hook.

  10. #9
    Member
    Join Date
    Nov 2010
    Posts
    59
    Thanks
    2
    Thanked 5 Times in 4 Posts

    Default

    Hmm, I've noticed a problem where I will have a "Page not found" in my top right screen when I use this plugin. Any ideas?

  11. #10
    Design & Development petsagouris's Avatar
    Join Date
    Jul 2010
    Location
    Rethymno, Greece
    Posts
    314
    Blog Entries
    2
    Thanks
    54
    Thanked 137 Times in 102 Posts

    Default

    Is it on one promoted post only ?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Intense debate plugin
    By James Bond in forum Plugin Suggestion Box
    Replies: 8
    Last Post: 11-22-2010, 08:03 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •