Search Results for 'wordpress'
-
AuthorSearch Results
-
December 8, 2013 at 4:51 pm #175284
In reply to: Create html image link to logged in user's profile
Matt McFarland
ParticipantYou’re putting that in the page itself? Yeah you have to use a php file.
You could use hanacode plugin https://wordpress.org/plugins/hana-code-insert/ to insert php
December 8, 2013 at 4:49 pm #175283In reply to: Create html image link to logged in user's profile
Matt McFarland
ParticipantGreat! the code I posted above should work then. I havent tested it but that will work if you’re using permalinks. becuase bp will do members/user_login/profile/ by default so you jsut need their user_login which you can ECHO out via the PHP using wordpress alone.
December 8, 2013 at 4:48 pm #175282In reply to: Create html image link to logged in user's profile
flexclique
ParticipantI put this in the wordpress page on the text tab…
<a href="/members/<?php echo wp_get_current_user()->user_login; ?>/profile/"> <img src="http://mydomain.com/images/myprofile.png> </a>Nothing renders. I saw where you can’t run php from a page… could this be my issue?
December 8, 2013 at 4:42 pm #175280In reply to: Create html image link to logged in user's profile
flexclique
ParticipantI’m using permalinks…
What I’m trying to accomplish is: I have an image, this image will be on a standard wordpress page and I want a logged in user to click on the image and be taken to their profile page.
December 8, 2013 at 2:37 pm #175273In reply to: Linking Front End Fields to Back End Fields
hugblue71
ParticipantDecember 8, 2013 at 1:52 pm #175269In reply to: My website appears blank when switching to Php 5.4
Akshaysrk
ParticipantThank You for your Reply Mr. McFarland. the error log is as below
d; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:45:53 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:47:41 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:51:05 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:51:08 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:51:41 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:51:44 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:51:45 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:51:50 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:53:02 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:53:09 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:54:45 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:55:01 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:56:03 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:56:55 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:00:40 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:08:47] PHP Fatal error: Call to undefined function get_blog_option() in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/cd-bp-avatar-bubble/cd-ab-cssjs.php on line 39 [07-Dec-2013 18:09:03 UTC] PHP Fatal error: Call to undefined function get_blog_option() in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/cd-bp-avatar-bubble/cd-ab-cssjs.php on line 39 [07-Dec-2013 18:09:24] PHP Fatal error: Call to undefined function get_blog_option() in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/cd-bp-avatar-bubble/cd-ab-cssjs.php on line 39 [07-Dec-2013 18:15:09 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:16:57 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:54:48 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:54:53 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:55:57 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:56:20 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:56:21 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:56:21 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:56:32 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:56:32 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:56:33 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 /home1/srkaksha/public_html/nucleionline/wp-admin/error_log: [21-Sep-2013 14:46:07] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 1 for query SELECT COUNT(*) FROM made by require_once(‘wp-admin/admin.php’), do_action(‘admin_init’), call_user_func_array, bp_admin_init, do_action(‘bp_admin_init’), call_user_func_array, bp_core_activation_notice [21-Sep-2013 14:46:07] PHP Fatal error: Call to undefined function bp_blogs_record_existing_blogs() in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress/bp-core/admin/bp-core-functions.php on line 205 [07-Dec-2013 17:43:48 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:47:51 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:51:41 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:53:25 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:58:24 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:58:25 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:58:26 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:58:32 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:58:39 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:58:39 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 17:58:41 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:00:53 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:01:39 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:01:40 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:06:02 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:16:02 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:17:22 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:17:43 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:17:59 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:18:04 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108 [07-Dec-2013 18:18:04 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of apply_filters(). in /home1/srkaksha/public_html/nucleionline/wp-content/plugins/buddypress-follow-me/includes/bp-follow-functions.php on line 108
December 8, 2013 at 12:49 pm #175259In reply to: [Resolved] Help! Lost wp-admin
HoundLounge
ParticipantCassey and Matt,
thanks so much for your help! I was able to deactivate the plugin using phpmyadmin, which meant I didn’t lose all the work I’d put into setting up the buddy press pages. All is now good and I won’t mess with the Activate setting again.
This link helped me to disable plugins using phpmyadmin:
Thanks again,
ChrisDecember 8, 2013 at 12:36 pm #175254In reply to: How to stop spam registrations (HELP!!)
Matt McFarland
ParticipantA great plugin that I use (is free) that has greatly reduced registration spamming is WANGUARD (check it out here: https://wordpress.org/plugins/wangguard/) works great with buddypress and bbpress
December 8, 2013 at 11:11 am #175246In reply to: Add post featured image in activity stream
Matt McFarland
ParticipantYes this is very easy to do.
Adding the featured image of a wordpress post into a buddypress activity stream can be done by doing one of the following. I’d like to add that I had trouble finding out how to do this at first and it took a lot of searching. The first copypasta I have for you was actually found on these very forums. However, due to so many people asking this question (and not getting answers) it is buried and very difficult to find. So without further ado please enjoy…
You can either edit the activity page activity/entry.php or just copy paste the following function into your functions.php file.
function icondeposit_bp_activity_entry_meta() { if ( bp_get_activity_object_name() == 'blogs' && bp_get_activity_type() == 'new_blog_post' ) {?> <?php global $wpdb, $post, $bp; $theimg = wp_get_attachment_image_src( get_post_thumbnail_id( bp_get_activity_secondary_item_id() ) ); ?> <img src="<?php echo $theimg[0]; ?>" > <?php } } add_action('bp_activity_excerpt_append_text', 'icondeposit_bp_activity_entry_meta');If you want further customization, I recommend editing activity/entry.php
December 8, 2013 at 3:46 am #175231In reply to: Installation on Multisite
cybervaliewp
ParticipantHi Tim and Quokka
I have installed a wordpress multisite in french with buddypress in french
http://www.mydomain.com/
I have created 3 blogs for each language : english, spanish and italien
http://www.mydomain.com/en
http://www.mydomain.com/es
http://www.mydomain.com/it
I have one database of users and they access to all subdomains of the site and
I would like to have my buddypress pages (regitration, members, activity,….) translate in each languages I have…
Is it possible ??
Can you help me ??
Thank youDecember 8, 2013 at 2:18 am #175226In reply to: [Resolved] Help! Lost wp-admin
Matt McFarland
ParticipantBefore re-installing WordPress, you should crack open phpmyadmin, go to wp_options, and clear out your plugins field. this will disable buddypress, and should re-open your site. then you can fix what you did 🙂
December 6, 2013 at 5:46 pm #175190In reply to: Display user's social follow buttons in profile
Shmoo
Participantits better to use social button plugin
No it’s not..
This is a great Tutorial, thumbs up for giving this nice piece of code.
Social Media Button Plugins often stack a lot of scripting in your website. Lots of JavaScript and a other junk you’re not looking for while WordPress + BuddyPress is already pretty heavy because of all features.This Tutorial is clean and very basic, it does what most people need, just simple links from their BuddyPress profile to the users Social Media pages.
December 6, 2013 at 5:31 pm #175189In reply to: Changing default activity stream view
Shmoo
ParticipantI think it’s too complex for a Plugin because this is too specific to your needs , plugins are great when they serve lots of people. But you could alter the layouts if you know how the template structure in WordPress and BuddyPress works.
Give each page it’s own custom Activity-loop template and you should be able to make whatever view you want on each page that shows an Activity.
By default each page uses only one ( the default ) activity-loop template to create the activity content. But if you like you can duplicate those files and customize them for each page. Just duplicated the needed files and rename them to something like this: activity-groups-loop.php or activity-members-loop.php than make sure at the groups page the loop to the activity doesn’t load the default activity templates but your custom ( duplicated ) files.I really love how easy this works in WordPress and BuddyPress not a lot of CMS software have this easy to use template structure and logic.
The only real problem I found with this is that the Activity-contents are made by very dynamic code – it’s very difficult to alter the items that will be shown at the page such as time, name, avatar , activity-title and the real content compared to other BuddyPress pages.
I’ve made a Trac. Ticket for BuddyPress 2.0 , so lets hope somebody very smart could change the code a bit and we can really alter our Activity contents too.
https://buddypress.trac.wordpress.org/ticket/5261December 6, 2013 at 6:24 am #175173In reply to: Child Theme
@mercime
ParticipantShould I try to create a BP child theme? That is, copy default and save with different name within plugin folder?
@gparrott The bad news: “In BuddyPress 1.9, we begin the process of phasing out the BuddyPress Default theme” per http://bpdevel.wordpress.com/2013/11/13/the-future-of-the-bp-default-theme/ So I strongly recommend for future compatiblity that you do not waste your time creating a child theme for the BP Default theme.The good news: Since BP 1.7 and the introduction of theme compatibility, BuddyPress has worked seamlessly with nearly all WP themes so check out the many choices available at https://wordpress.org/themes/
December 5, 2013 at 3:56 pm #175157In reply to: How to stop spam registrations (HELP!!)
shanebp
ModeratorFirst you said:
>I disabled registrations using “Registration is disabled” from the network admin settings/network settings and the spam registrations continue.Now you say:
>– disable registrations (network admin) and the automatic reg stopsNot sure why things have changed, but it’s a clue.
btw – did you change the salts in your wp-config ?
https://codex.wordpress.org/Editing_wp-config.php#Security_KeysDecember 5, 2013 at 2:16 pm #175153In reply to: Buddpress and bepro listings
Anonymous User 10273379
Inactiveyeah, there aren’t any wordpress filters for that functionality in bepro listings yet. You will have to edit the file templates/form.php somewhere around line 61.
You could change the checkbox html to be a select box and use the same iterator to create the options and check if they have already been selected.
December 4, 2013 at 2:19 pm #175126In reply to: [Registration] Front End Registration not working
jamesdonegan
ParticipantI think it was wp-super-cache in my case. It was installed in the wordpress folder on the server (not the plugins folder). When I removed it, it worked.
December 4, 2013 at 12:25 pm #175121In reply to: Passing user role to custom xprofile field
noizeburger
ParticipantHi again, @henrywright-1
just wanted to let you know, that I’ve requested some help from the developer of BP Custom xprofile Fields – donmik
I asked him, if it is possible, to use a custom xprofile field (selectbox) to choose the user role and pass it over to wordpress. He gave me this function or – you can say – hint:
function custom_bp_core_signup_user($user_id) { $user_role = strtolower(xprofile_get_field_data('NAME OF THE XPROFILE FIELD', $user_id)); switch($user_role) { case "role 1": $new_role = 'Contributor'; break; case "role 2": $new_role = 'Author'; break; default: case "role 3": $new_role = 'Suscriber'; break; } wp_update_user(array( 'ID' => $user_id, 'role' => $new_role )); } add_action( 'bp_core_signup_user', 'custom_bp_core_signup_user', 10, 1);I put this code in my bp-custom.php, but it does not work. I think there’s something missing. Maybe you have an idea, or @modemlooper?
December 3, 2013 at 9:29 pm #175102In reply to: cant translate timestamp
Stefan S
ParticipantIts solved. I had a plug-in that did overide the translation that I did in the core function php file in buddypress.
The plugin. Now deleted. 😀
https://wordpress.org/plugins/rs-buddypress-activity-refresh/December 3, 2013 at 3:14 pm #175085In reply to: edit profile fields missing
shanebp
Moderator> they’re totally inaccessible afterward
They are accessed on the front-end on a member’s profile page.
your-site.com/members/peteratomic/profile/>Clicking the “your profile” link in the backend brings up a page
In the Dashboard, that link takes you to the DashBoard > User > Edit screen which is a standard WordPress screen.
If you want to view and edit BuddyPress Extended Profile fields on that screen,
then you might be interested in this premium plugin:
http://www.philopress.com/products/bp-dashboard-user-profile-edit/December 2, 2013 at 9:44 pm #175049In reply to: Removing group creation steps with BP 1.8
joh99
ParticipantI’m having the same issue. I’m also without BP Group Hierarchy.
I’m guessing a brute-force approach would be to try and add in a redirect to the next step, in order to skip the blank step screen. I’m trying to hook into the ‘bp_get_group_creation_form_action’ filter (used to determine where the user goes when he/she clicks the “Next” button in the group creation wizard). However, when I redirect a user by changing the target URL (with a simple text replacement), WordPress gives me a “are you sure you want to do this?” screen. In other words, there seems to be nonce protection that I can’t get around. I’m going to try again later.
Again, the above is very much a brute-force and inelegant (and possibly erroneous) approach.
December 2, 2013 at 1:37 pm #175036In reply to: Themeing best practice now?
Hugo Ashmore
Participant@posh-john shanebp’s link above will explain the basic approach, however we do provide documentation that covers this sort of area and many others too; please make sure you have given those a good read as they will answer many points you may have, issues beyond what is covered in the documentation are then suitable for asking on the help forum.
Usually i try to avoid modifying template files except where absolutely necessary It is never absolutely necessary unless you are taking over support for that code. One of the most important aspects of the WordPress Theme api is it’s template hierarchy, it’s this that allows ‘Child themes’ to be created, all correctly written themes will be able to work with child themes if the parent theme doesn’t allow child themeing it’s a good indication that you should drop it like a hot cake and find another.
December 2, 2013 at 8:12 am #175031In reply to: cant translate timestamp
Stefan S
ParticipantHi Paul, I have 3.7.1 and BuddyPress i also updated to the latest version.
i did use https://translate.wordpress.org/projects/buddypress/dev to download the languagesfiles.
The languagefile seems to translate everything correct exept just the timestamp.Actually I have to sites looking the same. One in Norwegian and one in Swedish – and I have the same problem with both sites.
Unfortunately Its two internal sites so I cant give you the webadress but Im thankful If you have any ideas how to solve this.
December 2, 2013 at 6:35 am #175029modemlooper
ModeratorBuddyPress hijacks the WordPress loop and replaces content with component content. So, any posts returned are wiped out and replaced
You could try a custom second loop but there may be issues
December 1, 2013 at 6:57 pm #175014In reply to: Help with Buddy & bbpress
Asynaptic
ParticipantHi Barry, it sounds like you’re not clear on what bbPress and BuddyPress are exactly. So let me try to clarify it for you.
bbPress is a plugin for wordpress which provides you with forum functionality. And because it comes from the same folks who created wordpress, it works great with wordpress and other WP plugins.
BuddyPress is a plugin for wordpress which provides you with a social network functionality. What does that mean? Well, imagine facebook, myspace, or any other social media platform – they have profiles, people can create and fill in their userpages, people can message other people privately, they have an activity page which shows their activity on the site, etc.
bbPress and BuddyPress are two totally different plugins but they work together and can be integrated with one another. But if you want to use just one of them, you can. You do not need to run both.
I’ve tracked down the video I think you refer to:
http://labsecrets.com/buddypress-and-bbpress-forums-made-easy/And I can clarify that for you as well. BuddyPress used to have its own way of creating forums, called “BuddyPress Group Forums”. But that functionality is deprecated because the developers decided to rely on bbPress rather than duplicate it within BuddyPress. So the latest version of BuddyPress doesn’t have group forums but instead relies on bbPress.
It all depends on what you are trying to do. What you are seeing in “the two forum apps merging to become one” is simply a deep integration between them so IF people want to use both, they can do so with ease and get the fullest functionality out of that combination use.
It sounds like you want a forum. If that is the case, forget about BuddyPress and just use bbPress.
Hope that helps!
-
AuthorSearch Results