Search Results for 'code'
-
Search Results
-
How can the attribute “rel=no follow” for links be added to links in a topic? Is there a plugin in bbPress that renders all links or a chosen few to “rel=no follow”? When I used it like this
<a href="http://........."rel="nofollow">.....</a>my stock theme removed it and made the link non-clickable.Thank you.
Topic: only one forum – please help
Hi Everyone
bbPress is great. I love it and I appreciate every bit of effort put into it.
I am setting a new site which has only one, single forum in it.
My goal is to have the main/home page show the same view as if I would select a specific forum from a multiple-forums website (stickies on top, marked in color….)
My first idea was to replace front-page.php with forum.php (copy & rename), and add the following code:
<?php $forum_id=”1″; ?> right after <?php bb_get_header(); ?>.
This does create the appearance of a single forum, but in a different presentation. for example, sticky topics are sorted with all other topics by date, and are not forced to the first lines in the topics table.
I would really really really appreciate any help or directions I can get.
Thanks a lot !
Moshe.
Not sure if this question should go to the Installation forum or Troubleshooting. I actually posted this question last night to the forum, and this morning it has disappeared. So trying again…
I have spent all weekend installing bbPress and modifying the kakumei template to integrate with my site. It all looked great in Firefox and Safari, but when I view the site in Internet Explorer 8, I cannot reach any pages besides front page, and only then if I browse to http://fakeplasticfish.com/discuss/index.php. Simply browsing to http://fakeplasticfish.com/discuss/ in Internet Explorer brings up a 404 Error, as do all the other forum pages.
Here are details of my install:
WordPress 2.8.4 installed at the root: http://fakeplasticfish.com
bbPress 1.0.2 installed at http://fakeplasticfish.com/install/
bbPress is installed into the same database as WordPress on a GoDaddy Linux server.
I have added this code to my bb-config file as instructed:
/** Integrate with WordPress */
require_once(‘/home/content/b/e/t/bethfish/html/wp-blog-header.php’);
This is because I want my WordPress plugin menu bar to appear in bbPress as well as other WordPress functions.
I thought perhaps the issue had to do with pretty permalinks, as I read some entries in this forum on that issue, so I actually switched back to the original ugly permalinks, cleared the browser cache and restarted IE. IE will still not open any of the bbPress pages besides index.php and returns a 404 error from the server (not my WordPress 404 page.)
I have two .htaccess files, one in the root folder created by WordPress and one in /discuss/ created by bbPress. I tried deleting that file after switching back to ugly permalinks, and now there is a new one there.
I am a novice. I don’t understand the information in the .htaccess file, but I am happy to copy the information from both files over here if that would help.
I just really don’t understand why the bbPress pages work fine in Firefox and Safari and not in IE.
Hi
I have tried integrate wordpress into bbPress according to the documentation, in my localhost, and im getting this error.
Fatal error: Call to undefined function bloginfo() in C:wampwwwgm_wordpresswp-contentthemesdefaultfooter.php on line 12Do i have to call every file in wordpress with “require_once”… Or is there any other solution ?
I ll be great if you guys can help me out..

Thanx
[^>]+http
//))(?!([^>]+'.$domain.'))(.+)>|iU', '<a rel="nofollow" target="_blank">', $text); // add back in when needed
;