whiteatom
Forum Replies Created
-
Forum: Hacks
In reply to: Questions to an external mssql-databaseThe language you need to know is PHP not SQL.. sql is easy, you can figure out basic statements to grab data in no time – especially with some googling.
A note for you.. when you get to creating the connection in PHP, make sure you force mysql_connect to create a new connection (TRUE on the last parameter) and you’ll never have a problem. I had an issue where I was closing my connection before wordpress was finished, and all the wordpress queries after my plugin was called failed.
So store your link resource in a variable and pass it back to your mysql_close – good practice anyway, but essential when you have multiple connections.
Cheers,
whiteatom
Forum: Hacks
In reply to: Fatal error when including files in plugin.Ok.. I am an idiot for not thinking of this.. but as soon as I wrote the late post I thought of something else to try.
You cannot name a file in your plugin the same as a file in the wordpress core – the include scope is too broad.
I had my 2 widgets in a file called widgets.php – renamed it and all is well. Hope this helps someone else.
Forum: Fixing WordPress
In reply to: Images look fadedHi there.. I know this is an old post, but I am seeing the same problem. I have noticed this is only with jpgs that are resized by GD. It’s most noticeable with strong yellows and reds. I’m guessing it’s a GD issue… I’d really like to get it fixed tho. When you are posting a photoblog it would be nice for the pictures to look as good as when I took them.
Any ideas on what I can do?
whiteatom