howtogeek (@howtogeek)

Forum Replies Created

Viewing 25 replies - 26 through 50 (of 127 total)
  • @howtogeek

    Member

    What’s the link to your forum?

    @howtogeek

    Member

    Very nice… that was on my todo list to figure out.

    You rule. As usual.

    @howtogeek

    Member

    You have to make sure that it’s listed in the my-views.php plugin file in this line:

    $my_views['prefered_order']=array(      // force views to list in the order that you desire
    "latest-discussions","no-replies","untagged","my-topics","my-posts","most-views","most-posts","least-views","least-p
    osts",

    Usually the link is something like /forum/view/latest-discussions, for instance mine is here:

    http://www.howtogeek.com/forum/view/latest-discussions

    If you wanted to link directly to the second page, it would be something like this:

    http://www.howtogeek.com/forum/view/latest-discussions/page/2

    @howtogeek

    Member

    @itissue

    I’d recommend installing the MyViews plugin by _ck_, which has a “latest discussions” view that has pages… it doesn’t actually give you paging on the front page, but you could make a link called “More…” or something at the bottom of the latest discussions box that links to the latest discussions view.

    @howtogeek

    Member

    I can personally attest to the helpfulness of _ck_

    Between the great plugins and the good advice, he’s helped me grow a successful forum. (or she, whatever)

    In reply to: Themes in FireFox

    @howtogeek

    Member

    Seems like it’s working fine to me.

    By any chance do you have adblock installed and running in Firefox? I’ve seen problems before where adblock with a too-broad rule ends up screwing up the theme.

    @howtogeek

    Member

    I’ve always wondered if that is the case… seems like they would be silly not to use that information to further their indexing.

    @howtogeek

    Member

    It’s absolutely based on the traffic of your forum… my forum seems to have new content indexed within about 12 hours, but sometimes it might be up to a day.

    @howtogeek

    Member

    I see you have multiviews turned on… do you have override allowed in the apache configuration?

    If apache isn’t configured to allow overrides in .htaccess files, then the .htaccess files won’t work.

    @howtogeek

    Member

    @charlie

    I’m not sure about forum software, but I know about file uploads based on other work I’ve done.

    Typically the idea is to always rename the files when they are uploaded and before you save them anywhere, only allow certain file types, limit the size, and make sure permissions are set correctly. Usually you should trigger some type of anti-virus software to scan the directory and make sure nobody is posting viruses.

    By ignoring the the filenames passed in, you prevent anybody from being able to pass in filenames containing “../” or something like that to write to other directories. You can do a regex and/or mime type check to see what type of file it is so you can name the extension correctly.

    Only allowing certain file types is probably a good idea, and making sure to scan files with antivirus is also extremely necessary.

    What I’ve been considering is writing an attachments plugin that only allows images to be uploaded by regular users, but moderators can attach zipfiles as well. The idea there is that moderators can be trusted, and there’s fairly little risk in uploading images (we do it for avatars today)

    @howtogeek

    Member

    You can find this function in bb-includes/functions.php

    function bb_add_topic_tags( $topic_id, $tags ) {
    global $bbdb;

    $tags = trim( $tags );
    $words = explode(',', $tags);

    if ( !is_array( $words ) )
    return false;

    $tag_ids = array();
    foreach ( $words as $tag )
    if ( $_tag = bb_add_topic_tag( $topic_id, $tag ) )
    $tag_ids[] = $_tag;
    return $tag_ids;
    }

    The explode() function is where the logic is happening… you’ll have to test to see if it screws up anything else, cause I’ve not tried it.

    @howtogeek

    Member

    That really should work… you might try adding a RewriteBase to it. Do you have a regular .htaccess for bbpress already?

    @howtogeek

    Member

    The webmaster panel shows a 404 but your browser doesn’t? That really doesn’t make a heck of a lot of sense.

    Is it possible that your forum has been down at any point? That would have caused the error.

    curl -I http://argentinastravel.com/forums/

    HTTP/1.1 200 OK

    Date: Tue, 05 Feb 2008 20:46:10 GMT

    Looks good to me.

    @howtogeek

    Member

    Any chance of releasing the friends system as a plugin?

    @howtogeek

    Member

    @fel64

    Typically the cost of doing a query at all is the biggest performance concern, unless the query returns many thousands of records, then the size becomes a concern. It’s really all about profiling your code to see where the performance problems lie.

    The problem here is that ajax doesn’t load large amounts of data very quickly… it’s best for small requests, not loading a giant page. There are many sites that use this technique, however, including sites like Digg.

    Pre-fetching everything and hiding them has other concerns, because it would make every page load huge, and potentially without reason.

    Finally, there would be concerns for google indexing if you are hiding half the posts, or also if the user doesn’t have javascript enabled.

    @howtogeek

    Member

    Here’s a function that changes the last poster to a link to the last post:

    function geek_addlatest_link()

    {

    global $topic;

    echo ‘ topic_id) . ‘”>’.get_topic_last_poster($topic->topic_id).’‘;

    }

    Just needs to be added into a theme like this:

    <td class=”num”><?php topic_posts(); ?></td>

    <td class=”num”><?php geek_addlatest_link(); ?></td>

    @howtogeek

    Member

    This is a great idea.

    I’m not sure if anybody made an official plugin out of this one:

    https://bbpress.org/forums/topic/limit-long-words?replies=13#post-10120

    @howtogeek

    Member

    You could also use an .htaccess rule to do the redirect… something like:

    RewriteCond %{HTTP_USER_AGENT} !FeedBurner

    RewriteRule ^/forums/rss/$ http://feeds.feedburner.com/MyFeedBurnerUrl [R,L]

    The first line says to redirect anybody but feedburner, and the second line actually does the redirect. You’d have to adjust the links there as necessary for your specific forum.

    Of course this would only work for the main forum feed… you’d need to duplicate the lines for each RSS feed you wanted to redirect, and adjust the paths.

    @howtogeek

    Member

    I use a sitemap for my main wordpress site only, and my forums are indexed in google… in fact Google is the main source of traffic to them.

    I think it just takes a while for Google to get around to indexing the forum.

    @howtogeek

    Member

    Sweet!

    As usual, you rule.

    @howtogeek

    Member

    I’m surprised nobody has written a plugin for this by now… seems to be a fairly important feature for a forum.

    I can probably hack that plugin, was just hoping somebody else had already hacked one together and was willing to share.

    @howtogeek

    Member

    Combined profiles don’t work, but at least it uses the user database just as it should.

    It also syncs the cookies if you do it right, so single sign on works too.

    In reply to: top 100 bbPress sites

    @howtogeek

    Member

    Sweet, I didn’t realize I was in the top 100 too… I just opened mine a month ago.

    @howtogeek

    Member

    I’d be thrilled if you could email it to me in the meantime… (my email address is right on my homepage contact link)

    @howtogeek

    Member

    Yeah, all other forums do a “diff” patch approach to creating mods, which is the main thing that drove me to use bbPress in the first place… the plugin architecture is so much simpler.

    I really like the idea of making “pluggable” actions the way bbPress does, but I’m not entirely fond of the filters. In most cases I don’t use the filters in my theme, but change the theme to directly output the data.

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