Search Results for 'code'
-
AuthorSearch Results
-
March 19, 2007 at 10:54 pm #55724
In reply to: integration with wordpress…
peiqinglong
MemberThe first problem is in your header, you have:
<php bloginfo('stylesheet_url'); ?>, it should be<?php bloginfo('stylesheet_url'); ?> and with the second import, I'm not sure why style.css is just floating around outside. It should be pointing to your forum so it should be:@import url(“/archas/ram/wordpress/forum/bb-templates/your themestyle.css”);`The second problem is you have to edit EVERY file in the template. Make a new folder in bb-templates, call it whatever you want and copy all the files from kakumei theme except for images directory into your new folder and change all the files that have
<bb_get header()>to<get_header()>and don’t forget the footer and sidebar.The third problem is you need to style the bbpress stylesheet to match your theme…
March 19, 2007 at 8:13 pm #55723In reply to: integration with wordpress…
archasek
Memberin bb-admin panel, it shows only the code of php file.
what bout other questions ?
March 19, 2007 at 5:43 pm #53802In reply to: Latest Disscussions Plugin
fel64
MemberHaha, Atsutane, fantastic.
Continually improving this plugin is great 
You spelt “integrated” intergrated by the way – luckily consistently through your code, so it works okay anyway. ^^ Better English is also “in” category rather than inside. Just if you want to know.
March 19, 2007 at 5:23 pm #53801In reply to: Latest Disscussions Plugin
Atsutane
MemberUpdate the plugin already. Now u can set the length of the text from BbLD option page. Get it from bbPress plugin page.
Refer to changelog for older update. Hope this gonna solve your problem
March 19, 2007 at 5:21 pm #55721In reply to: integration with wordpress…
archasek
Memberok, i did something like that in my front site, and everything seem to be working ok, but:
– look at forum and at wordpress- there is a little difference between them. text in forum is on the left, out from the table.
– in my bb-admin page i have bad encoding (im polish), i have to use the unicode, dunno what bbpress uses
how to add (activate) plugins for bbpress? i want to have display-name plugin to change moderators names
March 19, 2007 at 4:33 pm #55720In reply to: integration with wordpress…
peiqinglong
MemberMake sure that when you enter: require_once( ‘../wp-blog-header.php’);, it’s absolute path. For example: /home/username/archas/ram/wordpress/
To find out what your absolute path is:
1) make a file and call it path.php
2) add this code into the path.php:
<?php $p = getcwd(); echo $p; ?>3) upload it to your wordpress directory and access it http://www.cs.elomza.pl/archas/ram/wordpress/path.php, that will output your path.
For more info: http://www.bui4ever.com/web-itecture/how_to_integrate_wordpress_and_bbpress/
March 19, 2007 at 9:37 am #53800In reply to: Latest Disscussions Plugin
Null
MemberIt’s not that hard to do. Just google on this and script/excamples will pop-up in no time. Basicly you will have to count the nr of letters and replace all other letters with …
I am at work else I could give an excample….
… not very helpful I know just google
March 17, 2007 at 3:10 pm #54370In reply to: Updated to Desmond But Theme Not Working
fel64
MemberIs there any way of displaying the page numbers (as links) in the thread listing, so that you can jump straight to the latest page? Would be much nicer to navigate.
If not, I’ll add it as a ticket to trac? Not sure what the right thing to do is!
March 17, 2007 at 7:41 am #55735In reply to: bbPress on mac osx
Sam Bauers
ParticipantCheck your apache error log for PHP errors using tail.
tail -f /var/log/httpd/error_logOn the command line.
March 17, 2007 at 12:55 am #54369In reply to: Updated to Desmond But Theme Not Working
spencerp
MemberHaha. All I know is… after wiping the database clean of the bbPress tables and files/folders and such in the htdocs folder for Xampp Lite/ localhost … tried to install it fresh again… it went just fine, except for that Stylesheet URL issue….
Not sure why, or what’s going on with it.. but apparently she’s holding a grudge against Xampp Lite and the localhost… damn bitch!!!! LOL! Nah, just kidding folks!

spencerp
March 17, 2007 at 12:25 am #54368In reply to: Updated to Desmond But Theme Not Working
Trent Adams
MemberGood to know…….so that is the URL issue and not the localhost issue even though you are installed on a localhost. Man, this thread is confusing sometimes!

Trent
March 17, 2007 at 12:12 am #54367In reply to: Updated to Desmond But Theme Not Working
spencerp
MemberOh okay. However, I just SVN-ed my localhost copy, and she’s still not working like supposed too. So, I just manually re-added the straight URL to the stylesheet for now..
So evidently it hasn’t been fixed yet sigh.. Hmm..
spencerp
March 16, 2007 at 11:40 pm #54365In reply to: Updated to Desmond But Theme Not Working
spencerp
MemberIt’s ok Trent.
It’s really not a big deal since it’s for the localhost copy only.
It’s just that it *would be* nice to have this fixed in general though, ya know.. ?
Do you know if mdawaffe had applied a fix yet or not? I noticed a handful of files come through the SVN, just not sure if one contains a “fix” or whatever.. lol!
spencerp
March 16, 2007 at 7:37 pm #55713In reply to: integration with wordpress…
archasek
Memberdoesn’t work
whats wrong
/
March 16, 2007 at 5:51 pm #55635In reply to: What’s integration?
fel64
MemberAn example: I have WP on http://www.loinhead.net/ and bbPress on http://forums.loinhead.net/. It works without problems for me and was very little work to set up.
You should certainly understand the integration process before installing as there are several key things you have to do differently – your config.php configuration will be very different, for example. If you have already installed bbPress then I think you will have to get rid of it and install it again, but integrating this time.
If you need help at any specific part of the process, feel free to ask here.

Also in mathematics integration is the opposite of differentiation.
March 16, 2007 at 5:45 pm #55712In reply to: integration with wordpress…
fel64
MemberPossibly you need to go up two or three directories, since
config.phpis called somewhere else? I have no idea really. Just try an absolute or base URL, such ashttp://www.example.com/wordpress/wp-blog-header.phpor/wordpress/wp-blog-header.php, hopefully that will work
If it doesn’t you can probably be sure it’s something else.
March 16, 2007 at 5:41 pm #55726In reply to: More “Main Themes”
fel64
MemberThat’s not a big problem, it can be done with a patch: https://bbpress.org/forums/topic/698?replies=40
Hopefully this will be in a major release soon.
March 16, 2007 at 2:20 pm #1578Topic: integration with wordpress…
in forum Troubleshootingarchasek
Memberhi.
everything works well but i just cant add header from wordpress. i add to my bbpress config:
require_once( ‘../wp-blog-header.php’ )
my directories look like this:
/wordpress – here is the wordpress
/wordpress/forum – here is the bbpress
whats wrong
?and i want to remove ‘views part’ .
March 16, 2007 at 1:03 am #55297In reply to: Plugin: Allow additional or custom profile fields
Trent Adams
MemberThis is a good plugin! The options currently have to be edited in the plugin code itself, but it also allows you to pick which fields are required at login as well. In an effort to slow spammers, I added a few fields and made all of them except 1 required! Seems to have worked so far…..
Trent
March 15, 2007 at 10:11 pm #55672In reply to: which plugin can support the toolbar like this?
Null
MemberJust compare FCKeditor and TINYmce with image lining/placing, you’ll get the point
FCK is more user friendly in my oppinion
March 15, 2007 at 9:33 pm #1569Topic: What’s integration?
in forum Installationboomanfloral
MemberHi,
I’m new to bbpress, and I’m trying to install it. I already use wordpress. There are lots of posts that talk about integration, but I’m not sure what ‘integration’ really means.
Is there a site where I can look and see an example of ‘integration’? What are the benefits? How do a BLOG and FORUM integrate? Thank you!

-daniel
March 15, 2007 at 7:10 pm #54362In reply to: Updated to Desmond But Theme Not Working
spencerp
Member@nanome, nope.. still a no-go. I even tried it with BOTH “plugins” your’s and trent’s together. Then one at a time… no-go..

spencerp
March 15, 2007 at 1:53 pm #54357In reply to: Updated to Desmond But Theme Not Working
nanome
MemberLast time I checked (about a minute ago
) I was still a man.Glad it worked for you as well.
Since I only downloaded BBpress today this hack comes with “use at own risk warning”. Don’t know what other effects it may have on other parts of the script. Saying that, it works ok for me so far.
March 15, 2007 at 1:44 pm #55665In reply to: Bad slash prevents style sheet
ghoulash
Membernanome, I had just read that post and used your tweaked code to solve the problem. Thanks so much.
March 15, 2007 at 1:32 pm #54355In reply to: Updated to Desmond But Theme Not Working
nanome
MemberTesting bbpress on localhost (xampp, windows) and viewing with firefox I get the same error in the stylesheet link.
<link rel="stylesheet" href="http://localhost/leebbpress/bb-templates/kakumei/style.css" type="text/css" />Created the plugin as Trent suggested but that didn’t solve the problem. Played around with the code a bit and now it does work.
Here is my hacked version.
<?php
function fix_bb_path_to_url( $url ) {
$url = str_replace(array('//', '\\', '\'), array('/', '\', '/'), $url);
return preg_replace( '|
([^/])|', '
/$1', $url );
}
add_filter( 'bb_path_to_url', 'fix_bb_path_to_url', 1, -1 );
?>Only difference is adding ‘\’ to the str_replace.
-
AuthorSearch Results