AphelionZ (@aphelionz)

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 84 total)
  • @aphelionz

    Participant

    Figured it out – just had to add a P to the RewriteRule:

    RewriteRule ^forums/$ index.php?view=forums [P,L,QSA]

    @aphelionz

    Participant

    Its been a few weeks, figured I’d bump this. Can anybody shed some light?

    @aphelionz

    Participant

    Sweet, John James Jacoby posted this patch that should fix the issue!

    https://trac.buddypress.org/attachment/ticket/1057/dance-around-the-deep.patch

    @aphelionz

    Participant

    So 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 :)

    @aphelionz

    Participant

    So, upon closer inspection its a buddypress + backpress compatibilty issue – they both use $bpdb as their database abstraction class… hmmm…

    @aphelionz

    Participant

    Ok, 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

    @aphelionz

    Participant

    Whoops! Sorry. Fixed.

    @aphelionz

    Participant

    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.

    http://blog.markroberthenderson.com/getting-rid-of-forums-and-topic-from-bbpress-permalinks-updated-plugin/

    @aphelionz

    Participant

    I’d like to see this functionality too!

    In reply to: Outlet

    @aphelionz

    Participant

    Bumping this to say I did some CSS overhauls on it. What do you think? Any nits that you care to point out?

    @aphelionz

    Participant

    it’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-Views

    @aphelionz

    Participant

    Thanks for this – I just put it on my site and it works really well. Good job!

    In reply to: Outlet

    @aphelionz

    Participant

    Thats 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.

    @aphelionz

    Participant

    fel64, thanks :)

    I will try the post plugin

    In reply to: Outlet

    @aphelionz

    Participant

    It’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 :(

    @aphelionz

    Participant

    Thanks. 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 :)

    @aphelionz

    Participant

    Null,

    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: Outlet

    @aphelionz

    Participant

    I just added the TinyMCE editor to my site. Does anybody know a solution to the wierd indentation stuff it does with the <blockquote> tags?

    @aphelionz

    Participant

    Any ideas on this from anyone?

    In reply to: Outlet

    @aphelionz

    Participant

    I added a new column to the HTML table and used the <?php topic_author(); ?> tag

    In reply to: Outlet

    @aphelionz

    Participant

    Thanks 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 Weirdness

    @aphelionz

    Participant

    Sorry, citizenkeith… we still havent solved the problem :(

    In reply to: Quote Plugin Weirdness

    @aphelionz

    Participant

    I 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 user

    @aphelionz

    Participant

    I 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 Weirdness

    @aphelionz

    Participant

    Regex’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');
    }
    }

Viewing 25 replies - 1 through 25 (of 84 total)