Search Results for 'theme'
-
AuthorSearch Results
-
August 8, 2011 at 2:25 am #117960
In reply to: Frisco Child Theme
Micheal Kennedy
Participant@davidtcarson No I wasn’t, but thanks, that took care of the Admin Bar problem.
August 8, 2011 at 2:11 am #117957In reply to: Trouble with Events Manager (free version)
Cam
ParticipantThis appears to be a child theme issue. Take a look at some of the later replies in the article you mentioned. I was having this problem and I switched to a non-child theme and the problem was fixed.
Try moving the buddypress folders (specifically the members/single/plugins.php and same in groups files) to your child theme if you need to keep the child theme flexibility.
VIsit: https://wordpress.org/support/topic/none-of-the-member-links-are-working?replies=17 to read an open thread on this issue (or a very similar one).
August 8, 2011 at 2:10 am #117956In reply to: Admin bar links for Events Manager and One Quic post
Cam
ParticipantThis appears to be a child theme issue. Take a look at some of the later replies in the article you mentioned. I was having this problem and I switched to a non-child theme and the problem was fixed.
Try moving the buddypress folders (specifically the members/single/plugins.php and same in groups files) to your child theme if you need to keep the child theme flexibility.
August 7, 2011 at 10:42 pm #117942In reply to: BuddyPress 1.5 compatibility for plugins and themes
Pisanojm
Participant@karmatosed the plugin is here (and this link is posted at the above link I posted):
http://bp-tricks.com/wp-content/uploads/external-member-blogs.zipIt is listed on that page, but for some reason is not int he WP repository… it’s a great plugin, and no others really like it (via @boromir)
August 7, 2011 at 10:37 pm #117941In reply to: Editing my theme to work with BP 1.5-beta2
enderandrew
MemberI can’t my above post (edit always lead me to a 404 currently).
I just had a cached page. When I cleared cache, I now have a two-column layout. But I had to change:
to:
August 7, 2011 at 10:25 pm #117938In reply to: Editing my theme to work with BP 1.5-beta2
enderandrew
MemberThanks for the help, but sadly the BP pages are still appearing as a single column, with the sidebar below the content. Here is an example:
August 7, 2011 at 9:43 pm #117932aces
ParticipantI wish the post edit and delete buttons would work again…
I would guess that modemlooper’s reference is to the buddypress plugin directory under `/wp-content/plugins/buddypress/bp-themes/`
If the equivalent page under your current child theme doesn’t exist, it might be better to copy and edit the above page to your child theme’s directory
August 7, 2011 at 9:36 pm #117931aces
ParticipantAugust 7, 2011 at 9:26 pm #117929rosewater1
MemberThank you very much for the information!
The issue I’m having now is finding that php file. I don’t see anything like groups/single in my file manager and I manually downloaded buddypress in hopes I could upload a missing file but I didn’t see anything like it there either. Just last week thought I have a record of being in groups/single/activity.php as well as groups/single/forums.php but now I can’t find those either. My buddpress site is working fine though without any problmes online. Maybe I’m just not accessing the bp-default/groups/single file correctly?
In case this is relevant info, I have used BP-compatibility so I’m not using the default theme but have BP matching the rest of the site instead.
Could you help me figure out where to go to get the php file mentioned above?
Thank you.
August 7, 2011 at 9:17 pm #117928In reply to: Avatar Upload Problem During Registration
rbbp22
MemberHi folks
I think I may have found a solution, at least to how I was experiencing it.
I am using wp 3.2.1. and BP 1.2.9 with a bp-default child theme
FIRST the default gravatar image was not showing at all in firefox. I don’t use gravatars on my site and filter them out all together. I applied a filter to
bp_get_signup_avatar
to replace the gravatar.com image with a link to mysteryman directly on my site.SECOND
I think the function
bp_get_signup_avatar_dir_value() in bp-core-templatetags.php
has a bug.
The last line applies the filter.
Code:return apply_filters( ‘bp_get_signup_avatar_dir_value’, $bp->signup->avatar_dir );However, when the user signups up or uploads an avatar $bp->signup->avatar_dir seems to be empty.
There are a few if then else statements that work with $signup_avatar_dir so this seems to be the relevant value to pass along. I changed the last line in the function code to
Code:return apply_filters( ‘bp_get_signup_avatar_dir_value’, $signup_avatar_dir );THIRD
I found that register.php in the theme is lacking a hidden field for the signup avatar directory
The relevant section is: (REF section A)
Code:<h4><?php _e( ‘Your Current Avatar’, ‘buddypress’ ) ?></h4>
<p><?php _e( "We’ve fetched an avatar for your new account. If you’d like to change this, why not upload a new one?", ‘buddypress’ ) ?></p><div id="signup-avatar">
<?php bp_signup_avatar() ?>
</div><p>
<input type="file" name="file" id="file" />
<input type="submit" name="upload" id="upload" value="<?php _e( ‘Upload Image’, ‘buddypress’ ) ?>" />
<input type="hidden" name="action" id="action" value="bp_avatar_upload" />
<input type="hidden" name="signup_email" id="signup_email" value="<?php bp_signup_email_value() ?>" />
<input type="hidden" name="signup_username" id="signup_username" value="<?php bp_signup_username_value() ?>" />
</p><?php wp_nonce_field( ‘bp_avatar_upload’ ) ?>
You’ll notice that the section just below this that handles what the user sees when cropping has an additional hidden field.
Code:<input type="hidden" name="signup_avatar_dir" id="signup_avatar_dir" value="<?php bp_signup_avatar_dir_value() ?>" />I inserted this in the (Section A) that the user sees before and after cropping
August 7, 2011 at 12:21 pm #117916In reply to: MediaWiki Theme Integration
LPH2005
ParticipantAs always – Thank you!
The table was in the default.css for buddypress and not the templates default.css. I tried to add it to the wiki default.css file but couldn’t get it to work. Instead, I just modified the default.css for buddypress and now the calendar shows properly.
August 7, 2011 at 8:30 am #117913In reply to: Editing my theme to work with BP 1.5-beta2
@mercime
ParticipantIn activity/index.php – at the top replace
``with
`<?php
/**
* @package WordPress
* @subpackage Clockstone_Theme_1.1.1
*/
get_header();
$page_layout = get_post_meta(get_the_ID(), ‘page_layout’, true);
if (!$page_layout){ $page_layout = ‘sidebar_bg’; }
?>
<?php
if ($page_layout == ‘sidebar_bg’){
echo ‘‘;
} elseif ($page_layout == ‘sidebar_bg sidebar_left’){
echo ‘‘;
} else {
echo ‘‘;
}
?>`At the bottom of activity/index.php, replace
``
with
``
Let’s see how that goes
August 7, 2011 at 5:32 am #117909In reply to: Navigation menu at the bottom of the page
enderandrew
MemberI’ve tested and I have this behavior with both bp-default and my current theme.
You can see exactly what I’m talking about by taking a look at any page on the site, including the front page.
August 7, 2011 at 5:20 am #117908In reply to: Editing my theme to work with BP 1.5-beta2
enderandrew
MemberTo clarify, I’ve seen the documentation here:
https://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/
But my theme template is fairly complex, and I’m not sure where to begin. I’d really appreciate some help.
August 7, 2011 at 5:10 am #117905In reply to: Navigation menu at the bottom of the page
@mercime
ParticipantJust to clarify, your main navigation menu is showing up twice in your screen? Is this with a custom theme or in bp-default child theme?
August 7, 2011 at 5:07 am #117904In reply to: MediaWiki Theme Integration
@mercime
Participant@LPH2005 In /wiki/extensions/Calendar/templates/default.css find
`table tr td, table tr th {
padding: 8px;
vertical-align: middle;
}`
change padding: 8px; to padding: 7px;August 6, 2011 at 10:41 pm #117895In reply to: MediaWiki Theme Integration
LPH2005
ParticipantGuess it would help to be able to edit this topic but it comes up with an error …
Meant @mercime …
August 6, 2011 at 6:47 pm #117881In reply to: How would I?
@mercime
Participant@akyleadam what you’re trying to change was the text string “Topic created successfully” into e.g. “when submit is liked if the post was successful – do this instead of that” and the links I gave could do that.
Take the first link, instead of creating a plugin, you can add this to your active theme’s functions.php – replacing the text string in that post to your own:
`class PJW_Translation_Mangler {
/**
* Filter the translation string before it is displayed.
*
* @param $translation The current translation
* @param $text The text being translated
* @param $context The context for the translation
* @param $domain The domain for the translation
* @return string The translated / filtered text.
*/
function filter_gettext($translation, $text, $domain) {
$translations = &get_translations_for_domain( $domain );
if ( $text == ‘Topic created successfully’ ) {
return $translations->translate( ‘when submit is liked if the post was successful – do this instead of that’ );
}
return $translation;
}
}
add_filter(‘gettext’, array(‘PJW_Translation_Mangler’, ‘filter_gettext’), 10, 4);`You see where I’ve substituted you own terms with that of the code given by Westi
August 6, 2011 at 3:34 pm #117877In reply to: How to change “Search anything…”
Alan
Memberp.s i mean you have to replace bp_directory_members_search_form() with the new function in your theme directory files.
August 6, 2011 at 11:35 am #117873In reply to: Frisco Child Theme
David Carson
Participant@InterMike. Are you using `define(‘BP_USE_WP_ADMIN_BAR’, true);` in your wp-config.php file as recommended? That should square away your admin bar width issue.
August 6, 2011 at 9:10 am #117868Paul Wong-Gibbs
KeymasterHi. Some URLs can be changed, some others need to be changed in the theme (or core), unfortunately.
In BP 1.5, root-level pages e.g. .com/members and .com/groups are controlled by standard WordPress Pages. You’ll be able to rename title and slug by editing the Page details.URLs like e.g. .com/members/admin/**groups**/ are changed as detailed on https://codex.buddypress.org/extending-buddypress/changing-internal-configuration-settings/ (“Change the URL slugs of BuddyPress components”).
URLs like e.g. com/groups/group_name/**send-invites**/ have to be changed by editing the theme files, and filtering parts of the BuddyPress core output.
August 6, 2011 at 6:42 am #117860In reply to: How would I?
akyleadam
Memberoh no – the plugin in one would be better as I need to over right the method to not display a message but instead a java script popup that I am interested in testing. But I have never developed a plugin and I wanted to build it right into the theme instead of having a separate plugin.
August 6, 2011 at 6:07 am #117854In reply to: How would I?
akyleadam
Memberdamn that’s all bp core stuff. Is there no way to over ride this in a theme? like to say “when submit is liked if the post was successful – do this instead of that” in a theme?
August 6, 2011 at 5:12 am #117850In reply to: Arras Theme BP Admin Bar drops to footer
hovering
Membergot it fixed… mostly… new user sign in isn’t working but I do have the admin bar back. Thanks!
August 6, 2011 at 12:52 am #117846In reply to: buddypress translation, languages help!!
aces
ParticipantPutting it in the header.php should work but might unnecessarily slow the site down a bit…..
I don’t know your theme so I wouldn’t know where to put it precisely…. I put it above the “ tag and below “ – it is important that it doesn’t go anywhere between a “
-
AuthorSearch Results