Forum Replies Created
-
In reply to: How to prevent bb_repermalink from calling a 404
Figured it out – just had to add a P to the RewriteRule:
RewriteRule ^forums/$ index.php?view=forums [P,L,QSA]
In reply to: How to prevent bb_repermalink from calling a 404Its been a few weeks, figured I’d bump this. Can anybody shed some light?
In reply to: Deep Integration with bbPress 1.0.2 and WPMU 2.8.4aSweet, John James Jacoby posted this patch that should fix the issue!
https://trac.buddypress.org/attachment/ticket/1057/dance-around-the-deep.patch
In reply to: Deep Integration with bbPress 1.0.2 and WPMU 2.8.4aSo what I did to patch this was comment out the BPDB function on line 140 of /html-root/wp-content/plugins/buddypress/bp-forums/bp-forums-bbpress.php
Not ideal, I know – but it allowed me to keep working. Here’s the paste. http://pastebin.ca/1574452
I’m open to suggestions
In reply to: Deep Integration with bbPress 1.0.2 and WPMU 2.8.4aSo, upon closer inspection its a buddypress + backpress compatibilty issue – they both use $bpdb as their database abstraction class… hmmm…
In reply to: Deep Integration with bbPress 1.0.2 and WPMU 2.8.4aOk, so I was mistaken – its a 200 response with either wp-load or wp-blog-header and the fatal error from the logs is:
Fatal error: Cannot redeclare class BPDB in /Users/mrh/Sites/irrational.dev/community/bb-includes/backpress/class.bpdb.php on line 39
In reply to: nicer slug url rewrite plugin (done!)Whoops! Sorry. Fixed.
In reply to: nicer slug url rewrite plugin (done!)I updated this plugin with some fixes – new posts, and paging. Also, I used a better way of removing the forum/ and topic/ from the urls that doesn’t involve str_replace.
In reply to: Combined Register + PostI’d like to see this functionality too!
In reply to: OutletBumping this to say I did some CSS overhauls on it. What do you think? Any nits that you care to point out?
In reply to: different domains ( sites ) using same usersit’s not impossible, but may be problematic depending on your hosting. Some hosting companies allow remote connections to the database, others do not, and most are whitelisted depending on the originating ip address. However, if all of your domains are in the same place, it shouldn’t be a *huge* problem.
Just look around for what to replace the ‘localhost’ with in your config.php file (completely arbitrary example: mysql344.dbhost.com) or something like that.
In reply to: Plugin: bb-Topic-ViewsThanks for this – I just put it on my site and it works really well. Good job!
In reply to: OutletThats exactly what I ended up doing, just adding a <br/> after the blockquotes and it seemed to work ok – I think people will get used to it.
fel64, thanks
I will try the post plugin
In reply to: OutletIt’s a hard problem to explain – if you go into a thread and quote somebody, it shows up in the MCE as
<blockquote> quote </blockquote>
In the editor, it kind of locks you into blockquote mode – first, the quote is indented, which isnt so much of a problem as it is just a display discrepancy as the quotes aren’t indented in posts..
however, when you hit return, the next paragraph shows up as a new blockquote and doesnt default back to plain text inside the editor, and you have to hit tinyMCE’s ‘outdent’ button.
More or less a pain, but one that might get people to stop posting
In reply to: simple way to add TinyMCE to BBpressThanks. Yeah I hear where you’re coming from, TinyMCE slows my site down a bit and im having trouble with blockquotes, but you can slim it down and make it tiny, so i’ll stick with it for now… ive already started copying over all my emotions into it
In reply to: simple way to add TinyMCE to BBpressNull,
Poo poo on TinyMCE but dont offer any other solutions, why don’t you. How about some links to the other better ones?
In reply to: OutletI just added the TinyMCE editor to my site. Does anybody know a solution to the wierd indentation stuff it does with the
<blockquote>
tags?Any ideas on this from anyone?
In reply to: OutletI added a new column to the HTML table and used the <?php topic_author(); ?> tag
In reply to: OutletThanks guys,
Yeah Trent that image is 2000 pixels wide. It’s the only way I could get that effect since i had users complaining about the site not looking good on their big widescreen Apple monitors… poor babies!!
In reply to: Quote Plugin WeirdnessSorry, citizenkeith… we still havent solved the problem
In reply to: Quote Plugin WeirdnessI just tried this and it still has the glitch with the nested quotes…
I absolutely love the addition of the » link!
In reply to: Plugin: Summon userI added some pizazz to this plugin – If you have the Simple Online list and Posts Since Last Visit Plugin you can run the query on the bb_online table and populate the summon list with only users that have actually logged in. I trimmed about 80 users out of the select list with this, and it still works:
function summon_get_users() {
global $bbdb;
// maybe cached in future versions.
$users = $bbdb->get_results("SELECT * FROM <code>bb_online</code> INNER JOIN wp_users ON bb_online.user_id = wp_users.ID WHERE 1 ORDER BY <code>wp_users</code>.<code>user_login</code> ASC LIMIT 0 , 30");
return $users;
}In reply to: Quote Plugin WeirdnessRegex’s are a mystery to me, but I did end up doing something pretty cool with it – I added an INNER JOIN to the sql to grab the username of the quoted..
function bb_quote_message() {
global $bbdb, $topic;
$post_id = (int)$_GET['quote'];
if ($post_id) {
$row = $bbdb->get_row("SELECT * FROM $bbdb->posts INNER JOIN wp_users ON bb_posts.poster_id = wp_users.ID WHERE bb_posts.post_id={$post_id} AND bb_posts.topic_id={$topic->topic_id} AND bb_posts.post_status=0");
$row->post_text = preg_replace( '(<p>|</p>)', '', $row->post_text );
if ($row) echo htmlentities('<blockquote>"'.trim($row->post_text).'"<br /><strong>- '.$row->user_login.'</strong></blockquote>', ENT_COMPAT, 'UTF-8');
}
}