Deprecated: Assigning the return value of new by reference is deprecated in /nfs/c03/h06/mnt/47169/domains/ on line 186

Deprecated: Assigning the return value of new by reference is deprecated in /nfs/c03/h06/mnt/47169/domains/ on line 108

Deprecated: Assigning the return value of new by reference is deprecated in /nfs/c03/h06/mnt/47169/domains/ on line 171

Deprecated: Assigning the return value of new by reference is deprecated in /nfs/c03/h06/mnt/47169/domains/ on line 484

Deprecated: Assigning the return value of new by reference is deprecated in /nfs/c03/h06/mnt/47169/domains/ on line 581

Warning: Cannot modify header information - headers already sent by (output started at /nfs/c03/h06/mnt/47169/domains/ in /nfs/c03/h06/mnt/47169/domains/ on line 1
Community » Topic: Hybrid and BuddyPress Theme Hybrid en-US Sun, 11 Dec 2016 08:05:45 +0000 bbpress 1.0.2 <![CDATA[Search]]> q Justin Tadlock on "Hybrid and BuddyPress" Wed, 28 Sep 2011 22:32:33 +0000 Justin Tadlock 3708@ <p>BuddyPress integration with the Hybrid theme is pretty much off the table now. Hybrid was never meant to be a BuddyPress theme.</p> <p>BuddyPress themes are still something I'm thinking about though. </p> Ploobers on "Hybrid and BuddyPress" Wed, 28 Sep 2011 05:53:47 +0000 Ploobers 3707@ <p>Any updates on the potential for BuddyPress / Hybrid integration? </p> Sherman on "Hybrid and BuddyPress" Fri, 13 May 2011 15:34:52 +0000 Sherman 3564@ <p>Hey All; I just wanted to thank everyone for this conversation so far. It's spanned a number of years so some of the links and so forth don't wok but the instructions and advice are sound and much appreciate.</p> <p>I'm diving head-first into a buddypress installation for a church. It's amazing how bad -or- inflexible church web community software is. BuddyPress seems like a great fit. As a WP Developer I always start with Hybrid (love love love) so that's a natural fit for me.</p> <p>I will probably have MANY questions so I'm hopeful there are some BuddyPress folks still monitoring this topic.</p> <p>As a start I was wondering if anyone DOES have a hybrid-buddypress empty child theme available? I certainly don't mind doing the work but if it were already available...</p> <p>Thanks in advance and I plan to keep this thread alive as I move forward. </p> ibloom on "Hybrid and BuddyPress" Sun, 03 Apr 2011 17:02:07 +0000 ibloom 3491@ <p>Hi Robert,</p> <p>I've tried to use your code to create the breadcrumbs for the buddypress pages (thank you for sharing). Unfortunately no luck, not even an error...<br /> I'm using hybrid with skeleton child and tried to put your code in the breadcrumb_trail.php under hybrid/library.</p> <p>Any hints? </p> <p>Thank you! </p> lkingsland on "Hybrid and BuddyPress" Wed, 18 Aug 2010 20:57:37 +0000 lkingsland 3240@ <p>@Robert, I would like to use breadcrumbs on my BuddyPress enabled Hybrid site, but I don't understand where to insert your "Generates the Buddypress breadcrumbs" function. Where is "breadcrumb_trail()" located? </p> davek on "Hybrid and BuddyPress" Fri, 16 Jul 2010 23:23:48 +0000 davek 3186@ <p>@ypierre have a look at <a href="" rel="nofollow"></a> - this should work with Hybrid News.</p> <p>If you are still stuck, post over there &amp; I'll do my best to help you out. </p> ypierre on "Hybrid and BuddyPress" Fri, 16 Jul 2010 15:03:05 +0000 ypierre 3184@ <p>@davek Thanks for the link. Keep up the good work.</p> <p>You seem to know a lot about making themes from themehybrid compatible with bp. Would you be able to show a quick dummy guide on how I can try it on hybrid news? For example: show a small snippet of the part of the original bp theme and then show which part in hybrid news needs to be modified. I don't know much about codes these things but I'm willing to give it a try. </p> davek on "Hybrid and BuddyPress" Fri, 16 Jul 2010 11:04:34 +0000 davek 3183@ <p>@ypierre sorry, I moved the templates over to <a href="" rel="nofollow"></a> </p> ypierre on "Hybrid and BuddyPress" Fri, 16 Jul 2010 02:12:51 +0000 ypierre 3181@ <p>Hello everyone! I just started and looking around.</p> <p>I tried to go to <a href="" rel="nofollow"></a> but page not found. Is that the only site to try out the theme for wp3.0 and bp1.2.5.2? Is it also available to download from this site as well?</p> <p>Please point me in the right direction. </p> Robert on "Hybrid and BuddyPress" Mon, 24 May 2010 05:31:10 +0000 Robert 3085@ <p>@KeneticImages</p> <p>I basically disabled the original Hybrid Breadcrumbs (via remove_action()) and added my own breadcrumb.php, called the function breadcrumb_buddypress_trail(), which is a copy of the original breadcrumb_trail() code with the following edit:<br /> after the line:</p> <pre><code>elseif ( is_404() ) $trail[&#39;trail_end&#39;] = &#39;&lt;span class=&quot;trail-end&quot;&gt;&#39; . __( &#39;404 Not Found&#39;, $textdomain ) . &#39;&lt;/span&gt;&#39;;</code></pre> <p>I just added:</p> <p><code>else buddypress_breadcrumb($trail);</code></p> <p>And of course added the complete buddypress_trail() function in the same file.</p> <p>HTH </p> KeneticImages on "Hybrid and BuddyPress" Wed, 12 May 2010 14:58:55 +0000 KeneticImages 3060@ <p>Robert,</p> <p>I want to add Breadcrumbs to my Hybrid/Buddypress installation, but I am not understanding where you are adding in the code. Can you please clarify?</p> <p>Thanks! </p> Ipstenu on "Hybrid and BuddyPress" Thu, 29 Apr 2010 14:36:59 +0000 Ipstenu 2949@ <p>Now that I'm off my ass about doing things...</p> <p>I have a site done up in Hybrid News and I converted to BuddyPress last week. Got the heavy lifting completed on Monday and ... Honestly there wasn't a whole lot of Hybrid tweaking needed. That BP template plugin made it pretty brainless. I did a couple tweaks to things for BP layout, and in order to get the BP Admin Bar running on all apps on my site (ZenPhoto and MediaWiki) I had to make a Hybrid Page with no widgets, but Justin's example on how to do that made it stupid easy. Seriously not hard.</p> <p>I was going to write it up, but there wasn't a whole lot of 'OMG! Remember this!' details. It was all pretty straight forward.</p> <p>And I did it on all WordPress MultiSite 3.0 and BP 1.2.3. Works just how I wanted. </p> davek on "Hybrid and BuddyPress" Wed, 28 Apr 2010 23:47:12 +0000 davek 2947@ <p>Still following this topic too. Will add a BuddyPress/Hybrid pack for all to use &amp; Justin to look over once WP3 &amp; BuddyPress 1.2.4 is released. </p> Justin Tadlock on "Hybrid and BuddyPress" Tue, 27 Apr 2010 11:12:28 +0000 Justin Tadlock 2928@ <p>I just want to hop in and say I've been following everything in this topic, even though I've been quiet about it. Feel free to keep it going.</p> <p>Robert, thanks for posting the breadcrumb trail stuff. It's been useful, and I'll probably end up putting a lot of it in the Breadcrumb Trail extension for Hybrid and the plugin. </p> JoSe on "Hybrid and BuddyPress" Wed, 31 Mar 2010 00:35:31 +0000 JoSe 2850@ <p>DONE ! Had to learn how to chmod a whole directory and subs from CLI.</p> <p>I am really grateful to you, first for your wonderful mashup of BP/Hybrid/Hybrid child theme and for your patience in assisting me.</p> <p>Will be watching this thread for further updates. </p> <p>Thank for all your help </p> davek on "Hybrid and BuddyPress" Wed, 31 Mar 2010 00:23:23 +0000 davek 2849@ <p>I just checked the download &amp; that file is in there, so it's either more file permissions that need to be changed on your server or an incomplete upload. </p> JoSe on "Hybrid and BuddyPress" Wed, 31 Mar 2010 00:08:53 +0000 JoSe 2848@ <p>Invisiblity problem solved: <a href="" rel="nofollow"></a></p> <p>Now it appears under both sections, but when I try to activate...<br /> Warning: require_once(/opt/lampp/htdocs/wordpress-mu/wp-content/themes/malleable-with-buddypress/library/malleable_buddypress_widgets.php) [function.require-once]: failed to open stream: Permiso denegado in /opt/lampp/htdocs/wordpress-mu/wp-content/themes/malleable-with-buddypress/functions-buddypress.php on line 169 </p> davek on "Hybrid and BuddyPress" Wed, 31 Mar 2010 00:03:24 +0000 davek 2847@ <p>Nothing in the BuddyPress stuff should stop the theme from being recognised.<br /> Maybe a file permissions issue?<br /> Do you have an URL I can see? </p> JoSe on "Hybrid and BuddyPress" Tue, 30 Mar 2010 23:51:18 +0000 JoSe 2846@ <p>Nope, no such error.<br /> Just downloaded your theme, copied to my wp-contents/themes folder with same negative result (invisible to my backend)<br /> I can see everyother framework and child themes, such as Buddymatic.<br /> This is really an x-file case, as I stated before, your material was "detected" by my backend only when I copied the wp theme stuff.<br /> Maybe some file from BP stuff that prevents the whole malleable folder from being noticed ? </p> davek on "Hybrid and BuddyPress" Tue, 30 Mar 2010 23:41:33 +0000 davek 2845@ <p>@JoSe,<br /> are you getting a template broken error on your themes page?<br /> I'd download the theme again, unzip it &amp; upload the full malleable-with-buddypress folder to your themes folder, then check your admin side again. </p> JoSe on "Hybrid and BuddyPress" Tue, 30 Mar 2010 23:31:36 +0000 JoSe 2844@ <p>Yes Dave, I just downloaded and copied (remember I am on localhost) Hybrid News and not only does it "show" in admin/themes and appearance/themes but it loads and displays correctly (aside from the obvious css misalignments).<br /> I should point out that in my many attemps to get this going, when I copied only the malleable WP theme from your file (and not BP stuff), at least it showed in admin/themes and appearance/themes.<br /> Of course when I tried to activate it, it gave me several errors. </p> davek on "Hybrid and BuddyPress" Tue, 30 Mar 2010 22:40:47 +0000 davek 2843@ <p>@Jose,<br /> I haven't tested on WPMU but I don't see any reason it wouldn't work.<br /> Have you uploaded any other Hybrid child themes? if so, do you see them in the WP backend? </p> JoSe on "Hybrid and BuddyPress" Tue, 30 Mar 2010 22:27:50 +0000 JoSe 2842@ <p>Allow me to clarify myself.<br /> I unzipped and uploaded all of malleable-with-buddypress folder to wp-content/themes, where Hybrid 0.7.1 was already present.<br /> At WP backend, malleable with buddypress does not show up for activation at site admin/themes nor appearence/themes.<br /> Do I have to move/rename any of malleable's files in order to get this going ?</p> <p>Thanks in advance, </p> JoSe on "Hybrid and BuddyPress" Mon, 29 Mar 2010 23:28:11 +0000 JoSe 2838@ <p>@davek<br /> Sorry for such a lame question, can you make an installation tutorial for the not-so-savy ?<br /> I can't make it work with WPMU 2.9.2, BP 1.2.3 under a localhost environment. </p> Supertyke on "Hybrid and BuddyPress" Mon, 29 Mar 2010 16:44:28 +0000 Supertyke 2837@ <p>@Robert:<br /> I must admit, when I see such tastefully designed sites, I realise how far I still have to go as far as design and programming is concerned. Marvellous work Robert, I'm looking forward to seeing this site go live! </p> Robert on "Hybrid and BuddyPress" Tue, 23 Mar 2010 04:46:51 +0000 Robert 2814@ <p>No worries, davek</p> <p>Thanks for the thumbs up on the theme. This is a re-development of a culture and arts portal funded by the Asia - Europe Foundation. I'll be sure to post the site into the showcase when we launch :).</p> <p>Once again, thanks for your work, it helped a lot. Consider the breadcrumbs a small contribution to the community. Hopefully, there'll be more stuff to give back. </p> davek on "Hybrid and BuddyPress" Mon, 22 Mar 2010 21:41:54 +0000 davek 2812@ <p>@Robert, wow, that's a cool theme with nice BuddyPress integration.<br /> Glad my version was able to help.</p> <p>Love the BP breadcrumbs, will add them to the next version &amp; swap out the defines for get_stylesheet_directory() so it should work easily enough with any Hybrid child theme. </p> Robert on "Hybrid and BuddyPress" Mon, 22 Mar 2010 20:36:14 +0000 Robert 2811@ <p>Firs off, thanks to davek for his pioneering work on malleable + buddypress. This is what I based our latest project on even though I ripped out the malleable part and replaced it with a skeleton Hybrid child. The buddypress_functions was very helpful in getting up and running.</p> <p>You can see the WIP here: <a href="" rel="nofollow"></a> It's being built on WP3.0 svn, BP 1.2 svn and Hybrid 0.7.1. I know, sounds dangerous but it's been behaving very well so far. The main site menu is already generated from the new WP menu manager.</p> <p>We'll be using custom taxonomies and also custom post types.</p> <p>You'll notice I have the breadcrumbs working in the buddypress parts so I thought I'd share the code here if anyone is interested. I ended up getting some inspiration from the BP bp_get_page_title() function. Anyway, you just need to plug this function into breadcrumb_trail() after the elseif(is_404()). I just added: else buddypress_breadcrumb(&amp;$trail);</p> <pre><code>/** * Generates the Buddypress breadcrumbs * * @global Object $bp The BuddyPress $bp object * @param array $trail A reference to the trail array from the above function * @return array */ function buddypress_breadcrumb(&amp;$trail) { global $bp; // mak sure we&#39;re running BP if (!class_exists(&#39;BP_Core_user&#39;)) { return $trail; } // generate the BuddyPress trail $trail_end = &#39;&#39;; if ( !empty( $bp-&gt;displayed_user-&gt;fullname ) ) { // looking at a user or self $trail[] = &#39;&lt;a href=&quot;&#39;. $bp-&gt;displayed_user-&gt;domain .&#39;&quot; title=&quot;&#39;. strip_tags( $bp-&gt;displayed_user-&gt;userdata-&gt;display_name) .&#39;&quot;&gt;&#39;. strip_tags( $bp-&gt;displayed_user-&gt;userdata-&gt;display_name ) .&#39;&lt;/a&gt;&#39;; // if we have multi-level nesting if (bp_loggedin_user_id() &amp;&amp; bp_displayed_user_id() == bp_loggedin_user_id() || $bp-&gt;current_component == &#39;activity&#39;){ if (is_numeric($bp-&gt;current_action)) { $trail_end = ucwords($bp-&gt;current_component); } else { $trail[] = &#39;&lt;a href=&quot;&#39;. $bp-&gt;displayed_user-&gt;domain . $bp-&gt;current_component .&#39;&quot; title=&quot;&#39;. ucwords($bp-&gt;current_component) .&#39;&quot;&gt;&#39;. ucwords($bp-&gt;current_component) .&#39;&lt;/a&gt;&#39;; if($bp-&gt;current_action == &#39;just-me&#39;) { $trail_end = __(&#39;Personal&#39;, &#39;buddypress&#39;); } else { $trail_end = ucwords( str_replace(&#39;-&#39;, &#39; &#39;, $bp-&gt;current_action ) ); } } } else { $trail_end = ucwords( $bp-&gt;current_component ); } } else if ( $bp-&gt;is_single_item ) { // we&#39;re on a single item page $trail[] = &#39;&lt;a href=&quot;/&#39;. $bp-&gt;current_component .&#39;&quot; title=&quot;&#39;. ucwords( $bp-&gt;current_component ) .&#39;&quot;&gt;&#39;. ucwords( $bp-&gt;current_component ) .&#39;&lt;/a&gt;&#39;; $trail[] = &#39;&lt;a href=&quot;/&#39;. $bp-&gt;current_component .&#39;/&#39;. $bp-&gt;current_item .&#39;&quot; title=&quot;&#39;.$bp-&gt;bp_options_title.&#39;&quot;&gt;&#39;. $bp-&gt;bp_options_title .&#39;&lt;/a&gt;&#39;; // this *should* contain the name but it seems that the nav array hasn&#39;t yet been sorted so we need to resort to looking for the name value ourselves $trail_name = $bp-&gt;bp_options_nav[$bp-&gt;current_component][$bp-&gt;current_action][&#39;name&#39;]; if(!$trail_name) { foreach($bp-&gt;bp_options_nav[$bp-&gt;current_component] as $value) { if ($value[&#39;slug&#39;] == $bp-&gt;current_action) { $trail_name = $value[&#39;name&#39;]; break; } } } if ($bp-&gt;action_variables) { $trail[] = &#39;&lt;a href=&quot;/&#39;. $bp-&gt;current_component . &#39;/&#39; . $bp-&gt;current_item . &#39;/&#39; . $bp-&gt;current_action .&#39;&quot; title=&quot;&#39;. ucwords($bp-&gt;current_action) .&#39;&quot;&gt;&#39;. ucwords($bp-&gt;current_action) .&#39;&lt;/a&gt;&#39;; $trail_end = ucwords( str_replace(&#39;-&#39;, &#39; &#39;, $bp-&gt;action_variables[0]) ); } else { $trail_end = $trail_name; } } else if ( $bp-&gt;is_directory ) { // this is a top level directory page if ( !$bp-&gt;current_component ) $trail_end = sprintf( __( &#39;%s Directory&#39;, &#39;buddypress&#39; ), ucwords( BP_MEMBERS_SLUG ) ); else $trail_end = sprintf( __( &#39;%s Directory&#39;, &#39;buddypress&#39; ), ucwords( $bp-&gt;current_component ) ); } else if ( bp_is_register_page() ) { $trail_end = __( &#39;Create an Account&#39;, &#39;buddypress&#39; ); } else if ( bp_is_activation_page() ) { $trail_end = __( &#39;Activate your Account&#39;, &#39;buddypress&#39; ); } else if ( bp_is_group_create() ) { $trail[] = &#39;&lt;a href=&quot;/&#39;. $bp-&gt;current_component .&#39;&quot; title=&quot;&#39;. ucwords($bp-&gt;current_component) .&#39;&quot;&gt;&#39;. ucwords($bp-&gt;current_component) .&#39;&lt;/a&gt;&#39;; if ($bp-&gt;action_variables) { $trail[] = &#39;&lt;a href=&quot;/&#39;. $bp-&gt;current_component . &#39;/&#39; . $bp-&gt;current_action .&#39;&quot; title=&quot;&#39;. __( &#39;Create a Group&#39;, &#39;buddypress&#39; ) .&#39;&quot;&gt;&#39;. __( &#39;Create a Group&#39;, &#39;buddypress&#39; ) .&#39;&lt;/a&gt;&#39;; $trail_end = ucwords( str_replace(&#39;-&#39;, &#39; &#39;, $bp-&gt;action_variables[1]) ); } else { $trail_end = __( &#39;Create a Group&#39;, &#39;buddypress&#39; ); } } else if ( bp_is_create_blog() ) { $trail[] = &#39;&lt;a href=&quot;/&#39;. $bp-&gt;current_component .&#39;&quot; title=&quot;&#39;. ucwords($bp-&gt;current_component) .&#39;&quot;&gt;&#39;. ucwords($bp-&gt;current_component) .&#39;&lt;/a&gt;&#39;; $trail_end = __( &#39;Create a Blog&#39;, &#39;buddypress&#39; ); } if ($trail_end) $trail[&#39;trail_end&#39;] = &#39;&lt;span class=&quot;trail-end&quot;&gt;&#39;. $trail_end .&#39;&lt;/span&gt;&#39;; return $trail; }</code></pre> Supertyke on "Hybrid and BuddyPress" Tue, 16 Mar 2010 09:57:47 +0000 Supertyke 2788@ <p>working now... thanks Dave :-) </p> davek on "Hybrid and BuddyPress" Mon, 15 Mar 2010 21:09:27 +0000 davek 2787@ <p>David,<br /> sorry, not sure how that happened, forgot to add the album template files to the download, please try downloading again. </p>