michael3185 (@michael3185)

Forum Replies Created

Viewing 25 replies - 26 through 50 (of 129 total)

  • michael3185
    Member

    @michael3185

    I can’t remember which part, but you need to modify the style.css file. I think it was the ‘threadpost’ & ‘post’ sections; change the padding/margin.


    michael3185
    Member

    @michael3185

    I use this to stop people accessing the profile page unless logged-in;

    <?php if ( !bb_is_user_logged_in() ) {
    show_error_page('log-in to access profiles');
    exit;
    } ?>

    Something along those line should work with a link to somewhere else, assuming they’re in a bbPress page to begin with.


    michael3185
    Member

    @michael3185

    I just moved it all back out of the sub-folder, and everything’s fine now. For some reasons a new install wouldn’t work in the sub-folder either, but no matter. Thanks guys.


    michael3185
    Member

    @michael3185

    Quick answer as I’m here at the moment Andy. Yes, you can have both running at the same time, and integrated to use the same user log-in details as far as I can tell (I just use bbPress stand-alone, having no use for WordPress at the moment).

    Have a read through the forum sections; there are tons of questions and answers under ‘integration’.


    michael3185
    Member

    @michael3185

    If it doesn’t sound like a silly question… are you pointing the browser URL at the exact place you put the bbPress files?


    michael3185
    Member

    @michael3185

    Ah, that I haven’t. I copied it into the folder. Mind you, it doesn’t seem to have anything defined in it which points to the old path. Here’s the content;

    Options -MultiViews

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^pm/?(.*)$ /my-plugins/bbpm/index.php?$1 [L]
    RewriteRule ^page/([0-9]+)/?$ /index.php?page=$1 [L,QSA]
    RewriteRule ^forum/([^/]+)/page/([0-9]+)/?$ /forum.php?id=$1&page=$2 [L,QSA]
    RewriteRule ^forum/([^/]+)/?$ /forum.php?id=$1 [L,QSA]
    RewriteRule ^forum/?$ / [R=302,L,QSA]
    RewriteRule ^topic/([^/]+)/page/([0-9]+)/?$ /topic.php?id=$1&page=$2 [L,QSA]
    RewriteRule ^topic/([^/]+)/?$ /topic.php?id=$1 [L,QSA]
    RewriteRule ^topic/?$ / [R=302,L,QSA]
    RewriteRule ^tags/([^/]+)/page/([0-9]+)/?$ /tags.php?tag=$1&page=$2 [L,QSA]
    RewriteRule ^tags/([^/]+)/?$ /tags.php?tag=$1 [L,QSA]
    RewriteRule ^tags/?$ /tags.php [L,QSA]
    RewriteRule ^profile/([^/]+)/page/([0-9]+)/?$ /profile.php?id=$1&page=$2 [L,QSA]
    RewriteRule ^profile/([^/]+)/([^/]+)/?$ /profile.php?id=$1&tab=$2 [L,QSA]
    RewriteRule ^profile/([^/]+)/([^/]+)/page/([0-9]+)/?$ /profile.php?id=$1&tab=$2&page=$3 [L,QSA]
    RewriteRule ^profile/([^/]+)/?$ /profile.php?id=$1 [L,QSA]
    RewriteRule ^profile/?$ /profile.php [L,QSA]
    RewriteRule ^view/([^/]+)/page/([0-9]+)/?$ /view.php?view=$1&page=$2 [L,QSA]
    RewriteRule ^view/([^/]+)/?$ /view.php?view=$1 [L,QSA]
    RewriteRule ^rss/?$ /rss.php [L,QSA]
    RewriteRule ^rss/topics/?$ /rss.php?topics=1 [L,QSA]
    RewriteRule ^rss/forum/([^/]+)/?$ /rss.php?forum=$1 [L,QSA]
    RewriteRule ^rss/forum/([^/]+)/topics/?$ /rss.php?forum=$1&topics=1 [L,QSA]
    RewriteRule ^rss/topic/([^/]+)/?$ /rss.php?topic=$1 [L,QSA]
    RewriteRule ^rss/tags/([^/]+)/?$ /rss.php?tag=$1 [L,QSA]
    RewriteRule ^rss/tags/([^/]+)/topics/?$ /rss.php?tag=$1&topics=1 [L,QSA]
    RewriteRule ^rss/profile/([^/]+)/?$ /rss.php?profile=$1 [L,QSA]
    RewriteRule ^rss/view/([^/]+)/?$ /rss.php?view=$1 [L,QSA]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^.*$ /index.php [L]
    </IfModule>

    I have no idea what any of it does!


    michael3185
    Member

    @michael3185

    That’s what I altered manually johnhiler, through my cPanel. I’ve just checked it, and it correctly points to the forum folder, so the index.php comes up fine. As I say, permalinks of None are fine, but Names aren’t, even though they’re in the tables.

    I had this a few weeks ago with another forum, and setting the URI in the DB fixed it. I may just drop the DB and run the installer to sort it out, as there’s nothing much there yet anyway.

    In reply to: Importing from vanilla

    michael3185
    Member

    @michael3185

    Shameless plug for a theme… I tried Vanilla for a while, along with everything else out there. I went for bbPress because everything worked or was easily modifiable (and I’m no PHP expert!)

    I created a Vanilla-ish theme for bbPress as I loved its simplicity. You can get it it http://getfiles.letsdoo.org and see it in action (with restrictions) at http://mbforum.letsdoo.org.


    michael3185
    Member

    @michael3185

    Cheers _ck_. I had a look at an online rewrite guide but my brain tried to crawl out of my ears.


    michael3185
    Member

    @michael3185

    @Detective; for a bit of a noob here, could you briefly explain what those .htaccess rewrites do please? (Wondering if I should add something like them).


    michael3185
    Member

    @michael3185

    Yay! Thanks _ck_. Superb plugin. Just out of interest, if you read this again; what does bb_send_headers() do..?


    michael3185
    Member

    @michael3185

    Hi Johnhiler. I tried disabling the GZip plugin, but I can see the slowdown in page loading. It’s not terrible, but it’s almost instant using GZip, so I’d rather keep it running. I guess my hoster doesn’t compress pages by default. I’ll ask them though.

    I put $bb->load_options = true; into my bb-config.php, but I can’t see any difference. Probably too small for a eyes and a brain to spot.


    michael3185
    Member

    @michael3185

    That works great. Thanks Ipstenu.

    My only problem now is that bbPM filters (changes) the post_author_title_link and post_author_title, so I’m currently battling to try and make that behave. If I change to the line you provide above, it misses the link/title and doesn’t add a ‘PM this user’ link, but if I leave it in, it adds it back as well as ‘PM this user’. Grrr…


    michael3185
    Member

    @michael3185

    Have to add my tuppence too; superb!


    michael3185
    Member

    @michael3185

    Thanks for the link Ipstenu. I guess I wasn’t thinking along the right lines, as it needs to be done in the browser, not on the bbPress PHP side. I’m not sure how to implement that JavaScript and HTML code, but I’ll give it a go sometime soon. It’d be nice if the CSS TextArea had a setting for that, wouldn’t it?

    In reply to: Menu Links

    michael3185
    Member

    @michael3185

    @mikemcd22, sorry, only noticed your question today. I just do a Google search, eg., “php while loop” and tons of useful sites pop up. I don’t use one in particular. I haven’t gone very deep with it though, just enough to modify my theme templates to do things like the original question, add menus. Oh and the loop (which I didn’t need in the end) was to set a count for the number of recent posts which are displayed on the front page.

    I doubt I’d use any other forum software now, as bbPress does everything I want, and is so easy to modify. If I can do it, I’d guess almost anyone can.


    michael3185
    Member

    @michael3185

    Cheers _ck_. I like to help out when I can, but it’s a good idea to pass on something like that and save my own time. Only so much life left!


    michael3185
    Member

    @michael3185

    Hey Ipstenu, that’s a really helpful cost list for those looking for help, and those prepared to help for a payment.

    I tend to do almost anything for free, as I get such a lot of help from others freely. The thing that put me off actually installing for the guy who asked, though, was that I really didn’t want his username and password. If anything went awfully but coincidentally wrong on his web space, guess who’d be up against the wall..?! I hope he managed to do it using the simple instructions I gave him. Plus, on his site he says he’s doing a software engineering degree or some such! Something didn’t feel right about that to me.


    michael3185
    Member

    @michael3185

    Sorry, I guess what I should have said is; Just a look around the forum usually provides all the help you need, or a post with some questions does the trick. I mean, how much cash can it be worth to get some basic help? Not enough to be bothered sending/receiving I’d think. Cookies are a far better way to go!


    michael3185
    Member

    @michael3185

    Cheers Sam, buuut… Don’t you think just putting the H2 titles in the appropriate templates makes more sense? I guess I could put;

    post_form( array( ‘h2’ => ” ) );

    here and there, but it’s adding stuff where I shouldn’t need to.

    Surely putting the H2s in the relevant templates makes more sense, as they can be edited once and forgotten? Having the H2 titles appear by default – and outside of the templates – makes no sense to me at all. Mind you, I didn’t write bbPress, so it’s only a suggestion. :)


    michael3185
    Member

    @michael3185

    Thanks for the link johnhiler. I did pretty much the same thing _ck_ did some time back, but it’s not really a proper fix. It would take only a minute or two at most to make this good.

    Essentially, the titles for creating a New Topic or posting a Reply should be in the templates. That way, a custom theme can change the text and also alter the font/size, etc. Makes perfect sense.

    Come on Sam, delete the line I REMed and chuck the titles into post-form.php and topic.php – you know it makes sense!

    In reply to: Menu Links

    michael3185
    Member

    @michael3185

    Don’t know if it’s of any help, but bbPress is very extensible. I tried most other forum packages, and spent day after day struggling to make things work, sometimes getting help, others not, but never managing to do what I needed to. I finally found bbPress.

    As a PHP noob I struggled with some things at first, but with help from forum members and a couple of easy online PHP tutorials I’ve got a nice theme and forums working as I want. As well as the theme CSS, I’ve edited PHP files to make things work as I wish, changed layouts and menus, etc. Nothing mind-blowingly flash, but then I go for cool and simple, which is what my users need.

    If you’re looking for small, fast, and easy to modify, bbPress is (as Douglas Admas said) the wasp’s nipples.


    michael3185
    Member

    @michael3185

    Works like a dream, and I can add and remove whatever I want now. Many thanks.


    michael3185
    Member

    @michael3185

    @johnbillion: Works like a dream, and I can add and remove whatever I want now. Many thanks.


    michael3185
    Member

    @michael3185

    @johnbillion: Works like a dream, and I can add and remove whatever I want now. Many thanks.

Viewing 25 replies - 26 through 50 (of 129 total)