Ответы в темах

Просмотр 15 ответов — с 46 по 60 (всего 64)
  • Форум: BuddyPress
    Тема: Уехал сайдбар
    Автор Nelly_Iam

    (@nelly_iam)

    ketter333 о боже Вы меня так выручили!! Благодарна нет слов как!! А можно еще Вас спросить: http://12.hollywoodpresents.ru/forums у меня наезжают буковки одна на одну. как можно сделать расстояние?

    И еще если Вы хорошо знакомы с BuddyPress,то может знаете как начтроить плагины bp-album-plus-ru, buddypress-links и buddypress-gifts. это галерея ссылки и подарки. 5 минут я их установлю: они были но потом удалили.
    И еще :как Вас отблагодарить??

    Форум: BuddyPress
    Тема: Уехал сайдбар
    Автор Nelly_Iam

    (@nelly_iam)

    нет нет Вы не поняли: такого файла сейчас там нет

    Форум: BuddyPress
    Тема: Уехал сайдбар
    Автор Nelly_Iam

    (@nelly_iam)

    «У тебя в теме сайдбар загружается из файла footer.php.
    А в файлах темы buddypress везде стоит <?php get_sidebar( ‘buddypress’ ); ?>
    То есть 2 раза загрузка идет. «

    и что из этого следует?

    Форум: BuddyPress
    Тема: Уехал сайдбар
    Автор Nelly_Iam

    (@nelly_iam)

    ketter333 и Вам спасибо за помощь!
    1. сделала пустой файл sidebar-buddypress.php — не помогло
    2. возможно из футера, но главное тема работает — посмотрите на главной странице. проблема только с пробовала дублировать файл sidebar.php только переименовав его в sidebar-buddypress.php
    Получилось — все выровнялось но тот сайдбар внизу остался…

    Форум: BuddyPress
    Тема: Уехал сайдбар
    Автор Nelly_Iam

    (@nelly_iam)

    только Вы потом все расскажите: это ведь пробный сайт

    Форум: BuddyPress
    Тема: Уехал сайдбар
    Автор Nelly_Iam

    (@nelly_iam)

    skodnik, спасибо большое что помогаете! Вообще-то, это они и есть)
    я отрыла Вам права доступа — пошаманьте
    http://12.hollywoodpresents.ru/wp-admin/
    пароль и имя пользователя одинаковы 5 единичек

    Форум: BuddyPress
    Тема: Уехал сайдбар
    Автор Nelly_Iam

    (@nelly_iam)

    index.php

    <?php get_header(); ?>
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    
    <!--Start Post-->
    <div class="post" style="padding-bottom: 50px;">
    
    <div class="p-head">
    <p class="p-date"><?php the_time('l,  j F Y H:i') ?></p>
     <h1><a title="<?php the_title(); ?>" href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h1>
    </div>
    
    <div class="p-con">
    <?php the_content('Читать запись полностью &raquo;'); ?>
    <?php wp_link_pages(); ?>
    <?php edit_post_link('<p style="text-align: right;">Редактировать.</p>', '', ''); ?>
    </div>
    
    <ul class="p-det">
     <li class="p-det-cat">Рубрика: <?php the_category(', ') ?></li>
    <li class="p-det-com"><?php comments_popup_link('Нет комментариев', '<strong>(1)</strong> комментарий', '<strong>(%)</strong> коммент.'); ?></li>
    </ul>
    
    </div>
    <!--End Post-->
    
    <?php endwhile; ?>
    <?php include("nav.php"); ?>
    <?php else : ?>
    <h1 class="title">404</h1>
    <p style="color:#F30">404 ошибка: Страница не найдена.</p>
    <br />
    <div class="p-con">
    <h3>Это могло произойти по нескольким причинам:</h3>
    <ul>
      <li>Страница переменована.</li>
      <li>Страница удалена.</li>
      <li>Вы воспользовались неправильной ссылкой.</li>
    </ul>
    <br />
    <h3>Вы можете сделать следующее:</h3>
    <ul>
      <li><a href="/about/">Почитать О сайте <? bloginfo('name'); ?></a></li>
      <li><a href="/contact/">Сообщить о битой ссылке</a></li>
    </ul>
    </div>
    <?php endif; ?>
    <?php if (function_exists('ddtheme')) { ?><?php ddtheme("celebrityhq");  ?><?php } ?>
    
    <?php get_footer(); ?>

    и page.php

    <?php get_header(); ?>
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    
    <!--Start Post-->
    <div class="post" id="post-<?php the_ID(); ?>">
    
    <div class="p-head" style="padding-left: 0px;">
     <h1><?php the_title(); ?></h1>
    </div>
    
    <div class="p-con">
    <?php the_content('<p class="serif">Читать запись полностью &raquo;</p>'); ?>
    </div>
    <?php wp_link_pages(array('before' => '<p><strong>Страницы:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
    <?php edit_post_link('Редактировать.', '<p>', '</p>'); ?>
    
    </div>
    <br />
    
    <?php //comments_template(); ?>
    
    <?php endwhile; ?>
    <?php include("nav.php"); ?>
    <?php else : ?>
    
    <?php include("404.php"); ?>
    <?php endif; ?>
    
    <?php get_footer(); ?>
    Форум: BuddyPress
    Тема: Уехал сайдбар
    Автор Nelly_Iam

    (@nelly_iam)

    skodnik, а можно поподробней: я в этих делах профан…

    Автор Nelly_Iam

    (@nelly_iam)

    тема не поддерживает. Думаю можно через верстку вот только я в ней не сильна…

    Автор Nelly_Iam

    (@nelly_iam)

    помогите пожалуйста! я целую ночь проторчала за компом с этим BuddyPress!!! http://12.hollywoodpresents.ru/

    Автор Nelly_Iam

    (@nelly_iam)

    сайт hollywoodpresents.ru

    Автор Nelly_Iam

    (@nelly_iam)

    смотрите: проблема с сайдбаром только на страницах созданных плагином (http://12.hollywoodpresents.ru/activity, http://12.hollywoodpresents.ru/groups)
    На главной странице все норм и с темой тоже все хорошо.
    этот текст в настройках плагина, когда надо подкорректировать тему под BuddyPress. Переведите. там настройки но я не совсем все поняла.
    Основной файл style.css не вижу смысла трогать так как все работает нормально без плагина.
    Точно знаю что мне может помочь Sergey Biryukov: он с этим плагином очень хорошо знаком. Спасибо

    Автор Nelly_Iam

    (@nelly_iam)

    Также

    Step Three: Tweaking your layout

    Now that the template files are in the correct location, check out your site. (You can come back to the current page at any time, by visiting Dashboard > Appearance > BP Compatibility.) You should see a BuddyPress admin bar at the top of the page. Try visiting some of the links in the «My Account» menu. If everything has gone right up to this point, you should be able to see your BuddyPress content.

    If you find that the pages are not quite aligned correctly, or the content is overlapping the sidebar, you may need to tweak the template HTML. Please follow the «fixing alignment» instructions below. If the content in your pages is aligned to your satisfaction, then you can skip to the «Finishing Up» section at the bottom of this page.
    Fixing Alignment

    By default BuddyPress templates use this HTML structure:

    [HEADER]

    <div id=»container»>
    <div id=»content»>
    [PAGE CONTENT]
    </div>

    <div id=»sidebar»>
    [SIDEBAR CONTENT]
    </div>
    </div>

    [FOOTER]

    If BuddyPress pages are not aligned correctly, then you may need to modify some of the templates to match your theme’s HTML structure. The best way to do this is to access your theme’s files, via FTP, at:

    /home/f/freeda/123/public_html/wp-content/themes/celebrityhq/

    Open up the page.php file (if this does not exist, use index.php). Make note of the HTML template structure of the file, specifically the <div> tags that surround the content and sidebar.

    You will need to change the HTML structure in the BuddyPress templates that you copied into your theme to match the structure in your page.php or index.php file.

    There are two methods for making the necessary template changes.

    The first method is to locate the following templates (leave out any folders that you didn’t copy over in Step Two):
    /activity/index.php
    /blogs/index.php
    /forums/index.php
    /groups/index.php
    /groups/create.php
    /groups/single/home.php
    /groups/single/plugins.php
    /members/index.php
    /members/single/home.php
    /members/single/plugins.php
    /members/single/settings/delete-account.php
    /members/single/settings/notifications.php
    /members/single/settings/general.php
    /registration/register.php
    /registration/activate.php

    Alternatively, you may find it easier to make copies of your theme’s header.php, sidebar.php and footer.php and rename them to header-buddypress.php, sidebar-buddypress.php, and footer-buddypress.php.

    Then you can alter the structure of these new template files (header-buddypress.php, sidebar-buddypress.php, and footer-buddypress.php) to resemble your theme’s page.php (or index.php).

    Once you are done matching up the HTML structure of your theme in these template files, please take another look through your site. You should find that BuddyPress pages now fit inside the content structure of your theme.
    Finishing Up

    You’re now all done with the conversion process. Your WordPress theme will now happily provide BuddyPress compatibility support. Once you hit the finish button you will be presented with a new permanent theme options page, which will allow you to tweak some settings.

    Автор Nelly_Iam

    (@nelly_iam)

    хорошо какой файл мне отредактировать?

    Автор Nelly_Iam

    (@nelly_iam)

    Сайт забыла http://12.hollywoodpresents.ru/ Это пробный на поддомене основного

Просмотр 15 ответов — с 46 по 60 (всего 64)