Skip to:
Content
Pages
Categories
Search
Top
Bottom

Plugin: bbPress Mobile Edition

  • I had to borrow a function from the great Alex King and his mobile edition for WP, but I have created a plugin that will allow mobile phones and other common mobile devices to access a page designed for them.

    Download: BB-Mobile

    All the directions are in the readme.txt file in the download file, so it should be quite self explanatory. It has 2 files and you need to edit your header.php file in your templates, but has no core changes.

    NOTE: I don’t think the mobile CSS will validate and I need people to test this out to find any bugs and corrections, but it seems to work well enough for me.

    If you need a demo, you can view my forum with a mobile:

    http://forum.trentadams.ca

    Trent

Viewing 5 replies - 1 through 5 (of 5 total)

  • ardentfrost
    Member

    @ardentfrost

    awesome dude, glad you figured all that stuff out!

    It would seem that this is going to need some testing!

    Could everyone try this out if you can and report back? It would be good to test my blog as well (so we can see if one works and one doesn’t).

    Forum – http://forum.trentadams.ca

    Blog – http://blog.trentadams.ca

    I use a Treo 700 Smartphone, so it might have a little better browser than most….

    Trent


    ardentfrost
    Member

    @ardentfrost

    One of the guys on my forums suggested disabling images (somehow) when using mobile bbpress.

    I would suggest using the following to stop the avatar plugin from working in the mobile version until I can figure out a way to make all images smaller or non-existant with this plugin.

    Put this over the code for the avatar plugin in post.php in /my-templates/

    <!-- Diable Avatar for BB-Mobile -->

    <?php if ( mobile_check() ) : ?>

    <!-- <?php post_avatar(); ?> -->

    <?php else : ?>

    <small><?php post_avatar(); ?></small>

    <?php endif; ?>

    <!-- Diable Avatar for BB-Mobile -->

    I have now tested this out and know that it works on my site.

    In fact, any code that you do not want shown or changed in the mobile version of your site can be elminated or changed with the following structure!

    <!-- Code for BB-Mobile -->

    <?php if ( mobile_check() ) : ?>

    CODE YOU WANT SHOWN ON MOBILE

    <?php else : ?>

    CODE YOU WANT SHOWN ON MAIN SITE

    <?php endif; ?>

    <!-- Code for BB-Mobile -->

    Trent


    Nola1974
    Participant

    @nolageek

    I’m using this plugin at http://geekdc.com/forum and I’m having problems with loginb in while on PDA/mobile phone. Could this be on the fault of the devices?

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Skip to toolbar