Forums / All Other Contributions/Addons / Social Networking Sidebar

Social Networking Sidebar

Views: 15,412

Results 61 to 74 of 74
7 Oct 2014, 4:52 AM
#61
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Social Networking Sidebar

Hello Anne,

I cannot get this mod to work - I have installed it on two websites both using Abbington_Mega and it will not work on either. I merged the files using WinMerge and also did it manually and still no difference. I am stumped.

sites are https://www.treeoflifejewellery.com.au and https://www.harmonyball.net.au - would you be kind enough to take a look please.

cheers,
Mike

7 Oct 2014, 1:43 PM
#62
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Social Networking Sidebar

shags38:

Hello Anne,

I cannot get this mod to work - I have installed it on two websites both using Abbington_Mega and it will not work on either. I merged the files using WinMerge and also did it manually and still no difference. I am stumped.

sites are https://www.treeoflifejewellery.com.au and https://www.harmonyball.net.au - would you be kind enough to take a look please.

cheers,
Mike

My first thought is that there is a javacript conflict. Be sure that you are not calling the jquery library twice.

Thanks,

Anne

7 Oct 2014, 9:39 PM
#63
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Social Networking Sidebar

picaflor-azul:

My first thought is that there is a javacript conflict. Be sure that you are not calling the jquery library twice.

Thanks,

Anne

Hi Anne,

I just loaded the mod into another site (also Abbington_Mega) again with no luck - I thought maybe the 'Hover' jscript_imagehover_js may be conflicting but I do not have Hover on this last site so that put paid to that.

It is really puzzling - I followed the installation procedure by the letter.

Anything else coming to mind?

cheers,
Mike

7 Oct 2014, 9:49 PM
#64
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Social Networking Sidebar

shags38:

Hi Anne,

I just loaded the mod into another site (also Abbington_Mega) again with no luck - I thought maybe the 'Hover' jscript_imagehover_js may be conflicting but I do not have Hover on this last site so that put paid to that.

It is really puzzling - I followed the installation procedure by the letter.

Anything else coming to mind?

cheers,
Mike

What is the link to your site?

Thanks,

Anne

7 Oct 2014, 10:31 PM
#65
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Social Networking Sidebar

picaflor-azul:

What is the link to your site?

Thanks,

Anne

https://www.treeoflifejewellery.com.au (on the other site I have reverted to original file tpl_main_page.php)

8 Oct 2014, 1:09 PM
#67
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Social Networking Sidebar

picaflor-azul:

Viewing your source I can see the jquery library being called twice.

Thanks,

Anne

Hi Anne,

what does that mean? and how do I correct it?

any guidance gratefully accepted.
cheers,
Mike

8 Oct 2014, 2:00 PM
#68
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Social Networking Sidebar

shags38:

Hi Anne,

what does that mean? and how do I correct it?

any guidance gratefully accepted.
cheers,
Mike

If you do a view source you will see the 2 times that the library is called. The easiest way to find what file is calling it is to use the admin--tools--developers toolkit. Search for https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js and/or jscript_jquery_1-4-4.js. If I had to guess I would say that the lower version number which is being called by the lightbox module is the problem and you should remove that one.

Thanks,

Anne

8 Oct 2014, 10:14 PM
#69
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Social Networking Sidebar

picaflor-azul:

If you do a view source you will see the 2 times that the library is called. The easiest way to find what file is calling it is to use the admin--tools--developers toolkit. Search for https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js and/or jscript_jquery_1-4-4.js. If I had to guess I would say that the lower version number which is being called by the lightbox module is the problem and you should remove that one.

Thanks,

Anne

Hi Anne,

Thanks for that. I found I had these files in templates/abbington_mega/jscript which I have now removed; jscript_jquery_1-4-4.js AND jquery_1-4-4.js

I removed one at a time alternately with no effect so removed both and still no change at all - there are no other duplications of these files in the server only the single instance of jquery-1.4.4.min.js (has .min included in code)
includes/classes/zen_lightbox/slimbox.php
Line #11 : echo '<script type="text/javascript" src="' . $template->get_template_dir('.js', DIR_WS_TEMPLATE, $current_page_base, 'jscript') . '/jquery-1.4.4.min.js"></script>';

the only files now in templates/abbington_mega/jscript are the two in the installation of the mod, jquery.sidebar.js and jscript.jquery.min.php and one that is a component of IH3, jscript_imagehover.js (I even removed this file in case there was a conflict but it made no difference so I restored it as I like that hover feature)

I found no other references to either removed scripts in developers tool - source should now not show the duplicate call?

However having done that the mod is still not working so I am perplexed. I believe the merged tpl_main_page.php file is correct (see below) would you concur?

looking forward to your further assistance. https://www.treeoflifejewellery.com.au

cheers,
Mike

<?php /** * Common Template - tpl_main_page.php * * Governs the overall layout of an entire page<br /> * Normally consisting of a header, left side column. center column. right side column and footer<br /> * For customizing, this file can be copied to /templates/your_template_dir/pagename<br /> * example: to override the privacy page<br /> * - make a directory /templates/my_template/privacy<br /> * - copy /templates/templates_defaults/common/tpl_main_page.php to /templates/my_template/privacy/tpl_main_page.php<br /> * <br /> * to override the global settings and turn off columns un-comment the lines below for the correct column to turn off<br /> * to turn off the header and/or footer uncomment the lines below<br /> * Note: header can be disabled in the tpl_header.php<br /> * Note: footer can be disabled in the tpl_footer.php<br /> * <br /> * $flag_disable_header = true;<br /> * $flag_disable_left = true;<br /> * $flag_disable_right = true;<br /> * $flag_disable_footer = true;<br /> * <br /> * // example to not display right column on main page when Always Show Categories is OFF<br /> * <br /> * if ($current_page_base == 'index' and $cPath == '') {<br /> * $flag_disable_right = true;<br /> * }<br /> * <br /> * example to not display right column on main page when Always Show Categories is ON and set to categories_id 3<br /> * <br /> * if ($current_page_base == 'index' and $cPath == '' or $cPath == '3') {<br /> * $flag_disable_right = true;<br /> * }<br /> * * @package templateSystem * @copyright Copyright 2003-2007 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * @version $Id: tpl_main_page.php 7085 2007-09-22 04:56:31Z ajeh $ */ // the following IF statement can be duplicated/modified as needed to set additional flags if (in_array($current_page_base,explode(",",'list_pages_to_skip_all_right_sideboxes_on_here,separated_by_commas,and_no_spaces')) ) { $flag_disable_right = true; } $header_template = 'tpl_header.php'; $footer_template = 'tpl_footer.php'; $left_column_file = 'column_left.php'; $right_column_file = 'column_right.php'; $body_id = ($this_is_home_page) ? 'indexHome' : str_replace('_', '', $_GET['main_page']); ?> <body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?>> <!--bof social networking sidebar--> <script src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/jquery.sidebar.js' ?>" type="text/javascript"></script> <script language="javascript" type="text/javascript"> /* <![CDATA[ */ $(function() { $("body").sidebar({ //text: "Follow Me", // can be anything html: "<a href='<?php echo FACEBOOK; ?>' target='_blank' title='<?php echo FACEBOOK_TITLE; ?>'><img src='<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.FACEBOOK_ICON ?>' class='soico' alt='<?php echo FACEBOOK_ALT; ?>' /></a><a href='<?php echo TWITTER; ?>' target='_blank' title='<?php echo TWITTER_TITLE; ?>'><img src='<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.TWITTER_ICON ?>' class='soico' alt='<?php echo TWITTER_ALT; ?>' /></a><a href='<?php echo YOUTUBE; ?>' target='_blank' title='<?php echo YOUTUBE_TITLE; ?>'><img src='<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.YOUTUBE_ICON ?>' class='soico' alt='<?php echo YOUTUBE_ALT; ?>' /></a><a href='<?php echo PINTEREST; ?>' target='_blank' title='<?php echo PINTEREST_TITLE; ?>'><img src='<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.PINTEREST_ICON ?>' class='soico' alt='<?php echo PINTEREST_ALT; ?>' /></a><a href='<?php echo GOOGLE; ?>' target='_blank' title='<?php echo GOOGLE_TITLE; ?>'><img src='<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.GOOGLE_ICON ?>' class='soico' alt='<?php echo GOOGLE_ALT; ?>' /></a><a href='<?php echo BLOG; ?>' target='_blank' title='<?php echo BLOG_TITLE; ?>'><img src='<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.BLOG_ICON ?>' class='soico' alt='<?php echo BLOG_ALT; ?>!' /></a>", // can be anything size: "60px", // can be anything in pixels length : "300px", // can be anything in pixels margin: "130px", // can be anything in pixels position: "left", // left / bottom / right / top fadding : "0.5", // 0.1 to 1.0 //img: "images/twitter.png", //openURL : "www.twitter.com/" }); }); /* ]]> */ </script> <!--eof social networking sidebar--> <?php if (SHOW_BANNERS_GROUP_SET1 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET1)) { if ($banner->RecordCount() > 0) { ?> <div id="bannerOne" class="banners"><?php echo zen_display_banner('static', $banner); ?></div> <?php } } ?> <div id="mainWrapper"> <?php /** * prepares and displays header output * */ if (CUSTOMERS_APPROVAL_AUTHORIZATION == 1 && CUSTOMERS_AUTHORIZATION_HEADER_OFF == 'true' and ($_SESSION['customers_authorization'] != 0 or $_SESSION['customer_id'] == '')) { $flag_disable_header = true; } require($template->get_template_dir('tpl_header.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_header.php');?> <table width="100%" border="0" cellspacing="0" cellpadding="0" id="contentMainWrapper"> <tr> <?php if (COLUMN_LEFT_STATUS == 0 || (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '') || (CUSTOMERS_APPROVAL_AUTHORIZATION == 1 && CUSTOMERS_AUTHORIZATION_COLUMN_LEFT_OFF == 'true' and ($_SESSION['customers_authorization'] != 0 or $_SESSION['customer_id'] == ''))) { // global disable of column_left $flag_disable_left = true; } if (!isset($flag_disable_left) || !$flag_disable_left) { ?> <td id="navColumnOne" class="columnLeft" style="width: <?php echo COLUMN_WIDTH_LEFT; ?>"> <?php /** * prepares and displays left column sideboxes * */ ?> <div id="navColumnOneWrapper" style="width: <?php echo BOX_WIDTH_LEFT; ?>"><?php require(DIR_WS_MODULES . zen_get_module_directory('column_left.php')); ?></div></td> <?php } ?> <td valign="top"> <!-- bof breadcrumb --> <?php if (DEFINE_BREADCRUMB_STATUS == '1' || (DEFINE_BREADCRUMB_STATUS == '2' && !$this_is_home_page) ) { ?> <div id="navBreadCrumb" itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><?php echo $breadcrumb->trail(BREAD_CRUMBS_SEPARATOR); ?></div> <?php } ?> <!-- eof breadcrumb --> <?php if (SHOW_BANNERS_GROUP_SET3 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET3)) { if ($banner->RecordCount() > 0) { ?> <div id="bannerThree" class="banners"><?php echo zen_display_banner('static', $banner); ?></div> <?php } } ?> <!-- bof upload alerts --> <?php if ($messageStack->size('upload') > 0) echo $messageStack->output('upload'); ?> <!-- eof upload alerts --> <?php /** * prepares and displays center column * */ require($body_code); ?> <?php if (SHOW_BANNERS_GROUP_SET4 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET4)) { if ($banner->RecordCount() > 0) { ?> <div id="bannerFour" class="banners"><?php echo zen_display_banner('static', $banner); ?></div> <?php } } ?></td> <?php //if (COLUMN_RIGHT_STATUS == 0 || (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '') || (CUSTOMERS_APPROVAL_AUTHORIZATION == 1 && CUSTOMERS_AUTHORIZATION_COLUMN_RIGHT_OFF == 'true' && $_SESSION['customers_authorization'] != 0)) { if (COLUMN_RIGHT_STATUS == 0 || (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '') || (CUSTOMERS_APPROVAL_AUTHORIZATION == 1 && CUSTOMERS_AUTHORIZATION_COLUMN_RIGHT_OFF == 'true' and ($_SESSION['customers_authorization'] != 0 or $_SESSION['customer_id'] == ''))) { // global disable of column_right $flag_disable_right = true; } if (!isset($flag_disable_right) || !$flag_disable_right) { ?> <td id="navColumnTwo" class="columnRight" style="width: <?php echo COLUMN_WIDTH_RIGHT; ?>"> <?php /** * prepares and displays right column sideboxes * */ ?> <div id="navColumnTwoWrapper" style="width: <?php echo BOX_WIDTH_RIGHT; ?>"><?php require(DIR_WS_MODULES . zen_get_module_directory('column_right.php')); ?></div></td> <?php } ?> </tr> </table> <?php /** * prepares and displays footer output * */ if (CUSTOMERS_APPROVAL_AUTHORIZATION == 1 && CUSTOMERS_AUTHORIZATION_FOOTER_OFF == 'true' and ($_SESSION['customers_authorization'] != 0 or $_SESSION['customer_id'] == '')) { $flag_disable_footer = true; } require($template->get_template_dir('tpl_footer.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_footer.php'); ?> </div> <!--bof- parse time display --> <?php if (DISPLAY_PAGE_PARSE_TIME == 'true') { ?> <div class="smallText center">Parse Time: <?php echo $parse_time; ?> - Number of Queries: <?php echo $db->queryCount(); ?> - Query Time: <?php echo $db->queryTime(); ?></div> <?php } ?> <!--eof- parse time display --> <!--bof- banner #6 display --> <?php if (SHOW_BANNERS_GROUP_SET6 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET6)) { if ($banner->RecordCount() > 0) { ?> <div id="bannerSix" class="banners"><?php echo zen_display_banner('static', $banner); ?></div> <?php } } ?> <!--eof- banner #6 display --> <?php if (GOOGLE_ANALYTICS_TRACKING_TYPE == "Asynchronous") { // Do nothing } else { require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php'); } ?> <?php if (GOOGLE_ANALYTICS_TRACKING_TYPE == "Asynchronous") { // Do nothing } else { require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php'); } ?> </body>
10 Oct 2014, 4:25 AM
#70
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Social Networking Sidebar

Hi Anne,

I have found a temporary solution (this may be useful to anyone else having the same issues I did) - instead of using this mod I have simply added this script from my ADDTHIS account where I have the sliding social media bar added for use on non ZC sites <!-- Go to <https://www.addthis.com/dashboard> to customize your tools -->

<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-4fb2165f3e247f75" async></script> to includes/templates/abbington_mega/common/tpl_main_page.php AND TO includes/templates/abbington_mega/templates/tpl_product_info_display.php which now gives me the sliding social media bar on all pages including EZ pages which is apparently part of the latter file.

** Note: this slows down loading time of pages ever so slightly so I am still keen to find the solution to the issue with your mod.

cheers,
Mike

22 Dec 2014, 9:48 PM
#71
silvermoongraphics avatar

silvermoongraphics

New Zenner

Join Date:
Oct 2014
Location:
Bastrop, Texas
Posts:
2
Plugin Contributions:
0

Re: Social Networking Sidebar

I just installed this on the site and the social links did not change when I added display:none. So I tried to uninstall with your uninstall instruction in the readme. After that, my site lost the stylesheet somehow. PLEASE help.. http://dansgunsandstuff.com/index.php All my text is now huge!! What happened?
Using Zen Cart v1.5.3) Also, my original Social sidebar is not only showing on the right sidebar, but it is at the top as well. This happened after I tried to uninstall this Social Networking Sidebar.

23 Dec 2014, 2:36 AM
#72
silvermoongraphics avatar

silvermoongraphics

New Zenner

Join Date:
Oct 2014
Location:
Bastrop, Texas
Posts:
2
Plugin Contributions:
0

Re: Social Networking Sidebar

Well never mind... sorry I panicked! I was nearly finished with this website... and what did I do... I put my other sidebar social.php file into my includes/languages/english/extra_definitions/hampshire_cammie folder. This is what caused my problem. The Social Networking Sidebar was working fine... I was a careless with my ftp. Please forgive me Anne... for my panic. I sent you an email as well. Everyone please be careful with where you ftp files. Whew... that was so stressful!

17 Mar 2016, 2:00 PM
#73
jeffiec avatar

jeffiec

New Zenner

Join Date:
Jun 2009
Posts:
86
Plugin Contributions:
0

Re: Social Networking Sidebar

is there a way to move this to the bottom when switching to mobile versus the side?

7 Nov 2018, 11:21 AM
#74
rainbow_pixie_star avatar

rainbow_pixie_star

Zen Follower

Join Date:
Feb 2012
Posts:
427
Plugin Contributions:
0

Re: Social Networking Sidebar

Hello,
I have had a bit of a read through the info here but no one seems to have my issue.
I have 1.5.5f and seem to be having issues with lots of my addons which I have not had when using a previous version. With the social side bar, I uploaded the files and there is nothing showing. Is there a setting I need to change in admin?
Also on the install instructions it didn't say where to place the jscript so I have put it in, includes > template > responsive_classic > jscript.
Is this correct?

Cant see the side bar on my phone or on my computer!

Thanks
AMy