Title: DMSGuestbook Sidebar Widget Javascript Issue
Last modified: August 20, 2016

---

# DMSGuestbook Sidebar Widget Javascript Issue

 *  [kj.rehsi](https://wordpress.org/support/users/kjrehsi/)
 * (@kjrehsi)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/dmsguestbook-sidebar-widget-javascript-issue/)
 * Hi Author,
 * I am experiencing the same issue as discussed in this topic a year ago
    [Link](http://wordpress.org/support/topic/plugin-dmsguestbook-disables-other-widgets?replies=2)
 * When the widget is activated, all other widgets seem to deactivate.
 * The widget was recently installed so I presumed this would have been fixed from
   last years update.
 * Can you please kindly provide an update or may be on how to fix it?
 * Thanks
 * [http://wordpress.org/extend/plugins/dmsguestbook/](http://wordpress.org/extend/plugins/dmsguestbook/)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [DanielSchurter](https://wordpress.org/support/users/danielschurter/)
 * (@danielschurter)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/dmsguestbook-sidebar-widget-javascript-issue/#post-3505820)
 * Hi kj.rehsi
 * This issue is fixed since version 1.17.2 and it works well with WordPress 3.4.2
   on my system.
 * Do you using the latest WordPress and DMSGuestbook version?
 * Greetings,
    Dani
 *  Thread Starter [kj.rehsi](https://wordpress.org/support/users/kjrehsi/)
 * (@kjrehsi)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/dmsguestbook-sidebar-widget-javascript-issue/#post-3505848)
 * Hi 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
 *  Plugin Author [DanielSchurter](https://wordpress.org/support/users/danielschurter/)
 * (@danielschurter)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/dmsguestbook-sidebar-widget-javascript-issue/#post-3505867)
 * Hi kj.rehsi
 * I found a bug on widget.php that goes wild if there is more than one sidebar 
   in a theme, thank you for this information.
 * Please download the new widget.php [here](http://danielschurter.net/dmsguestbook/support/dmsguestbook_for_kjrehsi_widget.zip)
   and test it.
 * After that I will build a new release.
 * Greetings,
    Dani
 *  Thread Starter [kj.rehsi](https://wordpress.org/support/users/kjrehsi/)
 * (@kjrehsi)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/dmsguestbook-sidebar-widget-javascript-issue/#post-3505869)
 * Works like a charm. Thanks for the quick response, really appreciate it.
 * Regards,
    KJ
 *  Thread Starter [kj.rehsi](https://wordpress.org/support/users/kjrehsi/)
 * (@kjrehsi)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/dmsguestbook-sidebar-widget-javascript-issue/#post-3505872)
 * Also 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
 *  Plugin Author [DanielSchurter](https://wordpress.org/support/users/danielschurter/)
 * (@danielschurter)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/dmsguestbook-sidebar-widget-javascript-issue/#post-3505885)
 * Hi kj.rehsi
 * Which theme are you using? Maybe the author of this theme is using the same keyword…
 * Greetings,
    Dani
 *  Thread Starter [kj.rehsi](https://wordpress.org/support/users/kjrehsi/)
 * (@kjrehsi)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/dmsguestbook-sidebar-widget-javascript-issue/#post-3505890)
 * Hi Daniel,
 * I am using the PinPoint theme from [themeforest](http://themeforest.net/item/pinpoint-responsive-multipurpose-wp-theme/3760530)
 * Thanks
 *  Plugin Author [DanielSchurter](https://wordpress.org/support/users/danielschurter/)
 * (@danielschurter)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/dmsguestbook-sidebar-widget-javascript-issue/#post-3505912)
 * Hi kj.rehsi
 * Is $dateformat empty? Maybe there is just a problem with [strftime](http://php.net/manual/en/function.strftime.php).
 * If your solution works well I will close this post, I don’t installed PinPoint
   because it costs $45 🙂
 * Greetings,
    Dani

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘DMSGuestbook Sidebar Widget Javascript Issue’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/dmsguestbook.svg)
 * [DMSGuestbook](https://wordpress.org/plugins/dmsguestbook/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/dmsguestbook/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/dmsguestbook/)
 * [Active Topics](https://wordpress.org/support/plugin/dmsguestbook/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dmsguestbook/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dmsguestbook/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [DanielSchurter](https://wordpress.org/support/users/danielschurter/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/dmsguestbook-sidebar-widget-javascript-issue/#post-3505912)
 * Status: not resolved