Forum Replies Created
-
@Naren00000, for applying theme on secondary blogs, you need to go to Network Admin to Enable the theme first, then, go to the secondary blog’s Site Admin/Dashboard/Apearence/Themes to Activate the theme.
BuddyPress Like plugin might provide similiar feature.
Last year, it announced V0.9 to include statics in Dec., but the developer has been missing since then.I just partially figured out the problem– it’s because I changed the component slug in my functions.php. but changing slug should not cause such problem because bp-links allows to change it. I’m confused.
@nahummadrid , I agree, using multisite for different types or contents is better. But for now, I would stick to single site for this reason: https://buddypress.org/community/groups/installing-buddypress/forum/topic/buddypress-and-shared-hosting/
about the search, I totally discard BP or WP search, I use Google Custom Search instead. In Google search, you can add any section of your site, very flexible. For examoel, if you add http://mydomain.com/ , it will search entire domain, if you add http://mydomain .com/xyz , it will search this xyzIs it because BP has some codes to limit more than one ajax objects?
this plugin is doing a great job on this: https://buddypress.org/community/groups/cd-bp-avatar-bubble/
but you need to click or hover on the avatar to see the stuffs. If you want to display the stuffs without click or hover, you can study his code to see how he get there.@nahummadrid , after some study around the idea you mentioned above, I got an impression that we can also manage it under custom post type. When register the type, register a user role of “Question Creator” and give it the ability to create post. Then, in blog, set “Question Creator” as default role. So, any new member can create new post under the Question type.
If this idea works, a form plugin won’t be needed. Hope I am correct on this one
@nahummadrid , thanks for the great input! I’m going to follow the path you pointed.
I still have some question about user stats/Achievement/ratings. When QA site is on sub-blog, can those stats sync with user stats in main site?
About the QA list under uesr’s homepage– since BP can track blogs sitewide, maybe can setup a filter and register a sub-nav item to show the filted result page?Yes, let user register at posting stage–It saves the additional trouble of allowing guest posting and easier for the listing job.
Thanks for response!
@nahummadrid , by using posts & comments , only admin and authors can post questions. To allow visitor posting, something else is needed
@Bowromir , Basically, I need the Q&A system play nicely with main BP features and plugins. Especially a rating sytem which can communicate between BP user stats and Q&A results, also allows the rating result to be hooked up with Achievments plugin.
Other features include the ability of allowing anybody to start a post (the qurestion), registration is not required but the offer is provided; question are sortable by category or by tag; Each question has its own permalink; Questions has a list page; Questions and Answers can be listed under user’s home page nav tab,
The premium theme Instant-QA is really nice as an independant system. But I think a lot of works still needed to tweak it working with BP user profile and multisite. So, maybe it’s better dive into BP straight?
I tried Question-and-Answer-Forum plugin, it doesn’t register the post type with BP properly so that things are not running on BP; I also tried One-Quick-Post, it could work as Q&A if remove other un-related stuffs and add a rating system, but the code seems not stable in itself, Things are not smooth even without any tweaking, so I think it not worth working on.
I think the most posible smooth model is the BP activity component? — maybe make an Activity clone, remove un-related functions, allow guest post, then, adding user stats and rating system become simple.All my thoughts might be un-realistic because I don’t have coding experience. Hope you guys continue shading lights on….
Seems nobody is interested. Then, any suggestion for me? a plugin to work on?
Nice job!
I feel the buttons catch more attention than content. Maybe remove the border of avatar, and make the username button a bit light?
“First and Last Name”, and “Current Location”, can be “Name” and “Location”, just for saving space.By the way, apart from your site design, The 2 blocks nav/subnav of BuddyPress are the most difficult stuff to manage, they confuse all visitors. I haven’t seen any good example.
That’s great, I will check it out. What I need is one global forum to act as “Questions and Answers” page for all members.
I prefer keep local forums with the global fourm running along. Seems not an easy task.
it’s on my wish list

fitness tips and activities are not accessable for public, how can you attract visitors?
@tim , yes , if you don’t need to use original js/css, then, you don’t need to register them back
`function my_jscss_remover() {
wp_deregister_script( ‘the-handle-name’ );
//and others;
}
add_action( ‘after_setup_theme’, ‘my_jscss_remover’ );`
You can find the “the-handle-name” in the plugin’s files at the line when it load the js/css, it normally use wp_enqueue_script , or wp_enqueue_styles, to load js/css. Sometimes they can also use reqire function, but as long as you find the specific file.js , that’s the line.When you register your own js, the final parameter “true” means put it in footer. If your js require to run before the page finish loading, you don’t need this “true”.
You can also add like this: if bp_is_page(‘xyz’), then, the js will be loaded only on the page you need.
Please remember that, at this point, your js/css are not minified yet.As far as I can understand, the topic starter must be the blog ownner or authors. IntenseDebate works in the commenting system only. Is the correct? Does it provide a way to enable users or guests initiate a post?
@gregfielding , yes, it helps.
The parallel loading has to be done with cookie free domain– the http://domain.com should not install any dynamic stuff so that it won’t pass cookie to all subdomain. If wp installed on top level domain, the benefits of parallel loading get offset by checking cookie time.
@tim, combining js is risky, but combining css is easy–just copy them into your own style sheet. The deregister the original. Here’s an example of deregisting and registing:
`function my_jscss_register() {
wp_deregister_script( ‘dtheme-ajax-js’ ); // deregister bp’s global. js
if( !is_admin()){
wp_deregister_script( ‘jquery’ ); // deregister jquery
wp_enqueue_script( ‘jquery’, ‘http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js’ );
// and other js you want to deregister/register
}
wp_enqueue_script( ‘dtheme-ajax-js’, ‘http://static1.domain.com/_inc/global.js’, array( ‘jquery’ ),”,true );
wp_deregister_style(‘login-with-ajax’);
// and other css you like to deregister
wp_enqueue_style(‘my-default-style”,http://static2.domain.com/’);//the combined css
}
add_action( ‘after_setup_theme’, ‘my_jscss_register’ );`I remember once I tried to make a home.php, it didn’t show up as I could expect on other self-made pages. if you make it home.php, maybe it is the problem. I’d say, just name it as something else, and give it a template name. Then, create a page in dashboard, and choose template in the drop down list.
Create a new temepate, or copy/paste the default page.php to your child theme folder, modify it to whatever you like, give it a new name. say, new-page. php.
At the top of your new-page.php , within ‘<?php', wite this: Template Name: xyz
then, you’ll see it appears at the change template drop down list in dashboard.I moved my noticications_menu to somewhere else too. it works fine. If your theme still load adminbar.css, maybe you can take a look at what’s going on in the css.
I will try batche too, seem it solves the problem partially.
@gregfielding , did you try to deregister the js/css and re-register manually? I setup another domain for this. under this domain, one subdomain for css, one subdomain for js. and put them on Cloudflare. Since all your blogs loading css/js from this domain, it should help a bit.Another tool I’m thinking is the WP Multi Network plugin developed by JJJ. I haven’t tried it. From what I’ve reading, it can networking wp site from different domains. So, the idea is to use this plugin to get the network, then, cache the blogs, leave the community site un-cached. What do you guys think?
@r-a-y ,
Thanks for the code! It’s perfect! Just one question–
I not only moved the Settings but also other nav and sub-nav items, 2 of the sub-nav are added under a newly created nav slug. if a plugin adds a new item in any of the sub tab, can they find the right path? or I need to define some path for them?
Thanks!“Why do you need APC without much traffic?” —
For me, this is the same qustions as “Why do you need W3TC without much traffic?”The best solution is the one that works with the situation.
It is compatible with shared.
The missed out stuffs — for example, APC. We can’t install APC on shared hosting. Even if PHP next version include APC as default extention, it will depends on the hosting site enable it or not. Without APC or other caching software, the best of W3TC’s performence has no chance to show.
For the rest of W3TC’s functions, such as minify, loading js,css, CDN, I prefer to do it manually by myself, because I will have more control on it and it’s easier to know where’s the problem if any.
I feel a bit lost at your questions of “How to pilot”.