• @meg@info

    Hi there, please ignore my previous thread, i need help setting up buddypress wall with my default buddypress child theme, i am struggling to follow your FAQ, could you please explain in a little more detail, i have so far copied the /wp-content/plugins/buddypress-wall/includes/templates/bp-default/ folder to my child theme folder, i have also copied these files via ftp to my computer from this folder ready to edit with notepad++

    activity/activity-wall-loop.php
    activity/entry-wall.php
    activity/index-wall.php
    activity/post-wall-form.php
    groups/single/activity-wall.php
    groups/single/home-wall.php
    members/single/activity-wall.php
    members/single/home-wall.php

    i have also copied these files to my computer from the plugins/buddypress/bp-themes/bp-default (is this the correct directory im meant to copy from????) if so these are the files….

    activity/activity-loop.php
    activity/entry.php
    activity/index.php
    activity/post-form.php
    groups/single/activity.php
    groups/single/home.php
    members/single/activity.php
    members/single/home.php

    now i am stuck because i dont know which bit i am meant to copy and replace because your instructions are so vague and confusing if i open up activity-loop.php do i copy this bit………..

    <?php

    /**
    * BuddyPress – Activity Loop
    *
    * Querystring is set via AJAX in _inc/ajax.php – bp_dtheme_object_filter()
    *
    * @package BuddyPress
    * @subpackage bp-default
    */

    ?>
    and replace this bit in activity-wall-loop.php…..

    <?php

    /**
    * BuddyPress – Activity Wall Loop
    *
    * Querystring is set via AJAX in _inc/ajax.php – bp_wall_dtheme_object_filter()
    *
    * @package BuddyPress Wall
    * @subpackage Templates
    */

    ?>
    or is it the code underneath i am meant to be replacing? because i have tried doing it both ways and have still no luck, the problem still exists where if i click the VIEW link next to a status i receive these errors in the browser…..

    Warning: require_once(/home3/myname/public_html/wp-content/plugins/buddypress-wall/includes/templates/bp-default/members/single/activity/permalink.php) [function.require-once]: failed to open stream: No such file or directory in /home3/myname/public_html/wp-includes/template.php on line 441

    Fatal error: require_once() [function.require]: Failed opening required ‘/home3/myname/public_html/wp-content/plugins/buddypress-wall/includes/templates/bp-default/members/single/activity/permalink.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home3/myname/public_html/wp-includes/template.php on line 441

    https://www.ads-software.com/plugins/buddypress-wall/

Viewing 1 replies (of 1 total)
  • Thread Starter mcpeanut

    (@mcpeanut)

    i really dont understand this bit of the FAQ

    “For example, to update the activity/activity-wall-loop.php template, open the template file in your favorite editor or IDE and open the template activity/activity-loop.php (without -wall-) and replacing the template activity-wall-loop.php by code from activity-loop.php and keeping only the bp-wall php code (marked between and ) in the activity-wall-loop.php.

    for example in activity-wall-loop.php, the code

    is used to load activity-wall-loop.php instead this code used in the default buddypress template.

    so you must replace the template content and keep the bp-wall script.”

    sorry bro to be a pain but if you read this back to yourself it isnt very easy to follow , try to think about what you wrote above from a new users perspective rather than ..it sounds right to me so they will understand perpective…i will explain

    1.

    For example, to update the activity/activity-wall-loop.php template, open the template file in your favorite editor or IDE

    ok this bit i understand as i know which file im opening its the one i copied from the path you gave in your plugin folder

    2.

    and open the template activity/activity-loop.php (without -wall-),

    ok this is where im a little confused! which directory do i get this file from? i know its in the plugins/buddypress folder but dont know which location from then on?
    is it the one in the bp-themes/bp-default/activity folder? or is it the one in bp-templates/bp-legacy/buddypress/activity folder??????
    as you can see you don’t say exactly where!

    3.

    and replacing the template activity-wall-loop.php by code from activity-loop.php and keeping only the bp-wall php code (marked between and ) in the activity-wall-loop.php.

    now this bit has me totally lost again!….ok i have established that once i have the “CORRECT” two files open in notepad++, i then have to copy and replace some code from activity-loop.php to the activity-wall-loop.php…which part of the code is it i am meant to be copying and replacing? you say keep only the bp-wall code but which part is that? the whole lot? the top? the code under the top? …i dont understand what you mean by (marked between and)…..as you can see you just need to explain it all in a little more detail, especially for people who are quite capable of doing it if they could understand your explanation of how to do it.

    maybee a few quick screen shots showing which bits to copy and replace would help everyone who has to do this to use your plugin, im still in learning mode and am capable of learning and doing things if things are explained properly. ive had to replace code a few times myself to get things working right but this time im baffled and also very gratefull for your plugin at the same time.

Viewing 1 replies (of 1 total)
  • The topic ‘really need some help with child theme’ is closed to new replies.