Search Results for '\"wordpress\"'
-
AuthorSearch Results
-
February 27, 2007 at 11:30 pm #54907
In reply to: Integrating Aggrss into bbPress theme?
CMoseley
MemberI’m not sure exactly what your asking. I copied and pasted the code in my WordPress template into my bbPress template. Works fine in WordPress, gives me the above error in bbPress.
The code I used was:
<?php
if ($rs = aggrss('http://onctalk.com/wp-commentsrss2-custom.php'))
{
// dump the structure
//echo "<pre>";
//print_r($rs);
//echo "</pre>";
echo "<a href='" . $rs[link] . "' style='color: #000000; font-weight: bold;' >" . $rs[title] . "</a>";
echo $rs[description] . "<br />";
foreach ($rs['items'] as $item)
{
echo "<p><a href='" .$item['link']. "'>" . $item['title'] . "</a><br/>" .html_entity_decode($item['description']). "</p>";
}
if ($rs['items_count'] <= 0) { echo "Sorry, no items found in the RSS file <img src='http://www.soderlind.no/wp-includes/images/smilies/icon_sad.gif' alt='' class='wp-smiley' /> "; }
}
else
{
echo "<!-- It's not possible to reach RSS file -->";
}
?>February 27, 2007 at 11:05 pm #55086In reply to: “/” Escaping issue within my posts
CMoseley
MemberWhat baptiste posted in another thread worked like a charm:
“Easy fix (hack) in bb-includes/template-functions.php, update this function to look like this:
function get_post_text() {
global $bb_post;
return stripslashes($bb_post->post_text);
return stripslashes(apply_filters( ‘get_topic_title’, $topic->topic_title, $id ));
}
May be an artifact of the wordpress integration – not sure. “
(Made a small change of adding the filter for the titles too… was originally split over two posts.
February 27, 2007 at 9:39 pm #55062In reply to: WordPress + BBpress vs. WordPress + Vanilla
flatworm
Memberif ( !defined('BBPATH') )
define('BBPATH', dirname(C:AllProgramingphp&mysql SERVERwordpressbbpress) . '/' );
require_once( BBPATH . 'C:AllProgramingphp&mysql SERVERwordpressbbpress' );
?>Are this last lines correct if the path to my bbpress is: “C:AllProgramingphp&mysql SERVERwordpressbbpress” ?
February 27, 2007 at 7:40 pm #54973In reply to: WP “Profile” fields in BB?
macwise
Member*bump*
Does anyone know how this can be achieved without doing a custom query. (using built in bbpress or wordpress commands)
February 27, 2007 at 4:28 pm #54543In reply to: New Release: bbPress 0.8.1
fel64
MemberI just got about a dozen links to comments made on bbPress New Version Release posts on the front page of my wordpress dashboard. They are also appearing on planet.wordpress.org – I assume it’s a bug?
February 27, 2007 at 8:21 am #55061In reply to: WordPress + BBpress vs. WordPress + Vanilla
fel64
MemberHave you entered all the right details in your
config.php
? Since you’re sharing databases it should have the same database info (name, user, password) as wordpress’swp-config.php
.Yeah I call this a debugged version – Chrishajer sums it up nicely.
February 27, 2007 at 4:14 am #54342In reply to: Updated to Desmond But Theme Not Working
kirkk
MemberTo fix this, i have uploaded all my files and directories without installing them on localhost… First, i uploaded wordpress to my web server and installed it then uploaded bbpress and installed it on web server…
… before of that “above” , i had installed both of them on my localhost then i had uploaded them to my web-server, but that moment i had problems with slashes. Because there is an confusing section about slashes between the normal windows and web server…
And i recommend that do not change the folder name of your “bbpress” after u upload it to your web server . I tried it two or three times after i installed both of my wordpress and bbpress on my web server, it caused slashes to head backwards…
Now i have solved all my problems
forward to hearing from you with the same
(sorry for my english if i made any mistake, it is not my first language)
February 27, 2007 at 2:26 am #55060In reply to: WordPress + BBpress vs. WordPress + Vanilla
chrishajer
ParticipantFlatworm, yes, they should use the same database if you want integration.
And I thought we covered the graphics not working, which is likely due to a path issue on localhost, in your other thread.
Regarding “debugged”: it is debugged, but as I stated before, all software has bugs, and you also need to accept the fact that you are using beta software.
Also, I have offered to help you off list but I have not heard from you…
February 27, 2007 at 2:23 am #53926In reply to: post or reply by email
chrishajer
ParticipantThis works better for a blog you own, to create new posts/articles, rather than a forum where anyone can post at any time. AFAIK, it does not exist for comments in WordPress, just posting. Maybe there’s a plugin for doing it with comments in WP, but I think that would be silly.
February 27, 2007 at 12:33 am #55059In reply to: WordPress + BBpress vs. WordPress + Vanilla
flatworm
MemberCannot select DB.
Why graphics do not work?
Very strange. And you call this a debuged version?
February 27, 2007 at 12:23 am #55058In reply to: WordPress + BBpress vs. WordPress + Vanilla
flatworm
MemberDo I need to make bbPress use same DB as WordPress?
February 27, 2007 at 12:12 am #55057In reply to: WordPress + BBpress vs. WordPress + Vanilla
flatworm
MemberNice. Thanks.
No Bugs?
February 26, 2007 at 11:04 pm #55056In reply to: WordPress + BBpress vs. WordPress + Vanilla
fel64
MemberWhat do you mean by manual?
You have to change some settings in config.php, but that’s it. Nothing a monkey with a keyboard and a human to do the work for him couldn’t do … really, it’s simple.
No editing code or the like. Even if it’s in a different subdomain you barely have to do anything.
Certainly doesn’t sound as much work as installing Vanilla – bbPress is set up to use mostly the same tables as WP already …
February 26, 2007 at 9:20 pm #1486Topic: WordPress + BBpress vs. WordPress + Vanilla
in forum Installationflatworm
MemberIt requires alot of pain in the *** to install Vanilla on WordPress.
I do not want to do it manualy.
<b>Does this thing require a manual hookup?<b/>
Does it still have the bug that had to be solved by editing the code?
February 26, 2007 at 8:57 am #55049In reply to: 3 question about bbPress
amethystdragon
MemberI can answer the second question – Yes there is a plugin that will achieve that for you – its called bbPress Post and you can get it from http://dev.mbzeus.net/ – it goes in as a plugin on the WordPress side
Can’t help you with the others though I’m afraid
February 25, 2007 at 10:55 pm #54781In reply to: Cannot select DB. at Install
dld
MemberI am having this same problem at install, “Cannot select DB.”
I have only bbPress and not wordPress, so mine is a simple setup.
Any ideas on what the problem could be?
February 25, 2007 at 5:38 pm #54693In reply to: Display latest post from WP
nickbrady
MemberHi, fel64, you can use wp_get_posts() instead of wp_show_posts() and then use a foreach loop, much like the examples in the WP Codex for the get_posts function
You don’t mind that pretty permalinks are not being used? I think it’s a killer, let’s hope some expert can help us.
February 25, 2007 at 3:38 pm #54691In reply to: Display latest post from WP
nickbrady
MemberHi,
I am writing a plugin for BBPress that shows the latest posts from WP (if WP and BBPress are sharing the same database). It’s still in development, but it already works, you just have to write
<?php wp_show_posts(\"\" ); ?>
in any BBpress template.
As you will see, it works, but it has a problem: it does not show WP’s pretty URLs. I would like to call WP’s get_permalink() function, but it uses many WP functions that are not available when you’re in BBPress.
Any advice on how to do this? Or maybe it would be easier to read WP’s RSS?
Thanks!
Here goes the code of the plugin so far (if you don’t care about pretty permalinks, you can use it, it works):
<?php
/*
Plugin Name: WP Posts
Plugin URI: http://thesandbox.wordpress.com
Description: Get a list of WordPress posts from your bbPress (needs to be integrated with WP, sharing database)
Author: Nick Brady
Version: 0.1
Author URI: http://thesandbox.wordpress.com
Install Instructions:
- If you don't have a /my-plugins/ directory in your bbpress installaltion, create it on the same level as config.php.
- Check out: https://codex.wordpress.org/Template_Tags/get_posts
*/
function wp_get_posts($args) {
global $bbdb, $bb;
parse_str($args, $r);
if ( !isset($r['numberposts']) )
$r['numberposts'] = 5;
if ( !isset($r['offset']) )
$r['offset'] = 0;
if ( !isset($r['category']) )
$r['category'] = '';
if ( !isset($r['orderby']) )
$r['orderby'] = 'post_date';
if ( !isset($r['order']) )
$r['order'] = 'DESC';
$now = bb_current_time('mysql');
$posts = $bbdb->get_results(
\"SELECT DISTINCT * FROM \".$bb->wp_table_prefix.\"posts \" .
( empty( $r['category'] ) ? \"\" : \", \".$bb->wp_table_prefix.\"post2cat \" ) .
\" WHERE post_date <= '$now' AND (post_status = 'publish') \".
( empty( $r['category'] ) ? \"\" : \"AND \".$bb->wp_table_prefix.\"posts.ID = \".$bb->wp_table_prefix.\"post2cat.post_id AND \".$bb->wp_table_prefix.\"post2cat.category_id = \" . $r['category']. \" \" ) .
\" GROUP BY \".$bb->wp_table_prefix.\"posts.ID ORDER BY \" . $r['orderby'] . \" \" . $r['order'] . \" LIMIT \" . $r['offset'] . ',' . $r['numberposts'] );
return $posts;
}
function wp_show_posts( $args ) {
global $bb;
$posts = wp_get_posts( $args );
foreach( $posts as $post ) {
echo \"<li>n\";
echo \"<a href='\".$bb->wp_home.\"?p=\".$post->ID.\"'>\";
echo $post->post_title;
echo \"</a><br/>n\";
echo \"</li>n\";
}
}
?>
February 25, 2007 at 1:25 pm #54881In reply to: Template Tags
fel64
MemberPage numbers – say a thread has more than 30 replies and falls onto the second page, it’s very irritating having to click the thread’s name and then click again to get to the second page. Next to the page’s name you should simply have the page numbers displayed and clickable, hopefully in a smart way (say showing the first few and the last few). You can see it on this forum, too: say I want to read the second page of posts in the Plugin: Forum Restriction thread, I have to click on the name and then on the second page. Is there maybe even a plugin to list the page numbers next to the page name in the thread listing?
In WordPress you have hooks that let you take actions through your plugin when they’re called, right? I guess bbPress does the same. I specifically want to create an Identicon avatar on registration – it’s not essential, just something I’d like to do. How do I register my plugin to work on that hook, and what hook do I use? Just a list of hooks would be helpful.
February 24, 2007 at 11:16 pm #1476Topic: WP “Profile” fields in BB?
in forum Installationmacwise
MemberWell, here I go again…
Anyone know the way I might call in the wordpress Profile fields from a users Profile page and display/edit those in the bbpress profile.php and edit-profile.php pages?
Thanks!
February 24, 2007 at 7:07 pm #54969In reply to: “Target” attribute in all post urls?
fel64
MemberI assume the same way as you would in WordPress – using filters for when the text is called from the db, then going through the text looking for links and adding them?
I don’t know what filter there are, though, so I can’t tell you which one to call.
February 24, 2007 at 3:40 pm #1472Topic: Cookie Domain Settings?
in forum Troubleshootingmacwise
MemberDoes anybody know how/where the cookie domain for bbpress is stored? I am not talking about the siteurl or home…I’m looking for the value “Website” in the cookie table in Safari’s preferences – > Cookies window, or the value “domain” in Firefox’s Preferences -> Domain field. I’m having conflicts with WordPress’ integration when I have a user create new password etc. in bbpress. I need to assign the cookie website or “domain” to be .myurl.com instead of http://www.myurl.com.
February 24, 2007 at 2:23 pm #54937fel64
MemberIt doesn’t require wordpress, no.
February 24, 2007 at 1:01 pm #54936flatworm
MemberYes. If i would not save my config.php, this thing would not install.
Does this thing have to be connected to wordpress?
Does it have it’s own pictures for graphics or it relies on wordpress?
February 24, 2007 at 9:40 am #54401In reply to: REQ: Theme demo switcher like phpBB
Null
MemberDemo plz?
Also found this one where you can dowload the theme you are watching (http://alexking.org/projects/wordpress/theme_browser.php) but it isn’t for download. (Author doesn’t want that)
-
AuthorSearch Results