Save files.
Search Results for 'wordpress'
-
AuthorSearch Results
-
August 28, 2012 at 7:31 am #140411
In reply to: how do i move one site’s content to a dif. site?
Roger Coathup
ParticipantUsing phpmyadmin.. Export your tables to file on the source site, and import from that file on the destination site.
There are plenty of tutorials on moving a WordPress site.. Have a Google.August 28, 2012 at 2:56 am #140404In reply to: [Resolved] HTML changes for Akita Theme
@mercime
Participant@keats18 Per scan of your theme’s HTML structure, you’d need to use the first option, i.e., change 16 template files within the 6 BP folders transferred to your Akita theme folder in server during the compatibility process.
If you’ve previously changed any of the BP template files in your theme folder, replace all of them for a clean slate by deleting the 6 BP folders in server – /activity, /blogs, /forums, /groups, /members, and /registration – then re-run Appearance > BP Compatibility.
Download the 6 clean BP folders to your computer hard drive.
A. At the top of each of those 16 template files I linked to above, replace
``with
`<?php get_header();
themeblvd_main_start();
themeblvd_main_top();
themeblvd_breadcrumbs();
themeblvd_before_layout();
?><article id="post-” >`August 27, 2012 at 10:24 pm #140387In reply to: how to modify core buddypress
Roger Coathup
ParticipantYou can use the filter bp_get_group_join_button to modify the class.
Have a read up on WordPress filters and actions.
You can put your filter in bp-custom.php or functions.php.
That said, I’m not sure what simply adding a class ‘confirm’ will achieve — is there some Javascript configured that will auto display a confirmation popup if the button has a class of ‘confirm’ added to it?
August 27, 2012 at 6:37 pm #140374In reply to: Changing Activity Stream Time & Date
mgkoller
ParticipantI haven’t solved the problem yet, Here’s were I’m looking https://codex.wordpress.org/Function_Reference/add_filter
Here’s were I think the filter needs to be added?
`
* @uses bp_insert_activity_meta()
* @uses apply_filters_ref_array() To call the ‘bp_get_activity_action’ hook
*
* @return string The activity action
*/
function bp_get_activity_action() {
global $activities_template;$action = $activities_template->activity->action;
$action = apply_filters_ref_array( ‘bp_get_activity_action_pre_meta’, array( $action, &$activities_template->activity ) );if ( !empty( $action ) )
$action = bp_insert_activity_meta( $action );return apply_filters_ref_array( ‘bp_get_activity_action’, array( $action, &$activities_template->activity ) );
}
`August 27, 2012 at 12:38 pm #140344danbpfr
ParticipantSome progress in debuging…
When i insert
[ sourcecode language=” php ” ][ /sourcecode ]
and open the post for editing, i get [ sourcecode language=”””” ][ /sourcecode ]
The word php disappeared and the place is double quoted !Then i save these changes and the code cames up, but without colored synthax.
This is a first step on the right way. Colors are missing but code is showing correctly at 90%
Single quotes became curly for ex.Probably backpress kses filtering.
I tried to deactivate BP’s filters bp_get_the_topic_post_content wptexturize and bp_get_the_topic_post_content bp_forums_filter_kses, but this changed nothing.
I posted on the support forum, but it seems still for a long time ago.

https://wordpress.org/support/topic/plugin-syntaxhighlighter-evolved-conflict-with-buddypressbbpress?replies=1#post-3112451August 27, 2012 at 9:53 am #140348@mercime
Participant@chouf1
– I am using a child theme of bp-default theme, a port of apeatling’s design of BP 1.0 BuddyPress theme https://buddypress.trac.wordpress.org/browser/tags/1.0/bp-themes/bphome/screenshot.png
– Also that IS screenshot of the BuddyPress Group Forums new topic page. You can see the Group Name and Group Admins above the forum topic
But going back to the syntax highlighter, I do see the issue now if I post HTML/PHP code just like yours instead of CSS which I posted above and used lately. I was able to find a work-around by using `[ sourcecode lang=”title” ] the code [ /sourcecode ]` (just remove the spaces before ahd after the brackets) Result: https://mercime.files.wordpress.com/2012/08/bp161-shevolved-php.png
August 27, 2012 at 6:20 am #140327@mercime
Participant@chouf1 site is private, but I took a screenshot of the group forum topic I made for you as well as the screenshot of the config settings. I post code usually e.g.
[ sourcecode lang=”css” ] the code [ /sourcecode ]
or [ php ] the code [ /php ]
P.S. had to put the spacings between brackets or else it won’t show up here.August 27, 2012 at 1:32 am #140322In reply to: Registration Error
cordwood22
Memberhttp://myplayfulself.com/wordpress/ Just downloaded today. Neither the Registration or the Activate selections show up on the bar. I don’t know how people are supposed to register or what and Activation Code is?
August 27, 2012 at 12:46 am #140321In reply to: Change url somehow for admin’s profile?
modemlooper
ModeratorI have a plugin called BP Verified and you could use it identify a normal editor acount as a site “admin” not the WordPress install admin. This would draw attention away from the real admin account.
August 26, 2012 at 9:19 pm #140302In reply to: Change url somehow for admin’s profile?
modemlooper
ModeratorI’m not seeing how someone can tell your an admin if the username is not admin. if you change the username to something else the account will just look like any other account. If you are so concerned about someone breaking into your site lock down the wp backend to your home ip address or google some of the options to protecting WordPress.
Also backup database regularly so you can just reinstall if hacked.
August 26, 2012 at 3:58 pm #140280In reply to: BP Ajax and Javascript?
Tammie Lister
ModeratorI ‘may’ not have the right end of the stick with what you are looking to do but this:
`wp_enqueue_script( ‘dtheme-ajax-js’, get_template_directory_uri() . ‘/_inc/global.js’, array( ‘jquery’ ), bp_get_version() );
`You can hook into that ‘array’ if you want to.
https://codex.wordpress.org/Function_Reference/wp_enqueue_script
$deps
(array) (optional) Array of handles of any script that this script depends on (scripts that must be loaded before this script). false if there are no dependencies. This parameter is only required when WordPress does not already know about this script.
Default: array()August 26, 2012 at 9:37 am #140253fagiano1973
ParticipantUP
I have same problem… ALL link redirect to homepage! this after update Buddypress to 1.6.1 WordPress to 3.4.1 BBpress to 2.1.2i am desperated… thousand of users can’t use my site… please help me please
August 26, 2012 at 4:49 am #140240In reply to: Changing Group tab display defaults
modemlooper
ModeratorWhat changed with bp_options_nav?
bp_options_nav = ‘new_name’;
no longer works, neither does position
EDIT: nvrmd found your blog post http://bpdevel.wordpress.com/2011/09/05/manually-modifying-single-group-navigation-in-bp-1-5/
looks like codex needs and update.
for those searching:
`$bp->bp_options_nav[$bp->groups->current_group->slug] = ‘New Name’;`
August 26, 2012 at 3:30 am #140236Devilish Concept
ParticipantSimpler way is to install wordpress access control, this adds a option to every page to make it avalible to be viewable by only vistitors, logged in users and even has a age control on it, you can all set a redirect page incase somone types in the url as this will also remove any page which is hidden from the viewer type from the menu, check it out its awesome
August 26, 2012 at 1:01 am #140231In reply to: How to extend user profiles
modemlooper
ModeratorThat is a core feature in the WordPress admin. Go to settings > BuddyPress
August 25, 2012 at 6:57 pm #140205radiusj
ParticipantNot a single reply yet. Can someone point me in the right direction?
Here’s a little more info that further clarifies:
I’m hoping to use the S2 Member and Buddypress plugins for WordPress to manage volunteers and members at our arts cooperative and website. S2 Member seems well suited for registering both paid members and volunteers (free users) while Buddypress adds the social features needed to help our people work together.
S2 Member had me convinced of easy integration with Buddypress, but this has not exactly been the case. S2 Member Registration fields appear in the Buddypress registration form, but I’m having the following issues
1. Buddypress profile fields allow users to choose if fields should be visible in their profile, or allow admins to set a default visibility for each field. Can I implement this for fields created in S2?
2. Buddypress profile fields are linked to a search for other users that share the value of that field. I had originally thought this would be perfect for a membership directory that categorizes member and volunteer skills, but not sure how to implement a search that works with both types of fields.
3. S2 does not come with it’s own Member Directory, a feature that should be essential. It is a known issue and common complaint, for which the developers have provided some pointers in the right direction, but no comprehensive code that would integrate options into Buddypress. A membership directory is the most essential aspect to our site, but I’m confused as to how proceed, given the limitations of both plugins.
August 25, 2012 at 12:11 pm #140193In reply to: [Resolved] Group Forum Topic Widget?
Austin Nichols
MemberThis is what I was looking for. It could lose the css, but other than it seem to work great.

https://wordpress.org/extend/plugins/bp-recent-groups-topics/screenshots/
August 25, 2012 at 8:45 am #140184In reply to: how to change the link for logout menu
modemlooper
ModeratorAugust 25, 2012 at 12:27 am #140172In reply to: BP Capability
@mercime
Participant@peppermintmochapatty if you are using this theme, https://wordpress.org/extend/themes/first-lego-league-official , you cannot use the second method (creating xxx-buddypress.php) for Step 3 of the BP Compatibility process. Because of the HTML structure of your theme, you’d need to revise 16 template files from the 6 BP folders transferred to your theme’s folder in server.
If you still want to proceed with the instruction, let me know.
August 24, 2012 at 10:51 pm #140167In reply to: [Resolved] Group Forum Topic Widget?
danbpfr
Participanti’m using this plugin on wp 3.4.1/bp 1.6.1
https://wordpress.org/extend/plugins/bbpress-latest-discussion/August 24, 2012 at 4:38 pm #140146danbpfr
ParticipantHi,
try this in bp-custom.php
remove_filter( 'wpmu_signup_blog_notification', 'bp_core_activation_signup_blog_notification', 1, 7 );source infos buddypress /bp-core/bp-core-filters.php
The concerned filter do this
/***
* bp_core_filter_blog_welcome_email()
*
* Replace the generated password in the welcome email.
* This will not filter when the site admin registers a user.
*
* @uses locate_template To see if custom registration files exist
* @param string $welcome_email Complete email passed through WordPress
* @param integer $blog_id ID of the blog user is joining
* @param integer $user_id ID of the user joining
* @param string $password Password of user
* @return string Filtered $welcome_email with $password replaced by [User Set]
*/August 24, 2012 at 4:15 pm #140144In reply to: BP 1.6.1, Error in Activity and Group Page
danbpfr
ParticipantHi,
did you read the warning at the top of the official plugin page ?
https://wordpress.org/extend/plugins/buddypress-usernames-only/The problem is perhaps the plugin ?
August 24, 2012 at 3:08 pm #140137Alexander
ParticipantCool, thanks – admittedly, I’m a little intimidated modifying the theme code, or adding new plugins. But, I have been itching to get my hands dirty under the hood and learn how to do wordpress specifici coding, so this will be a good chance and resource to dive in. I might have to poke you later once I get this rolling. Thanks for your input Aces.
August 24, 2012 at 1:09 pm #140134In reply to: [Resolved] Editing New WordPress Toolbar
iamdhunt
ParticipantWow I made things a lot harder than they should’ve been lol. All I had to do was replace ”!is_super_admin()” with ”!is_user_logged_in()”. Thanks for pointing me in the right direction.
August 24, 2012 at 10:54 am #140125In reply to: [Resolved] Editing New WordPress Toolbar
danbpfr
Participanti’m not a programmer at all, but better try this:
`function add_sumtips_admin_bar_link() {
global $wp_admin_bar;
if ( !is_super_admin() || !is_admin_bar_showing() || is_user_logged_in() )
$wp_admin_bar->add_menu( array(
‘id’ => ‘sumtips_link’,
‘title’ => __( ‘SumTips Menu’),
‘href’ => __(‘http://sumtips.com’),
) );
endif
}
add_action(‘admin_bar_menu’, ‘add_sumtips_admin_bar_link’,25);”` -
AuthorSearch Results