Search Results for 'code'
-
AuthorSearch Results
-
May 11, 2009 at 8:25 pm #73453
chrishajer
ParticipantI don’t have the latest beta installed, but I do have an Alpha 2 installation and the database connection is here:
./bb-includes/backpress/class.bpdb.php:123:
$this->dbh = mysql_connect($host, $user, $password, true);
May 11, 2009 at 2:56 pm #8566doublebuser
MemberTrying to locate the file that has the routine that does msql_connect or _pconnect…
May 11, 2009 at 1:25 pm #73041Ipstenu (Mika Epstein)
ModeratorIt has not been fixed in 1.0-a6 (as of three weeks ago). It happens on WordPress.org too

(And _ck_, what’s a good plugin for that on WP? I’ve yet to find one I like, but I’m picky.)
May 11, 2009 at 6:23 am #71257_ck_
ParticipantThe newest 0.9 branch should have it fixed. Since 1.0 already has this fixed I assume you are using 0.9
So try upgrading to this version of 0.9
https://trac.bbpress.org/changeset/2081/branches/0.9?old_path=%2F&format=zip
May 11, 2009 at 2:58 am #71256lakelady
MemberI’m attempting to install bbPress on a completely fresh site, latest WPmu and bbPress and have php5 and I’m getting the same message.
please help!
site http://twilighttearoom.com
intstall http://twilighttearoom.com/forum
May 10, 2009 at 6:38 pm #73402In reply to: Yes … yet another release date question (ALPHA #7)
frooyo
MemberThanks _ck_ for the info.
Just to make sure I understand correctly … ALPHA #7 will be bbPress 1.0 rc1, right.
I’m eagerly awaiting the announcement. Hope to hear it in the next few weeks
May 10, 2009 at 6:24 pm #73449In reply to: Auto close topics
_ck_
ParticipantIt would be possible to do that via a plugin.
this might work, untested:
add_action('bb_head','close_long_topics');
function close_long_topics() {
global $topic;
if (is_topic() && $topic->topic_open===1 && $topic->topic_posts>299) {
bb_close_topic($topic->topic_id);
$topic->topic_open=0;
}
}May 10, 2009 at 3:02 pm #73448In reply to: Additional Info on Lastest Discussions
aquagrrl
MemberOkay, I’ve managed to figure some of it out, I’m using:
<br />
<pre><code><?php $posts = get_thread( $topic->topic_id, $page ); //pulls posts fo each topic?>
<li <?php topic_class(); ?> style="border: 1px solid green;">
<?php foreach ($posts as $bb_post) : $del_class = post_del_class(); ?>
<ul class="TopicStarterInfo">
<li><?php post_author_avatar(); ?></li>
<li><?php post_author_link(); ?></li>
<li><?php post_author_title(); ?>
<li><?php printf( __('Posted %s ago'), bb_get_post_time() ); ?> </li>
<li><?php echo $bb_post->forum_id;?></li>
</ul>
<?php endforeach; ?>But its pulling all the post authors. I think I need to limit to the first one, but I’m not exactly sure how to do that.
Edit: figured it out from: https://bbpress.org/forums/topic/separating-the-first-post-of-each-topic#post-21808
using:
<?php $bb_post = $posts[0]; unset($posts[0]); $del_class = post_del_class();?>
instead of the foreach.
May 10, 2009 at 8:36 am #73434In reply to: Always ..Unread
Ivaylo Draganov
MemberHm, when I set
$unread_posts['indicate_last_login']=false;tracking of new posts stops and all topics appear as read.

Does there have to be an actual logout of bbPress to see results?
Which is not a good option cause most users won’t log out (untill the cookie expires).
May 9, 2009 at 4:55 pm #73446In reply to: WP/bbPress log in and log out
pracus
MemberTo anticipate the question: secret keys match each other
May 9, 2009 at 1:41 pm #73445In reply to: bbcode is showing but is not working
w-lv
Memberwooooooooow thanks very much
it s working thankssssssss
May 9, 2009 at 12:51 pm #73444In reply to: bbcode is showing but is not working
paultjuh2
MemberU have to install BBcode Lite..
Upload it to ur bb-plugins map, and apply it in your admin panel.
What is the problem? Do u get any error?
sorry for bad english
May 9, 2009 at 12:48 pm #8172Topic: bbcode is showing but is not working
in forum Pluginsw-lv
Memberhello
BBcode Buttons is showing but is not working !!
and BBcode Lite for bbPress is not working !!
I want bbcode
Iam sorry i do not speak English well ..
May 9, 2009 at 11:56 am #73433In reply to: Always ..Unread
Ivaylo Draganov
MemberYes, custom theme. And I’ve set both colours to be the same since I don’t need that feature. But I hadn’t disabled it in the code… Just set it up – will see if it works better.
May 9, 2009 at 10:57 am #73431In reply to: Always ..Unread
_ck_
ParticipantI just realized something about the “always unread” complaints.
There are two colors indicating two different things.
There is a lighter blue indicating truly unread posts.
However if a user is new or you “mark all read” there is a fallback function that highlights posts that are only a day or two old. That was actually a feature request by someone else awhile back.
You can disable that. Change this line near the top:
$unread_posts['indicate_last_login']=false;Also, are any of you using customized themes?
May 8, 2009 at 7:05 pm #73415In reply to: Username Issue
Ben L.
MemberIt’s not the template. Line 4 of
post.phpis<strong><?php post_author_link(); ?></strong><br />, so it should be showing the post author’s name, not email. There’s nofunctions.php, so it has to be a plugin.What plugins do you have active on your bbPress installation?
May 8, 2009 at 4:34 pm #73438In reply to: URL without /bbpress at the end?
Hermiony
MemberYay, it works!
Thanks so much!!
May 8, 2009 at 4:19 pm #73436In reply to: URL without /bbpress at the end?
Ben L.
MemberFirst, go into settings and change the url. Then, the folder
bbpresstoforums.May 8, 2009 at 4:01 pm #73410In reply to: Username Issue
chrishajer
ParticipantWhat theme are you using? Maybe it’s not coded properly.
What versions did you integrate?
May 8, 2009 at 2:20 am #73372lookfab
MemberThanks bobbyh. This is very helpful.
user_id and username conflicts should be managable since the number of WP users is very small.
On schema, it looks like I need to add the user_activation_key field.
> That extra index on user_nicename is the least of your problems.

So I would just add it using phpMyAdmin?
May 7, 2009 at 5:48 pm #66163In reply to: WordPress + bbPress Integration 101
gera3d
MemberHello Everyone,
So let me start with I am on day 3 trying to get this working right. I have tried 5 different methods to getting the forums to workd with my WordPress MU install but I just cant get it working. Please Help.
Everything is fresh and current.
Latest Attempt:
Following this guide.
https://trac.buddypress.org/browser/trunk/bp-forums/installation-readme.txt
At the end of bbpress install I got this error. Check Code below.
I also cant do step 6 because buddypress-enable.php is not there. What should I do?
Referrer is OK, beginning installation…
>>> Setting up custom user table constants
Step 1 – Creating database tables
>>> Modifying database: 40knetwork (mysql.dbmethod.com)
>>>>>> Table: bb_forums
>>>>>>>>> Creating table
>>>>>>>>>>>> Done
>>>>>> Table: bb_meta
>>>>>>>>> Creating table
>>>>>>>>>>>> Done
>>>>>> Table: bb_posts
>>>>>>>>> Creating table
>>>>>>>>>>>> Done
>>>>>> Table: bb_terms
>>>>>>>>> Creating table
>>>>>>>>>>>> Done
>>>>>> Table: bb_term_relationships
>>>>>>>>> Creating table
>>>>>>>>>>>> Done
>>>>>> Table: bb_term_taxonomy
>>>>>>>>> Creating table
>>>>>>>>>>>> Done
>>>>>> Table: bb_topics
>>>>>>>>> Creating table
>>>>>>>>>>>> Done
Step 2 – WordPress integration (optional)
>>> Fetching missing WordPress cookie salts.
>>>>>> WordPress “auth” cookie salt not set.
>>>>>> WordPress “secure auth” cookie salt not set.
>>>>>> WordPress “logged in” cookie salt not set.
>>> User database table prefix: wp_
Step 3 – Site settings
>>> Site name: Warhammer Social Network
>>> Site address (URL): http://warhammernetwork.us/forum/
>>> From email address: gera3d@gmail.com
>>> Key master role assigned to existing user
>>>>>> Username: admin
>>>>>> Email address: gera3d@gmail.com
>>>>>> Password: Your existing password
>>> Description: Just another bbPress community
>>> Forum name: Warhammer Social Network
>>>>>> Topic: Your first topic
>>>>>>>>> Post: First Post! w00t.
>>> Key master email sent
There were some errors encountered during installation!
May 7, 2009 at 8:04 am #73371bobbyh
MemberThis sounds reasonable but painful.

Some tips:
* Only upgrade bbPress to 0.9
* Upgrading to WordPress 2.7.1 almost made this impossible, but ck and superanne saved your bacon with plugins for WP 2.7 <=> bbPress 0.9 cookie compatibility.

* Don’t forget to assign your WP users privileges (e.g. Keymaster) by adding a row to the usermeta table
* How are you going to handle user_id conflicts between bbPress and WordPress? For instance, if the WordPress “asdf” user/author has a user_id of 17, and there’s also a user on bbPress with a user_id of 17, you’ll have to do a bunch of UPDATE queries to wp_posts (post_author field) and wp_comments (comment_author and user_id), because when you create a new author with a user_id of 1000, it won’t match up with the post_author_field (etc.) which will have the old 17 number in it.
* Also what about username conflicts, e.g. two users named “asdf”, etc.? That might result in more UPDATE queries… You’ll have to rename the WordPress user, probably.
* The benefit to integrating the databases completely is you don’t have to make two connections to two databases. I’d go for it.
* That extra index on user_nicename is the least of your problems.

* Are you sure that bb_users and wp_users has the exact same database schema? Confirm this!
Also, make sure to add any “missing indexes” that are currently in wp_users to “the new wp_users”.Good luck!
May 6, 2009 at 5:52 pm #73333Ben L.
MemberCan you put the HTML source code of a page where the css and jquery are missing from
<head>to</head>in http://bbpress.pastebin.com/ ?May 6, 2009 at 3:03 pm #73347In reply to: Menu Links
kindagreywolf
MemberThanks. I did that. Then found out I can’t really delete posts or move to the appropriate area. This scares as me as I am sure there are a ton of other basic functions you should be able to do but can’t. Now looking for another forums software
May 6, 2009 at 10:28 am #68579In reply to: Avatar integration with wordpress
eclipsei
MemberThanks, looks interesting if I can figure out how to get it working
-
AuthorSearch Results