WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

PhotoContest Plugin

This plugin automatically turns a WordPress-page into a photo contest.

Howto uninstall the plugin manually

Backup your CONTEST_HOLDER and SKINS directory. Remove the wp-photocontest directory and run the following sql commands (in phpmyadmin) DROP TABLE IF EXISTS wp_photocontest; DROP TABLE IF EXISTS wp_photocontest_admin; DROP TABLE IF EXISTS wp_photocontest_config; DROP TABLE IF EXISTS wp_photocontest_votes; DELETE FROM wp_options WHERE option_name = 'wppc_redirect_to' LIMIT 1; DELETE FROM wp_options WHERE option_name = 'PC_DB_VERSION' LIMIT 1; DELETE FROM wp_options WHERE option_name = 'PC_PL_VERSION' LIMIT 1; DELETE FROM wp_options WHERE option_name = 'widget_wp-photocontest-widget' LIMIT 1; DELETE FROM wp_options WHERE option_name = 'wppc_redirect_to' LIMIT 1;

Does the plugin use permalinks

This plugin doesn't use any permalinks and will not be integrated in the near future (or anyone is interested to help development!)

After voting the contest doesn't appear in my site (shows page without design)

Two possible reasons: 1) You have some javascript error. Please fix that error first before trying again 2) Read the Customization-part of this readme!!

Can I use a different template for the individual contests

Nope, just one template is used!

How does the templating works (developer view)

The plugin creates a page with a link to enter the contest (or if you use the refresh option in the admin panel, a view of the latest 9 pictues). All other pages after that are generated by the plugin. Other have reported that the first versions of this plugin, broke their sites (mainly the position of the sidebar). I have created a function that will read the wp-photocontest/skins//templates.tpl file and replaces the string

[WP-PHOTOCONTEST CONTENT]

with the generated content. You need to create the templates file or else the plugin will print a blank page with a warning and the generated content. View the Customization part of the documentation.

Will autoupgrading remove all my contests?

If you are unlucky it will. We try to prevent this, but we can't promise it. Version 1.3 will hold the user-generated into the wp-content folder.

Tell me more about permissions

Take a look here: http://www.nerdgrind.com/wordpress-automatic-upgrade-plugin-failed-or-not-working/

Will the plugin delete the page/post when I delete a photocontest?

No, it won't delete the page/post. To delete the page/post you need to follow the directions to delete a page/post.

Can I change the directory where the contest-files are saved?

Yes, the target directory can only be a subdirectory in the "wp-photocontest" directory.

How can I change the directory where the contest-files are saved?

Create the directory, make it writeable and change the 'CONTESTS_PATH' contant in wp-photocontest-config.php file.

Can I change the look and feel of the contest?

Copy the aqua directory in the directory 'skins' and edit as aproperiate. Then change the 'CONTESTS_SKIN' contant in wp-photocontest-config.php file. Read 'Customization'!

How to permit users to subscribe in order to upload the photo in the contest?

Go in the admin panel, in the Settings section you can able visitors to subscribe to your blog. When you done, it will be visible the link "subscribe" in the requested login page.

I am having a problem with mkdir. Everytime I try to create a contest I get an error.

Check if you have safe_mode enabled, because when safe mode is enabled, PHP checks whether the directory in which the script is operating has the same UID (owner) as the script that is being executed. Note: Since version 1.2 we do some extra checks and return more detailed errors.

Is there any way to change the layout/text in the view of the contest?

Yes, you can. Open images/polaroid.fla and edit as wanted. Upload polaroid.swf to you skins directory. (So, don't upload it in the images directory)

Where can I get other answers to my questions regarding wp-PhotoContest?

First check: http://wordpress.org/tags/wp-photocontest?forum_id=10 If your question is not there, put it there and send me a mail (antispam@vanderstad.nl)!!

Requires: 2.7 or higher
Compatible up to: 3.0.5
Last Updated: 2011-3-11
Downloads: 21,788

Ratings

2 stars
2.6 out of 5 stars

Support

0 of 1 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

0,1,0
0,1,0
0,1,0
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 0,1,0 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 0,2,0 100,1,1 100,1,1 50,2,1 100,1,1 100,1,1 100,1,1
100,1,1 50,2,1 100,1,1 100,1,1 100,1,1 50,2,1 100,1,1 100,1,1
100,1,1
50,6,3 100,1,1
50,2,1 100,4,4
25,4,1
0,2,0 100,1,1 50,2,1
0,1,0
100,1,1
100,1,1 100,1,1
100,1,1
0,1,0
100,1,1
100,2,2
38,8,3
0,2,0
0,2,0
0,1,0
0,1,0
0,1,0