Search Results for 'what\’s new form'
-
Search Results
-
Hello everyone,
I’m trying to build the frontend part for my blog and use WP and BP as headless CMS through their API. But I can’t get the registration to work as I expect. What I would like is to
- Have a registration form for new users to sign up.
- Once they’re registered and after account activation, they appear in member list so that other users can make friendship request to them.
- When they’re registered and after account activation they can log in (with JWT) and then display the memeber list to make friendship request.
What I’ve done, what’s not working
- When I try to make a “create member request” via POST /buddypress/v1/members -> I get an error “rest_cannot_create_user” because I don’t have rights to create new members.
- When I try to make a “signup request” via POST /buddypress/v1/signup, it registration seems to works (a user is added in WP) but he’s not visible in member list via GET /buddypress/v1/members.
- After account activation, the user is still not present in the member list
- After the user has logged in via JWT (POST /jwt-auth/v1/token), he can access to member list but he is still not present in the member list.
- The only way I found to make the user appears in the member list is to log in with the user credentials on the wp-admin interface.
How can I solve this, i.e. how can I make a new user visible in the member list without having him to log in through the wp-admin page ?
And this may be related but what is the difference between “user signups” and “member creation” ?
Thanks,
DavidHi everybody,
Sorry for the subject – not enough room to describe what this is all about. I’m having issues with the way BuddyPress converts/displays date/time in various places. I have read everything I can find here on buddypress.org, but nothing has been helpful so far.
Here is the summary
* WP: 3.4.2
* BP: 1.6.1* Server setting for date/time is ok
* Straight WP handling of date/time is ok (i.e. new posts have the correct date/time, etc)
* date/time is stored at the DB in GMT in all cases (this date/time is always correct in GMT)* date/time is converted properly based on timezone for the BuddyPress Group forum topic itself. i.e. “user said 5 days, 8 hours ago:” – this is correct. (-5 for me .. EST)
* date/time seems to be converted twice (-10) for the corresponding BuddyPress Activity Stream record as seen by the end user
* date/time is not converted at all for the same Activity Stream record when viewed via WP Admin. i.e. the time is straight GMT from the DB.
—
Here are the details:
1). From what I can tell (I used shared hosting), the Centos Linux box that hosts my site has the date/time set correctly.
I asked them to issue the date command and send the result. What they provided was the result when logging into the box via SSH. i.e. “Sun Jan 27 10:45:24 CST 2013″. The server is hosted somewhere in the CST timezone, and the date/time was correct at the time this info was sent.
2). I am in the EST time zone. My WP general/settings/timezone is set to Montreal.
3). When I publish a WP Post (for example) everything is fine. The “published on” date/time is correct (in local / EST / Montreal time). In fact, everything to do with straight WP date/time related handling is fine. BuddyPress is a different story!
4). BuddyPress: When someone sends a private message, the time on the received email is one hour behind. I assume this can be explained by the CST server time and the EST timezone I’ve chosen in WP Settings/General/timezone. I can live with this – Or could change the timezone to the server timezone (chicago / CST).
This is where it gets interesting.
5). BuddyPress: When somebody creates or adds to a topic in BuddyPress Group Forum, the date/time is also correct. i.e. “username said n seconds ago” is 1 second after the update is made. OK.. But, the corresponding Activity entry shows 5 hours and 1 second ago. i.e. 5 hours in the past!
Looking at the Activity Table record via phpMyAdmin, the date is stored in GMT (i.e. + 5 hours as I am in EST).
Looking at the Topics Table record via phpyMyAdmin, the date is exactly the same – i.e. stored in GMT.
So, when the forum topic is displayed, it’s doing a proper conversion from GMT to local time (-5), but the Activity Stream page seems to be doing the conversion twice, and I end up with -10 hours from the stored time in GMT.
6). BuddyPress: Of course, when somebody just posts something to the activity stream, it always shows up as “username said 5 hours and n seconds ago” also. i.e. a -10 conversion from the stored db time which is in GMT.
7). BuddyPress: Finally, when looking at the Activity via WP Admin, the date/time on each entry is straight out of the DB – i.e. GMT time – No local time conversion at all!
If anybody can make sense of what’s going on, I’d really appreciate it! I will provide any information that you need and access to the system if required.
Best regards,
Mike.NOTE: I replied to another topic with these same questions here:
http://buddypress.org/support/topic/buddypress-activity-time-is-off-by-5-hours/#post-151831
I’m not try to post this all over the place, I just want to make sure it’s in the right place!
Hi,
I’m facing a huge problem!
Whenever i tried to create a new forum it showed me an error
“error when creating a new topic”
It created for certain groups but couldnt create for others and newly formed groups.. I tried all
1.Delete groupmeta
2.Deactivate and reactivate forums and nothing seemed to work!!!
I queried these lines in the db
“SELECT *
FROM wp_bp_groups_groupmeta
WHERE meta_key = ‘forum_id’
LIMIT 0 , 30?
It returned
“import.php: Missing parameter: import_type
import.php: Missing parameter: format”Well i read about bb-config.php
and i found that the details didnt match with wp-config!
I changed but it still didnt work even after making them match and then deactivate and reactivate forums again!!!
I now deleted bb-config and tried to re-install forums and i noticed a funny thing here,it shows that i donot have sufficient permissions to install!!!
“You do not have sufficient permissions to access this page.”
What’s going on with my BP???
Any ideas anyone please???
Am not sleeping since two weeks,just going mad at this!!!Topic: New theme – Buddypress UX
I’d like to do away with the “What’s New?” label, and instead display it inside the textarea of the post form as hint text, so that when the textarea receives focus, the text disappears, and when the textarea loses focus or is empty, the text reappears.
So far, this is what I’ve come up with, based on a script I often use for the search form on WP client sites. The markup:
<textarea name="whats-new" id="whats-new" cols="50" rows="10">@ What’s new?</textarea>The jq script:
var active_color = '#333'; var inactive_color = '#888'; $("textarea#whats-new").css("color", inactive_color); var default_values = new Array(); $("textarea#whats-new").focus(function() { if (!default_values[this.id]) { default_values[this.id] = this.value; } if (this.value == default_values[this.id]) { this.value = ''; this.style.color = active_color; } $(this).blur(function() { if (this.value == '') { this.style.color = inactive_color; this.value = default_values[this.id]; } }); });It seems to be working great, except when an update is posted (ajax) the form reappears empty (ie. no hint text). when the form next gets a click (ie. focus set and then blurred) the hint text reappears. I’d like the hint text to populate the textarea after an update is posted, but I’m not very knowledgeable about ajax, and unsure if it’s possible. Any suggestions?
Here’s the Info you need:
Thank you Paul for responding but answer the questions in detail here:
1. Which version of WP/MU are you running? Answer: WP 3.01
2. Did you install WP/MU as a directory or subdomain install? Answer: Using it on my main domain
3. If a directory install, is it in root or in a subdirectory?
4. Did you upgraded from a previous version of WP/MU? If so, from which version? Answer: when it says upgrade I click that. So I guess it supdated.
5. Was WP/MU functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting. Answer: Yes
6. Which version of BP are you running? Answer: It says..Buddy press 1.2.5.2
7. Did you upgraded from a previous version of BP? If so, from which version? Answer: Every time it says update I always click that…So maybe..??
8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones? Answer: Buddy press 1.2.5.2, Live journey importer, akismet, fast secure contact form 0.2, OPML Importer 0.2, Post video player slideshow and photo gallery 1.79, Rss Importer, simple social sharing widgets and incons 0.2, Word Press Importer version 0.2 and WP Touch 1.9.19.1
9. Are you using the standard BuddyPress themes or customized themes? Answer: Standard
10. Have you modified the core files in any way? Answer: I don’t think so…Didn’t touch anything…Just beginning to do this…
11. Do you have any custom functions in bp-custom.php? Answer: I don’t think so
12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? Answer: Using Hostmonster.com is my web host part of their menu control panel comes with concrete5 and under concrete5 I installed buddy press…Then that’s all I did
13. Please provide a list of any errors in your server’s log files. Answer: The only problem I’m having is nobody can “create an account” or cannot register…And of course no email was sent for verification and account is obviously not created..
14. Which company provides your hosting? Hostmonster.com
15. Is your server running Windows, or if Linux; Apache, nginx or something else? My server is running? I’m using century link previously Sprint…Mozilla fox and Explorer…Windows XPSo I guess I answered all the questions…That’s all I did…And can’t create an account…I did it to test the application…Now go to my website hostpugs.com create an account and see what’s going on…my email: whiteflower12004@yahoo.com….Thank you!