Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 19,726 through 19,750 (of 32,499 total)
  • Author
    Search Results
  • #101477
    master5o1
    Participant

    Hmm… Ok, remove the .htaccess again. I’m working on getting links to be non-pretty so no .htaccess is needed.

    Also, I have http://dump.master5o1.com/mobi/ pointed to your bbpress install:

    Correct them if they’re wrong:

    $host = "www.terralingua.org"; //http://www.terralingua.org/bbpress/
    $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);

    Like this, it doesn’t work either :S

    #96374
    master5o1
    Participant

    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

    #101474
    master5o1
    Participant

    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

    #96372
    master5o1
    Participant

    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);

    #101472
    master5o1
    Participant

    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);

    #96368
    master5o1
    Participant

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

    #101468
    master5o1
    Participant

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

    #97026
    master5o1
    Participant

    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)

    #102126
    master5o1
    Participant

    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)

    #96913
    protofuse
    Member

    lucky you are :)

    using the striking theme from theme forest.

    but I found a big workaround: using my .org for blog + social parts.

    it means, not use bbpress but joomla + jomsocial + kakuna :)

    #102013
    protofuse
    Member

    lucky you are :)

    using the striking theme from theme forest.

    but I found a big workaround: using my .org for blog + social parts.

    it means, not use bbpress but joomla + jomsocial + kakuna :)

    #87888

    In reply to: Reverse Topic Order

    Klub
    Member

    I don’t know about the order of the forums but I can reverse text:

    <bdo dir=”rtl”>This code makes it right to left.</bdo>If this comes out it says This code makes it right to left.

    #35924
    Wokasa
    Member

    Hi,

    I’m new to bbpress and got it up and running without much problem :)

    Now I really like the look of THIS forum and it was partly why I chose to go with bbpress. Was wondering if there is a theme that you can download that is styled just like this one?

    Many thanks

    Wokasa

    #35921
    arpowers
    Member

    Hey guys,

    Just wanted to post here to tell you about the new Platform Forum theme for bbPress.

    It’s part of the new framework we just launched at PageLines; and it’s designed to integrate in with WordPress…

    Here is the url:

    http://www.pagelines.com/demos/platformpro/forum

    Some features:

    1. Support forum integration – We’ve supported and integrated the support forum plugin

    2. bbCode Buttons, bbCode Markup – Markup your posts with buttons and bbCode

    3. bbPress Signatures – Supported

    4. WordPress integrated – Designed to work with WordPress and the Platform Framework..

    Anyway, looking forward to your feedback

    Andrew Powers,

    Founder, http://www.PageLines.com

    #96619

    In reply to: Basic newbie question

    MathiasB
    Member

    In header.php will you find this line:

    <?php if ( !in_array( bb_get_location(), array( 'login-page', 'register-page' ) ) ) login_form(); ?>

    remove the if, then you’ve this:

    <?php login_form(); ?>

    #101719

    In reply to: Basic newbie question

    MathiasB
    Member

    In header.php will you find this line:

    <?php if ( !in_array( bb_get_location(), array( 'login-page', 'register-page' ) ) ) login_form(); ?>

    remove the if, then you’ve this:

    <?php login_form(); ?>

    #96938

    In reply to: Customizing Posts

    zaerl
    Participant

    Look at the code. bbPress generate a lot of class’s

    .thread_author

    .thread_post

    .post

    .post_stuff

    #102038

    In reply to: Customizing Posts

    zaerl
    Participant

    Look at the code. bbPress generate a lot of class’s

    .thread_author

    .thread_post

    .post

    .post_stuff

    #96685
    KentonMr
    Member

    all very nice but I don’t want to hash the password – I want it raw.

    Too late now I have added my own code and field to the table to fix it

    The password is saved in the table in an encrypted form that can be decrypted as and when required.

    #101785
    KentonMr
    Member

    all very nice but I don’t want to hash the password – I want it raw.

    Too late now I have added my own code and field to the table to fix it

    The password is saved in the table in an encrypted form that can be decrypted as and when required.

    #96684
    ITchimes
    Member

    public static bool VerifyHash(string password, string hash)

    {

    // Hash the input.

    string hashOfInput = GetHash(password);

    // Return true if they are the same

    return String.Compare(hashOfInput, hash, StringComparison.OrdinalIgnoreCase) == 0;

    }

    This is example of inserting password in encoded form.

    #101784
    ITchimes
    Member

    public static bool VerifyHash(string password, string hash)

    {

    // Hash the input.

    string hashOfInput = GetHash(password);

    // Return true if they are the same

    return String.Compare(hashOfInput, hash, StringComparison.OrdinalIgnoreCase) == 0;

    }

    This is example of inserting password in encoded form.

    #35898
    su131
    Member

    I use WordPress 3.0.1 and BuddyPress Plugin. Installed the latest version of bb attachment plugin from this site but when activated gives the following error:

    Fatal error: Call to undefined function bb_get_option() in /home/www/bla-bla/wp-content/plugins/bb-attachments/bb-attachments.php on line 74

    The line itself is as follows:

    $bb_attachments=bb_get_option(‘url’).trim(str_replace(array(trim(BBPATH,”/\”),”\”),array(“”,”/”),dirname(__FILE__)),’ /\’).’/icons/’;

    Could you, guys, help me with resolving it please :)

    Thank you thank you :)

    #96865

    there’s no form in that page!.. tried login/logout, defferent browsers, google cach..

    here’s a screen capture of what i see:

    http://img688.imageshack.us/img688/5571/bbpressaddpluginbug.gif

    If I go to WordPress, I find the form (https://wordpress.org/extend/plugins/add/) but not in BBpress :(

    #101965

    there’s no form in that page!.. tried login/logout, defferent browsers, google cach..

    here’s a screen capture of what i see:

    http://img688.imageshack.us/img688/5571/bbpressaddpluginbug.gif

    If I go to WordPress, I find the form (https://wordpress.org/extend/plugins/add/) but not in BBpress :(

Viewing 25 results - 19,726 through 19,750 (of 32,499 total)
Skip to toolbar