PinMe Script 1.6.1 Nulled

Тема в разделе "Коммерческие", создана пользователем $iD, 9 сен 2012.

  1. zalexstudios

    zalexstudios

    Регистрация:
    15 сен 2012
    Сообщения:
    21
    Симпатии:
    16
    Your are GOOD boy! Nice! Thank's for you work!
     
    MANDRIVA, Peter55 и musicfront нравится это.
  2. deleteman

    deleteman

    Регистрация:
    23 сен 2012
    Сообщения:
    13
    Симпатии:
    2
    hello again zalexstudios :Smile: Do not add biger number from 50 here :
    {if $smarty.section.i.iteration eq "25"}
    the promblem if you are add number bigger from 50 the script confused becose in the settings every single page have 50 pins after the 50 pins the script make more.php more1.php .....
    and in index make white pins if you have add code with biger number like this :
    {if $smarty.section.i.iteration eq "56"}
    I try to find the solution
    if i find it i post it here :Smile:
     
  3. sarhov

    sarhov

    Регистрация:
    26 сен 2012
    Сообщения:
    32
    Симпатии:
    6
    добрий день, при добавлении кнопки пин, когда нажимаю на каком то сайте что бы сделать пин, то появлятется такая ошибка

    Forbidden

    You don't have permission to access /add_pin on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    Apache Server at www.zozo.im Port 80


    что делать?
     
  4. $iD

    $iD Команда форума

    Регистрация:
    13 мар 2012
    Сообщения:
    3.580
    Симпатии:
    1.482
    .htaccess файл загружен?
     
  5. sarhov

    sarhov

    Регистрация:
    26 сен 2012
    Сообщения:
    32
    Симпатии:
    6
    извини а как это проверить, я не очень понимаю
    --- добавлено: 3 окт 2012 в 08:07 ---
    еще есть проблема, когда нажимаю на videos, http://www.zozo.im/videos, вылетает 404 ошибка, пробовал .htaccess написать RewriteRule ^videos$ videos.php, но не помогло, не знаю что делать, с этим двумя проблемами
     
  6. $iD

    $iD Команда форума

    Регистрация:
    13 мар 2012
    Сообщения:
    3.580
    Симпатии:
    1.482
    файл .htaccess есть в архиве. он скрытый файл, уберите аттрибут скрытый и закачайте на сервер.
     
  7. $iD

    $iD Команда форума

    Регистрация:
    13 мар 2012
    Сообщения:
    3.580
    Симпатии:
    1.482
    файл .htaccess должен быть в корне сайта.
     
  8. sarhov

    sarhov

    Регистрация:
    26 сен 2012
    Сообщения:
    32
    Симпатии:
    6
    файл был там, но я на всякий случай скопировал еще раз.. вот оно https://dl.dropbox.com/u/77028632/.htaccess
    --- добавлено: 3 окт 2012 в 08:27 ---
    добавления RewriteRule ^videos$ videos.php, не решает проблему, особенно мне нужна кнопка pin, как это можно решить?
     
  9. $iD

    $iD Команда форума

    Регистрация:
    13 мар 2012
    Сообщения:
    3.580
    Симпатии:
    1.482
    значит если .htaccess и всё еще 404 ошибка, то у вас не работает на хостинге mod_rewrite. Напишите письмо хостеру.
     
  10. sarhov

    sarhov

    Регистрация:
    26 сен 2012
    Сообщения:
    32
    Симпатии:
    6
    написал хостеру, сказали сделать так http://support.hostgator.com/articl...ache-htaccess/apache-mod_rewrite-and-examples, v htaccess написал просто в конце строки
    Код:
    RewriteEngine on
     
    RewriteRule ^videos$ videos.php 
    сейчас когда нажимаюна видео все в порядке,

    но проблема кнопки пин осталось, не знаю что делать ...:frown:
     
  11. $iD

    $iD Команда форума

    Регистрация:
    13 мар 2012
    Сообщения:
    3.580
    Симпатии:
    1.482
    выложите что у вас живёт в .htaccess
     
  12. sarhov

    sarhov

    Регистрация:
    26 сен 2012
    Сообщения:
    32
    Симпатии:
    6
    Код:
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^login$ login.php
    RewriteRule ^logout$ logout.php
    RewriteRule ^log_out$ log_out.php
    RewriteRule ^welcome$ welcome.php
    RewriteRule ^getbutton$ getbutton.php
    RewriteRule ^lost$ lost.php
    RewriteRule ^invite$ invite.php
    RewriteRule ^invite_friends$ invite_friends.php
    RewriteRule ^add_pin$ add_pin.php
    RewriteRule ^signup$ signup.php
    RewriteRule ^invite_signup$ invite_signup.php
    RewriteRule ^confirmemail$ confirmemail.php
    RewriteRule ^createboard$ createboard.php
    RewriteRule ^createboard2$ createboard2.php
    RewriteRule ^pin_success$ pin_success.php
    RewriteRule ^pin_create_popup$ pin_create_popup.php
    RewriteRule ^report_popup$ report_popup.php
    RewriteRule ^gifts$ gifts.php
    RewriteRule ^more$ more.php
    RewriteRule ^more2$ more2.php
    RewriteRule ^more3$ more3.php
    RewriteRule ^more4$ more4.php
    RewriteRule ^more5$ more5.php
    RewriteRule ^more6$ more6.php
    RewriteRule ^more7$ more7.php
    RewriteRule ^more8$ more8.php
    RewriteRule ^more9$ more9.php
    RewriteRule ^more10$ more10.php
    RewriteRule ^more11$ more11.php
    RewriteRule ^popular$ popular.php
    RewriteRule ^all$ all.php
    RewriteRule ^search$ search.php
    RewriteRule ^add_popup$ add_popup.php
    RewriteRule ^pin_popup$ pin_popup.php
    RewriteRule ^upload_popup$ upload_popup.php
    RewriteRule ^board_popup$ board_popup.php
    RewriteRule ^about$ about.php
    RewriteRule ^pinit$ pinit.php
    RewriteRule ^rules$ rules.php
    RewriteRule ^help$ help.php
    RewriteRule ^tos$ tos.php
    RewriteRule ^privacy$ privacy.php
    RewriteRule ^contact$ contact.php
    RewriteRule ^myboards$ myboards.php
    RewriteRule ^mypins$ mypins.php
    RewriteRule ^mylikes$ mylikes.php
    RewriteRule ^settings$ settings.php
    RewriteRule ^edit_pin$ edit_pin.php
    RewriteRule ^edit_board$ edit_board.php
    RewriteRule ^edit_pass$ edit_pass.php
    RewriteRule ^delete_create_popup$ delete_create_popup.php
    RewriteRule ^delete_board_popup$ delete_board_popup.php
    RewriteRule ^source/(.*)?$ source.php?q=$1&%{QUERY_STRING}
    RewriteRule ^pin/([^/.]+)?$ pin.php?PID=$1&%{QUERY_STRING}
    RewriteRule ^([^/.]+)/pins?$ profilepins.php?uname=$1&%{QUERY_STRING}
    RewriteRule ^([^/.]+)/likes?$ profilelikes.php?uname=$1&%{QUERY_STRING}
    RewriteRule ^([^/.]+)/followers?$ followersprofile.php?uname=$1&%{QUERY_STRING}
    RewriteRule ^([^/.]+)/following?$ followingprofile.php?uname=$1&%{QUERY_STRING}
    RewriteRule ^([^/.]+)/([^/.]+)/followers?$ followers.php?uname=$1&bname=$2&%{QUERY_STRING}
    RewriteRule ^([^/.]+)/([^/.]+)?$ board.php?uname=$1&bname=$2&%{QUERY_STRING}
    RewriteRule ^([^/.]+)(\/)?$ profile.php?uname=$1
    </IfModule>
     
    <IfModule mod_security.c>
      # Turn off mod_security filtering.
      SecFilterEngine Off
     
      # The below probably isn't needed,
      # but better safe than sorry.
      SecFilterScanPOST Off
    </IfModule>
     
    RewriteEngine on
     
    RewriteRule ^videos$ videos.php 
     
  13. $iD

    $iD Команда форума

    Регистрация:
    13 мар 2012
    Сообщения:
    3.580
    Симпатии:
    1.482
    Попробуйте такой:
    Код:
    RewriteEngine On
    RewriteBase /
    RewriteRule ^login$ login.php
    RewriteRule ^logout$ logout.php
    RewriteRule ^log_out$ log_out.php
    RewriteRule ^welcome$ welcome.php
    RewriteRule ^getbutton$ getbutton.php
    RewriteRule ^lost$ lost.php
    RewriteRule ^invite$ invite.php
    RewriteRule ^invite_friends$ invite_friends.php
    RewriteRule ^add_pin$ add_pin.php
    RewriteRule ^signup$ signup.php
    RewriteRule ^invite_signup$ invite_signup.php
    RewriteRule ^confirmemail$ confirmemail.php
    RewriteRule ^createboard$ createboard.php
    RewriteRule ^createboard2$ createboard2.php
    RewriteRule ^pin_success$ pin_success.php
    RewriteRule ^pin_create_popup$ pin_create_popup.php
    RewriteRule ^report_popup$ report_popup.php
    RewriteRule ^gifts$ gifts.php
    RewriteRule ^more$ more.php
    RewriteRule ^more2$ more2.php
    RewriteRule ^more3$ more3.php
    RewriteRule ^more4$ more4.php
    RewriteRule ^more5$ more5.php
    RewriteRule ^more6$ more6.php
    RewriteRule ^more7$ more7.php
    RewriteRule ^more8$ more8.php
    RewriteRule ^more9$ more9.php
    RewriteRule ^more10$ more10.php
    RewriteRule ^more11$ more11.php
    RewriteRule ^popular$ popular.php
    RewriteRule ^all$ all.php
    RewriteRule ^search$ search.php
    RewriteRule ^add_popup$ add_popup.php
    RewriteRule ^pin_popup$ pin_popup.php
    RewriteRule ^upload_popup$ upload_popup.php
    RewriteRule ^board_popup$ board_popup.php
    RewriteRule ^about$ about.php
    RewriteRule ^pinit$ pinit.php
    RewriteRule ^rules$ rules.php
    RewriteRule ^help$ help.php
    RewriteRule ^tos$ tos.php
    RewriteRule ^privacy$ privacy.php
    RewriteRule ^contact$ contact.php
    RewriteRule ^myboards$ myboards.php
    RewriteRule ^mypins$ mypins.php
    RewriteRule ^mylikes$ mylikes.php
    RewriteRule ^settings$ settings.php
    RewriteRule ^edit_pin$ edit_pin.php
    RewriteRule ^edit_board$ edit_board.php
    RewriteRule ^edit_pass$ edit_pass.php
    RewriteRule ^delete_create_popup$ delete_create_popup.php
    RewriteRule ^delete_board_popup$ delete_board_popup.php
    RewriteRule ^source/(.*)?$ source.php?q=$1&%{QUERY_STRING}
    RewriteRule ^pin/([^/.]+)?$ pin.php?PID=$1&%{QUERY_STRING}
    RewriteRule ^([^/.]+)/pins?$ profilepins.php?uname=$1&%{QUERY_STRING}
    RewriteRule ^([^/.]+)/likes?$ profilelikes.php?uname=$1&%{QUERY_STRING}
    RewriteRule ^([^/.]+)/followers?$ followersprofile.php?uname=$1&%{QUERY_STRING}
    RewriteRule ^([^/.]+)/following?$ followingprofile.php?uname=$1&%{QUERY_STRING}
    RewriteRule ^([^/.]+)/([^/.]+)/followers?$ followers.php?uname=$1&bname=$2&%{QUERY_STRING}
    RewriteRule ^([^/.]+)/([^/.]+)?$ board.php?uname=$1&bname=$2&%{QUERY_STRING}
    RewriteRule ^([^/.]+)(\/)?$ profile.php?uname=$1
    RewriteRule ^videos$ videos.php
     
    <IfModule mod_security.c>
      # Turn off mod_security filtering.
      SecFilterEngine Off
     
      # The below probably isn't needed,
      # but better safe than sorry.
      SecFilterScanPOST Off
    </IfModule>
    
     
  14. sarhov

    sarhov

    Регистрация:
    26 сен 2012
    Сообщения:
    32
    Симпатии:
    6
    нет, не помогло, плюс когда захожу в видео опять 404 появилось
     
  15. $iD

    $iD Команда форума

    Регистрация:
    13 мар 2012
    Сообщения:
    3.580
    Симпатии:
    1.482
    а если убрать RewriteBase / ?
     
  16. sarhov

    sarhov

    Регистрация:
    26 сен 2012
    Сообщения:
    32
    Симпатии:
    6
    нет опять тоже самое... посмотрите вот сами http://zozo.im
    логин пароль
    Код:
    password
    не понимаю почему кнопка пин не работает
     
  17. $iD

    $iD Команда форума

    Регистрация:
    13 мар 2012
    Сообщения:
    3.580
    Симпатии:
    1.482
    я добавил пин :Smile:
     
  18. sarhov

    sarhov

    Регистрация:
    26 сен 2012
    Сообщения:
    32
    Симпатии:
    6
  19. $iD

    $iD Команда форума

    Регистрация:
    13 мар 2012
    Сообщения:
    3.580
    Симпатии:
    1.482
    всё оказалось просто... вы не читали наверно Installation.txt, а там последним пунктом написано:
    Код:
    Open /js/pinit.js
     
    Find:
    www.pin.com
    Replace with your domain name such as www.domain.com
     
    Find:
    www\.pin\.com
    Replace with your domain name but keep the current format.
    So if your domain name is http://www.domain.com you would replace it with:
    www\.domain\.com
    .htaccess верните как вам сделал хостер.
     
  20. sarhov

    sarhov

    Регистрация:
    26 сен 2012
    Сообщения:
    32
    Симпатии:
    6
    не поверите но я читал и все таки сделал, вот этот файл

    Код:
    (function() {
       
       
        var base_url = 'http://www.zozo.im/';
        var popupUrl = base_url + 'add_pin';
       
       
        function isIE() {
            return /msie/i.test(navigator.userAgent) && !/opera/i.test(navigator.userAgent);
        }
        function isChrome() {
            return /Chrome/.test(navigator.userAgent);
        }
        function isSafari() {
            return /Safari/.test(navigator.userAgent) && !isChrome();
        }
        function isIOS() {
            return navigator.userAgent.match(/iPad/i) != null || navigator.userAgent.match(/iPhone/i) != null || navigator.userAgent.match(/iPod/i) != null || navigator.userAgent.match(/iPod/i) != null
        }
        function in_array (needle, haystack, argStrict)
        {
            var key = '', strict = !!argStrict;
     
            if(strict)
                for(key in haystack)
                    if(haystack[key] === needle)
                        return true;
            else
                for(key in haystack)
                    if(haystack[key] == needle)
                        return true;
           
            return false;
        }
        if (window.location.href.match(/^(http|https):\/\/(www\.zozo\.im)/))
        {
            alert('The Pin Button has been successfully installed. You can now pin images from your favorite websites.');
            return false;
        }
        if(!document.scriptRunning)
        {
            document.scriptRunning = true;
            var imgs = [];
            var srcs = [];
            var close = function(){}
            var hidden = [];
           
            for (var i = 0; i < document.images.length; i++)
            {
                var img = document.images[i];
     
                if ((img.width >= 150 || img.height >= 150) && (typeof img.src != 'undefined') && !in_array(img.src, srcs, true))
                {               
                    imgs.push(img);
                    srcs.push(img.src);
                }
            }       
            var youtubeVideoId = null;
            var youtubeThumbnail = null;
            if ((youtubeVideoId = /^https?:\/\/(www\.)?youtube\.com\/watch.+v=([a-zA-Z0-9\-_]+)/.exec(window.location.href))
                && (youtubeVideoId=youtubeVideoId[2]) && !in_array('youtube:'+youtubeVideoId, srcs))
            {
                youtubeThumbnail = new Image();
                youtubeThumbnail.src = 'http://img.youtube.com/vi/'+youtubeVideoId+'/0.jpg#youtube#'+youtubeVideoId;
                imgs.push(youtubeThumbnail);
                srcs.push('youtube:'+youtubeVideoId);
            }       
            var embeds = document.getElementsByTagName('embed');
            for (var i = 0; i < embeds.length; i++) {
                if ((youtubeVideoId = /^https?:\/\/(www\.)?youtube\.com\/(embed|v)\/([a-zA-Z0-9\-_]+)/.exec(embeds[i].src))
                    && (youtubeVideoId=youtubeVideoId[3]) && !in_array('youtube:'+youtubeVideoId, srcs))
                {
                    youtubeThumbnail = new Image();
                    youtubeThumbnail.src = 'http://img.youtube.com/vi/'+youtubeVideoId+'/0.jpg#youtube#'+youtubeVideoId;
                    imgs.push(youtubeThumbnail);
                    srcs.push('youtube:'+youtubeVideoId);
                }
            }
            var iframes = document.getElementsByTagName('iframe');
            for (var i = 0; i < iframes.length; i++) {
                if ((youtubeVideoId = /^https?:\/\/(www\.)?youtube\.com\/(embed|v)\/([a-zA-Z0-9\-_]+)/.exec(iframes[i].src))
                    && (youtubeVideoId=youtubeVideoId[3]) && !in_array('youtube:'+youtubeVideoId, srcs))
                {
                    youtubeThumbnail = new Image();
                    youtubeThumbnail.src = 'http://img.youtube.com/vi/'+youtubeVideoId+'/0.jpg#youtube#'+youtubeVideoId;
                    imgs.push(youtubeThumbnail);
                    srcs.push('youtube:'+youtubeVideoId);
                }
            }
            if(imgs.length == 0)
            {
                alert('Unfortunately we were unable to locate any images big enough to be pinned.');
                document.scriptRunning = false;
                return false;
            }
            hide = function(tag)
            {
                var items = document.getElementsByTagName(tag);
     
                for (var i = 0; i < items.length; i++) {
                    if (items[i].style.display != 'none') {
                        hidden.push([items[i], items[i].style.display]);
                        items[i].style.display = 'none';
                    }
                }
            }
            unhide = function()
            {
                for (var i = 0; i < hidden.length; i++)
                    hidden[i][0].style.display = hidden[i][1];
     
                hidden = [];
            }
            close = function(){
                overlay.parentNode.removeChild(overlay);
                container.parentNode.removeChild(container);
                unhide();
                document.scriptRunning = false;
                return false;
            }
            hide('embed');
            hide('iframe');
            hide('object');
            var s = '#scriptOverlay {position: fixed; z-index: 9999; top: 0; right: 0; bottom: 0; left: 0; background-color: #ffffff; opacity: .95;}';
            s+= '#scriptLogo {padding: 10px; text-align: center; background-color: #ffffff;}';
            s+= '#scriptBorder {height: 1px; background-color: #d7d7d7;}';
            s+= '#scriptContainer {position: absolute; z-index: 9999; top: 0; left: 0; right: 0;}';
            s+= '#scriptCancelButton {display: block; line-height: 35px; background-color: #f2f2f2; color: #666; text-align: center; font-weight: bold; text-decoration: none;}';
            s+= '#scriptCancelButton:hover {background-color: #e5e5e5;}';
            s+= '#scriptImagesContainer {margin-top: 15px;}';
            s+= '.scriptSpot {float: left; width: 190px; height: 190px; padding: 5px; border: 1px solid #d7d7d7; background-color: #fff; margin: 3px; position: relative; text-align: center;}';
            s+= '.scriptSpot a {display: block; width: 190px; height: 190px;}'
            s+= '.scriptSpot img {max-width: 190px; max-height: 190px;}';
            s+= '.scriptSpot .scriptPostButton {line-height: 24px; display: none; position: absolute; z-index: 99999; top: 40%; left: 50%; margin: -12px 0 0 -40px; width: 80px; height: 24px; border: none; background-color: #f2f2f2; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; color: #333; text-align: center; box-shadow: 0 0 2px #333;}';
            s+= '.scriptSpot .scriptImageDims {position: absolute; z-index: 99999; bottom:0; left: 65px; text-align: center; width: 60px; background-color: #fff; padding: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px;}';
            s+= ".scriptIndicator {border: none; left: 50%;top: 70px;margin: -25px 0 0 -25px;position: absolute;z-index: 99998;}";s+= ".scriptVideo .scriptImageDims {display: none;}";
            var e=document.createElement("style");
            if(isIE()){
                e.type="text/css";
                e.media="screen";
                e.styleSheet.cssText=s;
                document.getElementsByTagName("head")[0].appendChild(e)
            }else{
                if(isSafari())
                    e.innerText=s;
                else
                    e.innerHTML=s;
                document.body.appendChild(e)
            }
            var overlay = document.createElement("div");
            overlay.setAttribute("id","scriptOverlay");
            document.body.appendChild(overlay);
            var container=document.createElement("div");
            container.setAttribute("id","scriptContainer");
            var html = '';
            html+= '<a id="scriptCancelButton" href="#">Cancel</a>';
            html+= '<div id="scriptBorder"></div>';
            html+= '<div id="scriptLogo"><a target="_blank" href="' + base_url +'"><img src="' + base_url +'/img/logo.png" alt="" /></a></div>';
            html+= '<div id="scriptBorder"></div>';
            html+= '<div id="scriptImagesContainer"></div>';
            container.innerHTML = html;
            document.body.appendChild(container);
            document.getElementById("scriptCancelButton").onclick=close;
            var imagesContainer = document.getElementById("scriptImagesContainer");
            for(var j=0;j<imgs.length;j++)
            {
                (function(img){
                    var spot = document.createElement("div");
                    spot.setAttribute("class","scriptSpot");
                    spot.innerHTML = '<div class=\"scriptImageDims\">'+img.width+' x '+img.height+'</div>';
                    var link = document.createElement("a");
                    link.setAttribute("href","#");
                    link.innerHTML = '<img src="'+img.src+'">';
                    var button = document.createElement("div");
                    button.setAttribute("class","scriptPostButton");
                    button.innerHTML = 'Pin';
                    if(isIE()){
                        spot.attachEvent("onmouseover",function(){
                            button.style.display="block";
                        });
                        spot.attachEvent("onmouseout",function(){
                            button.style.display="none";
                        })
                    }else{
                        spot.addEventListener("mouseover",function(){
                            button.style.display="block";
                        },false);
                        spot.addEventListener("mouseout",function(){
                            button.style.display="none";
                        },false)
                    }
                    link.onclick=function()
                    {
                        window.open(popupUrl+'?url='+escape(img.src)+'&sourceurl='+escape(location.href)+'&title='+document.title,"script_"+(new Date).getTime(),"status=no,resizable=no,scrollbars=yes,personalbar=no,directories=no,location=no,toolbar=no,menubar=no,width=632,height=270,left=0,top=0");
                        close();
                        return false;
                    }
                    link.appendChild(button);
                    spot.appendChild(link);
                    if(img.src.indexOf("#youtube#")>=0){spot.className += " scriptVideo"; var indicator = new Image(); indicator.src = base_url + "/img/video_icon.png"; indicator.className = "scriptIndicator"; spot.appendChild(indicator);}
                    imagesContainer.appendChild(spot);
                })(imgs[j]);
            }
        }   
    })();