Search Results for 'wordpress'
-
AuthorSearch Results
-
January 2, 2016 at 3:42 pm #248287
In 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-extrasDecember 28, 2015 at 8:38 pm #248164In reply to: Admin screen goes white on BuddyPress activation
shanebp
Moderator… a limit to the number of groups & users that BuddyPress can manage; something like 20k users
There is no limit – provided you have the necessary server resources available.
There is a difference between total users and # of concurrent users – meaning the # of users that are performing operations at any one time.It’s impossible to diag your issue without access to your server.
Some suggestions:- Turn on wp-debug and then check error logs.
- Deactivate bbPress and all related plugins.
- Test with ONLY a WP theme like 2013 and BP
White screens can be tricky to diagnose – but a decent developer can at least narrow down the possible factors.
December 28, 2015 at 4:37 pm #248160jscmal
Participant@shanebp .. I have found something.
I have seen just now that deactivating this plugin, the problem is no more present:
“rtMedia for WordPress, BuddyPress and bbPress”.
Then, the latest release of the rtMedia Plugin to upload and manage images introduced new problems.
December 28, 2015 at 4:30 pm #248159shanebp
ModeratorWhat is the reason that make you think that can be a plugin?
Your issues may not be due to a plugin, but your error log shows entries that are usually caused by a theme or other plugins.
Start by deactivating plugins related to activity.
If all else fails, delete BP 2.4.3 and install BP 2.4.2
You can download prior versions of BP here.If the problems go away, you may have found a bug in 2.4.3
You can submit a ticket here with the same user/pw you use for these forums.December 28, 2015 at 4:27 pm #248158In reply to: User profile filtering
shanebp
ModeratorDecember 28, 2015 at 4:00 pm #248156jscmal
ParticipantHere the list of plugins installed in this moment:
advanced-lazy-load
advanced-recent-posts
affiliates-manager
affiliates-manager-simple-membership-integration
akismet
bp-activity-autoloader
bp-activity-comment-notifier
bp-activity-shortcode
buddypress
buddypress-cover-photo
buddypress-first-letter-avatar
buddypress-followers
buddypress-media
buddypress-members-only
buddypress-sticker
cookie-law-info
ewww-image-optimizer
eyes-only-user-access-shortcode
favorites
fb-like-notification-for-buddypress
google-analytics-dashboard-for-wp
hashbuddy
invite-anyone
jetpack
mailchimp-for-wp
options-importer
options-optimizer
redirection
simple-ajax-chat
simple-membership
simple-membership-after-login-redirection
simple-membership-custom-messages
simple-membership-form-shortcode
simple-membership-mailchimp-integration
simple-membership-menu
simple-membership-wp-user-import
stream
testimonials-by-woothemes
user-role-editor
user-switching
woosidebars
wordpress-database-reset
wordpress-importer
wordpress-seo
wp-optimize
wp-postviews
wp-super-cache
wp-sweep
wp-symposium-toolbar
wp-useronline
wp-video-lightboxDecember 28, 2015 at 3:58 pm #248155jscmal
ParticipantHi,
– WordPress 4.4 – Upgraded from the previous release
– BuddyPress 2.4.3 – Upgraded from the previous release
– No customization in buddypress core
–I have added a new post where I explained all the things in a better way, giving all the details about wordpress, buddypress and the plugins. But I added it 2 times but in both cases it was not published, I don’t know why.
In practice is the Filtering that is not working for any user that is not admin. My admin account works properly.
Another thing that happens is that keeping the Activity Stream page opened, the bar that says “Load Newest” appear also if there is no new post in the stream.
I tested using the default WordPress Theme Tweenty Fifteen but the problem happens also there.
About the theme used. It is Woothemes Canvas 5.9.3 and 5.9.15 . Never had problems with these themes using BuddyPress.
The only customization that I did for BuddyPress are just CSS tags and when I upgraded to the new wordpress release and to the buddypress latest release, everything worked properly between buddypress, wordpress and the theme.
About the plugins, I didn’t changed them until now. I will make a test deactivating some plugins.
What is the reason that make you think that can be a plugin?
Kind regards.
G.Aloe
December 28, 2015 at 3:41 pm #248152In reply to: modifying the email template of friend requests
shanebp
ModeratorFor friend request emails, use the filter hooks in
function friends_notification_new_request
located in this file:buddypress\bp-friends\bp-friends-notifications.phpFor example:
function panda_friend_request_message( $message, $initiator_name, $initiator_link, $all_requests_link, $settings_link ) { $message = 'This will completely replace the message'; return $message; } add_filter( 'friends_notification_new_request_message', 'panda_friend_request_message', 15, 5 );Not that easy, but currently the only available method.
There is a new method being developed and scheduled for BP 2.4.5 which has a target release date of March 2016.
https://buddypress.trac.wordpress.org/ticket/6592December 27, 2015 at 2:28 pm #248129In reply to: Group Type Development
@mercime
Participant>> I need suggestions for how best to proceed as well on any thoughts about this feature becoming part of core.
Thank you. There’s a ticket for that https://buddypress.trac.wordpress.org/ticket/4017 and yes, I am also interested about this getting in core š You can cc yourself in that ticket to get updated.December 27, 2015 at 8:29 am #248125In reply to: Bussdypress title and SEO Yoast problem
name
ParticipantHey all,
After a few weeks of searching I found the solution to this – it’s a beautiful plugin called Plugin OrganizerYou can use it to disable Yoast on buddypress pages and viola!
Just create a plugin filter for site.com/members/*, /groups/*, etc. and you’re golden.December 27, 2015 at 3:34 am #248123jscmal
ParticipantAbout the WordPress Debug, the log track always these errors:
[27-Dec-2015 03:30:31 UTC] PHP Notice: bp_setup_current_user was called <strong>incorrectly</strong>. The current user is being initialized without using $wp->init(). Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 1.7.) in /home/xxxxx/wp-includes/functions.php on line 3787 [27-Dec-2015 03:30:31 UTC] PHP Notice: The called constructor method for WP_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /home/xxxxx/wp-includes/functions.php on line 3619 [27-Dec-2015 03:30:31 UTC] PHP Notice: bp_core_get_notifications_for_user is <strong>deprecated</strong> since version 1.9! Use bp_notifications_get_notifications_for_user() instead. in /home/xxxxx/wp-includes/functions.php on line 3568What can I do to manage this situation?
Please, help me!
December 26, 2015 at 6:42 am #248114Buzztwitter Creator
ParticipantOh and before you think of going for the new peepso platform its exactly the same I had it today and configured it and thought right here we go the button and hey presto exactly the same thing with their new version of a plugin that is meant to be able to share uploaded media straight to facebook…. I saw the networking site for the first time today and just the way the woman who created it delivered her speech was a dead give away, she knows she selling something that is not as functional as she is making out, lost a lot of respect for wordpress over this. You think they are there to help but they are just out to make money, and wont answer questions like yours, just dont care… and thats why they dont like people diving in on others topics because they dont want people getting on the same wave length… if i get this plug in sorted though am a happy man
December 26, 2015 at 6:33 am #248113Buzztwitter Creator
ParticipantSharing files is not a very good topic on here…. I personally don’t think facebook want people to have the tools to share too much to their site. I’ve been looking right into this. It’s funny how facebook have been able to share to other platforms for a number of years, but Buddypress can’t even put together a simple plugin to allow you to share from the activity stream. there are many out there but they dont work, I’ve been on this for 3 days now, no sleep … I’ve also just seen a plugin for say with a demo and I checked it and it doesnt work, wont upload images but it’s from facebooks end, the app needs to be confirmed with them or the debugging software stops it picking up media… so you end up with a blank page. There are ways around it, I’ve slated buddypress past couple of days, but to be fair its a really decent platform and I now know that facebook are the culprits, though wordpress should not be letting individuals promote plugins that clearly don’t work. I havent seen one yet that does, but I think I know a fix that will get it sorted, but it’s if the programmer who created it wants to play ball…. it’s really wierd to be honest, they know they aren’t working but they are still promoting it… crazy… be suprised if you get any reply with anything to do with the scary word ‘sharing’ lol
December 24, 2015 at 1:45 am #248067In reply to: Could not Save Basic Settings
@mercime
Participant@danbp thumbs up! š
I guess Iām not going to pursue getting a forum on my site.
@ldesherl You do not need to install BuddyPress in order to get a forum. You only need to install bbPress forums plugin https://wordpress.org/plugins/bbpress/ which works perfectly without BuddyPress.December 23, 2015 at 7:12 pm #248052In reply to: How to display a custom field?
VersGemerkt
ParticipantAh, thanks! That works great!
Now I’m running in a more serious issue… I discovered that all the code is working, but I’m using it to display data filled in by users in the backend of WordPress (order.php). BUT the code is only showing the filled in data from the user that is logged, while I need to be able to see the data filled in by every individual user that filled in the form.
I hope you understand what I’m aiming for!
David
EDIT: I think it has something to do with this line:
$user_id = bp_loggedin_user_id(); -
AuthorSearch Results