Search Results for 'theme'
-
AuthorSearch Results
-
June 20, 2011 at 2:12 am #114855
In reply to: Common buddypress bar across multisite
LPH2005
ParticipantThank you both. I couldn’t remember the name …
@pcwriter – do you believe this will give the same look across the network, which uses different themes?
June 19, 2011 at 10:59 pm #114845In reply to: Letting the user upload a custom background?
Brajesh Singh
Participant@mercime, thank you

@naijaping thanks. That is easily achievable. If you are using Bp-default theme, you can use this code in your functions.php
https://gist.github.com/1034872
That should do it.June 19, 2011 at 9:30 pm #114830In reply to: Uneven Margins on www.ginreviews.com
@mercime
ParticipantIt’s because the number of words/characters in the excerpts are not the same. Since you’re using a child theme of premium Genesis theme, I suggest that you get the free support included in your purchase of the theme/child theme and inquire about how to increase/decrease number of words/characters in the featured excerpts. While you’re there, might as well get find limits for the title for featured articles as well since there could be times where your post title would be longer than one line.
An alternative would be as simple as making changes to your stylesheet to set the height of the featured article containers so assuming you’ve got the same number of articles on the left as well as on the right, all will be leveled to same height. In your case, add something like this to your child theme’s stylesheet:
`#content .featuredpost .post {
height: 150px;
position: relative;
}``#content .featuredpost .post a.more-link {
position: absolute;
bottom: 5px;
right: 5px;
}`Adjust height of `#content .featuredpost .post` to taste.
EDIT – @hnla, here I go again, took too much time to answer the question
June 19, 2011 at 7:51 pm #114820In reply to: Letting the user upload a custom background?
Brajesh Singh
ParticipantHi, I have done something similar in one of my project. So, I may put the code here. Where do you want to show the background. Just on user profile page or for every page on the site when the user is logged in. I mean if you see twitter, It allows to setup the background for user profile, while on orkut, the theme changes sitewide. Just trying to understand your need.
June 19, 2011 at 7:36 pm #114817@mercime
Participant@BlueInkAlchemist – I would download a copy of BuddyPress and then manually re-upload files via FTP or cpanel, etc. Only activate BP and with the bp-default theme, check if yoursite.com/register goes to default BP registration page.
If you mean reinstalling WP from scratch, then information in DB will not be preserved unless you back up DB and save to your computer.
Did you by any chance, install WP manually or did you install WP via webhost script like fantastico or simplescripts, etc? Those webhost scripts have been the bane of some WP installs which have problems or cannot upgrade to multisite or which get major hiccups making BuddyPress work in their install. In that case, then I would definitely reinstall from scratch and check out the tables I can import from the DB backup I made from previous installation.
June 19, 2011 at 7:24 pm #114816In reply to: Reply Button Not Working
Brajesh Singh
Participantooh, Since the thread was regarding cosmic buddy I misunderstood that. sorry.
Isn’t Randy Candy a child theme of BuddyPress ? If yes, then you won’t need to update much. It should be some simple fix.June 19, 2011 at 7:09 pm #114815BlueInkAlchemist
MemberOkay, with all plugins deactivated and BP default theme enabled, /register redirects back to the home page.
If I were to reinstall BP (and perhaps the base WP files as well) would the information in the DB be preserved?
Oh, and reactivating plugins afterward broke the site (white-screen syndrome). I hate this thing.
June 19, 2011 at 6:36 pm #114814In reply to: group redendency problem ?
Hugo Ashmore
Participantduplicate groups has arisen before on the forum, not sure why it happens but it feels like a error in looping somewhere?.
Regardless the first thing you must always do to trouble shoot is fall back to the BP default theme and deactivate any BP plugins and verify if the issue still happens, it’s important to establish if this is a bug with BP or an error in some custom theme or plugin.
June 19, 2011 at 5:53 pm #114813In reply to: Reply Button Not Working
dubsel
Memberim using randy candy theme. id like to keep using it. i guess i need an update of some sort
June 19, 2011 at 5:32 pm #114811MRSepehr
MemberHello everyone,
Add the codes below to your theme’s function.php file :
add_action(‘admin_head’, ‘adminbarhide’);
function adminbarhide() {
define(‘BP_DISABLE_ADMIN_BAR’, true);
}then go to wp-content/your-theme-directory/_inc/css/adminbar.css and change “padding-top: 25px” on second line to “padding-top: 0px” ,
this code will remove admin bar only from your dashboard, and css code will hide white space after removing admin bar.after all I’m sorry about my bad English if there was some wrong spelling.
June 19, 2011 at 4:05 am #114797@mercime
ParticipantGlad you resolved it with a new theme
June 18, 2011 at 10:49 pm #114790jujublee
Memberohhh thanks mecrime! i love you! i tried another theme and it does work.
June 18, 2011 at 10:40 pm #114789@mercime
ParticipantThere’s supposed to be a “Save Settings” link/button after you edit profile. If you’re using the bp-default theme, you should see the button. If you don’t see one, contact theme author.
June 18, 2011 at 6:33 pm #114780In reply to: Activity Post/Reply To Not Working
d71
Membersigh, I found the problem….in theme template for BuddyBase, my line to require TEMPLATEPATH.”_inc/ajax.php” was commented out.
The phrase “did you plug it in” comes to mind

I think what happened was that while earlier working on the theme I had some problems with overlapping function calls and I commented it out to rsolve conflicting function re-defs. I later did a clean install of all my plugins etc, but forgot to actually start with a clean copy of BuddyBase (the theme itself).
I just tested and its working now, no problems :

Thanks for the tips, I’m a lot more familiar with WP innards now
June 18, 2011 at 6:25 pm #114779In reply to: Activity Post/Reply To Not Working
d71
MemberOk, so in the working default BuddyPress theme the Ajax handler works great:
bp_dtheme_post_update traceback:
#0 bp_dtheme_post_update() called at [:]
#1 call_user_func_array() called at
[wp-includes/plugin.php:395]#2 do_action() called at
[wp-content/plugins/buddypress/bp-core.php:2026]#3 bp_core_add_ajax_hook() called at [:]
#4 call_user_func_array() called at
[wp-includes/plugin.php:395]#5 do_action() called at
[wp-settings.php:298]#6 require_once(/home2/capacoac/public_html/artsbeta/wp-settings.php) called at
[wp-config.php:91]#7 require_once(/home2/capacoac/public_html/artsbeta/wp-config.php) called at
[wp-load.php:30]When doing a normal status update it seems to flow normally:
top of bp_dtheme_post_update in bp-theme-default…
. content=james
. object=
. calling bp_activity_post_update (no object)…
. calling user func tag=wp_default_stylesMy status update was “james”. So all working well for the default BuddyPress theme.
Now with BuddyBase activated none of that entire call chain happens and neither does it happen from the default buddy base theme. its like ajax.php is no longer being loaded.
To verify I put an error_log call at the top of the BuddyBase copy of _inc/ajax.php, just to indicate that _its_ version of ajax.php was being loaded…and its not. For some reason the BuddyBase theme is not having its version of ajax.php loaded.
I’m not really sure hwo to verify how the theme tells WordPress/BuddyPress to load that file, but I guess I have another lead to track down….
June 18, 2011 at 5:55 pm #114776In reply to: Activity Post/Reply To Not Working
Brajesh Singh
ParticipantHi,
It seems you went in a little different direction. The
`
add_action( ‘wp’, ‘bp_activity_action_post_update’, 3 );
`
Is used for the time when javascript is disabled. Please have a look at bp-default/_inc/ajax.php and the lineadd_action(‘wp_ajax_post_update’,’bp_dtheme_post_update’);
this is used by bp-default for posting update in ajax mode. I hope you can find something similar in your theme.
June 18, 2011 at 5:15 pm #114774In reply to: Activity Post/Reply To Not Working
d71
Memberfind . | xargs fgrep
./_inc/global.js
./_inc/ajax.php(basically the Ajax related code)
From the ajax code in BuddyBase theme, no hits not being invoked. So I went back to the BuddyPress plugin, and added some erro_log calls to bp-activity.php…that got his, so the Ajax frame work is working, just not connecting to the theme.
From the stack trace of bp-activity, it looks like wp-load.php leads to wp-settings.php, which loads up bp-loader.php…I imagine bp-loader.php is what brings in any necessary BuddyPress stuff.
Anyways, I confirmed that bp-activity.php (in the BuddyPress plugin, not the BuddyBase theme) is calling:
add_action( ‘wp’, ‘bp_activity_action_post_update’, 3 );
So the activity handler should be getting called…but it doesn’t. I put some logging in that function (bp_activity_action_post_update), and its not getting called.

The ‘wp’ hook seems like the place I would expect this to run; its Ajax so the theme/template isn’t actually needed, it just neesd th POST data. So the logic seems right.
At least the API reference says wp is used for POST processing:
https://codex.wordpress.org/Plugin_API/Action_Reference
I guess I need to dig around find where WordPress is invoking any wp hooks, and then try to see why its not invoking this POST handler.
June 18, 2011 at 4:43 pm #114772In reply to: Condition in Sidebar.php
echiomega
ParticipantWell i tried in my bp-default theme sidebar.php and it just display a blank sidebar. Anyway here’s the code, see any mistakes?
`<?php
if (is_single()) {Chat Box
Chat
}
?>`June 18, 2011 at 4:40 pm #114771In reply to: Activity Post/Reply To Not Working
d71
MemberI’m going to try this suggestion
{quote}
Brajesh Singh said 5 hours, 36 minutes ago:Hi,
Look for the post request. You will see some variable as action:”post_update” or something similar. Then look into your themes ajax.php(most probably in _inc/ajax.php) for a hook wp_ajax_{the action_name} , i.e. wp_ajax_post_update in this case. There will be a function attached to that. You can put your debug code in that function.
{quote}June 18, 2011 at 11:03 am #114759In reply to: Activity Post/Reply To Not Working
Brajesh Singh
ParticipantHi,
Look for the post request. You will see some variable as action:”post_update” or something similar. Then look into your themes ajax.php(most probably in _inc/ajax.php) for a hook wp_ajax_{the action_name} , i.e. wp_ajax_post_update in this case. There will be a function attached to that. You can put your debug code in that function.rest is correct on your setup. The request will always go to wp-load.php, so that is right. Just investigate the attached function for debugging.
June 18, 2011 at 7:33 am #114754In reply to: Blog option in component setup
thethermalcook
MemberThank you for the prompt reply. I have read about setting this up and it seems a bit of a nightmare with the limited knowledge I have of things such as PHP, HTML and CSS so I think unless I can find a step by step video (I always seem to relate to these better than words) I will give the whole idea a miss.
All I really wanted to do was have my own blog on the site and not blogs of lots of people. This would be easier if I could do something with the menu but even that is not possible using the theme I have chosen so back to the drawing board.
One thing I did find was I could link with a menu tab to my existing blog by using the Mr D’s Blog as the page name. The only problem with this was it created a double lined tab presumably due to the number of letters in the name.
June 18, 2011 at 2:06 am #114750In reply to: [Resolved] Content won’t line up properly?
Alex
MemberHa! I got it!

Thanks! It was just some stupid code issues (Elegant Themes don’t have very pretty internal files… not well organized. haha)June 18, 2011 at 1:52 am #114748In reply to: [Resolved] Content won’t line up properly?
aces
ParticipantJune 17, 2011 at 11:54 pm #114746In reply to: Blogs List not showing anything?
@mercime
ParticipantIt could most probably be a theme issue. Change theme to bp-default theme and see if your blogs directory shows up.
June 17, 2011 at 11:47 pm #114743In reply to: Group Disappeared
@mercime
ParticipantDid you add a plugin or change theme before you “lost” the group? Deactivate those. Did you or someone change group to hidden?
-
AuthorSearch Results