kj.rehsi
Forum Replies Created
-
Forum: Plugins
In reply to: [DMSGuestbook] DMSGuestbook Sidebar Widget Javascript IssueForum: Plugins
In reply to: [DMSGuestbook] DMSGuestbook Sidebar Widget Javascript IssueAlso Daniel,
In regards to the SHOW_DATE feature in the sidebar widget is not working for me. I looked at the widget.php file and on line 337 I had to change it from this
$widget_data5 = str_replace(“SHOW_DATE”, strftime($dateformat, $result->date), $widget_data4);
to…
$dbdate = date(‘d/m/Y H:i a\\’,”$result->date”);
$widget_data5 = str_replace(“SHOW_DATE”, $dbdate, $widget_data4);When ‘$widget_data5’ is echoed, there is no value outputted. Not sure if this is to do with my theme selection but I had to change it to make it work.
So in my $dbdate I am grabbing the UNIX timestamp from the dB table and converting it and then outputting it.
Regards
Forum: Plugins
In reply to: [DMSGuestbook] DMSGuestbook Sidebar Widget Javascript IssueWorks like a charm. Thanks for the quick response, really appreciate it.
Regards,
KJForum: Plugins
In reply to: [DMSGuestbook] DMSGuestbook Sidebar Widget Javascript IssueHi Daniel,
I am using WordPress 3.5.1 and the latest DMSGuestbook 1.17.2. The problem is not with actual guestbook running on a page/post.
The issue is with the ‘DMSGuestbook widget’ version 2.51 which is used on the sidebar widgets section. If you drag the sidebar widget onto the right, the rest of the widgets are deactivated.
When I installed DMSGuestbook, there were two plugins installed ‘DMSGuestbook v1.17.2’ and ‘DMSGuestbook widget v2.51’.
Please advice.
Thanks