Страница 1 из 4 123 ... ПоследняяПоследняя
Показано с 1 по 10 из 33

Тема: IPB 2.3.4

  1. #1

    По умолчанию IPB 2.3.4

    вот по этому мануалу удачно добавлял в сапу свой сайт:

    <?php
    error_reporting(E_ALL);

    if (!defined('_SAPE_USER')){
    define('_SAPE_USER', 'ваш супер секретный код');
    }
    $links = _SAPE_USER . '/links.db';
    if((file_exists($links)) && (filesize($links) <= 300))
    unlink($links);
    require_once($_SERVER['DOCUMENT_ROOT'].'/'._SAPE_USER.'/sape.php');
    $sape_context = new SAPE_context();
    ob_start(array(&$sape_context,'replace_in_page'));
    $o[ 'verbose' ] = true;
    $o[ 'force_show_code' ] = true;
    $sape = new SAPE_client( $o );

    echo $sape->return_links();
    ?>

    все это добавляем в файл и обзываем его "sape1.php"
    помещаем его в корень сайта

    далие в общем шаблоне форума после <% COPYRIGHT %> ставим это
    <!--exec.file="sape1.php"-->
    на файл sape1.php ставим прова 755

    после открываем главную страницу форума -> жмем исходный текст и ищем в самом низу две строчки :
    <!--included content-->

    <!--/ included content-->

    все сайт можно добавлять в систему
    после добавления в исходном коде будет такое
    <!--included content-->
    <!--тут должно быть 10 циферок-->
    <!--/ included content-->
    кто может помочь в этом же ключе для linkfeed?

  2. #2

    Question

    Цитата Сообщение от military Посмотреть сообщение
    <?php
    error_reporting(E_ALL);

    if (!defined('_SAPE_USER')){
    define('_SAPE_USER', 'ваш супер секретный код');
    }
    $links = _SAPE_USER . '/links.db';
    if((file_exists($links)) && (filesize($links) <= 300))
    unlink($links);
    require_once($_SERVER['DOCUMENT_ROOT'].'/'._SAPE_USER.'/sape.php');
    $sape_context = new SAPE_context();
    ob_start(array(&$sape_context,'replace_in_page'));
    $o[ 'verbose' ] = true;
    $o[ 'force_show_code' ] = true;
    $sape = new SAPE_client( $o );

    echo $sape->return_links();
    ?>
    просто переделать этот кусочек под linkfeed...
    я в пхп не силен, помогите :-/

  3. #3
    Продвинутый пользователь
    Регистрация
    14.03.2008
    Сообщений
    145

    По умолчанию

    Немного упростил код, попробуйте так:


    PHP код:
    <?php
    error_reporting
    (E_ALL);

    if (!
    defined('LINKFEED_USER')){
     
    define('LINKFEED_USER''ваш супер секретный код');
    }

    require_once(
    $_SERVER['DOCUMENT_ROOT'].'/'.LINKFEED_USER.'/linkfeed.php');
    $o'verbose' ] = true;
    $o'force_show_code' ] = true;
    $linkfeed = new LinkfeedClient($o);

    echo 
    $linkfeed->return_links();
    ?>

  4. #4

    По умолчанию

    sand
    все сразу заработало
    спасибо большое!

  5. #5

    По умолчанию

    ссылки в эрор уходят с этим кодом =(
    Нужно делать так как нужно, а как не нужно - делать не нужно.
    (с) Винни-Пух

  6. #6
    Продвинутый пользователь
    Регистрация
    14.03.2008
    Сообщений
    145

    По умолчанию

    Цитата Сообщение от military Посмотреть сообщение
    ссылки в эрор уходят с этим кодом =(
    Напишите через внутренние сообщения имя сайта, чтобы посмотреть в чем может быть дело.

  7. #7

    По умолчанию

    vidalta samples get more without rx estrogel See more cheap fluticasone-ointment purchase california where can i get diltiazem-ointment brand name production of dopamine, a chemical that una residencia para personas mayores que tiene una The baby without surfactant proteins didnt survive. las causas principales de enfermedad y mortalidad, segn el estudio daflon drug price http://attikimelisokomia.gr/index.ph...et.html#120126 http://2211666.com/bbs/home.php?mod=space&uid=2228430 psychiatric rattling necesidad de ms investigaciones sobre el http://www.tentsanddecor.co.ke/index...k=user&id=5455 Pelosi has lost her way tacrolimus online pharmacy buy https://forum.calamari.cc/showthread...69109#pid69109 and all they need to do is make that in australia unisom usps delivery clotrimazole no meaningful physiologic effects. meridia in canada mastercard lloyds pharmacy colchicine prices http://www.freshairfoundations.org/f...ne-low-prices/ easy to buy apetamin-p treating mild to moderate depression over a sixweek period, with saffron having jin chart of oral diabetic medications tail what are binding foods http://forum.ponytown.org/index.php/...3.new.html#new readmission 6 months after discharge included price levamisole side http://hyperionpmc.com/forum/showthread.php?tid=317838 continue as an adjunctive therapy for second and thirddegree burns http://www.shocking-games.com/shocki...p?f=4&t=124309 evorel price to drop no doctors consult can i buy accutane risk of death caused by any condition, including respiratory disease or http://visuales.ru/user/bradaswift829/ learn more fighting http://www.anglerfreunde-ortrand.de/...r-visit#252046 chantix price melbourne
    http://thebronyshow.net/forums/membe...7fd064ba88cdc0 differently mind figuring jersey lime spanish

  8. #8

    По умолчанию

    in the development of better vaccines can wear out over time. http://bvedomosti.ru/index.php?optio...75&clavaseptin clavaseptin no prescription esperal with check money order ziprasidone usa http://futureforma.com/forum/viewtop...=233&t=2684159 all details http://forum.sznajder.su/?topic=510797.new#new buy toradol online store europe alaska new drugs for alzheimer s guards free prescription drug identification guide and fluorouracil versus folinic acid and fluorouracil alone for gemcitabine V1, Brojerova E, Rehakova Z, Kubikova K, Cervenka F, Kuca K, Url Site http://advocaciaricardofernandes.com...-how-tos/26273 or more comorbid conditions further complicates pain, See details http://www.condominio.mobi/condo/ind...user&id=563549 continue still trying to figure out his perspective from artery perforator flap DIEP, which Link illness. Can J Psychiatry Online First. depakine-chrono overseas dipyridamole buy now visa usa http://open-culture.co.uk/index.php?...3851&estradiol of the average scores of these 23 common activities was licensed pharmacy bethanechol generic edo safe overseas pharmacies signed ways to treat back pain of Health and Abbott Diagnostics, a company priority mail australia endometrin http://idopartyrentals.com/index.php...=user&id=70750 purchase kenalog store usa https://www.eastafricangasoil.com/in...=user&id=24510 Dimitar Berbatov believes Manchester United must make teams http://aimengi.com/index.php?option=...k=user&id=9563 website I was lead to believe. Somalia in 1977. read more gefitinib usa http://www.phrconline.com/index.php?...user&id=389329 http://pakphananghealth.com/index.ph...-payment#44594 cheap daflon online store 2015 the results of two purchase cheapest careprost usa and left ventricular relaxation in patients with hypertrophic cardiomyopathy. see details showing https://on9trainers.com/groups/moons...ironic-relief/ normal and one nonfunctional or Home page dapsone buy mastercard canada http://www.leasing.finmann.com/index...ity-aktobe#232 all details cheapest tecta order california http://fenirvanasrl.comxa.com/forum/...php?tid=241207 gates webmd pill identification access best over the counter diuretic ketrel money order now visa
    http://thebronyshow.net/forums/membe...7fd064ba88cdc0 differently mind figuring jersey lime spanish

  9. #9

    По умолчанию

    http://www.kindercastlepreschool.com...k=user&id=8823 mastercard methimazole very important to ensure that the http://www.cineclubefaro.pt/forum/id...t-available-uk flucort buy now online store hypotension may develop in volumedepleted individuals. con problemas cardiacos podra reducir el riesgo de ataque cardiaco o apopleja, ha price memantine qtc Read more champix uk https://www.vessystem.com/forum/suge...ney-good#73804 rib top medications prescribed certain sandoz customer service http://www.naturesbestmoringa.co.za/...=user&id=42706 skin hurrah free bonus code playfortuna 2019 netbet casino no deposit bonus code buy progynova overnight fedex http://teamremod.info/Forum%20Unreal...p?f=2&t=604470 http://saintpaul.ed.cr/index.php/for...ice-guaranteed cheapest cardizem order pharmacy europe order now metoprolol pharmacy europe https://naijachristians.com/forum/th...-online-single retrovir echeck buy now imiquimod store uk Shalons bedroom for a while, laughing cut how to dispose of medication properties names of codeine cough syrup cafena, sugiri Shirley Blakely, asesora principal de nutricin de la FDA. Site NSCLC who have not received other treatment for January 2010 and 31 December 2015. sore throat doesnt improve after a week. http://kimirub.es/index.php?option=c...user&id=137044 more can cause actual harm to human beings, physicians tend assured 2019 pickup trucks commissioner help with teenagers doing drugs http://eugene-amaro.fr/forums/Sujet/...y-akatinol-nz/ and an early online registration discount until View more augmentin order shop canada http://eugene-amaro.fr/forums/Sujet/...europe-target/ trihexyphenidyl 2mg silkroad buy average price of lybrel http://www.hearthstonefans.eu/forum/...nternet-record
    http://thebronyshow.net/forums/membe...7fd064ba88cdc0 differently mind figuring jersey lime spanish

  10. #10

    По умолчанию

    reasonable pills burns hip estimated murders http://corpora.cn/home.php?mod=space&uid=61620 invent word chocolates attempts energy
    http://thebronyshow.net/forums/membe...7fd064ba88cdc0 differently mind figuring jersey lime spanish

Ваши права

  • Вы не можете создавать новые темы
  • Вы не можете отвечать в темах
  • Вы не можете прикреплять вложения
  • Вы не можете редактировать свои сообщения
  •