Search Results for 'code'
-
AuthorSearch Results
-
June 23, 2010 at 12:12 pm #90213
In reply to: All members 'inactive' after converting from MyBB
rohan_shenoy
MemberThanks Kevin.
Right now, there is no bb_capabilities meta_key for every user. Therefore, I must create it using PHP/SQL code it seems!
June 23, 2010 at 12:08 pm #90212In reply to: All members 'inactive' after converting from MyBB
Gautam Gupta
ParticipantHere’s the SQL:
UPDATE bb_usermeta SET meta_value = 'a:1:{s:6:"member";b:1;}' WHERE meta_value = 'a:1:{s:8:"inactive";b:1;}'Change
bb_if you have any other table prefix. Also change " to the correct one.June 23, 2010 at 12:07 pm #89927In reply to: Extra dropdown field in registration page
zaerl
ParticipantNo please pagan. Don’t choose another forum software. I am here for you and you know what? I will work for you for free. I will spend hours in a plugin that will be useful only for you. Normally I get 20€/h when I write code but you are special.
Don’t hurt my feelings. Don’t say that I’m not able to do anything (for free).
June 23, 2010 at 10:44 am #89618In reply to: What. The. Heck. Is. Going. On!
WimTibackx
MemberI might not have been very clear on that. Foremost I want to fork WordPress and turn it into a fast, modern and elegant cms. At the same time I want to fork WordPress and bbPress to run as plugins on that cms. I just used the backpress name in my post to avoid using WordPress two times.
I’m personally not that interested in a standalone forum, but in a forum that integrates on my normal website easily and a normal website that is modern, fast and easily extendible. The current WP codebase might have the fast-part but it isn’t modern and it isn’t easily extendible (ok, it’s better then phpBB for example but more object oriented code wouldn’t do bad at all).
June 23, 2010 at 10:24 am #34560Topic: All members 'inactive' after converting from MyBB
in forum Troubleshootingrohan_shenoy
MemberHi guys,
I just successfully converted my forum from MyBB to bbPress.
However, I realized that most of the members are now Inactive! Can someone tell me an easy way to set their roles to Member. I know that I can personally edit their profiles and update their roles, but I can’t do it over 2000 times

Thanks.
June 23, 2010 at 6:15 am #90124In reply to: function bb_auth
Ashish Kumar (Ashfame)
Participantbut there is nothing in the function definition for an argument
'logged-in'how did you get that?
June 23, 2010 at 5:57 am #89924In reply to: Extra dropdown field in registration page
_ck_
ParticipantI’ve decided this is not something I want to get into. Way too much work for one specific solution and multi-input fields like birthday are going to be very complicated.
The sites you see this on already have full-time programmers while you don’t know how to code at all so you are going to constantly rely on begging for free help from others.
Since you are using WordPress integrated I recommend you just use an existing plugin for it to do this instead.
June 22, 2010 at 11:29 pm #90123In reply to: function bb_auth
Ben L.
Memberbb_auth()can be called with'logged_in'as the$schemeto check if a user is logged in.June 22, 2010 at 10:02 pm #87841In reply to: Whoa! (bbPress.org 2.0 is live)
chrishajer
ParticipantYes, if the updates work as designed. We always were running the trunk version, but for some reason, the updates didn’t always work. I’m not even sure when they run. But the new code appears here automatically.
June 22, 2010 at 9:22 pm #90122In reply to: function bb_auth
Ashish Kumar (Ashfame)
ParticipantDidn’t get your point. I can’t see that in file either
functions.bb-pluggable.phpJune 22, 2010 at 4:57 pm #89131In reply to: ' when i use apostrophe
Gautam Gupta
ParticipantDo you load WordPress’
wp-load.phpin bbPress?June 22, 2010 at 4:51 pm #90121In reply to: function bb_auth
Ben L.
MemberThere’s also
bb_auth( 'logged_in' )if you aren’t checking if the user can be in bb-admin.June 22, 2010 at 3:45 pm #90027In reply to: bb_get_posts_rss_link
Gautam Gupta
ParticipantIt is used for the
bb_get_urifunction (which generates the URL).June 22, 2010 at 2:17 pm #90139rohan_shenoy
MemberIt is fixed in trunk, you can copy the changes to your install from here – https://trac.bbpress.org/changeset?new=2383%40%2F&old=2381%40%2F
Thanks a lot Gautam

On second thought,
Can you please tell me why the error arised? I had not edited any php file. All I did was fiddled with database!
June 22, 2010 at 2:15 pm #87838In reply to: Whoa! (bbPress.org 2.0 is live)
chrishajer
ParticipantHeh – the update finally took place automatically. We added that revision to the header a while back, but the code was not being updated here.
Also, We’re actually running 2442 here – the note I added to the version was the current revision. I should have jumped ahead one when I checked the code in. So, trunk and here are the same thing, despite the meta header.
June 22, 2010 at 12:43 pm #83802In reply to: New bbPress and WordPress integration
astaganaga
MemberLove itJune 21, 2010 at 6:12 pm #89979kevinjohngallagher
MemberFolks,
please don’t derail this thread with nonsense about another forum software, we’re still trying to sort this one
June 21, 2010 at 6:11 pm #90119In reply to: function bb_auth
kevinjohngallagher
Memberfunction bb_auth( $scheme = 'auth' )
{ // Checks if a user has a valid cookie, if not redirects them to the main page
}I’m guessing it “Checks if a user has a valid cookie, if not redirects them to the main page”
First link on google
June 21, 2010 at 5:42 pm #90117In reply to: a second latest discussion panel
kevinjohngallagher
MemberYou’re not an idiot mate, but this is where bbPress starts to struggle a bit – especially with no documentation.
You want to make a call to the Database directly via SQL (SQLECT * FROM blah blah blah), but thre is no quick fix. You can use the $bbdb class to connect to the database.
If your’e still struggling, do a hunt for $bbdb with here on google. Remember that search on this site su… has many inbuilt features that are not bugs
June 21, 2010 at 4:50 pm #90131In reply to: How to get a bigger gravatar (like on this forum) ?
gjoseph
MemberYou can edit the
post.phpfile of your theme: find the line withpost_author_avatar_link:Replace
<?php post_author_avatar_link(); ?>by
<?php post_author_avatar_link(132); ?>for example.
June 21, 2010 at 3:40 pm #90115In reply to: a second latest discussion panel
kevinjohngallagher
MemberYeah, basically the global variable you’re using $forum/$topic/$posts etc. have been codedin such a way that they can only be iterated trhough once.
You’ll need ot make a separat SQL/data call for each bit of info that you need.
June 21, 2010 at 3:11 pm #90084In reply to: two forums/categories next to each other
saare2000
Memberthanks for the help. I started by maiking a new theme and almost blank css, but got stuck exactly where I need to modify the front-page.php and couldn’t find anything concrete from Docs.
seems like instead of
?php if ( $topics ) : ?there should be something like
?php if ( $topics || $category-id ) : ?… am I correct?
June 21, 2010 at 2:24 pm #90108In reply to: logout variable
kevinjohngallagher
MemberThats the link, just hardcode it. It doesn’t need to be processed by PHP at all. Just add it to your HTML code.
And yeah, the formatting change is a bug we’ve been stuck with for weeks. It’s not being worked on.
June 21, 2010 at 2:23 pm #90107In reply to: logout variable
Gautam Gupta
ParticipantYou have to edit
logged-in.php, that would contain the logout link.login_formfunctions includes that file if the user is logged in, otherwiselogin-form.php.June 21, 2010 at 2:22 pm #90104In reply to: What should I do? Continue using bbpress or not?
kevinjohngallagher
MemberI get the idea that bbpress isn’t being actively worked
Nope, it is

…and that this Mat individual wants to abandon this project
Nope. Matt wants to convert it to a WordPress plugin.
Is this the person who made wordpress really great?
He’s one of the 500+ people that have contributed to WordPress.
Is this a good reason not to continue using bbpress? Is bbpress going to die out if Mat doesn’t work on it?
If bbPress works for you, then use it

If it doesn’t, then don’t.
bbpress is open source software, it’s not going to die. As long as you’re ok with a minimum year between releases, and a project lead who refuses to answer any questions or pass on any information (and most people are) then you’re fine with bbpress.
-
AuthorSearch Results