Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 26,576 through 26,600 (of 31,072 total)
  • Author
    Search Results
  • #58207

    In reply to: New Groupblog Plugin

    Boone Gorges
    Keymaster

    Mariusooms – great plugin! Really fills a need for my community.

    I wanted the “Blog” link on the group options bar to go to the regular blog theme, so I wrote a few small functions to redirect the ‘blog’ slug to the subdomain address. Written in about five minutes, but it seems to work fine for me:

    remove_action( 'wp', 'custom_bp_groupblog_setup_nav', 2 );
    remove_action( 'admin_menu', 'custom_bp_groupblog_setup_nav', 2 );

    function custom_bp_groupblog_setup_nav() {
    global $bp, $current_blog;

    if ( $bp->current_component == $bp->groups->slug && $bp->is_single_item ) {

    $bp->groups->current_group->is_group_visible_to_member = ( 'public' == $bp->groups->current_group->status || $is_member ) ? true : false;

    $group_link = $bp->root_domain . '/' . $bp->groups->slug . '/' . $bp->groups->current_group->slug . '/';

    if ( bp_groupblog_is_blog_enabled( $bp->groups->current_group->id ) )
    bp_core_new_subnav_item(
    array(
    'name' => __( 'Blog', 'groupblog' ),
    'slug' => 'blog',
    'parent_url' => $group_link,
    'parent_slug' => $bp->groups->slug,
    'screen_function' => 'custom_groupblog_screen_blog',
    'position' => 32,
    'item_css_id' => 'group-blog'
    )
    );
    }
    }
    add_action( 'wp', 'custom_bp_groupblog_setup_nav', 2 );
    add_action( 'admin_menu', 'custom_bp_groupblog_setup_nav', 2 );

    function custom_groupblog_screen_blog() {
    global $bp, $wp;

    $blog_details = get_blog_details( get_groupblog_blog_id(), true );

    if ( $bp->current_component == $bp->groups->slug && 'blog' == $bp->current_action ) {
    bp_core_redirect( $blog_details->siteurl );
    }
    }

    #58206
    Seobrien
    Participant

    Great thread, if I could add, I’d really like to see the themes section of buddypress built out (https://buddypress.org/extend/themes/). I appreciate and agree that it is hardly a priority but have there really only been 2 themes created in the past year??

    #58203
    Andrea Rennick
    Participant

    The user blogs are handled by MU though, not buddypress. :) It’s easy enough to strip out what you don’t need from a copy of the theme, or as suggested above, use a child theme for the blogs area.

    Also, you need to either move the folders to the default theme folder, so it gets correctly applied, or use a plugin to control this (I like new blog defaults).

    #58202
    Andrea Rennick
    Participant

    I’m working on something.

    It’s a little more involved with just moving stuff over.

    #58201

    In reply to: a template question

    grosbouff
    Participant

    (PS : the problem will be the same with the loaded CSS and JS files. You should really add something to the buddypress core to make this easier).

    Here’s how I did to load CSS & JS from the plugin directory (default) if there’s no files for the plugin into the current theme :

    define ( ‘BP_QUICKPRESS_PLUGIN_NAME’, ‘buddypress-quickpress’ );

    define ( ‘BP_QUICKPRESS_PLUGIN_URL’, WP_PLUGIN_URL . ‘/’ . BP_QUICKPRESS_PLUGIN_NAME );

    wp_enqueue_script( ‘bp-quickpress-expandable-tree-js’, apply_filters(‘bp_quickpress_locate_js’,’_inc/js/expandableTree.js’),array(‘jquery’), ‘1.0’ );

    wp_enqueue_style( ‘bp-quickpress-screen’, apply_filters(‘bp_quickpress_locate_css’,’style.css’) );

    function bp_quickpress_load_template_files($file) {

    $theme_path = STYLESHEETPATH . ‘/quickpress’;

    $theme_url = get_stylesheet_directory_uri() . ‘/quickpress’;

    if ( file_exists( $theme_path.’/’.$file ) ) {

    return $theme_url.’/’.$file;

    }else {

    return BP_QUICKPRESS_PLUGIN_URL.’/theme/quickpress/’.$file;

    }

    }

    add_filter(‘bp_quickpress_locate_js’,’bp_quickpress_load_template_files’);

    add_filter(‘bp_quickpress_locate_css’,’bp_quickpress_load_template_files’);

    #58194
    Xevo
    Participant

    All these errors are saying that they can’t find certain files, maybe because you installed it on a subdomain, rather than a subfolder or root?

    Also, disable all your other plugins and your custom theme and see if the problem still exists (don’t think it has anything to do with your current problem, but it’s always best to check).

    #58193
    blakicemg
    Participant

    1. Which version of WPMU are you running?

    2.8.4

    2. Did you install WPMU as a directory or subdomain install?

    Subdomain

    3. If a directory install, is it in root or in a subdirectory?

    n/a

    4. Did you upgraded from a previous version of WPMU? If so, from which version?

    2.8.3

    5. Was WPMU functioning properly before installing/upgrading BuddyPress?

    Yes

    6. Which version of BuddyPress (BP) are you running?

    1.1.3

    7. Did you upgraded from a previous version of BP? If so, from which version?

    no

    8. Do you have any plugins other than BuddyPress installed and activated?

    yes

    9. Are you using the standard BuddyPress themes or customized themes?

    Customised

    10. Have you modified the core files in any way?

    No

    11. Do you have any custom functions in bp-custom.php?

    no

    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?

    Not installed yet

    13. Please provide a list of any errors in your server’s log files.

    There are no errors in the wordpress log

    BP Errors:

    [07-Dec-2009 10:11:07] PHP Fatal error: Call to undefined function plugins_url() in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-core.php on line 12

    [07-Dec-2009 10:15:14] PHP Warning: require(BP_PLUGIN_DIR/bp-wire/bp-wire-classes.php) [function.require]: failed to open stream: No such file or directory in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-wire.php on line 7

    [07-Dec-2009 10:15:14] PHP Fatal error: require() [function.require]: Failed opening required ‘BP_PLUGIN_DIR/bp-wire/bp-wire-classes.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-wire.php on line 7

    [07-Dec-2009 10:16:36] PHP Warning: require(BP_PLUGIN_DIR/bp-blogs/bp-blogs-classes.php) [function.require]: failed to open stream: No such file or directory in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-blogs.php on line 9

    [07-Dec-2009 10:16:36] PHP Fatal error: require() [function.require]: Failed opening required ‘BP_PLUGIN_DIR/bp-blogs/bp-blogs-classes.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-blogs.php on line 9

    [07-Dec-2009 10:18:02] PHP Warning: require(BP_PLUGIN_DIR/bp-groups/bp-groups-classes.php) [function.require]: failed to open stream: No such file or directory in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-groups.php on line 9

    [07-Dec-2009 10:18:02] PHP Fatal error: require() [function.require]: Failed opening required ‘BP_PLUGIN_DIR/bp-groups/bp-groups-classes.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-groups.php on line 9

    [07-Dec-2009 10:19:29] PHP Warning: require(BP_PLUGIN_DIR/bp-forums/bp-forums-bbpress.php) [function.require]: failed to open stream: No such file or directory in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-forums.php on line 11

    [07-Dec-2009 10:19:29] PHP Fatal error: require() [function.require]: Failed opening required ‘BP_PLUGIN_DIR/bp-forums/bp-forums-bbpress.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-forums.php on line 11

    [07-Dec-2009 10:20:55] PHP Warning: require_once(WP_PLUGIN_DIR/buddypress/bp-core.php) [function.require-once]: failed to open stream: No such file or directory in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-loader.php on line 19

    [07-Dec-2009 10:20:55] PHP Fatal error: require_once() [function.require]: Failed opening required ‘WP_PLUGIN_DIR/buddypress/bp-core.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-loader.php on line 19

    [07-Dec-2009 10:22:21] PHP Warning: require(BP_PLUGIN_DIR/bp-status/bp-status-templatetags.php) [function.require]: failed to open stream: No such file or directory in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-status.php on line 5

    [07-Dec-2009 10:22:21] PHP Fatal error: require() [function.require]: Failed opening required ‘BP_PLUGIN_DIR/bp-status/bp-status-templatetags.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-status.php on line 5

    [07-Dec-2009 10:23:48] PHP Warning: require(BP_PLUGIN_DIR/bp-friends/bp-friends-classes.php) [function.require]: failed to open stream: No such file or directory in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-friends.php on line 9

    [07-Dec-2009 10:23:48] PHP Fatal error: require() [function.require]: Failed opening required ‘BP_PLUGIN_DIR/bp-friends/bp-friends-classes.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-friends.php on line 9

    [07-Dec-2009 10:25:14] PHP Warning: require(BP_PLUGIN_DIR/bp-xprofile/bp-xprofile-admin.php) [function.require]: failed to open stream: No such file or directory in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-xprofile.php on line 8

    [07-Dec-2009 10:25:14] PHP Fatal error: require() [function.require]: Failed opening required ‘BP_PLUGIN_DIR/bp-xprofile/bp-xprofile-admin.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-xprofile.php on line 8

    [07-Dec-2009 10:26:40] PHP Warning: require(BP_PLUGIN_DIR/bp-messages/bp-messages-classes.php) [function.require]: failed to open stream: No such file or directory in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-messages.php on line 9

    [07-Dec-2009 10:26:40] PHP Fatal error: require() [function.require]: Failed opening required ‘BP_PLUGIN_DIR/bp-messages/bp-messages-classes.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-messages.php on line 9

    [07-Dec-2009 10:28:06] PHP Warning: require(BP_PLUGIN_DIR/bp-activity/bp-activity-classes.php) [function.require]: failed to open stream: No such file or directory in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-activity.php on line 9

    [07-Dec-2009 10:28:06] PHP Fatal error: require() [function.require]: Failed opening required ‘BP_PLUGIN_DIR/bp-activity/bp-activity-classes.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/brownsw/public_html/wp-content/plugins/buddypress/bp-activity.php on line 9

    14. Which company provides your hosting?

    I have a VPS with Servint

    #58192

    In reply to: Themes in 1.3

    Anonymous User 96400
    Inactive

    Oh, yeah! Forgot that we’re on 1.1.3 now…

    #58182

    In reply to: Themes in 1.3

    David Lewis
    Participant

    He probably means 1.1.3

    #58174

    In reply to: a template question

    grosbouff
    Participant

    Hey DJPaul, thanks for your answer !

    There something good for me in there :)

    But, I still have a little problem.

    In my plugin php files;

    I use the bp_core_load_template() function to load my template, which is filtered by your (modified) function :

    function classified3s_screen_filter_template( $located_template, $template_name ) {

    if ( !empty( $located_template ) )

    return $located_template;

    if ( $bp->current_component != $bp->classified3s->slug )

    return false;

    $template_path = BP_CLASSIFIED3S_PLUGIN_DIR.”/theme/$template_name[0]”;

    if ( file_exists( $template_path ) ) {

    return $template_path;

    }

    return false;

    }

    add_filter( ‘bp_located_template’, ‘classified3s_screen_filter_template’, 10, 2 );

    and it works.

    So

    bp_core_load_template( apply_filters( ‘classified3s_template_classified3s_directory’, ‘directories/classified3s/index’ ) );

    loads the file inside myplugin/theme/classified3s/index.php because there is no specific themes files for the plugin in my current theme.

    Great.

    But inside that index.php file, I call another template :

    <?php bp_core_load_template( apply_filters( ‘classified3s_template_classified3s_loop’, ‘classified3s/classified3s-loop.php’ ) );?>

    which loads… nothing.

    Don’t know if you can see where the problem is.

    Thanks man !

    Also, this should be added to the core function. Check if the plugin contains a “theme” directory where are stored the default template files if no templates are found in the current theme.

    Because it’s annoying to have to move the files after having installed the plugin.

    #58169
    federalistnp
    Participant

    I am sorry to bother this board but if the process is easy, can someone explain the easy parts? Is it merely a matter of moving the bpress folders to the wp-content/theme folders?

    What is the easy process?

    blahaye
    Participant

    Hi,

    I was frustrated that the “users blogs” did not match the main theme

    and am surprised that there is not a matching “user blog” theme in the package.

    What I did was create a child them based on the default buddypress theme

    and then changed the code in the header.php file so that the correct title of the user blog shows instead of the title of the main blog.

    you have to make sure you don’t use buddypress widgets, they will not work.

    There may be a better way to do it but that seemed to work for me.

    The child theme thing is great when you get the hang of it.

    Cheers,

    B

    #58145

    In reply to: dutchmall.nl

    Xevo
    Participant

    @ Bowe: Normally this is correct, but wordpress makes an exception. Only if you want your theme/plugin in the plugin or theme repository over at wordpress.org, you have to have GPL on it. If you want to place your own copyright or copyleft on it, your allowed to do so. I can’t find a page on wordpress clarifying this in detail, since they don’t like you using any other license.

    I do have a statement on the forum that verifies this (second post).

    https://wordpress.org/support/topic/260431

    Btw, contacted the fellows over at wpmu-dev, they’re 100% GPL, so you could even freely give away their plugins/themes if you wanted to. But I don’t think they’d be giving updates anytime soon if their plugins/themes would be handed out for free.

    #58144
    Xevo
    Participant

    There are no tutorials about this and no one is working on one either, as far as I know. Changing a normal wordpress theme to a buddypress theme isn’t that hard, since after all wordpress is still the core, but you need a lot of extra template tags and styling in order for this to work properly.

    #58139

    In reply to: Themes in 1.3

    Anonymous User 96400
    Inactive

    I guess you mean 1.2? That’s the latest trunk version. I suggest you contact the theme author and ask him to update the theme.

    #58137

    In reply to: dutchmall.nl

    Bowe
    Participant

    If I understand correctly it does not matter which licensing type they use because as soon as they use WP code it becomes GPL. At least that’s what a read here:

    Interesting WordPress GPL implications

    This means that whenever a theme or a plugin uses just one function from the WordPress code, GPL license automatically ‘kicks in’ and takes over. And since plugins and themes must use WordPress functions they automatically become GPL as well.

    Can someone confirm this is correct?

    #58132
    Paul Wong-Gibbs
    Keymaster

    Should be the same archive downloaded, the auto-installer unwraps the files and puts it into place for you. Hmm.

    #58130

    In reply to: dutchmall.nl

    Bowe
    Participant

    Then I stand corrected and a mod can delete my post. If this is perfectly fine and accepted in the wordpress community then I am probably seeing this the wrong way..

    I personally would find it a bit strange to sell something which isn’t yours.

    For example if it took me many hours to create a BuddyPress theme or plugin and decided to sell it, and notice that someone else is selling my plugin for a lower price, I would be VERY unhappy!

    Right now everything that’s developed using any WP hooks automatically falls under the GPL so you are not doing anything wrong I think, but I honestly don’t understand why you would do this.. If everyone would start reselling stuff from others the open source community would quickly become a very nasty place to be. This is just my personal opinion and I’m interested in what others think about this.

    I am not trying to start a flamewar and I’m sorry for accusing you for stealing, that was uncalled for.

    #58129

    In reply to: dutchmall.nl

    Mariusooms
    Participant

    This could actually spark a interesting topic on the GPL Licensing. I would suggest annyone that wishes to engage in a particular argument based on the license, to read the following page:

    http://www.gnu.org/licenses/gpl-faq.html#DoesFreeSoftwareMeanUsingTheGPL

    As far as material that is being received through wpmudev premium which is not under the GPL license should not be able to be sold for profit, afaik. Dutchmall does mention it resells both to the public for support of the site, which I agree is wrong, depending on the license off course.

    It does indeed mention that the fee is not for the theme or the product and that all materials are created by others, but how can you charge a fee for a theme or a plugin before downloading, while at the same time state it is not for the plugin or theme? No allegation, but surely confused.

    I could not find a clear ToS on wpmudev which clarifies this violation, so it is hard to say what exactly is allowed or not and what other licenses are distributed apart fomr the GPL.

    Considering the GPL it is actually astonishing not more plugins and themes from wpmudev premium are not readily available by others providers as that seems completely legal. I am not a member of wpmudev premium, so again, I don’t know what the ToS is or licensing beyond GPL.

    #58128

    In reply to: dutchmall.nl

    superbloggernl
    Participant

    Bowe (and others !) , I am sorry that you shout out blurps before actually reading up on things, but I understand completely as I also do not always read every text file in every archive.

    However, if you accuse someone of stealing you may want to do some homework first !

    The items we are “selling” are adopted by us to work for the dutch market where needed. Furthermore we do not charge for the themes and plugins themselves as is clearly stated on the site. There is nothing wrong with charging a fee for our services to maintain the site and provide support, per the licenses as included with the files. All these licenses are intact and included with our distributions. We do not imply anywhere that the files are ours and in fact there is reference to wpmudev right on our site.Furthermore we re-distribute under the same licenses and as such you have the same rights as we do.

    If we are in any form acting under false assumptions we will stand corrected and act accordingly, but for your pleasure we included an exerpt of the license as included with the files. If you still decide that we are “stealing” then keep your post as is, but if this reply has taught you something about GPL licenses we would appreciate you revoking your allegations.

    When we speak of free software, we are referring to freedom, not

    price. Our General Public Licenses are designed to make sure that you

    have the freedom to distribute copies of free software (and charge for

    this service if you wish), that you receive source code or can get it

    if you want it, that you can change the software or use pieces of it

    in new free programs; and that you know you can do these things.

    To protect your rights, we need to make restrictions that forbid

    anyone to deny you these rights or to ask you to surrender the rights.

    These restrictions translate to certain responsibilities for you if you

    distribute copies of the software, or if you modify it.

    For example, if you distribute copies of such a program, whether

    gratis or for a fee, you must give the recipients all the rights that

    you have. You must make sure that they, too, receive or can get the

    source code. And you must show them these terms so they know their

    rights………

    …..You may charge a fee for the physical act of transferring a copy, and

    you may at your option offer warranty protection in exchange for a fee.

    ……..

    to make it a bit easier still for you (as we know you are also dutch):

    De GNU General Public License of kortweg de GPL is een copyleftlicentie voor software, bedacht door Richard M. Stallman, die (in het kort) stelt dat je met de software mag doen wat je wil (inclusief aanpassen en verkopen), mits je dat recht ook doorgeeft aan anderen en de auteur(s) van de software vermeldt. Concreet komt dat er op neer dat als je software die onder de GPL is gepubliceerd wilt verkopen, je daar de broncode bij zult moeten doen. Deze broncode mag dan weer verder worden verspreid onder de GPL. Iedereen kan ervoor kiezen zijn of haar programma onder de voorwaarden van deze licentie te publiceren.

    #58126
    KevinHeath
    Participant

    I done a new install of WPMU and downloaded the BP plug in through the interface and had the same problems.

    I then carried out a manual install via ftp and the download from this site and it works fine now.

    Is the download from here the same as the one through WPMU? Could be that the WPMU one is corrupt.

    #58119
    KevinHeath
    Participant

    I installed it using the one click then upgraded to WPMU 2.8.6 then upgraded the BP to 1.1.3 and discovered these issues.

    So, being used to Windows, I thought I would do a fresh instal. This time I cleaned all files off the server and installed using the script and left it there. So this install is using WPMU 2.8.5 and BP 1.1.2.

    Still the same issue.

    The register page is redirecting with a 302 header. God knows why.

    From Buddypress settings this line:

    Select theme to use for BuddyPress generated pages:

    is set to the parent theme. If I select the default BP theme, it reselects the parent theme on save.

    I’m flummoxed.

    I have asked the hosting tech to take a look. If they come up with nothing, I’ll try the manual install over ftp.

    #58118
    Paul Wong-Gibbs
    Keymaster

    Try installing it manually?

    #58116
    KevinHeath
    Participant

    I am using Apache and mod-rewrite is active. In fact my host (Heart Internet) do a one click install of Buddypress. Well sort of.

    #58114
    Bowe
    Participant

    I would like to see a rework of the parent theme.. basically an “improved” parent theme which has a different layout, and is easier to customize. Now there are all kinds of css files etc.. So a simplified and cleaner parent theme to work from would be great.. Great work Xevo :)

Viewing 25 results - 26,576 through 26,600 (of 31,072 total)
Skip to toolbar