Ashleya
Forum Replies Created
-
Forum: Plugins
In reply to: [PHP Code for posts] Fatal Error after latest updateVersion 2.1.3 worked fine for me but 2.1.3.1 produces errors:
This is my development server, running Windows.As it starts:
Notice: Undefined index: type in F:\WebSites\…\php-code-for-posts\Classes\Shortcode.php(81) : eval()’d code on line 3Then each time an array is accessed:
otice: Undefined offset: 5 in F:\WebSites\…\write_publication.php on line 60Any ideas?
I think I have a copy of 2.1.3 which I will try to reinstate.
Forum: Plugins
In reply to: [Archives Calendar Widget] Stopped workingAh! I wondered if it was something very simple.
Added a post for this year and it appears again.
Many thanks for the help.
Forum: Plugins
In reply to: [Archives Calendar Widget] Stopped workingYes, and I have deleted and reinstalled the plugin.
I have sent you the website address privately.
Simples !
Thank you – it all works fine now.
Neat plugin ??
When I activate the plugin, I get a warning message that it conflicts with another plugin, but doesn’t specify which one.
I disabled all of the others then re-enabled them one at a time, and confirmed that it is cimy user extra fields – ie I didn’t get a report of a conflict and the plugin worked.
I omitted one line in my answer to this, which needs to go immediately before the first block of replacement code, which should therefore be:
$ash_description = "";
if ((!empty($description)) && ($type != "registration-date")) {
// global $ash_description;
$ash_description = "\t";
$ash_description .= '<div style="position: relative; top:-30px;"><p id="'.$prefix.'p_desc_'.$field_id.'" class="description">
'.$description.'</p>';
$ash_description .= "</div>\n";
}
Hope this helps someone.
This was something I wanted to do too !
Spent some time trawling through the code, and have found a solution.
In cimy_uef_register.php find this code:
if ((!empty($description)) && ($type != "registration-date")) {
echo "\t";
echo '<p id="'.$prefix.'p_desc_'.$field_id.'" class="description">Ashley
'.$description.'</p>';
echo "\n";
}
Replace it with this:
if ((!empty($description)) && ($type != "registration-date")) {
// global $ash_description;
$ash_description = "\t";
$ash_description .= '<div style="position: relative; top:-30px;"><p id="'.$prefix.'p_desc_'.$field_id.'" class="description">
'.$description.'</p>';
$ash_description .= "</div>\n";
}
Then look for:
else
echo $form_object;
And change to:
else
$form_object .= $ash_description;
echo $form_object;
This may turn out a bit messy when posted, but I hope it will make sense.
The only problem is that this file will probably be overwritten by an update to the plugin, and I don’t have enough knowledge of WP to work out how to avoid this.