Search Results for 'code'
-
AuthorSearch Results
-
November 3, 2010 at 5:02 pm #97142
In reply to: Justin Tadlock's Forum Plugin for WP
qprints
MemberCool news
November 3, 2010 at 3:50 pm #94545In reply to: bbPress 2.0 – Updates
ortixia
Participanti use atathulpa as well, but my site is not live yet. I am just switching it over to the child theme when testing the plug-in.
though topics and posts are showing up as 0 count, the posts are coming up in my forum, i believe, that they are working on this (i saw the code in an earlier post.)
@rich- i am in communication with the sharedaddy people over the plugin, it was mostly ironically funny, because i am finding the sharedaddy to be a bit of curse everywhere.
overall, as i do use atahualpa for my site, i will probably need to move to a different forum platform all together, or use bbpress stand alone. i wonder if the stand alone will continue to be worked on once the plug-in is official.
however, as i have time, i am willing to experiment a bit, because i feel that bbpress is worth the investment.
November 3, 2010 at 9:03 am #94540In reply to: bbPress 2.0 – Updates
OreilleMalade
ParticipantHi,
I’ve just started to test bbpress plug-in on a brand new website :
I installed, activated and created a new forum and a new topic inside this forum.
My problem :
http://windows-mobile.fr/forum >>> 404
http://windows-mobile.fr/topic/test1 >>> 404
(it redirects to http://windows-mobile.fr because of the WP plugin ‘link juice keeper’)
When I check my dashboard I can see :
Forum : test
Topics : 0
Replies : 0
I guess this is the problem. However I don’t understand it because when I look at the topic page it’s correctly linked with its parent forum. Am I just a stupid froggy or what ?

I’m using WP 3.0.1
My theme : Atahualpa Theme by BytesForAll
Any other info needed ?
Thanks for helping !
Best regards to all of you people,
Laurent
November 3, 2010 at 6:28 am #102239In reply to: Justin Tadlock's Forum Plugin for WP
John James Jacoby
KeymasterJust saw Justin’s most recent post on his forums which makes it look like we have some catching up to do!
November 3, 2010 at 6:28 am #97139In reply to: Justin Tadlock's Forum Plugin for WP
John James Jacoby
KeymasterJust saw Justin’s most recent post on his forums which makes it look like we have some catching up to do!
November 3, 2010 at 5:48 am #102238In reply to: Justin Tadlock's Forum Plugin for WP
John James Jacoby
KeymasterI’ve had a check-out for a while, but nothing of his has made it in yet.
Because there are only so many ways to do the same thing, our code is very similar with a few different methods here and there. His code is more mature in a few areas (mapping WordPress meta capabilities, topic/reply counts, additional query caching…) and it’s almost time to cherry pick his code and give props where due.

He started out using taxonomies for forums, but a lack of taxonomy meta thwarted that idea. We talked before either of us made too much progress on how to best do things so we would be loosely compatible with each other. I committed early on to using post types for data storage for everything to allow for easy forward compatibility with things like forum/topic/reply thumbnails, excerpts, revisions, etc… Justin and I both agreed it was the quickest way to go, we put our noses down and wrote some code, and we met a month or two ago in #bbpress on IRC and exchanged more code and ideas.
It was really cool for Justin to volunteer to share his code and approach. He spent countless hours getting things dialed in and that time is going to be greatly appreciated real soon.

It would have been even cooler to have him contribute patches directly to trac, but from what I recall of our talks he had some previous obligations that prevented it. I’m sure if I’m wrong Justin will catch wind and chime in.

Edit: I saw a reply in the above linked topic about him ‘turning over’ code to bbPress, but I don’t really see it like that. His code is always his, and he’s free to continue developing his plugin if he wanted to. No hard feelings.

The bbPress trac is public and the code is visible for everyone to see, versus Justin’s forum code which to my understanding isn’t something he wants openly available for download, or else I imagine he’d probably have it that way. I know from experience that supporting something as large as bbPress on top of other obligations can be a challenge, so I wouldn’t blame him for not wanting to volunteer additional time.
Either way I’m honored to have his respect and be able to have someone attempting to do something similar at the same time. It’s one of the first times in my professional career I’ve had what most people would consider ‘friendly competition’ without ever feeling like we were against each other in any way… not that I’ve ever had unfriendly competition… but you get the idea.
November 3, 2010 at 5:48 am #97138In reply to: Justin Tadlock's Forum Plugin for WP
John James Jacoby
KeymasterI’ve had a check-out for a while, but nothing of his has made it in yet.
Because there are only so many ways to do the same thing, our code is very similar with a few different methods here and there. His code is more mature in a few areas (mapping WordPress meta capabilities, topic/reply counts, additional query caching…) and it’s almost time to cherry pick his code and give props where due.

He started out using taxonomies for forums, but a lack of taxonomy meta thwarted that idea. We talked before either of us made too much progress on how to best do things so we would be loosely compatible with each other. I committed early on to using post types for data storage for everything to allow for easy forward compatibility with things like forum/topic/reply thumbnails, excerpts, revisions, etc… Justin and I both agreed it was the quickest way to go, we put our noses down and wrote some code, and we met a month or two ago in #bbpress on IRC and exchanged more code and ideas.
It was really cool for Justin to volunteer to share his code and approach. He spent countless hours getting things dialed in and that time is going to be greatly appreciated real soon.

It would have been even cooler to have him contribute patches directly to trac, but from what I recall of our talks he had some previous obligations that prevented it. I’m sure if I’m wrong Justin will catch wind and chime in.

Edit: I saw a reply in the above linked topic about him ‘turning over’ code to bbPress, but I don’t really see it like that. His code is always his, and he’s free to continue developing his plugin if he wanted to. No hard feelings.

The bbPress trac is public and the code is visible for everyone to see, versus Justin’s forum code which to my understanding isn’t something he wants openly available for download, or else I imagine he’d probably have it that way. I know from experience that supporting something as large as bbPress on top of other obligations can be a challenge, so I wouldn’t blame him for not wanting to volunteer additional time.
Either way I’m honored to have his respect and be able to have someone attempting to do something similar at the same time. It’s one of the first times in my professional career I’ve had what most people would consider ‘friendly competition’ without ever feeling like we were against each other in any way… not that I’ve ever had unfriendly competition… but you get the idea.
November 3, 2010 at 12:35 am #94535In reply to: bbPress 2.0 – Updates
Mark McWilliams
Memberwildkyo: Is there any date on which you think the plugin will be fully functional? I tried it today and it seems that it still needs much more development.
Still in the early stages yes, I agree, but the barebones of the plugin is actually there (or pretty much there) in my opinion. I have it running locally, and it works a treat, you can post a new topic from the frontend … for some that’d be all they wanted and needed!
I got the impression (somewhere) that JJJ wanted the final release out by the end of the year if I’m not wrong, but please don’t go and quote me on that, I’m very likely wrong!
November 3, 2010 at 12:14 am #102237In reply to: Justin Tadlock's Forum Plugin for WP
Mark McWilliams
MemberWhen Justin announced DevPress.com on his personal blog, the question was raised about the Forum Plugin he’d been working on, to which he replied:
We’re thinking of just contributing all the work back to the bbPress community for their plugin. I’ll post an update as soon as we know the direction we’re going in.
Something like a week later he posted:
The entire code base that we use to run our forums has already been handed over to the bbPress project. I sent JJJ a link to download it a few weeks ago.
As for if JJJ has used any of the code Justin had, I don’t know, chances are both were/would have been pretty similar (but I can’t confirm that!) — Only JJJ and/or Justin could tell us that!

Because of what Justin achieved, I’d love to get him on the ”bbPress (Plugin) Team” and help JJJ get this machine on the road. I myself have it running on a local install, the barebones is GREAT and I can tell you that!
Shame my coding knowledge isn’t as good!Anyway, there’s some info! HAHA
November 3, 2010 at 12:14 am #97137In reply to: Justin Tadlock's Forum Plugin for WP
Mark McWilliams
MemberWhen Justin announced DevPress.com on his personal blog, the question was raised about the Forum Plugin he’d been working on, to which he replied:
We’re thinking of just contributing all the work back to the bbPress community for their plugin. I’ll post an update as soon as we know the direction we’re going in.
Something like a week later he posted:
The entire code base that we use to run our forums has already been handed over to the bbPress project. I sent JJJ a link to download it a few weeks ago.
As for if JJJ has used any of the code Justin had, I don’t know, chances are both were/would have been pretty similar (but I can’t confirm that!) — Only JJJ and/or Justin could tell us that!

Because of what Justin achieved, I’d love to get him on the ”bbPress (Plugin) Team” and help JJJ get this machine on the road. I myself have it running on a local install, the barebones is GREAT and I can tell you that!
Shame my coding knowledge isn’t as good!Anyway, there’s some info! HAHA
November 2, 2010 at 6:44 pm #102182Ashish Kumar (Ashfame)
Participantyou can use instant password plugin to let them choose the password at that time and for auto logging them, you will need some code to get that done.
same goes for chatting stuff
November 2, 2010 at 6:44 pm #97082Ashish Kumar (Ashfame)
Participantyou can use instant password plugin to let them choose the password at that time and for auto logging them, you will need some code to get that done.
same goes for chatting stuff
November 2, 2010 at 6:42 pm #101928Ashish 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 2, 2010 at 6:42 pm #96828Ashish 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 #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 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 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: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: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: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: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: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: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 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 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.
-
AuthorSearch Results