Search Results for 'theme'
-
Search Results
-
Topic: AJAX Request Spinner
Hello,
I’m trying to add a spinner gif to the webpage whenever someone clicks a button that uses AJAX to show them that their request is being worked on. I wish to use the Nouveau theme.
I’m running WordPress 5.1 and BuddyPress 4.2.0
There hasn’t been much on this topic except for here (which is now 4.75yrs old): Feature Request AJAX Loading Spinner
To start, I’m trying to get things to work with the messaging section.
I added
<img class='ajax-gif' src='http://localhost:8080/WEBSITE/wp-content/themes/THEME/classicloader30px.gif'/>to a file I made in my theme file for the messages template:
wp-content/themes/THEME/buddypress/common/js-templates/messages/index.phpIt was added underneath each input type=button and input type=submit.
Next I added this css:
.ajax-gif{ display:none; } .loading + .ajax-gif, .loading > .ajax-gif{ display:block; }My only problem now is that these buttons do not apply the “loading” class to the buttons anymore (like they do in Legacy).
I found that you can add and remove the classes during the function that is triggered on the click by going to /wp-content/plugins/buddypress/bp-templates/bp-nouveau/js/buddypress-messages.js.
Unfortunately, I don’t believe this is a file meant to be able to be changed in custom files.I added:
$('#bp-messages-send').addClass('loading');to sendMessage: function(),
$( '#send_reply_button' ).addClass( 'loading' );to sendReply: function(),
and$( '#send_reply_button' ).removeClass( 'loading' );to replySent and replyError.Any help in figuring out how to make this not be lost on a new BuddyPress update would be extremely helpful.
I’m also trying to figure out how to target any other BuddyPress AJAX events. I’m sure I can do the same thing with the Members Directory, but will probably need to do the same thing with figuring out what function is called when someone requests a friendship/cancel a friendship etc.
Hello I am new to WP and BuddyPress.
I noticed that the member directory page is spoiled by links to recent activities that appear under the picture of each member. This results in a very ugly and messy look.
Can anyone help by letting me know the CSS code that I can insert in my theme to hide these links?
You can see a screenshot at https://www.thereisaway.org/md.jpg
Thanks in advance 🙂Alex
Topic: profile field
Hi,
I’m using BuddyPress and the result that I’d like to reach is modifying a field in the user profile page (http://yourSite/members/userName). So far I’ve found bp_after_profile_content and bp_before_profile_content but what I want is affecting one field inside the profile_fields_content. I’m not using any custom field and I can’t find a solution. Does any of you have any idea? I’m in function.php of a child theme and my function so far is this one:function get_member_field_test($data){
$data = bp_get_member_profile_data( ‘field=lname’ );
if ( strlen($data) > 3){
$data = substr($data,0, 3).’…’;
return $data;
}
}add_action(‘bp_before_profile_content’,’get_member_field_test’);thanks in advance
Topic: BP Activity Stream
Hello,
i am using latest versions of WP, Theme, Plugin…
PROBLEM: My activity stream is extremely slow and lagging. How or Where can i set a limit to the content of the stream like “Load more” etc.? I cant find it.
Thanks for help!
Topic: rss group
Dear,
I noticed I had a problem 2 sites. When i created a Group in buddypress i noticed there was a button rss feeds. I clicked on it and it gave a red page with:
This page contains the following errors on line 6 at column6: XML declaration allowed onley at the start of the document. Below is rendering of the page up the First error.When I used controle U , I see indeed there is a white space and the code start at the 6th line with
<?xml version=”1.0″ encoding=”UTF-8″?>
I have this problem in 2 of my site. I don’t know how the problem was created. I deactivated all the plugins, I changed my generatepress theme with 2017 theme. I used the plugin: Fix my Feed rss repaire on 1 of my site. When i actived and go to Group –> RSS –> I see somethings new. I some codes with as title: THIS XML file does not appear to have any style information associated wit hit. The document tree is show below.Searching a bit around i found that it could be that my function.php has a white line problem. I didn’t find any, but to be shure i changed it back to the original.
Does anyone know what went wrong with RSS in buddypress groups and how could i fix this for 2 of my sites?
thank you?
nice dayWordPress 5.1
BuddyPress version 4.2.0I created my WordPress website using a premier theme called WPLMS. I translated most of the website plugins by loco translation but I am facing issue with BuddyPress plugin, it is not translating the registration page and other related pages such as activating the account and so on… even though I manually translated the required texts into Arabic, I can see that it only works with the profile account page. And since it translating the login form which is part of BuddyPress plugin, I think there is an issue somewhere in BuddyPress. wish someone gets me to the right solution. thanks in advance
Is there a code i can get or does anyone know how i can make my profile pages full width…..even on a force way
My Theme doesn’t have this option on the customizer, nor when i go to edit the page
here is a link to my profile, My Profile
See how it looks like it doesn’t expand the width of the blk background?
Oh, i’m the site owner and dev………but i don’t like messing with my files or stuff
is there something i can do in the customizer “add css” section?
