Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Oct 2009
    Location
    Texas
    Posts
    194
    Plugin Contributions
    0

    Default SSL vs Bookmark Script

    I've tried a combination of things, including changing http>https in this current script and I tried to host all of the images on my server but I cannot securely display this script.
    Could someone have a look at this and give me a suggestion?
    PHP Code:
    <div align="center"><script language="JavaScript" type="text/JavaScript">
    <!--
    function 
    Social_Load() { 
    var 
    d=document; if(d.images){ if(!d.Sociald.Social=new Array();
    var 
    i,j=d.Social.length,a=Social_Load.arguments; for(i=0i<a.lengthi++)
    if (
    a[i].indexOf("#")!=0){ d.Social[j]=new Imaged.Social[j++].src=a[i];}}
    }
    Social_Load('http://www.social-bookmark-script.de/img/bookmarks/del_trans_ani.gif','http://www.social-bookmark-script.de/img/bookmarks/reddit_trans_ani.gif','http://www.social-bookmark-script.de/img/bookmarks/stumbleupon_trans_ani.gif','http://www.social-bookmark-script.de/img/bookmarks/yahoo_trans_ani.gif','http://www.social-bookmark-script.de/img/bookmarks/google_trans_ani.gif','http://www.social-bookmark-script.de/load.gif')
    function 
    schnipp() { 
    var 
    i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    }
    function 
    schnupp(nd) { 
      var 
    p,i,x; if(!dd=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
      
    d=parent.frames[n.substring(p+1)].documentn=n.substring(0,p);}
      if(!(
    x=d[n])&&d.allx=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(
    i=0;!x&&d.layers&&i<d.layers.length;i++) x=schnupp(n,d.layers[i].document);
      if(!
    && d.getElementByIdx=d.getElementById(n); return x;
      }
    function 
    schnapp() { 
      var 
    i,j=0,x,a=schnapp.argumentsdocument.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
      if ((
    x=schnupp(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrcx.oSrc=x.srcx.src=a[i+2];}
      }
      
    //-->
    </script>

    <a rel="nofollow" style="text-decoration:none;" href="http://www.facebook.com/share.php?u=/" onclick="window.open('http://www.facebook.com/share.php?u='+encodeURIComponent(document.title)+'&amp;d=&amp;tag=&amp;u='+encodeURIComponent(location.href));return false;" title="Share this site with your facebook friends"><img src="http://www.sterlingleafjewelry.com/images/facebook.gif" rel="image_src" href="http://www.sterlingleafjewelry.com/images/facebook.gif" width="20" height="20" border="0" style="padding-bottom:1px;" /></a>

    <a rel="nofollow" style="text-decoration:none;" href="http://www.yahoo.com/" onclick="window.open('http://myweb2.search.yahoo.com/myresults/bookmarklet?t='+encodeURIComponent(document.title)+'&amp;d=&amp;tag=&amp;u='+encodeURIComponent(location.href));return false;" title="Share this site with your yahoo friends" onmouseover="schnapp('Yahoo','','http://www.social-bookmark-script.de/img/bookmarks/yahoo_trans_ani.gif',1)" onmouseout="schnipp()" > <img src="http://www.social-bookmark-script.de/img/bookmarks/yahoo_trans.gif" alt="Add to: Yahoo" name="Yahoo" width="20" height="20" border="0" id="Yahoo" style="padding-bottom:1px;"> </a>

    <a rel="nofollow" style="text-decoration:none;" href="http://www.stumbleupon.com/" onclick="window.open('http://www.stumbleupon.com/submit?url='+encodeURIComponent(location.href)+'&amp;title='+encodeURIComponent(document.title));return false;" title="Add to: StumbleUpon" onmouseover="schnapp('StumbleUpon','','http://www.social-bookmark-script.de/img/bookmarks/stumbleupon_trans_ani.gif',1)" onmouseout="schnipp()" > <img src="http://www.social-bookmark-script.de/img/bookmarks/stumbleupon_trans.gif" alt="Add to: StumbleUpon" name="StumbleUpon" width="20" height="20" border="0" id="StumbleUpon" style="padding-bottom:1px;"> </a>

    <a rel="nofollow" style="text-decoration:none;" href="http://www.google.com/" onclick="window.open('http://www.google.com/bookmarks/mark?op=add&amp;hl=co.uk&amp;bkmk='+encodeURIComponent(location.href)+'&amp;annotation=&amp;labels=&amp;title='+encodeURIComponent(document.title));return false;" title="Add to: Google" onmouseover="schnapp('Google','','http://www.social-bookmark-script.de/img/bookmarks/google_trans_ani.gif',1)" onmouseout="schnipp()" > <img src="http://www.social-bookmark-script.de/img/bookmarks/google_trans.gif" alt="Add to: Google" name="Google" width="20" height="20" border="0" id="Google" style="padding-bottom:1px;"></a>
        
    <a rel="nofollow" style="text-decoration:none;" href="http://del.icio.us/" onClick="window.open('http://del.icio.us/post?v=2&amp;url='+encodeURIComponent(location.href)+'&amp;notes=&amp;tags=&amp;title='+encodeURIComponent(document.title));return false;" title="Add to: Del.icio.us" onMouseOver="schnapp('Delicious','','http://www.social-bookmark-script.de/img/bookmarks/del_trans_ani.gif',1)" onMouseOut="schnipp()" > <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.de/img/bookmarks/del_trans.gif" alt="Add to: Del.icio.us" name="Delicious" border="0" id="Delicious"> </a>
    </div> 
    Thank you

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: SSL Bookmark Script

    Drop this script on your secure pages

  3. #3
    Join Date
    Oct 2009
    Location
    Texas
    Posts
    194
    Plugin Contributions
    0

    Default Re: SSL Bookmark Script

    Quote Originally Posted by kobra View Post
    Drop this script on your secure pages
    Enlighten me please, as I'm not quite sure what you mean.
    It's currently in custom_template/tpl_footer.php and, as mentioned in a previous thread about this, the images are being hosted on the site that generates this script, except for face book, which is hosted on mine.

    Thanks

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: SSL Bookmark Script

    Enlighten me please, as I'm not quite sure what you mean.
    It's currently in custom_template/tpl_footer.php
    For each secure page note the url i.e.

    index.php?main_page=login

    Create another custom tpl_footer.php without the script code
    Create folders named for the pages in your template i.e.

    folder name = login

    Place new tpl_footer.php in the folder

  5. #5
    Join Date
    Oct 2009
    Location
    Texas
    Posts
    194
    Plugin Contributions
    0

    Default Re: SSL Bookmark Script

    Quote Originally Posted by kobra View Post
    For each secure page note the url i.e.

    index.php?main_page=login

    Create another custom tpl_footer.php without the script code
    Create folders named for the pages in your template i.e.

    folder name = login

    Place new tpl_footer.php in the folder
    Ahhh, I see.

    Thank you.

 

 

Similar Threads

  1. v139h Script to remove SSL from certain pages
    By cactusrunning in forum General Questions
    Replies: 9
    Last Post: 21 Mar 2013, 06:00 AM
  2. Adding a bookmark us script.
    By DollarCRS in forum Customization from the Admin
    Replies: 1
    Last Post: 20 Sep 2009, 12:32 PM
  3. bookmark
    By Glendon in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 3 Oct 2008, 04:31 PM
  4. add social bookmark script to products page
    By keylesslocks in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 20 Feb 2008, 09:08 PM
  5. Bookmark Title?
    By Arkwright in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 18 Nov 2007, 09:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg