Search Results for 'wordpress'
-
AuthorSearch Results
-
January 6, 2016 at 5:03 pm #248434
danbp
ParticipantHi,
try this snippet (add it to bp-custom.php or child theme’s functions.php):
function garfrey_widget_title( $title ) { if ( $title == "Members") { $title = __('Members Translation') ; // foreign char. here } return $title; } add_filter ( 'widget_title' , 'garfrey_widget_title', 21 );Reference:
https://codex.wordpress.org/Plugin_API/Filter_Reference/widget_titleJanuary 6, 2016 at 12:52 pm #248421In reply to: Customize email templates
Henry Wright
ModeratorWelcome Pack allows you to customise templates for emails. Give that plugin a try
January 5, 2016 at 11:39 pm #248414In reply to: Unclosed PHP tag In Template File – messages.php
Hugo Ashmore
ParticipantIt’s by design:
https://buddypress.trac.wordpress.org/browser/trunk/src/bp-templates/bp-legacy/buddypress/members/single/messages.phpClosing php tags shouldn’t be necessary, WP instructs not to close out files in this way. If you’re having issues they must lie with the custom templates?
January 5, 2016 at 6:22 pm #248399In reply to: Private Pages Glitch?
shanebp
ModeratorWith the WordPress 4.4/BuddyPress 2.4.3/bbPress 2.5.8, if you set any of the BuddyPress pages set to private you get the following error “The following active BuddyPress Components do not have associated WordPress Pages: Activity Streams. Repair”
True – If you set Visibility to Private!
Not true if you set the ‘Public or Private’ checkbox provided by the BP Simple Private.I want people to be able to register as Subscribers but Subscribers should not see any of the BuddyPress/bbPress stuff, only the Contributors and above should be part of the BuddyPress/bbPress community.
So you want to limit access to BP content based on a user’s role.
That is a different issue from the original poster’s issue.
You should create a new topic.
The BP Simple Private plugin discussed above is not applicable to your issue.January 5, 2016 at 5:22 pm #248397In reply to: Private Pages Glitch?
fscbmwcca
ParticipantWith the WordPress 4.4/BuddyPress 2.4.3/bbPress 2.5.8, if you set any of the BuddyPress pages set to private you get the following error “The following active BuddyPress Components do not have associated WordPress Pages: Activity Streams. Repair”
I tried the https://wordpress.org/plugins/buddypress-members-only/ and that didn’t seem to do what I wanted. I want people to be able to register as Subscribers but Subscribers should not see any of the BuddyPress/bbPress stuff, only the Contributors and above should be part of the BuddyPress/bbPress community. So I need to be able to exclude Subscribers from BuddyPress/bbPress. I have looked and there is some code out there that seems pretty old so I don’t know if it would work and I am not so great with php so I am a little hesitant. I am also new to BuddyPress so I’m not sure of all the ins and outs.
I tested the plugin and it’s working, in the settings there are two areas [edited – please do not copy & paste such data ]
I hope I am being clear.January 5, 2016 at 4:57 pm #248396In reply to: Private Pages Glitch?
shanebp
Moderator…is a bit irritating, finally that feature exists already in a standard BP wordpress version.
If you’re referring to the Visibility checkbox feature – Private means only viewable by admins and editors.
https://en.support.wordpress.com/post-visibility/January 5, 2016 at 4:26 pm #248394In reply to: Private Pages Glitch?
burger0815
Participantthanks for the comment. If I understand correctly then the option:
allows an admin to select which Post types and BuddyPress Components are private
seems to indicate that things like the activity component or the member community component
could be set private.
Did you test the plugin?The sentence:
provides a Private checkbox in the upper right corner of every page, post, and custom post type selected in Settingsis a bit irritating, finally that feature exists already in a standard BP wordpress version.
That is at least in my BP wordpress version you can already mark
pages as private (i.e. non accessible to non-logged-in members),
i.e. there is already a checkbox. And if there wouldn’t be the bug then
setting the member page and activity to private would have set “the component” to
private, if I understood correctly.
Is the plugin checkbox another checkbox?There is a plugin which, by its description, seems to set everything private:
https://wordpress.org/plugins/buddypress-members-only/
and which lets you specify which subadresses should be open.
But in my case this is not so helpful because
I want the blog to be public and the blog is not behind a /blog/ adress
but behind the year /2015/… etc.
so I would need to set each year adress open, which seems OK but not really
straightforward.January 4, 2016 at 7:45 pm #248353shanebp
ModeratorBy ‘private’, you mean only visible to logged-in users?
If so, this may solve your issue:
http://www.philopress.com/products/bp-simple-private/
or
January 4, 2016 at 3:23 pm #248349In reply to: change wp-login.php link to my custom login page
shanebp
ModeratorYou are using a theme or a another plugin to create the ‘wall’, correct?
Have you asked the author of that theme or plugin?You can use a plugin like https://wordpress.org/plugins/theme-my-login/ to change the login page.
January 4, 2016 at 9:40 am #248337In reply to: [Resolved] Fatal error after update to 2.2.2.1
kostasbarkas30
ParticipantHello guys,
One question about bp checkins. this is a fantastic plugin but bpci_activity_address not showing greek characters. any idea how to make the code to use utf-8 so as to play the greek characters?
thanks
i am using buddypress 2.3.5 and wordpress 4.3.1
January 4, 2016 at 12:33 am #248326In reply to: Private Pages Glitch?
fscbmwcca
ParticipantI installed BP Simple Private it seems to let you mark pages as private and if not logged in it redirects the page. I am only testing now and seems to be working. What I ultimately want to do is exclude “Subscribers” from BuddyPress and bbPress. Haven’t found how to do that yet.
January 3, 2016 at 10:00 pm #248325In reply to: separate member pages from directory?
ying-sun
Participantsorry. right now the page with the list of all the members uses a wordpress page called ‘Members’. a page showing an individual member’s information draws on the same wordpress page.
is it possible to have one wordpress pag (say, ‘Member Directory’) and a different one (‘Member Profile’) that dynamically shows an individual member’s information?
does that make sense?
January 3, 2016 at 4:26 pm #248322In reply to: About bp-custom
Joshua Blevins
ParticipantOkay, I did those changes (shown below). I still see no additional role added to the WordPress extended profile. I should be able to see it there. Correct?
<?php /* * */ function custom_member_types(){ bp_register_member_type('role', array('labels' => array('name' => 'role', 'singular_name' => 'role'))); } add_action('bp_init', 'custom_member_types'); ?>January 3, 2016 at 1:28 pm #248318In reply to: How to create a Like notification?
danbp
ParticipantHi,
consider https://wordpress.org/plugins/buddypress-like/
Notification likes will be implemented in next update (dixit author)
January 2, 2016 at 3:42 pm #248287In reply to: How to create a Like notification?
Henry Wright
ModeratorIf you’re not comfortable with code, then try searching for a plugin. I’m not aware of one but that doesn’t mean there isn’t one out there 🙂
January 2, 2016 at 12:33 pm #248272In reply to: About BuddyPress Templates
peter-hamilton
Participantlol…. you need to copy the folder “buddypress” to your root folder.
Find “buddypress” folder here.
plugins/buddypress/bp-templates/bp-legacy/buddypress
Now you need to read up on how to change these template files for your need, only these files inside this folder should be changed.
There is no buddypress theme, all wordpress themes are buddypress themes, and the only way to make something unique is through making a child theme of a wordpress site first, then adding buddypress css code and templates etc.
Good luck mate, here is a sample of what I am doing with buddypress…
My Buddypress site | Onlijn.comJanuary 2, 2016 at 9:49 am #248267In reply to: WordPress user profile fields in Buddypress
Xtremefaith
ParticipantSo does this mean you cannot use standard WordPress First & Last name fields, that if I want them accessible on their profile I have to use the xprofile component? Seems either redundant to keep them in both or a waste to not use the WP standard fields.
Is there not an easy easy way to modify the profile form to make standard fields visible and editable?
January 1, 2016 at 8:49 pm #248253In reply to: How to post a birthday status
convictedvapour
ParticipantUPDATE:
I have created a plugin so when I add
<div id="hollysage" style="padding-bottom:10px;"></div>within my sites template it track the age and showsHolly Willoughby is 34 years 10 months and 19 days old.as text anywhere I chose to place it.What I need now is so it automatically post on all users activity feeds.
Happy Birthday Holly.on every 10th of February regardless of the year. This date and only on this date. Any help would be appreciated! The plugin I have is housed in a folder calledhollysageThe following files are in there.Config.php
<?php // Language file if (defined('WPLANG') && WPLANG == 'zh_CN') { require_once(CURRENTDIR . '/language_cn.php'); } else { require_once(CURRENTDIR . '/language_en.php'); } // Time Zone define('TIMEZONE', get_option('gmt_offset')); // Holly Willoughbys Date of birth $bornYear = 1981; $bornMonth = 2; $bornDay = 10; ?>hollysage.php
<?php /* Plugin Name: Hollys Willoughbys Age Plugin URI: http://www.willoughbooby.com Description: Show Hollys Willoughbys in your wordpress site. Version: 0.1 Author: Willoughbooby Author URI: http://www.willoughbooby.com */ define('CURRENTDIR', dirname(__FILE__)); // Make string function hollysage() { // System config require_once(CURRENTDIR . '/config.php'); // Prepare vars $bornMonthLeftDays = intval(date('t', mktime(0, 0 , 0, $bornMonth, $bornDay, $bornYear))) - $bornDay; $bornYearLeftMonths = 12 -$bornMonth ; // Baby age $age_year = 0; $age_month = 0; $age_day = 0; // Output string $baby_age_str = ""; // Process $today = getdate(time() + TIMEZONE * 60 * 60); if ($today['year'] >= $bornYear) { // 2008-8-18 or 2008-7-17 or 2008-7-18 or 2008-8-17 if ($today['mon'] >= $bornMonth and $today['mday'] >= $bornDay) { $age_year = $today['year'] - $bornYear; $age_month = $today['mon'] - $bornMonth; $age_day = $today['mday'] - $bornDay; } // 2008-8-15 or 2008-7-15 else if ($today['mon'] >= $bornMonth and $today['mday'] < $bornDay) { $age_day = $bornMonthLeftDays + $today['mday']; // 2008-8-15 if ($today['mon'] > $bornMonth) { $age_year = $today['year'] - $bornYear; $age_month = $today['mon'] - $bornMonth - 1; } // 2008-7-15 else if ($today['mon'] = $bornMonth) { $age_year = $today['year'] - $bornYear - 1; $age_month = 11; } } // 2008-6-18 or 2008-6-17 else if ($today['mon'] < $bornMonth and $today['mday'] >= $bornDay) { $age_year = $today['year'] - $bornYear - 1; $age_month = $bornYearLeftMonths + $today['mon']; $age_day = $today['mday'] - $bornDay; } // 2008-6-15 else if ($today['mon'] < $bornMonth and $today['mday'] < $bornDay) { $age_year = $today['year'] - $bornYear - 1; $age_month = $bornYearLeftMonths + $today['mon'] - 1; $age_day = $bornMonthLeftDays + $today['mday']; } if ($age_year ==0 and $age_month == 0 and $age_day == 0) { $baby_age_str = $lang['birthday']; } else { $baby_age_str = $lang['hollysage']; if ($age_year) { $baby_age_str .= $age_year . $lang['yearsold']; } if ($age_month) { $baby_age_str .= $age_month . $lang['month']; } if ($age_day) { $baby_age_str .= $lang['and'] . $age_day . $lang['day']; } $baby_age_str .= $lang['fullstop']; if ($age_month == 0 and $age_day == 0) { $baby_age_str .= $lang['happybirthday']; } } } echo "\n<script type=\"text/javascript\">\n<!--\n document.getElementById('hollysage').innerHTML = \"<img src='wp-includes/images/smilies/icon_idea.gif' border='0'> $baby_age_str\";\n//-->\n</script>\n\n"; } function addhollysageDiv() { echo '<div id="hollysage" style="padding-bottom:10px;"></div>'; } // Do it. add_action('before_sidebar', 'addhollysageDiv'); add_action('wp_footer', 'hollysage'); ?>language_en.php
<?php // English language $lang['babyage'] = "Holly Willoughby is "; $lang['birthday'] = "Today is Holly Willoughbys birthday."; $lang['yearsold'] = " years "; $lang['month'] = " months "; $lang['day'] = " days"; $lang['and'] = " and "; $lang['fullstop'] = " old."; $lang['happybirthday'] = "Happy Birthday Holly Willoughby."; ?>To use it currently I add
<div id="hollysage" style="padding-bottom:10px;"></div>Can someone help me with adding a status update as detailed above at the start of this support topic request?
Thanks!
Regards,
Gareth
January 1, 2016 at 2:42 pm #248245In reply to: Importing Members and Creating Directory
shanebp
ModeratorI’m not aware of a plugin that does what you want.
You might try https://wordpress.org/plugins/members-import/ as a starting place.
You would need to modify the code to handle profile fields like postal codes.The search function would be separate.
There are plugins that search profile fields, such as https://wordpress.org/plugins/bp-profile-search/December 31, 2015 at 12:36 am #248215In reply to: [Resolved] Add Count Near Nav Menu
awpt
ParticipantI just tried your function and its working fine but the only problem is that its adding menu items in all wordpress menus.
Is there anyway to add only in a specific menu instead of all menus?
Tesekkurler!
December 30, 2015 at 6:27 pm #248205In reply to: Does buddypress have (native) shortcodes?
shanebp
ModeratorThere is no ‘core’ set of shortcodes.
You can write your own.
https://codex.wordpress.org/Function_Reference/add_shortcodeOr perhaps search here for an existing plugin:
https://wordpress.org/plugins/December 30, 2015 at 9:32 am #248196In reply to: Most popular – Plugin search
danbp
ParticipantHi,
not tested, but seems to be very configurable:
https://wordpress.org/plugins/wordpress-popular-posts/December 29, 2015 at 9:04 pm #248189jscmal
Participant@Mark … I tested it with Twenty Fifteen WordPress Standard Theme and the problem happens. Then it is not properly a theme problem
I use the woothemes Canvas Theme release 5.9.3 and 5.9.15 (the latest).
To make work properly rtmedia was necessary add a fixing in the child theme functions.php and it worked properly:
// BuddyPress - Fixing for rtMedia function rtmedia_main_template_include($template, $new_rt_template) { global $wp_query; $wp_query->is_singular = true; return get_page_template(); } add_filter('rtmedia_main_template_include', 'rtmedia_main_template_include', 20, 2);In any case, if with the standard wordpress theme the problem happens and then it could not be a theme problem, then rtmedia could have some conflict with another module.
Anyway, I will open an account on the rtmedia website and i will open a ticket, adding screenshots of the problem.
Kind regards
G. Aloe
December 29, 2015 at 8:52 pm #248188Mark
Participant@jscmal Do you by chance have any theme customizations via custom functions that you’ve added to your child theme’s function.php or your bp-custom.php file? I have a lot and noticed some weird things happening after upgrade, albeit unrelated to your issue. You may want to activate and test your site on a WordPress default theme if you have custom functions and haven’t already tested on the default theme. Turned out I had some custom functions that weren’t optimally coded and I have since replaced them with new ones. Just a thought. Hope this helps. If not, be sure to submit a ticket at https://rtcamp.com/my-account/.
December 29, 2015 at 2:19 pm #248180In reply to: Group Navigation
shanebp
ModeratorI’m using the “BuddyPress Group Extras – Extend Your Groups plugin”.
Therefore you should submit your question to the creator of that plugin:
https://wordpress.org/support/plugin/buddypress-groups-extras -
AuthorSearch Results