frekel
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: PhotoContest Plugin] Sorry, You have already uploaded one photoThis SHOULD be solved the the comming 1.5.5 release!
Please test and report back!1.5.5 will be out soon!
Forum: Plugins
In reply to: [Plugin: PhotoContest Plugin] visible upload not workingAnyone with this problem?
Please contact me by mail!!!!
Please contact me my mail!
I need the user details of the user who sees and error 😉
For changing the postername in the image details remove the following from viewimg.php (around line 595):
<tr> <td class="firstCol"><?php _e('Poster', 'wp-photocontest');?>:</td> <td class="secondCol"> </td> <td class="otherCol"> <?php if (function_exists('get_the_author_meta')) { $auther_name = get_the_author_meta('display_name', $image_details['wp_uid']); } else { $auther_name = get_author_name($image_details['wp_uid']); } if (empty($auther_name)) { echo $image_details['wp_email']; } else { //here you can put the author page? echo $auther_name; } ?> </td> </tr>For changing the menu items, you need to change lib/wp-photocontest.class.php (around line 366):
function get_top_menu($siteurl, $post_id, $login_true=false) { $topmenu = ''; $out = (array) $this->db->get_row( $this->db->prepare( "SELECT contest_id FROM ".$this->db->prefix."photocontest_admin WHERE post_id= %d", $post_id)); if ($out) { $topmenu = ""; $topmenu .= " <a href=\"$siteurl/wp-content/plugins/wp-photocontest/play.php?post_id=".$post_id."\">"; $topmenu .= __('Post photos', 'wp-photocontest'); $topmenu .= "</a> ";to
function get_top_menu($siteurl, $post_id, $login_true=false) { $topmenu = ''; $out = (array) $this->db->get_row( $this->db->prepare( "SELECT contest_id FROM ".$this->db->prefix."photocontest_admin WHERE post_id= %d", $post_id)); if ($out) { $topmenu = "";Forum: Plugins
In reply to: [PhotoContest Plugin] [Plugin: PhotoContest Plugin] extension of Contest dateGo to View PhotoContest in the wp-admin.
Click on the end-date (blue link) and change the date.
Don’t forget to change the upload date tooStartdate: The day the contest is online
Uploaddate: The day uploading is not allowed anymore. Voting is still possible
End date: The day voting is closed (and the contest is put offline)– does the photocontest application replace my “posts” section, does it tie into my “post” section, or is it configured as a new “page”?
Depens on the which one you choose when creating a contest (Look at the DEFAULT TYPE:
//Defines the default type when creating a new contest
//page: The plugin creates a page which handles a contest
//post: The plugin creates a post which handles a contest
define(‘DEFAULT_TYPE’,$options_array[‘DEFAULT_TYPE’]);– can I create multiple categories so people can submit photos for multiple categories (example: vote for best sad pictures and another category for best happy pictures). Is there a limit to the total number of categories availble?
Short answer: Nope
Long answer : I have done this for a paying customer. Can recreate this you you but it costs money 😉
(Mail me when interested)– is there a limit to the number of people that can register and the number of photos that can be posted?
Short answer: Nope
Long answer : Nope, there is no limitThanks for your help 🙂
No problem!
Forum: Plugins
In reply to: [Plugin: PhotoContest Plugin] Can’t upload pic into a contestLooks like the rights aren’t correctly:
Please change the rights of the following folders (777 to be sure or check the uploads folder in /home/inimini/public_html/wp-content/:
/home/inimini/public_html/wp-content/plugins/wp-photocontest
/home/inimini/public_html/wp-content/plugings
/home/inimini/public_html/wp-contentIf this doesn’t work, please email me you FTP details so I can check!
Greets,
FrankForum: Plugins
In reply to: [PhotoContest Plugin] [Plugin: PhotoContest Plugin] german translationThanks:
Plese download: http://www.vanderstad.nl/wp-photocontest/wp-photocontest-de_DE.mo
Greets,
FrankCan you tell me the name of the contest?
I think you used a character that isn’t supported (like a !, Ã¥ ë etc)Hi all,
A lot of people still have this problem.
First check if you don’t have ANY javascript errors. This is the main reason why the plugin will be kicked out of the theme!
(You can check the errors with firebug extention for firefox)
If the error is:
wppc_jQuery("#photocontest-vote_form").ajaxForm is not a function http://URL/wp-content/plugins/wp-photocontest/js/vote.js?ver=3.0.1 Line 21The solution is to move <?php wp_head(); ?> below ANY other javascript libs in the header.php file
Copy the one from the pastebin into plugins/wp-photocontest/skins/aqua/template.tpl and try again. This should do the trick. If not, post it here 😉
Greets,
FrankYou can do that. Take a look at the template section of the readme file and the stylesheets in the skin-directory!
Greets,
FrankThe template should be in: wp-photocontest – skins – aqua
Version 1.5.4 has an extra (not neccecery) directory trunk!!
This is possible… change the follwing:
viewimg.php on line 358:
$email_check = (int) $wpdb->get_var( $wpdb->prepare( "SELECT vote FROM ".$wpdb->prefix."photocontest_votes WHERE img_id= %d AND voter_email = %s AND voter_email!=''", $img_id , $emailadres) );to
$email_check = (int) $wpdb->get_var( $wpdb->prepare( "SELECT vote FROM ".$wpdb->prefix."photocontest_votes WHERE voter_email = %s AND voter_email!=''", $emailadres) );Note that when you create a new contest, people won’t be able to vote again!!
(This is a quick fix 😉
If you want a permanent solution, mail me (my email is in the readme file!)