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 - peacefulparadox.com

Pages: [1]
1
Chit-Chat / Display a random wordpress post
« on: 22 September 2008, 05:21 »
I was using this code to display a random post from category 3...

Code: [Select]
<?php $rand_posts get_posts('numberposts=1&orderby=RAND()&category=3');
 
foreach( $rand_posts as $post ) :
 
setup_postdata($post); 
?>


It used to work.  But after upgrading to the latest Wordpress version, it does not work.  The query now just displays the first latest post of category 3.  Does the orderby=RAND() not work anymore?

How else can I display a random post?

2
You have HTML and Javascript forums under the Programming section.  I think it would be a good idea to create a forum to ask general Wordpress questions that are not related to plugins.

3
Chit-Chat / Re: How to determine wordpress version?
« on: 16 July 2008, 13:34 »
Ah, right.   How could I have missed that.  Thanks.

4
Chit-Chat / How to determine wordpress version?
« on: 16 July 2008, 04:04 »
I'm trying to upgrade a wordpress codebase to 2.6.  But I have to know what the current code base is at so that I can diff it with an archive original codebase in order to determine which files in the codebase had changed.

Is it me?  Or is it really difficult to determine the what version a wordpress code base is currently at?  I couldn't find anything in config.php and I don't see anything like version.php.  I've looked in upgrade.php, browse the database, and still it is not obvious.


5
Thanks.  Actually, I'm thinking of building another "somewhat related" site based on Wordpress.  I want to use the same domain name but under a sub-directory.

So for example, my current site is sitting at http://www.funandeducational.com
I want another WordPress (with a different theme) at http://www.funandeducational.com/brainbuilding/

What is the best way of doing it?  Should I install another instance of WordPress in the brainbuilding directory and use the same MySQL database but with a different "table prefix"?


6
Chit-Chat / Wordpress SQL injection?
« on: 25 June 2008, 02:05 »
I happened across this post on the internet about SQL injection in WordPress...

http://wordpress-plugins.feifei.us/40/attack-of-the-wordpress-hacking-spam-trackbacks/

Is this something we have to worry about?  Or how shall we prevent SQL injections in WordPress?  The post didn't really say.


7
WP-Polls / Re: Javascript errors with Polls
« on: 13 June 2008, 06:12 »
Yes, it works fine when I stick it in the sidebar of the default theme.  So it is a problem with my customized template missing the wp_head.php from the header.php.   Thanks for the tip.  I was able to fix the problem.

8
Recently completed FunAndEducational.com where you can find fun and educational videos.

Feedbacks are welcome.

9
WP-Polls / Javascript errors with Polls
« on: 12 June 2008, 17:10 »
I see my poll radio buttons, the vote button, the view results link, and then a spinning loading image that spins forever.

When I click Vote, I'm getting a Javascript error of poll_vote is not defined.

When I add

<script src="/wp-content/plugins/wp-polls/polls-js.js"></script>

the error disappears but I get another JS error saying "sack" is not defined.

Does the poll plugin work in Wordpress 2.5.1?  That is the wordpress version I'm in.

Pages: [1]