Search Results for 'code'
-
AuthorSearch Results
-
November 13, 2007 at 5:46 am #61437
In reply to: The default theme not working properly
chrishajer
ParticipantYou changed the installation from forums to bbpress, but you didn’t make the change in the config.php. So, your forum is at
http://www.reviewsaurus.com/bbpress/, but the config has$bb->uri = 'http://www.reviewsaurus.com/forums/';You need to change one or the other (either the folder name or the URI in the config) for it to work.As proof, I can see http://www.reviewsaurus.com/bbpress/bb-templates/kakumei/style.css just fine.
November 12, 2007 at 10:54 pm #61382In reply to: Installation…?
chrishajer
ParticipantIn your config.php, you have to set mod_rewrite to false (not true or slugs):
$bb->mod_rewrite = false;Your server does not support pretty permalinks, at least not as it’s configured now. You can figure that part out later (if you’re on godaddy, it might never work.) But for now, to get a working forum, change mod_rewrite to false and your links will work.
November 12, 2007 at 4:18 pm #58868In reply to: bbPress vs. a plugin
chgogrrl99
MemberThanks for responding Chris,
I haven’t yet made up my mind which way to go. My gut tells me that bbPress is better long-term. I’m also guessing that if my forum gets popular, bbPress might be better – in other words I’m thinking that a plugin might do the trick if the forum is doesn’t see much action, but that I might need something more powerful if it gets busy.
I’m pretty sure I can get bbPress installed, I’m now most concerned with integration, pretty perma-links ect. Making new files, adding and deleting code scares me.
November 12, 2007 at 3:13 pm #61413In reply to: Check if User is Logged From Anywhere.
benbeltran
Memberyeah. I actually tried that, but It didn’t recognize any functions.
. Even tried including the functions, template-functions, pluggable, etc files on their own. Still nothing.And I tried searching for the cookie parameters, but I’m dumb and I was sleepy, couldn’t do a thing.
November 12, 2007 at 1:18 pm #61409In reply to: very simple one-thread customization?
chrishajer
Participant> using wordpress would work and that’s a good thought,
> but I would have to customize it quite a bit I think…?
No, not at all. Find a theme you like, create a static page, make that your home page, strip out the stuff you don’t want in the sidebar (for archives, pages, categories, search, blogroll, meta, etc) and that’s it. One topic with comments.
Or, a guestbook
November 12, 2007 at 12:29 pm #61408In reply to: very simple one-thread customization?
bbpressfriend
MemberCopy&Paste in a .htaccess:
DirectoryIndex /forum/topic.php?id=20
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} /forum/index.html
RewriteRule (.*) /forum/topic.php?id=20 [L]
Now (sorry for my bad english, im german) the topic is your forum-frontpage.. (dont forget to delete the “New Topic” links).
quick&dirty
November 12, 2007 at 9:52 am #61412In reply to: Check if User is Logged From Anywhere.
fel64
MemberYou can always load bbpress and then check, by:
require_once( 'path/to/bb-load.php' );Otherwise you could check if the cookie is set and has a password parameter. You won’t be able to check if it’s a correct password, of course.
November 12, 2007 at 8:19 am #61406In reply to: very simple one-thread customization?
benbeltran
MemberWill the thread be changing? or is it just constant? If it’s constant, you definitely want a guestbook
November 12, 2007 at 5:40 am #58867In reply to: bbPress vs. a plugin
chrishajer
ParticipantAlso, I didn’t realize there were forum plugins for WordPress until you posted this. From the looks of them, this one (of 4) appears to be most current and most actively maintained:
http://www.stuff.yellowswordfish.com/simple-forum/
Never used it, but just learned about it after you asked the question.
November 12, 2007 at 1:30 am #58863In reply to: bbPress vs. a plugin
fel64
MemberCopy and pasting per se is not a problem. It simply irritates me that you ask for help but cannot be bothered doing more than the minimum in doing so.
You can always backup your databases. See https://codex.wordpress.org/Backing_Up_Your_Database; this will mean that no matter what you do, you can get a fully functioning wordpress install back.
November 11, 2007 at 8:00 pm #2584Topic: Act 55 NAVT for WordPress Forum
in forum Showcasechrishajer
ParticipantNot my site, a forum at a WP plugin author’s site:
I didn’t realize it was a bbPress installation for a few minutes until I looked at it. It was just a support forum, nothing screamed out kakumei to me
November 11, 2007 at 5:10 pm #57691In reply to: Tags not separating
Arlo
MemberAny news on this issue? I’m constantly editing posts where users enter tags with spaces
November 11, 2007 at 1:21 am #61399In reply to: Change size of input boxes
chrishajer
ParticipantIn style.css you can add something like this:
form td input {
height: 2em;
}That will make the boxes taller. Not sure what else that affects, but it works for the login form. Just not sure if it inadvertently affects something else.
November 10, 2007 at 5:51 pm #61395In reply to: Spam Registration
Trent Adams
MemberWhy would I want to stop spam registration? That is how I am increasing my userbase! (can’t you just taste the sarcasm)

Trent
November 10, 2007 at 12:55 pm #61393In reply to: Spam Registration
Null
MemberHow about a different direction, ad an activation code in the e-mail while registrating. The password is already e-mailed, so put in an activation link aswell. If not activated using the link in 1 or 2 days, the person wont be registrated at all.
Many forum software have something like this, why not bbpress?
November 10, 2007 at 12:41 pm #61322In reply to: Now that interface is dead…
Sam Bauers
Participant> why is this forum here anyway?
Support…

The mailing list has less non-dev chatter. In fact it has none, so if people post dev related stuff there, they are more likely to get noticed. Most of the traffic here is community support – high quality community support I might add – but not generally stuff that directly relates to development of the codebase.
As for the question about jQuery UI, I guess we’ll move if there is a compelling reason. I’m sure there could be, and if you put a case either here or on the dev mailing list we can discuss it further.
November 10, 2007 at 12:06 pm #2581Topic: Spam Registration
in forum Requests & FeedbackNull
MemberCan we PLZ get someting against the Spam Registration??? Captcha perhaps??? Or a Captcha like plugin?
My board is getting spam regisdtrated to death if this keeps up
fel64
MemberYo!
What you could do is make bbsync look at your custom data, create the tables and hang them onto the post it puts into bbpress. However, there’s a better way IMO.
Every synced topic has the attribute
wp_post, giving the id of the wordpress post. Since you probably run wp when you run bb (if you’re fully integrated), you can do (something like …) this in your bbpress template:if( isset( $topic->wp_post ) ) {
$wp_post = get_postdata( $topic->wp_post );
if( isset( $wp_post->custom attribute you're interested in ) ) {
// some code to output a table into your template here
}
}Much more interestingly, you could probably make that into a plugin so you can switch this behaviour on and off, and probably reuse it somewhere too. Could be very neat.
It’s feasible to replicate the functionality to want, but the best way would be to write a seperate plugin that only relies on bbsync for one thing: providing the ID of the wordpress post you’re interested in.
[As a general note: every wordpress post in wordpress has the attribute
bb_topictoo, giving the topic id for bbpress.]November 9, 2007 at 8:28 pm #60815In reply to: bbPress 0.8.3 is compatible with WordPress 2.3
andorko
MemberAre the two fully integrated? Just users or functions as well?
With MU 1.2.4/bbpress 0.8.3 I am able to put this in the end of the wp-config.php file just fine.
// Include bbPress functionsdefine('WP_BB', true); // Avoid duplicate functions
require_once( ABSPATH . '../forums/bb-load.php');
With MU 1.3/bbpress 0.8.3 having that yields a Cannot redeclare update_user_status error.
dreamstruck
MemberHey fel…
Basically the way I use it right now is I have about a dozen custom fields that I’ve created and I use these to put certain data into a table format in my posts. I have the custom fields hard coded into my my wordpress templates inside the loop section. If on a certain post I need to put data into this table format I fill out the custom field section on the Write Post screen when I’m writing the post. Then of course when I publish the post the custom fields that I’ve filled out show up in the table format in my post. I hope that makes sense…
Basically I guess what I need to know is if there is a way for me to hard code the custom field tags into the bbsync.php file so that it would pull those from the word press post and if so where I would put them in the bbsync.php file. I guess I don’t really need to use the plugin I told you about in my earlier post. If I could just put the custom field tags into the bbysync file and have them pull in that would be great.
Anyway, I hope that makes sense… Thanks for your help!
November 9, 2007 at 12:25 pm #2575Topic: get favorites list
in forum Themesjaxxx
MemberHi,
Is there a way of getting a user’s favorites to display without on a forum page other than /profile/#/favorite ?
I’ve looked at the code but I don’t want to dig too deeply into it as I’m sure it will change a lot during the next year.
Basically what I want to do is create a unified profile page, which has been possible with everything except favorites.
See http://www.surrealroad.com/forum/1 if this doesn’t make sense
November 9, 2007 at 2:45 am #61337In reply to: Theming Issue!
mikeygyse
Memberand also ensure that
#forumlist tr td div.nest {
padding-left: 2.5ex;
}is added to Style.css
November 9, 2007 at 2:05 am #61336In reply to: Theming Issue!
mikeygyse
MemberThe solution is to rip out the code
<h2><?php _e('Forums'); ?></h2>
<table id="forumlist">
<tr>
<th><?php _e('Main Theme'); ?></th>
<th><?php _e('Topics'); ?></th>
<th><?php _e('Posts'); ?></th>
</tr>
<?php foreach ( $forums as $forum ) : ?>
<tr<?php alt_class('forum'); ?>>
<td><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a> — <small><?php forum_description(); ?></small></td>
<td class="num"><?php forum_topics(); ?></td>
<td class="num"><?php forum_posts(); ?></td>
</tr>
<?php endforeach; ?>
</table>from Superbold-bbpress/front-page.php
and replace it with
<?php if ( bb_forums() ) : ?>
<h2><?php _e('Forums'); ?></h2>
<table id="forumlist">
<tr>
<th><?php _e('Main Theme'); ?></th>
<th><?php _e('Topics'); ?></th>
<th><?php _e('Posts'); ?></th>
</tr>
<?php while ( bb_forum() ) : ?>
<tr<?php bb_forum_class(); ?>>
<td><?php bb_forum_pad( '<div class="nest">' ); ?><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><small><?php forum_description(); ?></small><?php bb_forum_pad( '</div>' ); ?></td>
<td class="num"><?php forum_topics(); ?></td>
<td class="num"><?php forum_posts(); ?></td>
</tr>
<?php endwhile; ?>
</table>
<?php endif; // bb_forums() ?>from Kakumei/front-page.php
November 8, 2007 at 8:07 pm #59145In reply to: Installing bbPress
jim12345
Member“what I thought was my database password was incorrect. The correct password will be the same as in wp-config.php”
Wow, that worked!! I changed the password in config.php to the match the one in wp-config.php, and now my forum is up and running!
Many thanks.
November 8, 2007 at 7:28 pm #61305In reply to: Forum-wide RSS Feed not working
Arcsin
MemberHad the same error myself. After some debugging I found out that $tag is assigned a value where it shouldn’t.
These lines solved it (inserted as lines 28-29):
if (strlen($tag) == 0)
unset($tag); -
AuthorSearch Results