Forum Replies Created
-
In reply to: @thepseudo in the posts
@rogercoathup Sorry for the wrong use of the word, you’re right “fix” is not really the right word.
@nuprn1 In what file can I see the filter applied to the blog’s comments ? This way I could see if I could adapt it to the post. Could you give me a clue where to do the modifications ?
In reply to: Problem with BuddyPress Album+Here’s the original code “
I’ve wrap it in stripslashes like this
`<?php
$str = bp_album_picture_desc();echo stripslashes($str);
?>`It’s still displaying the /, maybe there’s something to fix in the box where I write/edit the description ? If I try to write/edit something with a ‘ it’s automatically giving me an error message and correcting the sentence with a /.
In reply to: Translating buddypressThanks I’ll have a look at it ! I’ve seen that the french translation https://i18n.trac.buddypress.org/browser/fr_FR has multiple files, how to pick the right one ?
In reply to: Problem with BuddyPress Album+Thanks, here’s the code
how do I put the stripslashes ? I’ve tried with an echo but it didn’t work.
In reply to: Problem with BuddyPress Album+Isn’t there a way to fix it myself ?
In reply to: Problem with BuddyPress Album+My bad I forgot the “/”, you’ll see more clearly now.
If I type something like this in the photo’s description : “It’s a test” it’s displaying ‘It’s a test’ (there’s a / between the t and the s)
In reply to: Defining a default pageHi !
Thanks for your help, I’ve did what you said and now my Home display the activity (without being called activity, it’s called home).
I hope there will not be any problems with the path generated by buddypresss ? (my previous activity stream was at themainblog.com/buddypress/activity/ now it’s themainblog.com/buddypress)In reply to: Finding/Editing the buddypress’s navigation barFor those who are in the same situation, check if this is in your theme’s footer :
‘<?php
/* Always have wp_footer() just before the closing
* tag of your theme, or you will break many plugins, which
* generally use this hook to reference JavaScript files.
*/wp_footer();
?>’It wasn’t in mine, I add it and it fixed my problem.
In reply to: Buddypress not on themainblog ?@r-a-y Thanks you SO MUCH ! This fixed my problem, I’m still having some bad links redirecting to the previous locations on the activity page but when I’ll install my wordpress + buddypres on my server there should be nothing like this, if I define the right BP Root from the beginning. No ?
I’m using Wamp, I don’t have the possibility to test the subdomain features. Do you think I’ll have the same problem when I’ll install my site on the server using subdomain instead of subdirectory ?
In reply to: WordPress 3.0 – Run Buddypress on Secondary BlogI’m having the same issue, did anyone find a solution ?
In reply to: Buddypress not on themainblog ?In reply to: Buddypress not on themainblog ?I’ve tried to change the permalinks, I always end up on the members directory.
In reply to: Buddypress not on themainblog ?The functions seems to be here, but look likes there’s a rewrite redirect problem.
I can post update, I’ve created a group, I’ve tried to post into it but I had a “There was an error when creating the topic”.
The links from the nav bar all redirect to the members directory.
In reply to: Buddypress not on themainblog ?I’ve removed the redirect rules.
At themainblog/network/ there’s the default buddypress theme but when I click on a member’s activity for example I always end up ion the member directory page, If i click on a name from activity It’s getting me to the same page.
On the activity page, I’ve got two path of link :
http://127.0.0.1/themainblog/network/members/admin/ – when I’ve posted an update after the relocation of buddypress
http://127.0.0.1/themainblog/members/admin/ – the old links from the latest updates I’ve posted on my original buddypress installationIn reply to: Buddypress not on themainblog ?Yes but I didn’t had to activate it, it was already network activated (It was previously “linked” to http://127.0.0.1/themainblog/).
I’ve enabled the theme on blog #9.In reply to: Buddypress not on themainblog ?I’ve added define ( ‘BP_ROOT_BLOG’, 9 ); (9 is themainblog/network)
But I’ve already defined it in wp-config.php, I’ve add it to bp-custom.php but there is no change.
In reply to: Buddypress not on themainblog ?Here’s how I created the file :
[?php
define( ‘BP_AVATAR_UPLOAD_PATH’, ‘http://127.0.0.1/themainblog/wp-content/blogs.dir/1/files’ );
define( ‘BP_AVATAR_URL’, ‘http://127.0.0.1/themainblog/’ );
?]Should I reinstall buddypress directly on http://127.0.0.1/themainblog/network/ ?
Maybe this will fix my problems ?In reply to: Buddypress not on themainblog ?I have no bp-custom.php in wp-content/plugin/, I’ve got a hello.php and index.php.
Yes, for now I can only use a subdirectory install. Wamp doesn’t support subdomains.In reply to: Buddypress not on themainblog ?Hello,
Thanks you very much for helping me.
I’ve followed your link but I’ve got a problem.
(3) Keep your old BuddyPress user / group avatars
I don’t find my file bp-custom.php (at the following location : wp-content/plugins/buddypress/), should I create one or is it at an another location ? I’ve looked but I didn’t find anything.(4) Redirect previous BuddyPress permalinks
I’ve edited my .htaccess but when I click on my name from a comment I’ve made on a post on the blog’s network or if I try to view an activity I end up on the same page : the Members Directory. I’m using the default buddypress theme on the blog.Did I make a mistake on my .htaccess ?
Here’s the path of my installation, using Wamp :
http://127.0.0.1/themainblog/ – the main blog
http://127.0.0.1/themainblog/network/ – where buddypress is enabled.
http://127.0.0.1/themainblog/blogname/ – a blog from the networkHere’s how I edited my htaccess :
RewriteEngine On
RewriteBase /themainblog/
RewriteRule ^index.php$ – [L]# uploaded files
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]RedirectMatch 301 ^/members/(.*)$ http://127.0.0.1/themainblog/network/members/$1
RedirectMatch 301 ^/groups/(.*)$ http://127.0.0.1/themainblog/network/groups/$1
RedirectMatch 301 ^/blogs/(.*)$ http://127.0.0.1/themainblog/network/blogs/$1
RedirectMatch 301 ^/forums/(.*)$ http://127.0.0.1/themainblog/network/forums/$1# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ – [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]
RewriteRule . index.php [L]Best regards,
Thanks both of you, the get_last_updated(‘ ‘, 0, 5); works fine !
In reply to: Blog Theme / Buddypress Theme@rogercoathup Thanks I’ve already set up my theme by using bp-template-pack, I’m just looking for the code to put on my main blog header, it’s the only place where it’s not displaying. I’ll have a look on the forum, thanks a lot for all your help !
In reply to: Blog Theme / Buddypress ThemeHello,
I’m using a non-made for buddypress theme, I’ve activate buddypress and the function’s pages fit approximatively in the theme. I’ve tried to replace them with the original from bp-theme/bp-default (to have the function’s page from a buddypress theme on my theme and modify them) but it don’t seems to work, what did I do wrong ?
I can’t set up a child theme, it looks like my theme (FashionPro) can’t handle it
The navigation bar is not displaying in the mainblog but perfectly on the other from the network, where can i find the code of the bar to edit my header and put it in ?
Thanks you for your answers.
Best regards,
In reply to: Blog Theme / Buddypress Theme@rogercoathup as you can see I use the term template/theme to talk about the same thing.
Thanks you for the correct utilization of the term.Take a look at the BuddyPress default theme (it’s in plugins/buddypress/bp-themes/bp-default), and you will see all the separate template files, including sub-folders with the templates for activity, members, etc.
=> So I’ll have to modify the template of the buddypres pages ? This mean the css “attached” to each buddypress pages. this way I could have a network who look totally different than the main blog.Your secondary blogs can have any WordPress theme you want: you simply install more themes, and assign them on a blog by blog basis to the other blogs.
=> The users can choose by themselves the theme for their blog, no ?Best regards,
In reply to: Blog Theme / Buddypress Theme@rogercoathup Thanks you very much for taking some of your time to help me !
You can style the main blog pages to look different to the social network pages (although they are using the same theme: different template files / CSS, etc.)
=> They must use the same theme ? Can’t I attribute a different theme to the buddypress pages ? I’ve read it’s possible to attribute themee to category, even posts, isn’t it possible to attribute a template only to the buddypres pages ? (activity, members, etc…)Best regards,
In reply to: Blog Theme / Buddypress Theme@crashutah thanks you very much for your answer.
http://www.themainblog.com (the main blog with Theme 1 and the buddypress navigation bar in the header)
nameofablog.themainblog.com (the user’s blog url with Worpdress multi-bloggin with the wordpress theme of their choice)
http://www.themainblog.com/members/ (Theme 2, a theme made for buddypress like the one on testbp.net which will be used with the buddypress functions)Or is it possible to have ?
http://www.themainblog.com (the main blog with Theme 1 and the buddypress navigation bar in the header)
nameofablog.themainblog.com (the user’s blog url with Worpdress multi-bloggin with the wordpress theme of their choice)
budypress.themainblog.com/members/ (Theme 2, a theme made for buddypress like the one on testbp.net which will be used with the buddypress functions)Thanks you very much for helping me.
Best regards,