Search Results for 'wordpress'
-
AuthorSearch Results
-
September 13, 2014 at 10:34 pm #194037
In reply to: Make an extra Site only with the post-form
danbp
ParticipantBefore starting custom work, perhaps give a try to buddypress links plugin.
September 13, 2014 at 7:49 pm #194036In reply to: Make an extra Site only with the post-form
RobertNe
ParticipantHi everyone!
My aim is to add a “share button” into different sites just like available on facebook,g+ and twitter. For example:
A user is on a site with a tutorial and wants to share the link of the site on my buddypress page. Now I want to give the admin of the site a code for a button which will put the visitor on an extra site on which he can share the link on the mentioned buddypress-site.
For this I thought about giving the link via php and the post or get-form. What I want to know now is: How can I add a single site only with the posting-form of buddypress and take the passed link into the form?
The Process of my idea is the following:
1. A user is on a site with my “share button”
2. If he pushes this button the link of the site will be copy and
paste in a new opened site into the post-formular of buddypress
3. Now the user can post the link on my buddypress site if he is logged in. Otherwise he
will get an option to log-in with his user accountThank you for your answer @danbp I will try to make a new site by using the custom post type form of wordpress.
Best Regards
Robert
September 13, 2014 at 4:26 pm #193478In reply to: WordPress and buddypress different themes
danbp
ParticipantIs it a recommended idea?
If you mastered the situation and know what you do, almost any idea is “recommanded”. 😉
You can do this by using a multisite install.
BP installed on the main site with his own theme (your-site.com) and another blog on sub-domain (mysub-domain/your-site.com) with another theme.
This is the most easiest install option. But you can also install BP on a secondary blog.
Registering is made on the main site, as it would be the hart of your network, and by consequence, the unique place where user can register.
References:
https://codex.wordpress.org/Before_You_Create_A_NetworkSeptember 13, 2014 at 4:13 pm #193477In reply to: Create a group
danbp
Participantif you allow group creation to your members, they can do so by going to group directory.
The “create group” button is in the group header.Once created, the member see on his profile, a tab named My Groups (or Groups) with a counter. On the tab, the group list created by him.
-> When users are logged out, they have no access to the Toolbar or to the Create Group button on the group directory.
This is so by default. Any other behaviour can be considered as theme related (for ex. if you use a theme specifically designed for BuddyPress). IMHO rare, but can eventually exist.
You can hide the Toolbar to logged out user in the buddypress settings.
About BP/WP jargon:
the Toolbar is the wordpress black toolbar at the top of the site.
the User menu is the menu at the top right corner, under wp’s Howdy
the buddymenu is the bar under the page header and before the page content. Depending the context (page, status), this menu bar has an associated sub menu.September 13, 2014 at 3:54 pm #193476In reply to: [Resolved] Customise register page
danbp
ParticipantThe field NAME in the field group BASE is required. This group is used for the registration page to work. As you already know, it’s also this group who allows you to show custom fields on the registration page.
The NAME field in BuddyPress is intended to receive first and last name and replace the two original fields (first name, last name) coming with WordPress.That said, you can hide this field to users, but you can’t give them the choice to show/hide it.
The above snippet will hide the field NAME to all visitors/members, but not to site admin and the concerned profile.
function bpfr_make_name_members_only( $retval ) { //hold all of our info global $bp; // is xprofile component active ? if ( bp_is_active( 'xprofile' ) ) // The user ID of the currently logged in user $current_user_id = (int) trim($bp->loggedin_user->id); // The author that we are currently viewing $author_id = (int) trim($bp->displayed_user->id); // user can see only his name && admin can see everyone if ($current_user_id !== $author_id && !current_user_can('delete_others_pages') ) { $retval['exclude_fields'] = '1'; } return $retval; } add_filter( 'bp_after_has_profile_parse_args', 'bpfr_make_name_members_only' );Add this to your child-theme functions.php or to bp-custom.php
September 13, 2014 at 2:25 pm #193466In reply to: wp-content We changed ours
Henry Wright
ModeratorIt’s best if you open a ticket for this on Trac:
September 12, 2014 at 9:18 pm #192885In reply to: [Resolved] Translation Not Working
geistschatten
ParticipantOnce again you’ve saved my life! That worked perfectly after it was named correctly. There really should be central language requirements for all plugins, themes, etc. I’ve set up dozens of WordPress sites and never ran into as much of an issue as this. Thank you for teaching me not just answering 😀
September 12, 2014 at 7:12 pm #192580In reply to: [Resolved] Need a plugin to require xprofile fields
bp-help
Participant@samdobrow
Have you tried:
https://wordpress.org/plugins/bp-force-profile/
It’s been awhile since it was last updated but it should still work.
Good luck!September 12, 2014 at 11:30 am #192185In reply to: [Resolved] Translation Not Working
danbp
ParticipantGlad you got it to work !
FYI: BP Poke comes with his own languages folder who contains po/mo in english. This is wrong, but has no influence if you want to use another language.
The reason is that many authors create a po file instead of a pot file, and when they save the file, poEdit (or similar) automatically creates a mo file.
The correct file name should be bp-poke.pot ! You can remove the original – in english – mo, totally useless: the plugin is coded in english !To use a translation for this plugin, you add xx_XX.mo to bp-poke/languages/xx_XX.mo
Text domain ref: bp-poke.php:50
September 12, 2014 at 9:04 am #192181In reply to: Register / Sign In Pages issues…
danbp
ParticipantYou have to test with another theme. And check your site settings.
All this is firstly a worpress installation issue, then a theme setting and finally a buddypress setting.September 11, 2014 at 11:50 pm #192162danbp
ParticipantSeptember 11, 2014 at 11:33 pm #192086danbp
Participantyou can allow your users to be notified by email when they are mentionned (and some other little things).
See Notification Manager plugin.
September 11, 2014 at 10:44 pm #192079In reply to: [Resolved] Translation Not Working
danbp
ParticipantI just tested Duena and the BP translation is fine.
Recheck your po/mo files. Here what you must have:
duena – leave as is.
buddypress/bp-languages/buddypress.pot
wp-config – if you use english, as it’s default language you have nothing to do
// define(‘WP_LANG’, ” );
wp-content/languages/plugins/buddypress-en_US.moNow if you want to modify only some strings, make a copy of the pot file and put it in a folder outside of buddypress.
From this copy you remove anything you don’t want and keep only the 2 lines or 4 lines (if plural form) who belong to the string you want to change. You keep only the string you want to change.
Once done, save and rename it buddypress-en_US.po and open it with a text editor (not poEdit), as we’re going to modify the header.msgid "" msgstr "" "PO-Revision-Date: 2014-09-12 00:05+0100\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Generator: Poedit 1.5.7\n" "Project-Id-Version: BuddyPress 2.0.2\n" "POT-Creation-Date: \n" "Last-Translator: \n" "Language-Team: \n" "Language: en\n" "X-Poedit-SourceCharset: UTF-8\n" "X-Poedit-Basepath: .\n" "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;" "_n_noop:1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_ex:1,2c;esc_attr__;" "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n" "X-Poedit-SearchPath-0: ..\n"The rest of the file looks like this:
msgid "Friendships" msgstr "" <strong><- replacement goes here</strong> #: bp-friends/bp-friends-template.php:588 msgid "%s friend" msgid_plural "%s friends" msgstr[0] "" msgstr[1] ""Save in text format utf8 without BOM. (important)
Now you can open this po file with poEdit, do your translation and save so that poEdit generate a mo file (see poEdit settings first to get this automatically each time you save a file).
Copy the mo file in the appropriate folder and, normally, you’re done.
References
https://codex.wordpress.org/Translating_WordPress
https://make.wordpress.org/polyglots/handbook/translating/basics/
http://www.wpbeginner.com/wp-tutorials/how-to-disable-automatic-updates-in-wordpress/The definitive guide to disabling auto updates in WordPress 3.7
September 11, 2014 at 9:44 pm #192077In reply to: [Resolved] Group Edit Dashboard broken
Mathieu Viet
Moderator@seeingblues2 seems to be fixed:
see https://buddypress.trac.wordpress.org/ticket/5868#comment:8September 11, 2014 at 6:20 pm #192067In reply to: How to make my site like Facebook
danbp
Participantyou seem to be affraid by the term “legacy”… ?
Read here some explanation about legacyLike BuddyPress, bbPress is only a plugin.
Generally when you need a theme, you search a theme for wordpress, not for a plugin.Of course some a better than other, or better tailored to do something than other, but in anyway, no theme can be perfect for anything.
And in some case, ready to use is not synonym of adaptable ready.
If you search forum themes, see first what other forum software have to propose. One of the most popular, phpbb, is desperatly identical from one site to another in 90% of case.When you have 1 000 of WP theme and you add a bbpress or a buddypress group forum, you have potentially 1 000 different forum look.
Basically it’s a grid, so it’s a bit difficult to present a forum in a very original maner. And finally too much work for many users or considered as out of rentability (100 hours to get a nice forum and 3 topics after 2 mounth….search the error ! )
September 11, 2014 at 3:52 pm #192062In reply to: How to activate Status Buddypress chilld theme?
@mercime
Participant@arximughal You only need to activate one WP theme. So if you’re already using the7 theme, you don’t need the Status child theme anymore. As for the BP Default theme, it’s been phased out http://bpdevel.wordpress.com/2013/11/13/the-future-of-the-bp-default-theme/
September 11, 2014 at 1:51 pm #191900In reply to: How to make my site like Facebook
danbp
ParticipantFYI here some related topics
https://buddypress.org/support/topic/how-to-remove-xprofile-names-and-replace-with-username/
https://buddypress.org/support/topic/sort-user-list-by-last-name/About your first post, why don’t you show the site activity by using the topic filter instead of the default “all activities” ?
https://buddypress.org/support/topic/changing-the-default-activity-filter/Or you can try buddypress-wall plugin
https://wordpress.org/plugins/buddypress-wall/September 11, 2014 at 12:37 pm #191895In reply to: How to make my site like Facebook
Henry Wright
ModeratorIn the last screenshot, if you take a look under the IP address it reads:
@ Julia BuckleyRegarding the roadmap, 2.1 is due any time soon. See https://buddypress.trac.wordpress.org/roadmap
September 11, 2014 at 12:25 pm #191892In reply to: How to make my site like Facebook
danbp
Participantbe patient ! The upcoming BP 2.1 version brings huge improvement to mentions handling, with auto suggestion.
BP 2.1 About page excerpt:
With BuddyPress 2.1, type a @ when leaving a status update or commenting on an activity item or blog post, and the new suggestions panel will open.September 10, 2014 at 8:17 pm #191862In reply to: Theme Compatibility – Customizing
September 10, 2014 at 8:00 pm #191859In reply to: wp_enqueue_script issue on activity page
albert101
ParticipantHello again cut and pasted the code exactly on the last line of the theme functions php and
my debug log output is as follows.
I must be doing something wrong.[10-Sep-2014 19:54:06 UTC] PHP Fatal error: Call to undefined function bp_is_activity() in /Applications/MAMP/htdocs/wordpress/wp-content/themes/mytheme/functions.php on line 4618
[10-Sep-2014 19:54:06 UTC] PHP Stack trace:
[10-Sep-2014 19:54:06 UTC] PHP 1. {main}() /Applications/MAMP/htdocs/wordpress/wp-admin/index.php:0
[10-Sep-2014 19:54:06 UTC] PHP 2. require_once() /Applications/MAMP/htdocs/wordpress/wp-admin/index.php:10
[10-Sep-2014 19:54:06 UTC] PHP 3. require_once() /Applications/MAMP/htdocs/wordpress/wp-admin/admin.php:204
[10-Sep-2014 19:54:06 UTC] PHP 4. do_action() /Applications/MAMP/htdocs/wordpress/wp-admin/admin-header.php:108
[10-Sep-2014 19:54:06 UTC] PHP 5. call_user_func_array:{/Applications/MAMP/htdocs/wordpress/wp-includes/plugin.php:505}() /Applications/MAMP/htdocs/wordpress/wp-includes/plugin.php:505
[10-Sep-2014 19:54:06 UTC] PHP 6. print_head_scripts() /Applications/AMP/htdocs/wordpress/wp-includes/plugin.php:505
[10-Sep-2014 19:54:06 UTC] PHP 7. do_action() /Applications/MAMP/htdocs/wordpress/wp-includes/script-loader.php:773
[10-Sep-2014 19:54:06 UTC] PHP 8. call_user_func_array:{/Applications/MAMP/htdocs/wordpress/wp-includes/plugin.php:505}() /Applications/MAMP/htdocs/wordpress/wp-includes/plugin.php:505
[10-Sep-2014 19:54:06 UTC] PHP 9. my_dequeue_script() /Applications/MAMP/htdocs/wordpress/wp-includes/plugMin.php:505September 10, 2014 at 6:19 pm #191788In reply to: wp_enqueue_script issue on activity page
shanebp
ModeratorDid henry’s original function it work for you?
If so, don’t bother changing it.
@henrywright
afaik – The reason the codex page uses the wp_print_scripts hook is to insure that it runs after the wp_enqueue_scripts hook, regardless of priority.https://codex.wordpress.org/Plugin_API/Action_Reference
The deprecation Hugo mentions is re not using print_scripts to enqueue a script, which the OP is not trying to do.
So I’m not convinced that your change to the codex page is appropriate. If you decide to stick with your change, at least update the comments above the example function to reflect that change.September 10, 2014 at 6:10 pm #191739danbp
ParticipantI just want to get the list of buddypress shortcodes.
Doesn’t exist. You can create a shortcode or use this plugin:
September 10, 2014 at 3:52 pm #191185In reply to: WordPress 4
danbp
Participantadd following line in your
wp-config.phpfile:define('SCRIPT_DEBUG', true);
and activate the already existingdefine('WP_DEBUG', false);todefine('WP_DEBUG', true);
and feedback here.BuddyPress 2.1 milestone estimation
September 10, 2014 at 1:26 pm #191183In reply to: wp_enqueue_script issue on activity page
Henry Wright
ModeratorHello @albert101
You can use
wp_dequeue_script()to remove an enqueued script. For example:function my_dequeue_script() { if ( bp_is_activity() ) wp_dequeue_script( 'xyz-custom-script' ); } add_action( 'wp_print_scripts', 'my_dequeue_script', 100 );Ref: https://codex.wordpress.org/Function_Reference/wp_dequeue_script
-
AuthorSearch Results