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.


Topics - frisco

Pages: [1]
1
WP-PageNavi / WP-Pagenavi with static front page
« on: 09 November 2008, 04:16 »
Hopefully you can point me in the right direction to fix this problem.  My website is www.qbgarage.com running WP 2.6.3

In WP settings, my blog address (URL) is http://www.qbgarage.com and I have a static front page.  I have a hard-coded link to my blog on my main menu to http://www.qbgarage.com/index.php.  Everything works fine, except pagenavi.  Pagenavi sets the link to page 1 as my blog address, or just http://www.qbgarage.com.

I'm not sure if you can see this, because I don't have that many posts.

If I change my blog address to http://www.qbgarage.com/index.php in WP settings, pagenavi works fine.  But this approach adds index.php to the permalink for all my posts/pages, which redirect fine, but just look very strange.  So what I want to do is reset my blog address (or whatever variable is used for page 1) in pagenavi to http://www.qbgarage.com/index.php.  That way pagenavi will return to my blog and not my home page. 

Any suggestion on how I can do that?  Thanks in advance.

2
WP-Ban / After upgrading to WP-Ban 1.30, wrong total shown
« on: 02 June 2008, 16:01 »
Had a WP 2.5.1 blog running WP-Ban 1.20 just fine.  Probably had close to 2000 bans that WP-Ban made.  After upgrading, all the bans made are still listed, but the sum of all the bans is displayed as "7", which is clearly wrong.  Just a handful of rows in the list of bans made add up to more than 7.

Is WP-Ban 1.30 just reporting the bans made since 1.30 was installed?  Is it just a math or display error?  Did I do something wrong?

3
WP-Ban / Banning proxies
« on: 01 June 2008, 19:13 »
I came across this little bit of code as a solution to ban users visiting from a proxy server.  The reasoning was that people who don't use proxies have no http_x_forwaded_for setting.  Developer claimed that check for user agent s because most DDoSing programs don't have a User-Agent attribute where as all internet browsers do.

Code: [Select]
if(isset($_SERVER['HTTP_X_FORWARDED_FOR']) || ($_SERVER['HTTP_USER_AGENT']=='') || ($_SERVER['HTTP_VIA']!='')){
        die("Don't use proxies, please.");
}

Would this work?  Maybe add a switch to wp-ban to ban proxies or not?

4
WP-Print / Undefined function add_shortcode()
« on: 30 March 2008, 23:54 »
Are the Beta 2 versions of the plugins only compatible with WP 2.5?  I ask because I tried to install wp-print 2.30 b2 on WP 2.3.3 and got this error.

Fatal error: Call to undefined function add_shortcode() in .../wp-content/plugins/wp-print/wp-print.php on line 177

Is this a core WP function?  Or does it come from another of your plugins?  This was the 1st of yours that I tried to upgrade.

Thanks.

5
WP-Polls / Oddity after upgrading to latest version
« on: 28 December 2007, 23:13 »
Lester, I came across this little oddity after upgrading to WP 2.3.1 & the latest version of WP-Polls.  After I upgraded and activated the plugin, I didn't visit Polls Options and check settings.  There was no selection for Poll Bar Style.  Therefore, since there was no style, code like this ...

Code: [Select]
echo "\t".'background-image: url(\''.get_option('siteurl').'/wp-content/plugins/polls/images/'.$pollbar['style'].'/pollbg.gif\');'."\n";

generated an effort to get this image ...

Code: [Select]
.../plugins/polls/images//pollbg.gif and
Note the double //'s.  I went to Polls Options, made a choice for Poll Bar Style, deactivated, reactivated, and the bad link was gone.  It's not so much a problem with the plugin as adding this to the upgrade instructions.  Then again, it could be user error. ;D

6
WP-PostRatings / Problem doing first rating
« on: 12 December 2007, 23:20 »
Lester, upgraded www.lakeholidaynews.com to WP 2.3.1 & Postratings 1.20.  Site worked fine with earlier versions of WP and postratings.

After upgrade, everything seems to work fine, except no one can rate new posts.  Here's the basic error (IP, username details removed...)

Code: [Select]
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''1197482684', 'ip.ip.ip.ip', 'ipxxx-xxx-xxx-xxxx.somewhere.net' ,'username', 1)' at line 1]
INSERT INTO wp_ratings VALUES (0, 90, 'It\'s Not Our Problem Anymore', ,'1197482684', 'ip.ip.ip.ip', 'ipxxx-xxx-xxx-xxx.somewhere.net' ,'username', 1)

I tried removing the ' from the post title, but no luck. 

Any thoughts?

Btw, we've been having a lot of spammers from Asia, so we've banned (using WP-Ban) big blocks of IP's.  If you can't see the site, let me know.

7
WP-Print / WP-Print 2.2 ok for < WP 2.3?
« on: 04 October 2007, 04:42 »
the changelog for WP-Print 2.2 says that it is only compatible for WP 2.3, but your blog annoucement at lesterchan.net/wordpress says that it works for earlier versions.  Which is correct? 

8
WP-DBManager / Absolute path with Hostgator
« on: 28 July 2007, 05:20 »
Gamerz - any thoughts on what the absolute path would be with Hostgator?  I saw your previous answer about dreamhost, and that didn't work. 

Hostgator uses something like:
[domain]/[~user_name]/cpanel to access its cpanel...
[domain]/[~user_name]/phpinfo.php will run that script,

but putting something like [domain]/[~user_name]/wp-content/backup-db doesn't work.

Any suggestions?  TIA.

9
WP-Ban / Feature suggestions
« on: 25 July 2007, 04:34 »
When you first came out with WP-Ban, I wondered: why would I ever need this?  But this has become my favorite plugin, partly because we have one user that has been banned and tries to keep coming back over 150 times.  He switches IP, brags, we ban the new IP, and on and on.  The fact that we have had to ban multiple IP's connected to one nut made me think of this feature suggestion.

It would be nice to be able to attach a comment or remark to a banned element (IP, range, etc), because it's easy to forget why they were banned in the first place.  One suggestion might be to follow a banned element by the comment, as in 192.168.1.1{some spammer}, keep that value in 1 field, and make a copy with the comment stripped for processing by the plugin.  This way, users could add comments or not as the need arises. 

My other suggestion would be to sort the several ban list on refresh.  I've gotten into the habit of entering IP's in order, but it would be nice for the plugin to do this for me.  Sometimes, I've banned a few consecutive IP's, only to realize it would have been better to just ban a range.

But this is a great plugin - keep up the great work.

10
WP-PageNavi / Pagenavi 2.11
« on: 09 April 2007, 00:50 »
Gamerz, I know 2.11 hasn't been released but thought you might want some feedback.  First of all, the new formatting looks great.

Pagenavi seems to be working differently in Firefox vs IE 7.  Firefox says there are 4 pages...0-4 (which is actually 5).  Despite the page numbering, the boxes appear as expected and look great.  In IE7, it says there are 5 pages (1-5), and the top and bottom of the boxes around the page #'s are missing, as in |1|.

If it's me, let me know.

11
WP-PostRatings / Problem with the log
« on: 06 March 2007, 05:46 »
Condition: Postratings 1.10 running with WP 2.1.2 with hundreds of ratings...

To scroll through the logs by IP and 100 at a time, I change the sort options to IP, Descending, 100 per page and click sort.  This causes the first 100 to display.  The sort options I chose remain selected. 

If I click the Next Page link, I get the next page with the default sort options (Date, Descending, 20 per page).  In other words, the options I chose don't stick.  The options selected don't matter.  They always return to the default when Next Page is clicked.

If I click pg 2, the sort options that I selected remain (IP, Descending, 100) and I see the next 100.  This works the same way by clicking on each new page in succession.  I think this is the right behavior.

Shouldn't clicking the Next Page link produce the same result as clicking on the pg #? 


12
WP-Ban / Ban a range of IP's?
« on: 13 February 2007, 03:36 »
Can you enter a range of IP's in the list to be banned, separated by a hyphen, as in:

255.255.0.0-255.255.10.255

?

If so, maybe you want to change the prompting at the left of the box for IP's.  If not, it would be great to be enter a range.

Thanks for another great plugin.

13
WP-PostRatings / Missing functions in Postratings 1.10
« on: 27 January 2007, 22:19 »
Here's a couple of issues with postratings 1.10 for WP 2.1

Just an FYI, I don't have WP-Stats installed. 

First problem: There used to be a function that was missing from an earlier version of postratings called snippet_chars().  I think this function was in WP-Stats.  I found the function, pasted it into postratings, and all was well.  But in postratings 1.10, it appears the function was renamed to snippet_text().  I have several of your plugins installed, but snippet_text() came up as undefined.  If you look at the changelog, you'll see mention of this snippet_ issue.  I brought it up on the old board, but couldn't find the old post now.  I tried installing the latest WP-Stats, where snippet_chars() IS defined, but there's no snippet_text().  I brought in snippet_chars() and renamed it to snippet_text() and it seems to behave as it should.

Second problem: There used to be a function called get_highest_rated_sidebar() in earlier versions of postratings.  This had a parameter enabling the shortening of links to appear in the sidebar.  Either it had a parameter enabling turning off the display of the ratings image (stars or whatever) or I added this functionality.  get_highest_rated_sidebar() is gone in 1.10 of the plugin, but what does the $display parameter do?  Is that how you can turn off the display of the ratings image?  If so, setting it to false doesn't work. 

As a quick fix, I just changed:

Code: [Select]
$temp = "<li><a href=\"".get_permalink()."\">".snippet_text($post_title, $chars)."</a> ".post_ratings_images."</li>\n";

to:

Code: [Select]
$temp = "<li><a href=\"".get_permalink()."\">".snippet_text($post_title, $chars)."</a> "."</li>\n";

I'm working for now so maybe you can just adjust these things in future releases. 

14
WP-Polls / Can poll be styled to look like this?
« on: 07 January 2007, 02:08 »
Is there a way to style a poll in a post so it looks like this poll?  I'd like to be able to style a poll (or results) in the sidebar different from the styling in a post.  Can someone point me in the right direction?

http://msn.foxsports.com/nfl/story/6335406

15
WP-Polls / New feature suggestion
« on: 25 December 2006, 01:42 »
Gamerz,

Just a quick thank you for continuing to make and support great plugins and a feature suggestion for WP-Polls. 

How about an expiration for polls (something like a # in days) where the poll would automatically be closed in x days?  Ideally, auto closing would be on a poll-by-poll basis, so a site could still have a poll like "Do you like our site?" open forever while auto closing most other polls. 

Thanks again.

Pages: [1]