Search Results for 'wordpress'
-
Search Results
-
Continuing thread from wordpress.org:
Anytime I navigate to the activity feed on buddypress and then back to a main page in my navigation I receive a 404 page not found. I can reset the issue by re-saving permalink settings.
After troubleshooting I discovered that the in the wordpress parse_request function, a different rewrite rule is being matched when it breaks. When it is not working the regexp ([^/]+)(/[0-9]+)?/?$ is matched.
request uri:string(21) “mindfulness-resources”
new match: ([^/]+)(/[0-9]+)?/?$ Query: index.php?name=$matches[1]&page=$matches[2]array(2) {
[0]=>
string(21) “mindfulness-resources”
[1]=>
string(21) “mindfulness-resources”
}When it is working the same block returns the output below and (.?.+?)(/[0-9]+)?/?$ is matched.:
request uri:string(21) “mindfulness-resources”
new match: (.?.+?)(/[0-9]+)?/?$ Query: index.php?pagename=$matches[1]&page=$matches[2]array(2) {
[0]=>
string(21) “mindfulness-resources”
[1]=>
string(21) “mindfulness-resources”
}The only two differences I can detect is that the rewrite array order is different for these two rules and when its working the (.?.+?)(/[0-9]+)?/?$ rule is higher and thus encountered by the rule matching loop first. I have not been able to find the reason the order changes.
I fixed this by adding the following lines to wp-includes/class-wp.php which is not an ideal solution
if(isset($rewrite['([^/]+)(/[0-9]+)?/?$'])) { $temp = $rewrite['([^/]+)(/[0-9]+)?/?$']; unset($rewrite['([^/]+)(/[0-9]+)?/?$']); $rewrite['([^/]+)(/[0-9]+)?/?$'] = $temp; }right after the line below in the function parse_request().
// Fetch the rewrite rules. $rewrite = $wp_rewrite->wp_rewrite_rules();When i activate BuddyPress plugin i have an error:
Uncaught TypeError: undefined is not a functionglobal.js?ver=4.1:1327 bp_init_activityglobal.js?ver=4.1:17 (anonymous function)load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jqueryβ¦:2 jload-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jqueryβ¦:2 k.fireWithload-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jqueryβ¦:2 m.extend.readyload-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jqueryβ¦:2 JAnd administration interface not work, precisely not work:
– move widget
– media libraryBut if i disactivate BuddyPress all works correctly.
What can i do?Thanks,
JacopoTopic: Customize BP navigation
Wordpress 3.85
If I have, for example, a First Name field in profile section and the person enters John. How can I just show ‘John’ on a results page without the ‘First Name’ title preceding it?
Thank you in advance for any help,
Mitch
Hi Gang, it was pointed out to me that when you mouse over an avatar on the Member Sites list that personal email addresses are showing up as the Alt text. Where can I find the code to remove this?
Wordpress Ver 4.1
BuddyPress Ver 2.1.1Hello, I am really having a problem with setting up a user registration and login page for my members. I have watch videos until blue in the face and just give out. HELP!!!! SOS!!!
The site is http://www.gcmx.info its wordpress and buddypress plugin for social network site. Please help. I am available by phone 850 291 8540 or jkpi@bellsouth.net
Thank you
JohnTopic: Setting up user registration
Hello, I am really having a problem with setting up a user registration and login page for my members. I have watch videos until blue in the face and just give out. HELP!!!! SOS!!!
The site is http://www.gcmx.info its wordpress and buddypress plugin for social network site. Please help. I am available by phone 850 291 8540 or jkpi@bellsouth.net
Thank you
JohnWordPress 4.1
BuddyPress 2.1.1I am evaluating WordPress and BuddyPress for a website that should consist of a public area and a member area. For non-WP sites, I used to have all the members-only content in a single directory (example.com/member-area/index.html) adding HTTP Basic Authentication by means of an htaccess and a htpasswd file.
As a trial, I installed WP and BP but realised that by default the whole site is password protected except the homepage and the registration page.
– What’s the concept for such an area with WP+BP: Do you do it with a separate directory too or a subdomain?
– How do you define the location of the members area or declare the content as protected in WordPress/BuddyPress?
– How do you make members-only pages/subpages appear in the navigation menu after login only?I found no instructions in the documentation or the forum and hope you can help me with these basic questions. Thanks!
Topic: Inline CSS
This may be a very simple problem, but I’m trying to add a simple sidebar to a buddypress group page by inserting HTML and inline CSS. It’s not working at the moment, the sidebar doesn’t display. Btw, I/we are doing this because were creating some very quick prototypes that we’re going to test. We don’t want to add anything to the stylesheet until we get feedback on our variations.
The code is:
<div style=”width: 270px; float: right; border:1px solid #ddd; padding: 20px 25px 0px 25px;β>
Some text to test with
</div>Weirdly, if I add the code above TWICE one of them displays. Maybe this is a WordPress and not buddy press issue.