master5o1 (@master5o1)

Forum Replies Created

Viewing 25 replies - 126 through 150 (of 175 total)

  • master5o1
    Participant

    @master5o1

    http://www.terralingua.org/mobile-bbpress/index.php?t=1

    So that’s a topic on my forum. We will now try with .htaccess in there.

    I suggest this for the content of your .htaccess file:

    # BEGIN bbPress Mobile
    Options -MultiViews
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /mobile-bbpress/
    RewriteRule ^new/post/([^/]+)/reply/([^/]+)/?$ /mobile-bbpress/index.php?new=post&id=&reply= [L,QSA]
    RewriteRule ^new/post/([^/]+)/quote/([^/]+)/?$ /mobile-bbpress/index.php?new=post&id=&quote= [L,QSA]
    RewriteRule ^new/([^/]+)/([^/]+)/?$ /mobile-bbpress/index.php?new=&id= [L,QSA]
    RewriteRule ^forum/([^/]+)/?$ /mobile-bbpress/index.php?f= [L,QSA]
    RewriteRule ^forum/?$ /mobile-bbpress/index.php [R=302,L,QSA]
    RewriteRule ^topic/([^/]+)/page/([0-9]+)/?$ /mobile-bbpress/index.php?t=&page= [L,QSA]
    RewriteRule ^topic/([^/]+)/?$ /mobile-bbpress/index.php?t= [L,QSA]
    RewriteRule ^topic/?$ /mobile-bbpress/index.php [R=302,L,QSA]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^.*$ /mobile-bbpress/index.php [L]
    </IfModule>
    # END bbPress Mobile


    master5o1
    Participant

    @master5o1

    XML-RPC Fault #6: No data received from server.

    Can you please point your bbPress Mobile to my test forum:

    $host = "dump.master5o1.com";
    $directory = "/bbpr"; // if you bbPress is in a folder such as /forum

    // Make an object to represent our server.
    $server = new xmlrpc_client($directory.'/xmlrpc.patched.php?client='.urlencode($brand).'&client_uri='.urlencode($uri), $host, 80);


    master5o1
    Participant

    @master5o1

    XML-RPC Fault #6: No data received from server.

    Can you please point your bbPress Mobile to my test forum:

    $host = "dump.master5o1.com";
    $directory = "/bbpr"; // if you bbPress is in a folder such as /forum

    // Make an object to represent our server.
    $server = new xmlrpc_client($directory.'/xmlrpc.patched.php?client='.urlencode($brand).'&client_uri='.urlencode($uri), $host, 80);


    master5o1
    Participant

    @master5o1

    How about this: Delete your .htaccess file in the /mobile-bbpress/ directory (or rename it to a.htaccess) and then we’ll see what happens.

    The links on the bbPress Mobile won’t work right now, but it could at least show the page.


    master5o1
    Participant

    @master5o1

    How about this: Delete your .htaccess file in the /mobile-bbpress/ directory (or rename it to a.htaccess) and then we’ll see what happens.

    The links on the bbPress Mobile won’t work right now, but it could at least show the page.


    master5o1
    Participant

    @master5o1

    .htaccess file can be opened in any simply text editor as a regular text file. E.g.: Note pad, gedit, etc.

    Mine:

    $uri = "http://dump.master5o1.com/mobi";
    $brand = "bbPress Mobile";
    $host = "dump.master5o1.com";
    $directory = "/bbpr"; // if you bbPress is in a folder such as /forum

    // Make an object to represent our server.
    $server = new xmlrpc_client($directory.'/xmlrpc.patched.php?client='.urlencode($brand).'&client_uri='.urlencode($uri), $host, 80);

    See how I’m using the /xmlrpc.patched.php instead of modifying xmlrpc.php?

    Possibility for you:

    $uri = "http://www.terralingua.org/mobile-bbpress";
    $brand = "bbPress Mobile";
    $host = "terralingua.org";
    $directory = "/bbpress"; // if you bbPress is in a folder such as /forum

    // Make an object to represent our server.
    $server = new xmlrpc_client($directory.'/xmlrpc.php?client='.urlencode($brand).'&client_uri='.urlencode($uri), $host, 80);

    Edit your /mobile-bbpress/.htaccess so that it could look like this (maybe)

    # BEGIN bbPress Mobile
    Options -MultiViews
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /mobile-bbpress/
    RewriteRule ^new/post/([^/]+)/reply/([^/]+)/?$ /mobile-bbpress/index.php?new=post&id=$1&reply=$2 [L,QSA]
    RewriteRule ^new/post/([^/]+)/quote/([^/]+)/?$ /mobile-bbpress/index.php?new=post&id=$1&quote=$2 [L,QSA]
    RewriteRule ^new/([^/]+)/([^/]+)/?$ /mobile-bbpress/index.php?new=$1&id=$2 [L,QSA]
    RewriteRule ^forum/([^/]+)/?$ /mobile-bbpress/index.php?f=$1 [L,QSA]
    RewriteRule ^forum/?$ /mobile-bbpress/index.php [R=302,L,QSA]
    RewriteRule ^topic/([^/]+)/page/([0-9]+)/?$ /mobile-bbpress/index.php?t=$1&page=$2 [L,QSA]
    RewriteRule ^topic/([^/]+)/?$ /mobile-bbpress/index.php?t=$1 [L,QSA]
    RewriteRule ^topic/?$ / [R=302,L,QSA]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^.*$ /mobile-bbpress/index.php [L]
    </IfModule>

    # END bbPress Mobile

    The change was the RewriteBase being / to /mobile-bbpress/, etc.


    master5o1
    Participant

    @master5o1

    .htaccess file can be opened in any simply text editor as a regular text file. E.g.: Note pad, gedit, etc.

    Mine:

    $uri = "http://dump.master5o1.com/mobi";
    $brand = "bbPress Mobile";
    $host = "dump.master5o1.com";
    $directory = "/bbpr"; // if you bbPress is in a folder such as /forum

    // Make an object to represent our server.
    $server = new xmlrpc_client($directory.'/xmlrpc.patched.php?client='.urlencode($brand).'&client_uri='.urlencode($uri), $host, 80);

    See how I’m using the /xmlrpc.patched.php instead of modifying xmlrpc.php?

    Possibility for you:

    $uri = "http://www.terralingua.org/mobile-bbpress";
    $brand = "bbPress Mobile";
    $host = "terralingua.org";
    $directory = "/bbpress"; // if you bbPress is in a folder such as /forum

    // Make an object to represent our server.
    $server = new xmlrpc_client($directory.'/xmlrpc.php?client='.urlencode($brand).'&client_uri='.urlencode($uri), $host, 80);

    Edit your /mobile-bbpress/.htaccess so that it could look like this (maybe)

    # BEGIN bbPress Mobile
    Options -MultiViews
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /mobile-bbpress/
    RewriteRule ^new/post/([^/]+)/reply/([^/]+)/?$ /mobile-bbpress/index.php?new=post&id=$1&reply=$2 [L,QSA]
    RewriteRule ^new/post/([^/]+)/quote/([^/]+)/?$ /mobile-bbpress/index.php?new=post&id=$1&quote=$2 [L,QSA]
    RewriteRule ^new/([^/]+)/([^/]+)/?$ /mobile-bbpress/index.php?new=$1&id=$2 [L,QSA]
    RewriteRule ^forum/([^/]+)/?$ /mobile-bbpress/index.php?f=$1 [L,QSA]
    RewriteRule ^forum/?$ /mobile-bbpress/index.php [R=302,L,QSA]
    RewriteRule ^topic/([^/]+)/page/([0-9]+)/?$ /mobile-bbpress/index.php?t=$1&page=$2 [L,QSA]
    RewriteRule ^topic/([^/]+)/?$ /mobile-bbpress/index.php?t=$1 [L,QSA]
    RewriteRule ^topic/?$ / [R=302,L,QSA]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^.*$ /mobile-bbpress/index.php [L]
    </IfModule>

    # END bbPress Mobile

    The change was the RewriteBase being / to /mobile-bbpress/, etc.


    master5o1
    Participant

    @master5o1

    Oh yeah, .htaccess is something to edit in that mobile-bbpress folder. And tick the option in bbPress’ settings to allow the xmlrpc api* to be used.

    * /bb-admin/options-writing.php


    master5o1
    Participant

    @master5o1

    Oh yeah, .htaccess is something to edit in that mobile-bbpress folder. And tick the option in bbPress’ settings to allow the xmlrpc api* to be used.

    * /bb-admin/options-writing.php


    master5o1
    Participant

    @master5o1

    I have set up my own forum for testing and support purposes:

    http://dump.master5o1.com/bbpr/

    I have also pointed my bbPress Mobile instance to that forum:

    http://dump.master5o1.com/mobi/


    master5o1
    Participant

    @master5o1

    I have set up my own forum for testing and support purposes:

    http://dump.master5o1.com/bbpr/

    I have also pointed my bbPress Mobile instance to that forum:

    http://dump.master5o1.com/mobi/


    master5o1
    Participant

    @master5o1

    A mysql query could be helpful (phpmyadmin)

    SELECT DISTINCT meta_key, meta_value FROM bbpress_usermeta ORDER BY meta_key

    (replace bbpress_usermeta with what ever the usermeta table is in your db)


    master5o1
    Participant

    @master5o1

    A mysql query could be helpful (phpmyadmin)

    SELECT DISTINCT meta_key, meta_value FROM bbpress_usermeta ORDER BY meta_key

    (replace bbpress_usermeta with what ever the usermeta table is in your db)


    master5o1
    Participant

    @master5o1

    Plugin: example.com/bbpress/my-plugins/xml-client-info/

    Patch: example.com/bbpress/xmlrpc.php (patched) *

    Mobile: example.com/mobile-bbpress/index.php **

    * If you change the ‘xmlrpc.php’ filename in mobile-bbpress/index.php to ‘xmlrpc.patched.php’ then you can just copy xmlrpc.patched.php to your root bbpress directory instead of modifying the stock bbpress one.

    ** Mobile: m.example.com/index.php (subdomain)


    master5o1
    Participant

    @master5o1

    Plugin: example.com/bbpress/my-plugins/xml-client-info/

    Patch: example.com/bbpress/xmlrpc.php (patched) *

    Mobile: example.com/mobile-bbpress/index.php **

    * If you change the ‘xmlrpc.php’ filename in mobile-bbpress/index.php to ‘xmlrpc.patched.php’ then you can just copy xmlrpc.patched.php to your root bbpress directory instead of modifying the stock bbpress one.

    ** Mobile: m.example.com/index.php (subdomain)


    master5o1
    Participant

    @master5o1

    I’ve uploaded a new bbPress-Mobile.zip to my website that has some other things.

    What you’d put on http://m.example.com/ would be in the ./mobile-bbpress./ folder.

    The plugin for bbPress is the ./xmlrpc-client-info/ folder, which you’d put on the bbPress side.

    And then to actually make the plugin receive anything, you’d patch the xmlrpc.php file, details are in ./xmlrpc-patch/ — basically replace your existing xmlrpc.php with xmlrpc.patched.php.


    master5o1
    Participant

    @master5o1

    I’ve uploaded a new bbPress-Mobile.zip to my website that has some other things.

    What you’d put on http://m.example.com/ would be in the ./mobile-bbpress./ folder.

    The plugin for bbPress is the ./xmlrpc-client-info/ folder, which you’d put on the bbPress side.

    And then to actually make the plugin receive anything, you’d patch the xmlrpc.php file, details are in ./xmlrpc-patch/ — basically replace your existing xmlrpc.php with xmlrpc.patched.php.


    master5o1
    Participant

    @master5o1

    It’s a stand alone system using the XML-RPC api for bbPress.

    For example, http://m.tartarus.co.nz points to the bbPress installation on http://tartarus.co.nz/community,

    and (currently) http://dump.master5o1.com/mobi/ also points to the same bbPress install.


    master5o1
    Participant

    @master5o1

    It’s a stand alone system using the XML-RPC api for bbPress.

    For example, http://m.tartarus.co.nz points to the bbPress installation on http://tartarus.co.nz/community,

    and (currently) http://dump.master5o1.com/mobi/ also points to the same bbPress install.


    master5o1
    Participant

    @master5o1

    Just registered a project on LaunchPad. Browser the source for index.php and tell me what you think :D

    https://launchpad.net/bbpress-mobile


    master5o1
    Participant

    @master5o1

    Just registered a project on LaunchPad. Browser the source for index.php and tell me what you think :D

    https://launchpad.net/bbpress-mobile


    master5o1
    Participant

    @master5o1

    moar feedback desired :)


    master5o1
    Participant

    @master5o1

    moar feedback desired :)


    master5o1
    Participant

    @master5o1

    That’s your WordPress install taking over. Does the folder /forums/ exist, and does /forums/index.php exist?

    Check your .htaccess files for both WordPress and bbPress.


    master5o1
    Participant

    @master5o1

    That’s your WordPress install taking over. Does the folder /forums/ exist, and does /forums/index.php exist?

    Check your .htaccess files for both WordPress and bbPress.

Viewing 25 replies - 126 through 150 (of 175 total)