Forum Replies Created
-
In reply to: Activity time stamp
Search in BP’s files for “time” & “date” and also in WP and you will perhaps understand why this is not simple to modify for only one component (profile)
Maybe creating a custom function will do that, but i don’t know how to do that.In reply to: Translation Problem filebuddypress-nl_NL.mo must be in wp-content/languages
Po file is for translating. It’s a working file.
Mo file is for translation throught php gettext. Only the mo is mandatory, not the po or the pot
Once you finish the translation of a po file, you need to compile it to mo format with poEdit. (or equivalent tool)In reply to: Activity time stampim new to php: bad point, sorry for you.
Your idea maybe honorable. but as a php beginner, you preferably start training with something easier
If you could help me with altering the code or adding some custom code
I won’t change WP Core at your place.In reply to: Reduce white space above page titlehave you correctly setup your child theme ? Which BP version do you use ?
Anyway in your child theme style.css, you must have those commented lines at the top of the file
Theme name & Template name are mandatory/*
Theme Name: BuddyPress Dusk
Theme URI: http://example.org/themes/dusk/
Description: Dark theme for BuddyPress.
Version: 1.0
Author: John Doe
Author URI: http://example.org/
Template: bp-default
Tags: buddypress, two-column, grey, dark
*/In reply to: [Resolved] Profile settings urlsorry there is a little error in my code !
replace ‘css_id’ => ‘notif’,
by ‘item_css_id’ => ‘notif’,css test to use in child theme styles.css
li#notif-personal-li {
font-weight: bold!important;
}In reply to: [Resolved] Sitewide posts not showingsecondary blog post activity is not showed on the site wide activity, but on the user profile activity, if i remember well and on the blog directory (date/time – latest post title)
Only the main blog activity is on the SWA.
In reply to: Date format and languagei didn’t say “except” buddupress-es_ES !
i said
check the languages folder witch must contain the following files:buddypress.mo
And WP’s default translation files:
[file list]In reply to: Activity time stampBP use the time/date settings you made in your WP settings.
If you absolutely need another output only for the profile activity, you have to code something yourself.
See in bp-activity-admin.php how it’s actually done. It’s a core file, don’t modify it.
In reply to: 404 profile url for users with accented nameper default WP does not allow to use special characters in usernames.
As this is typically a WPissue, it’s better you search on wordpress.org forum
FYI, BP doesn’t manage registering, it only shows a form.In reply to: IP and Email Addresses Showing in Dashboard Commentshave you the same issue when bp-default theme is activated ?
In reply to: Date format and languagecan you give a site URL please ? Also do you use BP on a multisite or on a single WP ? What PHP version do you use ? And does your host provide gettext with PHP. ?
https://codex.wordpress.org/User:Ipstenu/How_to_create_a_phpinfo%28%29_pageBasically, the %s ago thing is a wordpress function – also used by BP on the activity time. If you already checked the BP part, and it seems ok according what you say above, i don’t know what happens so far.
This issue could be a mistake from the translator or something else directly handled by WordPress.If you’re using WP 3.5.1, check the languages folder witch must contain the following files:
buddypress.mo
And WP’s default translation files:
es_ES.mo (for WP in spanish)
admin-es_ES.mo (dashboard)
admin-network-es_ES.mo (network dashboard)
continents-cities-es_ES.mo (a list of cities in your language, used for date/time setting in dashboard, not mandatory)If you use bbPress 2.2.x, there should also being a folder /bbPress/ containing bbress-es_ES.mo
In wp-config.php you must have a line saying
define(”WPLANG’, ‘es_ES’);If you use WP MS, you also have to set the network to your language in the Network Settings.
If you use a third party theme, it may contain his own /languages/ or /lang/ folder with a pot file at least. This file must be used to translate the theme.The theme translation mo file should be in this folder.
Some themes are sometimes delivered with .mo files. Unfortunatly, those additionnal mo files are rarely updated. So if the theme has a es_ES.mo or theme-es_ES.mo, you can use the pot file to check or update the theme translation. In fact, in such case, the only file in witch you can trust, is the pot file. It also can be that the pot is not updated too, which means you have to recreate it from start, with a compiler such as poEdit….

This rule is also valuable for plugins.
At this point, i suspect a corrupted WP file. To eliminate this possibility, i would try the following.
Delete the whole wp-includes folder and upload a fresh copy of 3.5.1 via FTP
https://core.trac.wordpress.org/changeset/23897/tags/3.5.1?old_path=%2F&format=zipIf you use a previous version, go here:
https://core.trac.wordpress.org/browser/tagsDon’t use the right click to download something from Trac repo. Always click first on the file or folder name, and use the download button at the bottom of that page.
In reply to: "New topic" near Joing groupnot sure what you need. This button IS near Join Group !
in bp-default theme, are 2 reference to “New Topic”
/forums/index.p:23 (showing a link under Forum Directory title)
/groups/single/forum.php:19 (showing above topics list)And in bp-default/functions.php: 132 you have the do_action code who shows the button beside the Join Group.
add_action( ‘bp_group_header_actions’, ‘bp_group_new_topic_button’ );If your theme doesn’t use bp-default functions.php, put this do_action in your theme’s functions file
In reply to: Hiding / Removing sidebar from registartion pageis your child theme activated ?
have refreshed your browser (F5) ?
In reply to: BuddyPress registration without usernameRegistration is a wordpress core process witch need a username and an e-mail for security purpose.
BuddyµPress use also usernames (or whatever you name it) and the user e-mail.
In reply to: Hiding / Removing sidebar from registartion pageno need to modify your css.
in /child-hteme/registration/register.php
simply comment the line:218 (1.6.5) at the end of the file // get_sidebar( ‘buddypress’ );
If needed you can do the same thing in activate.php, in the same folder.
In reply to: [Resolved] Cannot add friend, message, edit profileDe nada !
In reply to: Add file to profilethe xprofile component offers all type of html forms fields, except upload box for security reason. This is simply not possible “as is”. The only thing you can do is to copy/paste an URL into a a single line textarea.
Or invite your user to enter their CV into a multiline textarea. And copy/pasting a formated CV in this box will loose his formating.
So there is no possibility at this time to join a separate document to a profile.
See perhaps what you can do with bp group documents plugin.
In reply to: create a child theme/change stylehi @talitaco,
BP 1.7 introduce a new template era.
So for child theme, you don’t have to add the import comments to styles.cssYou also need to read and read and read, untill you get it, the Codex:
https://codex.buddypress.org/theme-compatibility/add-buddypress-styles-to-a-theme/
https://codex.buddypress.org/developer-and-designer-information/In reply to: Call to undefined function bp_core_get_user_email()Don’t do that ! WP use emails for login process and BP use it for avatar showing and some other core routine.
And if you wanna filter something in BP or WP, learn a bit about doing this correctly.https://codex.buddypress.org/developer/developer-docs/action-reference/
https://codex.buddypress.org/developer/plugin-development/group-extension-api/
https://codex.wordpress.org/Plugin_API
http://wp.tutsplus.com/tutorials/plugins/fast-buddypress-development/In reply to: [Resolved] Cannot add friend, message, edit profileyou have to test first the default install. WP and BuddyPress with bp-default template.
Don’t forget to activate all BP components and to SAVE after each step.
Read also (again ?) here before: https://codex.buddypress.org/legacy/configuring-components-v1-6/If you have some plugins, you activate them one by one, and test again your install between each step.
If this config works, you can install your theme and test again.
So you will rapidly be fixed.
In reply to: Forums – Are You Sure You Want To Do That?perhaps this can help: http://yoast.com/wordpress-ssl-setup/
In reply to: Cannot post drug namesProbably ! 😉 Malaysian anti drug laws are very strict, so far i know.
http://www.vpnaccounts.com/malaysian-internet-censorship.html
http://en.wikipedia.org/wiki/Censorship_in_MalaysiaIn reply to: [Resolved] Forums don;t show anywhere…Witch BP version please ?
In reply to: Buddypress 1.7if you use a network install, no matter as subdomain or sub directory, it’s preferably to install BP on the main blog.
On a standard MS, this means that WP is at the server root (ie. /xxx/xxx/htdocs/www/wp-content/)and BP installed as plugin in /wp-content/plugins/buddypress/ and network activated.
Don’t install BP on each blog nore on the main blog and a network blog…. Installing BP on one of the sub blog, not the main blog, will be complex and very complicated in some case to manage with permalinks and redirections, except if you know what you’re doing, and specially if you use sub domain blogs.
In reply to: Allow users to switch CSS styles@splendidangst,
take some inspiration here: http://www.1stwebdesigner.com/css/quick-wordpress-theme-switcher-plugin/
Many themes allow color switching, mostly Premium like this one: http://demo.themeshift.com/devision/features/4-color-schemes/
IMO it’s an outdated template trend. Actually, user looking first for quality content i guess, not for coloring the visited site.
Remember also that BP 1.7 will soon be out and will allow much more with WP templates as therefore.