frekel
Forum Replies Created
-
Next version will have a kind of functionality for this.
I have not trouble to take a look at your changes. Please contact me by email (check the readme file howto!)
Forum: Plugins
In reply to: [PhotoContest Plugin] [Plugin: PhotoContest Plugin] Photo Contest Page ErrorBoth plugins want to do the same.
You have to choose which one you want to use and which one you want to drop. Or you need to find a way to combine both plugins. I don’t have the time to do this for you.
Sorry,
FrankHave you fixed it?
If not, read the readme file to contact me directly!!
Double post. Sorry.
It is not in the database. It is in your plugin directory (Thru FTP)
Greets,
FrankForum: Plugins
In reply to: [PhotoContest Plugin] [Plugin: PhotoContest Plugin] page 2 not foundOk, this is a quick fix for your eyes only 😉
You need to add a slash to the base_url. (so $base_url = ‘wp-content……’ gets $base_url = ‘/wp-content……’)
if ($base_url == 'admin') { $base_url = '?page=wp-photocontest/photocontest-manager.php&mode=view_contest&contest_id='.$post_id.'&order='.$order; } elseif ($base_url == 'refresh') { $base_url = '/wp-content/plugins/wp-photocontest/view.php?post_id='.$post_id.'&order='.$order; } else { $base_url = '?post_id='.$post_id.'&order='.$order; }Greets,
FrankNo problem!! Can you put this to ‘Resolved’?
Thanks,
FrankForum: Plugins
In reply to: [PhotoContest Plugin] [Plugin: PhotoContest Plugin] page 2 not foundCan you send my your url?
Forum: Plugins
In reply to: [PhotoContest Plugin] [Plugin: PhotoContest Plugin] page 2 not foundIt should have more lines…
But look for the function:
function get_page_scrollingchange:
if ($base_url == 'admin') { $base_url = '?page=wp-photocontest/photocontest-manager.php&mode=view_contest&contest_id='.$post_id.'&order='.$order; } else { $base_url = '?post_id='.$post_id.'&order='.$order; }into
if ($base_url == 'admin') { $base_url = '?page=wp-photocontest/photocontest-manager.php&mode=view_contest&contest_id='.$post_id.'&order='.$order; } elseif ($base_url == 'refresh') { $base_url = 'wp-content/plugins/wp-photocontest/view.php?post_id='.$post_id.'&order='.$order; } else { $base_url = '?post_id='.$post_id.'&order='.$order; }Forum: Plugins
In reply to: [PhotoContest Plugin] [Plugin: PhotoContest Plugin] page 2 not foundWhat version are you using??
Forum: Plugins
In reply to: [PhotoContest Plugin] [Plugin: PhotoContest Plugin] page 2 not foundCan you tell me which version you are using??
if version 1.5.4 change the following
around line 283:
$scrolling = $this->get_page_scrolling($post_id, $number_of_photos, $p, $number_of_pages,'recent');to
$scrolling = $this->get_page_scrolling($post_id, $number_of_photos, $p, $number_of_pages,'recent','refresh');and add around line 412:
elseif ($base_url == 'refresh') { $base_url = 'wp-content/plugins/wp-photocontest/view.php?post_id='.$post_id.'&order='.$order; }Greets,
FrankTake a look at the readme file:
= Customization = The plugin provides a config entry in wp-photocontest-config.php file to skins the pages created by WP-PhotoContest. This entry points to a directory underneath the 'skins' directory. This directory must contain the following files: * template.tpl : This file is used as template for the pages created by WP-PhotoContest (*) * theme.css : This stylesheet is used for styling the pages created by WP-PhotoContest To create a new skin, you can copy the aqua directory in the directory 'skins' into and other directory and edit as aproperiate. Then change the 'CONTESTS_SKIN' contant in wp-photocontest-config.php file. (*) Important: When using a theme, you need to copy page.php or index.php to template.tpl and replace "The\_Loop" with [WP-PHOTOCONTEST CONTENT]. See for more information: 'http://codex.wordpress.org/The\_Loop' There needs to be a class called 'content_wppc'. The contest will be placed in the HTML-tag with this class.Open viewimg.php
Look for <td class=”firstCol”><?php _e(‘Poster’, ‘wp-photocontest’);?>:</td>
replace everything in the
<td class="otherCol"> <?php //fdfsgf dsfds fdsf sdfds fsdf sd ?> </td>with
<td class="otherCol"> <?php list($name,$domain) = explode("@",$image_details['wp_email']); echo ucfirst($name); ?>What version are you using?
I can tell you what to change if I know the version 🙂
About the thumbs:
The plugin will resize the uploaded picture and crops a square from the middle. I’ve looked at the pictures on your site and they won’t work (and ever will)
Download the contests folder (with FTP) and edit the photos so they will fit the box.
About the sidebar:
Please read the = Customization = part of the readme file.This is not a plugin for everyone. Any knowlodge of wordpress is neccessery.
Greets,
Frank