Search Results for 'code'
-
AuthorSearch Results
-
April 2, 2008 at 9:06 pm #63801
In reply to: Searching your forum…
chrishajer
ParticipantSeems pretty silly to me too. They could at least put that code in the template and comment it out if they don’t want it to appear, like you see in WordPress themes sometimes.
April 2, 2008 at 6:19 pm #62397icesar
MemberThanks for the reply Chris. Yes, I’m using 2.3.3 right now. The content of the plugin code is exactly as above:
function mbob_flush_rewrites() {
global $wp_rewrite;
$wp_rewrite->flush_rules();
}
add_action('init', 'mbob_flush_rewrites');
function mbob_add_rewrites($wp_rewrite) {
add_rewrite_rule('forums/topic', 'forums/topic.php');
add_rewrite_rule('forums/forum', 'forums/forum.php');
add_rewrite_rule('forums', 'forums/index.php');
$wp_rewrite->rules = array_merge($wp_rewrite->non_wp_rules, $wp_rewrite->rules);
}
add_action('generate_rewrite_rules', 'mbob_add_rewrites');And I’m not getting a specific error really. Simply that when I upload no404s.php with this code to my wp-content/plugins directory, there is no listing in the Plugins tab to even activate it.
April 2, 2008 at 1:36 pm #63810In reply to: Broken integration with wp 2.5?
kernow
MemberI have xammp (installed on a USB key) and upgraded to WP 2.5 and since then the forum no longer works. Will test on localhost first before I go live I think
April 1, 2008 at 9:55 pm #58947In reply to: User-editable Custom Titles
parabolart
Memberin functions.php find
function get_profile_admin_keys() {, and move$bb_table_prefix . 'title' => array(0, __('User Title'))from that function’s array tofunction get_profile_info_keys()April 1, 2008 at 9:19 pm #62395icesar
MemberSo close! I have this same issue with my regular installation of WP, and I only realized today (after 3 months) that this is the reason my forums – http://argentinastravel.com/forums/ – are not getting indexed!
I tried creating a plugin from the code above, but I couldn’t activate it. Can someone please help me with a step by step fix for a regular WP install? Gracias!
April 1, 2008 at 8:18 am #63808In reply to: Broken integration with wp 2.5?
chrishajer
ParticipantWell, it was imminent 19 hours ago

https://bbpress.org/forums/topic/bbpress-084-release-date?replies=39#post-14842
It will be here soon enough. Hang in there.
April 1, 2008 at 8:16 am #63804In reply to: Conditional tag?
chrishajer
ParticipantHow about in your WordPress header.php try to wrap the breadcrumb call with something that happens only on bbPress pages. So, if your forum is in a directory called “forum” or something, maybe you could check the REQUEST_URI for the presence of
forum. Then you wouldn’t show the breadcrumbs if you were on a forum page. Something like that?April 1, 2008 at 6:29 am #63819In reply to: redesigned my forum section…
chrishajer
ParticipantLooks very nice, nice job.
I clicked on a link in one of the forums though, and Firefox wanted to open the file with WordPad rather than open in the browser. This was the link:
<a href="http://www.refueled.net/forum/topic.php?id=106">No Page Templates to Chose From?</a>PHP files normally open just fine for me on the Internet, this seemed sort of weird.
UPDATE: the second time I clicked the link, it opened fine in the browser. I always forget to take a screenshot when this happens since i figure it will just happen again. Oh well. Sometimes, I think Apache or PHP fail to parse the PHP files and they get sent through with the wrong mime type or something. I have had this happen once before where I saw the source of a PHP file, which would be bad, since there are sometimes passwords and connection details in there. Of course, I didn’t capture a screenshot of that either.
Anyway, your forum looks very nice. Nice job.
April 1, 2008 at 5:03 am #63796In reply to: plugin directory
chrishajer
ParticipantRight now, go ahead and create these two directories in the same folder where your config.php is:
my-templates
my-pluginsThen, put your plugins into the my-plugins directory. I think these bare directories should be included in the download package. Maybe there’s a good reason they’re not, but it just seems silly to me.
April 1, 2008 at 5:01 am #63799In reply to: Searching your forum…
chrishajer
ParticipantNo plugin, just add this code wherever you want the search to appear (probably header.php):
<?php search_form( $q ); ?>I agree, this should be better documented. Or maybe it is documented and I just never read the docs.
April 1, 2008 at 3:27 am #63365In reply to: bbPress 0.9 release date
Sam Bauers
ParticipantThere are two people committing code for bbPress and one of them (mdawaffe) was heavily involved with the WordPress 2.5 release.
If there have been two release candidates for WordPress, that means there have been changes to WordPress that we have to match in that time.
It’s just a matter of limited resources at this stage. We also have identified one blocker which needs to be fixed before we can release 0.9
March 31, 2008 at 8:28 pm #3094Topic: plugin directory
in forum Pluginsdarksprite
Memberi see no where to add these plugins?? where is my main bbpress directory???
please help
March 31, 2008 at 1:52 pm #63789In reply to: I can’t access install.php
chrishajer
ParticipantI can access this:
http://cialar.com/foro/bb-images/bbpress.png
Which means the files (at least that file) are there.
I can also access these and get directory listings:
http://cialar.com/foro/bb-admin/
That tells me that the index.php file in each directory is not getting processed by the web server. Looks like some sort of configuration problem with the server.
Can you put a simple file in the foro directory, call it info.php and put this into it:
<?php
phpinfo();
?>Then access that at http://www.cialar.com/foro/info.php. See what that tells you. If that is not processed by the web server, then it’s a problem with the server, not bbPress.
I don’t have a lot of experience on an IIS server, so there may be something simple I’m not familiar with that would cause this.
I am guessing PHP is not enabled here:
http://www.cialar.com/foro/ (IP: 74.208.22.70)
It is however enabled here:
http://www.foro.cialar.com/ (IP: 74.86.125.241)
Those are two completely different machines. The one where phpBB is now is a Linux/Apache machine with PHP 5.2.5. The cialar.com one if IIS.
I am pretty sure this is a configuration thing with your server, and where you have bbPress installed does not support PHP.
March 31, 2008 at 1:18 pm #3091Topic: New WordPress.org forum theme
in forum Themesnisus
MemberI really like the new theme they are using and was wondering if anyone knew if they had released it or where they got it from?
Also on a non-bbpress note, how do you turn avatars on in WP2.5? I can’t find it at all.
March 31, 2008 at 11:05 am #54428In reply to: Add nofollow to links
geld-lenen-1
MemberIt worked fine with me, I’ll just manually delete the entry of the spammers!
March 31, 2008 at 7:53 am #63384In reply to: Integrating bbPress with a custom coded site
benbeltran
MemberI’ve done this but I use the bbpress database. If you can make a relationship between the bbpress database and your user database I’m sure you can work something.
March 31, 2008 at 6:56 am #63359In reply to: bbPress 0.9 release date
felixbruin
MemberI guess, they’ve taken a long vacation
March 30, 2008 at 8:49 pm #63784In reply to: A question about ‘inactive’ members.
chrishajer
ParticipantI *believe* someone becomes inactive only if you mark them inactive. You can change the user status by going to their profile page, then clicking the edit tab, as keymaster.
I’ve never seen it happen automatically. And, on the edit tab of the profile page, there is a description on the bottom of what blocked and inactive mean.
Inactive users can login and look around but not do anything.
Blocked users just see a simple error message when they visit
the site.
Note: Blocking a user does not block any IP addresses.March 30, 2008 at 4:52 pm #56776In reply to: Plugin: Avatar Upload
CoreForce
MemberHi,
I’m very pleased with the Avatar Upload, great work. Also I like the integration into bbpress a lot, it’s really straight forward.
Only one small visual glitch that I noticed is that for avatars even when resized to 100×100 max, with small (1 line) posts the avatar image will overlap into the portion of next post, rendering the next user name unreadable. The callout for the img code has been included where suggested by the docs. Anyone else did recognize this as a problem?
I’m using version 0.8.3 of the plugin (avatar-upload.0.8.3.zip).
Thanks.
March 30, 2008 at 11:20 am #63426In reply to: Hyperlinks ‘a href’ tag not working in posts
sealedsun
MemberYes, I use a custom german language file (The forum is completely integrated with WP i.e. both configurations are loaded).,
I just tried posting links while not using the language file: no change,
hrefstill gets stripped.Deactivating all my plugins doesn’t help either.
Also, for some reason ” does not get unescaped. I get ” all over the place. This I was able to fix with a custom
stripslashes-filter. Its strange though that forum software comes with such bugs out of the box…The href must be stripped when saving a post, as it does not appear in the database tables. Some
pre_postfilter maybe?My german forum is located at http://www.sphaerenriss.ch/forum/
Thanks for your help
March 30, 2008 at 1:24 am #63748In reply to: how many plugins do you use?
sealedsun
MemberEight so far. But the forum is far from complete.

I would much rather have stuff like “Unread Posts” and a post preview integrated into the bbPress core than having to hunt down each and every piece of functionality my users expect from a forum.
March 30, 2008 at 1:17 am #63424In reply to: Hyperlinks ‘a href’ tag not working in posts
sealedsun
MemberI have the exact same problem. An yes, I already tried deactivating the “Allow Images” plugin.
March 29, 2008 at 10:10 pm #63770In reply to: WordPress 2.5 is live… now for bbPress 0.9?
jom
MemberI think WordPress.org already had Gravatar support for quite a long time, but I’m also interested, if they do run 0.9 by now?
March 29, 2008 at 9:38 pm #63769In reply to: WordPress 2.5 is live… now for bbPress 0.9?
felixbruin
MemberSome thing like this !?
March 29, 2008 at 9:29 pm #63767In reply to: WordPress 2.5 is live… now for bbPress 0.9?
felixbruin
MemberThey’ve a bit slow with releasing the new 0.9 version
-
AuthorSearch Results