All Good Things Must Come To An End

As you all know, I have been doing WordPress plugins and supporting it for the past 6 years. These 6 years of my life, I have been through my polytechnic education, my national service as well as my university education.

I just graduated from university in December 2009 and have been looking for full-time jobs. I am offered a full-time job and will be starting work on 1st February 2010.

I regret to say that I am NOT ABLE to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

However, I WILL still update my plugins whenever I can and you still can report bugs to me via email and I will try to fix it.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Sheamus

Pages: [1]
1
Or would this likely work better if I installed the backup on a clean WP install?

2
WP-DBManager / Move to a new database, same server/domain?
« on: 07 August 2009, 12:03 »
Apologies if this is a dumb question. I'm a fairly experienced WP user but know little about SQL, beyond basic set-up etc.

I've been using DBManager for a while. I'm having problems with a database and would like to move my WP blog to another database. This is on the same server. I will be using the same URL.

If I backup my current DB, change wp-config.php to the new database and re-upload, I assume my blog will be completely empty (or will it present the 'new install' page?).

If I then restore my database, will it work out of the box? Or does the DBManager save information that is relevant only to the previous database, which will then mean it won't work on the new one?

Thanks for any help Lester. Cheers.

3
WP-Polls / Re: Wrong Percentage Calculation in 2.50
« on: 22 June 2009, 08:35 »
Yeah, that fixed it - thank you! :)

4
WP-Polls / Re: Wrong Percentage Calculation in 2.50
« on: 21 June 2009, 18:13 »
I have the same problem with the percentages, but when I attempt this fix, the plugin won't reactivate due to a fatal error. I've tried a couple of times now.

I use WP 2.8. The plugin works fine otherwise, and has done for some time. It just doesn't add up the percentages right when users can provide multiple answers.

Example: http://twittercism.com/poll-why-block/

I know you're a very busy chap, but any help is most appreciated. :)

5
It does not matter whether you are using [ratings] or not as every post you create, its default value will be 0 for the ratings users, score and average.

Your top 100 rated post will just display the top 100 rated post regardless or not where the value is 0. As your post ratings are limited (due to there is not more than 100 posts that is rated at least once), it will still display the 0 ratings post.

No idea whether you got me.

Right, so effectively I need to not have a top 100 page until I actually *have* 100 reviews, yeah?

And same goes for the widget - 'cause it's looking for ten reviews, yeah?

I think that's what you mean. :)

6
all the 3 ratings, users, score and average will be created upon publishing the post. It will appear in your top rated because the rated post has not enough posts to fill up the top 100 position and hence it will appear. In the new version, I have set a minimum number of posts before it appears.

So if I install the latest version it should fix my problem, yes?

Otherwise, I must admit I'm a bit confused as to your reply, principally because if the widget itself is giving this problem, and every new post I make automatically gets added to the widget's output (and the top 100 post), even though your function is not in my loop and I'm leaving out the [ratings] command, I'm not sure exactly what it is I've done wrong.

My gut feeling is that somehow it's gotten into the loop, because otherwise I don't see why each new post would be getting added to the ratings database.

7
Yeah, that doesn't explain the widget error, though, which is producing the same output (despite being set to post). The 'Most Rated' widget has the same problem.

Replacing 'both' with 'post' (in a post), as per your advice, produces an identical result.

Indeed, just doing a new 'test' post adds this to the rating output, even though it doesn't have the [rating] code included.

http://www.actionmoviemania.com/2008/03/17/test/

I haven't added any code to the loop as I don't want it on every page - just review pages, hence using the [rating] tag as suggested. But somehow it *is* being added to every new page, even if it's in a non-rateable way.

Cheers for your help. :)

NB: I've removed the posts I linked above (from my site) in my first post in this forum.

EDIT: Simply *editing* a page adds it to the ratings output list as well. Clearly some kind of function is being inserted when one does anything in the edit window but I've searched through all my theme files and can't find the rating function anywhere. Most perplexing.  :(

EDIT #2: What I've just noticed is that when making a new post, the ratings function is *not* included in the 'custom fields' area, but once posted, it's there when you do an edit. Deleting all the ratings custom fields does not remove the post itself from the output (in the top X).

8
Hi

WordPress Version: 2.3.3
Theme: IAMWW w2 DnD 0.85
Blog URL: http://www.actionmoviemania.com/
Problem Plugin Name And Version: WP Post Ratings 1.20

Great script - worked perfectly out of the box, except this odd little bug!

I'm setting up a website that reviews action movies, notably the classic ones from the 1980s-1990s. I wanted a feature that let users add their own ratings, and this is where your script comes in! :)

Works great, except this oddity. I've started a post that will eventually show the Top 100 user reviews on the site:

http://www.actionmoviemania.com/2008/03/27/the-user-top-100/

I've executed the PHP in this post using the well-known EXEC-PHP plugin (http://bluesome.net/post/2005/08/18/50/). It's worked, but oddly, it's also added the Top 100 page *itself* to the 'ratings' list, too, even though no [rating] command exists on that page, nor is it in any way ratable! :D

It's also added it to the Top 10 highest-rated widget that displays on the sidebar, so the bug *does* seem to be in your plugin, as opposed to anywhere else, although I may be quite wrong! :)

This is the code I've used:

Code: [Select]
<?php if (function_exists('get_highest_rated')): ?>
   <ul>
      <?php get_highest_rated('both',100); ?>
   </ul>
<?php endif; ?>

It's an odd little error but obviously not something I want displayed on my rankings page! :D

Any help appreciated.

Cheers,
Sheamus

Pages: [1]