Search Results for 'code'
-
AuthorSearch Results
-
November 2, 2010 at 6:42 pm #101928
Ashish Kumar (Ashfame)
Participantyeah i fixed that by making call wp_title and bb_title conditionally.
hint:
<title>
<?php
if ( function_exists('bb_title') )
bb_title();
else
wp_title();
?>
</title>Also you will need to send headers in deep integration as some users have reported to get 404 errors on all forum pages
November 1, 2010 at 9:25 pm #96867In reply to: how to submit a plugin to BBpress?
Abdessamad Idrissi
Memberthank pelle for the replay and the hint… hope an admin sees this thread and put an end to that devilish bug
November 1, 2010 at 9:25 pm #101967In reply to: how to submit a plugin to BBpress?
Abdessamad Idrissi
Memberthank pelle for the replay and the hint… hope an admin sees this thread and put an end to that devilish bug
November 1, 2010 at 6:54 am #96386In reply to: Mobile bbPress (using XML-RPC api)
master5o1
ParticipantEr… if it’s already in php code then no.
It should already be in php space because the function declaration is in php space:
function page_title()
November 1, 2010 at 6:54 am #101486In reply to: Mobile bbPress (using XML-RPC api)
master5o1
ParticipantEr… if it’s already in php code then no.
It should already be in php space because the function declaration is in php space:
function page_title()
November 1, 2010 at 6:28 am #96377In reply to: Mobile bbPress (using XML-RPC api)
master5o1
ParticipantHmm… 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
November 1, 2010 at 6:28 am #101477In reply to: Mobile bbPress (using XML-RPC api)
master5o1
ParticipantHmm… 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
November 1, 2010 at 6:20 am #96374In reply to: Mobile bbPress (using XML-RPC api)
master5o1
Participanthttp://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="e= [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 MobileNovember 1, 2010 at 6:20 am #101474In reply to: Mobile bbPress (using XML-RPC api)
master5o1
Participanthttp://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="e= [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 MobileNovember 1, 2010 at 6:09 am #96372In reply to: Mobile bbPress (using XML-RPC api)
master5o1
ParticipantXML-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);November 1, 2010 at 6:09 am #101472In reply to: Mobile bbPress (using XML-RPC api)
master5o1
ParticipantXML-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);November 1, 2010 at 4:46 am #96368In reply to: Mobile bbPress (using XML-RPC api)
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"e=$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 MobileThe change was the RewriteBase being / to /mobile-bbpress/, etc.
November 1, 2010 at 4:46 am #101468In reply to: Mobile bbPress (using XML-RPC api)
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"e=$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 MobileThe change was the RewriteBase being / to /mobile-bbpress/, etc.
November 1, 2010 at 1:40 am #97026In reply to: list of meta_key values?
master5o1
ParticipantA 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)
November 1, 2010 at 1:40 am #102126In reply to: list of meta_key values?
master5o1
ParticipantA 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)
October 30, 2010 at 9:24 pm #96913In reply to: annoying strange themes iteractions…
protofuse
Memberlucky 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
October 30, 2010 at 9:24 pm #102013In reply to: annoying strange themes iteractions…
protofuse
Memberlucky 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
October 28, 2010 at 10:03 pm #87888In reply to: Reverse Topic Order
Klub
MemberI 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.
October 28, 2010 at 9:57 pm #35924Topic: bbpress THIS forum theme
in forum ThemesWokasa
MemberHi,
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
October 28, 2010 at 7:52 pm #35921Topic: New bbPress + WordPress theme for you.
in forum Themesarpowers
MemberHey 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
October 28, 2010 at 4:52 pm #96619In reply to: Basic newbie question
MathiasB
MemberIn 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(); ?>
October 28, 2010 at 4:52 pm #101719In reply to: Basic newbie question
MathiasB
MemberIn 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(); ?>
October 28, 2010 at 7:21 am #96938In reply to: Customizing Posts
zaerl
ParticipantLook at the code. bbPress generate a lot of class’s
.thread_author
.thread_post
.post
.post_stuff
October 28, 2010 at 7:21 am #102038In reply to: Customizing Posts
zaerl
ParticipantLook at the code. bbPress generate a lot of class’s
.thread_author
.thread_post
.post
.post_stuff
October 27, 2010 at 3:48 pm #96685In reply to: unhashing / decrypting passwords
KentonMr
Memberall 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.
-
AuthorSearch Results