Search Results for '"wordpress'
-
AuthorSearch Results
-
September 5, 2009 at 9:42 pm #78644
In reply to: If BBpress then, else
Adam Harley (Kawauso)
MemberAssuming you’re talking about deep integration of bbPress, you should be able to use one of the constants defined in the settings of WordPress MU / BuddPress to determine if bbPress is embedded or not.
September 5, 2009 at 9:02 pm #31639Topic: If BBpress then, else
in forum Installationgerikg
MemberWPMU+BuddyPress+BBpress
How do you write the php code to say
if in a bbpress side
do this
if wordpress (or else) do that.
?
September 5, 2009 at 5:35 pm #78325Ashish Kumar (Ashfame)
ParticipantTry integrating as per this tutorial of mine on a test install : http://blog.ashfame.com/2009/07/integrate-bbpress-10-with-wordpress-28/
Just follow closely and you should be fine.
September 5, 2009 at 4:46 pm #76764In reply to: bbPress 1.0.2 and bbPress 0.9.0.6 released
LargeCell
MemberIt is compatible with WordPress 2.8.4? Thanks.
September 5, 2009 at 4:18 pm #78324gerikg
MemberOkay I found a few things. I don’t know if it matters but I just try to mimic what I had. I’m not an expert.
I don’t know if this was a factor: You didn’t have enough keys (Salts weren’t used)
You got your keys from here: https://api.wordpress.org/secret-key/1.1/
I got my keys from here: https://api.wordpress.org/secret-key/1.1/salt
I added the new keys to both files.
You had the COOKIEPATH in wp-config but not in bb-config (again I don’t know if it matters but I do it anyway) I copied it onto bb-config. I also moved that line to the top before anything else, just in case.
And that was that.
I notice you had the wrong URL to the forums (/bb-press/ instead of /bbpress/) but that was to get the cookie path and it didn’t matter either way.
September 5, 2009 at 3:30 pm #78267In reply to: Weird IE problem with bbpress
Adam Harley (Kawauso)
MemberUsing IE on it doesn’t work at all for me. How weird… http://www.oraclepronet.com/techzone/index.php loads fine though on first try, so it might be something to do with how the server is handling the directory index rather than bbPress. Your version of WordPress has security holes by the way, you might want to upgrade.
September 5, 2009 at 2:56 pm #31646Topic: canonical URLs for bbPress 1.02?
in forum TroubleshootingTomcraft1980
MemberHi there,
is there a way to build canonical URLs like WordPress does? WordPress automatically redirects http://domain.tld to http://www.domain.tld and I would like bbPress to do so too.
This is needed to prevent duplicate content on your site.
kind regards
Tom
September 5, 2009 at 12:53 pm #78653In reply to: Connecting Facebook group to BBPress ?
Olaf Lederer
Participantbbpress registrations via facebook connect is not so strange, but there is no plugin at the moment, check facebook connect plugin from wordpress, maybe you can change it that it works.
btw. that would be a great feature.
September 5, 2009 at 12:22 am #72864In reply to: Hide Links
Adam Harley (Kawauso)
MemberI think should do it, it’s based off code here: https://bbpress.org/forums/topic/open-links-in-new-window
Change the values of $forums to the forum IDs of those you wish to restrict (it’ll only work on direct parent forums, not grandparents or categories, I don’t want to include walker code unless people need it).
Tested on 1.0.2 trunk, so I’m not 100% sure it’ll run on 0.9, sorry.
<?php
/*
Plugin Name: Remove Links (conditional)
Description: Removes links for non-registered users. Based on <a href="http://ckon.wordpress.com/2007/07/12/bbpress-plugin-bb-tweaks/">bb tweaks</a>.
Plugin URI: https://bbpress.org/forums/topic/hide-links
Version: 0.01
*/
function bb_strip_links( $text ) {
global $topic;
$forums = array(
1,
2,
3,
);
if ( !in_array( $topic->forum_id, $forums ) )
return $text;
if ( !bb_current_user_can( 'write_post' ) )
$text = preg_replace('|<a (.+?)>(.+?)</a>|i', 'Login or register to download', $text);
return $text;
}
add_filter('post_text', 'bb_strip_links');
?>@Hanratty: hiding links using CSS visibility will still leave the link URLs in the code, which isn’t too desirable for some
September 4, 2009 at 5:27 pm #78614In reply to: Failing miserably at porting theme
gerikg
MemberThis is how I’m doing it. Please, this is not the official how to on this.
PART 1
COPY Kakemi theme into my-template. Open Style.css and change this line, Theme Name: Kakumei
I changed it to Theme Name: Kakumei (Edited Theme)
Activate it, you’ll see Kakumei’s screen shot but Kakumei (Edited Theme) as it’s name.
Then open style.css of the Edited Theme and open the CSS of the WordPress theme. Their might be multiple css so look out. I make a line in the style.css at the bottom.
/*********************** WPTHEME *******************Then start with Header.php and footer.php start copying over the codes from WP theme to BBpress theme. Slowly start looking at the classes it that the header uses and start bringing in the codes from the WP to BBpress CSS. BEWARE some of them uses the same class! so rename the WP one not the BBpress one!!! You will have to replace all the div tags and such. The only one I recommend to keep in the header is the
<div id="main">at the end. The same with the footer. but remember to put an extra</div>on the top to cover the<div id="main">in the header. Start with that. If you can get the hang of it then you’ll be able to continue.September 4, 2009 at 3:59 am #78288In reply to: Help Integrate WordPressMU, Buddypress, and bbpress
gerikg
MemberWhat happened so far…
Okay I looked through the file. Yangers101 was on the right track. There were some extra lines in the wp-config:
$bb->cookiepath = '';
$bb->sitecookiepath = '';I took those out.
The problem: “www.” The WPMU was configured to be on website.com/blogs (without the www.)
so all the settings needed to be without the “www.” or with. One or the other on both WPMU & BBpress.
Since his host forced the www. We had to put all the www. in the configuration. BBpress didn’t like the www. in the dashboard so he logged into his DB and manually changed it.
September 4, 2009 at 1:54 am #70365In reply to: Basic integration screencast
sicdigital
MemberI have buddypress install with bbforum integration working as far as it shares users etc and if you login you are logged in to both sites.
However, I can’t log out of the other if i logged in with
For example if i log in using WordPress and go to my forums I am logged in but can not log out from that location, i have to go back to wordpress to logout.
The same if I login through forum I can go to wordpress and I am logged in but I can not log out, I have to go back to forum to logout.
Clicking logout button does nothing in either scenerio.
September 4, 2009 at 1:19 am #78287In reply to: Help Integrate WordPressMU, Buddypress, and bbpress
yangers101
MemberThanks gerikg! I just emailed you.
September 3, 2009 at 11:12 pm #31633Topic: Failing miserably at porting theme
in forum Themesunholyfruitbat
Memberhttp://wordpress.org/extend/themes/pyrmont-v2
I don’t even want to post what I have so far. Are there any suggestions or walk throughs on how to port themes? I searched but didn’t find much.
thanks
September 3, 2009 at 8:20 pm #78204gj-tje
MemberOkay, I’ve fixed it and it’s working at the moment!

I forgot the settings in wp-admin/options.php for WordPress itself.
September 3, 2009 at 7:39 pm #78323hopeful4info
MemberWould the fact that I have bbPress working in a iframe in one of the wordpress pages be causing any problems?
September 3, 2009 at 7:31 pm #78322hopeful4info
MemberI have both wordpress and the bbpress (FOLDER) in the members directory. So where it asks for Blog address (URL) should it be https://my_site/members/ or should it be https://my_site/members/bbpress/
I’ve tried both ways and neither works. Just a scattered thought.
September 3, 2009 at 7:12 pm #78321hopeful4info
MemberHmmm, again. I did open up, side by side, the WordPress config file and the bbpress config file and made absolutely sure that AUTH_KEY=BB_AUTH_KEY and that SECURE_AUTH_KEY=BB_SECURE_AUTH_KEY and that LOGGED_IN_KEY=BB_LOGGED_IN_KEY. So, this may not be what we are looking for.
I’m wondering about the “User Role Map” settings: (Below is how I set them)
WordPress Administrator = bbPress Administrator
WordPress Editor = bbPress Member
WordPress Author = bbPress Member
WordPress Contributor = bbPress Member
WordPress Subscriber = bbPress Member
September 3, 2009 at 7:06 pm #78320gerikg
Memberlook through your BB-press dashboard –> Settings—>wordpress intergration
September 3, 2009 at 7:01 pm #78319hopeful4info
MemberHmmm, that’s interesting. I ftp’d the options-wordpress.php file down from the site and opened it in Dreamweaver. I recognize some of the comments in this as being from the “wordpress Integration settings as found in the Settings/Wordpress Integration tab of the Admin section of bbpress. This is where I set the “User Role Map”, WordPress Address (URL), Blog Address (URL), auth cookie salt, secure auth cookie salt, and logged in cookie salt.
HOWEVER, when I look into the actual options-wordpress.php file (as ftp’d down from the site) and open it up, the php code still seems to be asking for those items??? I just copied a bit of the code from that file and pasted it below. Please advise,
<table>
<tr>
<th><?php _e(‘WordPress’); ?></th>
<td></td>
<th><?php _e(‘bbPress’); ?></th>
</tr>
<tr>
<td>AUTH_KEY</td>
<td><=></td>
<td>BB_AUTH_KEY</td>
</tr>
<tr>
<td>SECURE_AUTH_KEY</td>
<td><=></td>
<td>BB_SECURE_AUTH_KEY</td>
</tr>
<tr>
<td>LOGGED_IN_KEY</td>
<td><=></td>
<td>BB_LOGGED_IN_KEY</td>
</tr>
</table>
September 3, 2009 at 6:36 pm #78203gerikg
MemberAnd make sure you filled in in the BB Admin side the information under
DASHBOARD->SETTINGS->Wordpress Integration
September 3, 2009 at 3:05 pm #78201gj-tje
MemberHi there!
Thanks for your response. Does this also affect WordPress (no MU version)?
Sorry I was a bit unclear about the exact version.
I can try the define(‘sitecookiepath’, ‘/’); , I haven’t tried that.
=====
I’ve tried the above define( ‘SITECOOKIEPATH’, ‘/’ ); but it didn’t work as well.
Any further ideas what I can try?
=====
Does anyone have a plain and simple manual how to integrate WP (no MU!) with bbPress? The manual on the site seems to fail me over and over again.
September 3, 2009 at 12:51 pm #78318gerikg
Memberthis is all filled out correctly? /bb-admin/options-wordpress.php
September 3, 2009 at 12:27 pm #78317gerikg
Memberas is, as the plugin appears.
September 3, 2009 at 12:21 pm #78316hopeful4info
MemberYes, I did that and put in the line as they request on that plug-in. Still doesn’t work. But this is where I was wondering about the line: define( ‘COOKIEPATH’, ‘/members/’ );
Do I Put this in exactly as it is or do I need to change ‘COOKIEPATH’ to an actual path.
If the line is correct as is, what else could be wrong?
-
AuthorSearch Results