Search Results for 'code'
-
AuthorSearch Results
-
June 24, 2010 at 8:29 pm #34568
Topic: My First Post On bbpress
in forum Installation_KB_
ParticipantI love this forum software, that’s why I’m here to discuss it, to participate in community, learn more about it. Hope it will be a nice experience

Regards,
KB
June 24, 2010 at 5:17 pm #89137In reply to: ' when i use apostrophe
kikko088
Memberooooops, i add all
excuse me but i’m not expert…
now i remove the red code and add green code but the slah remain
June 24, 2010 at 9:16 am #90229In reply to: bb_forum_pad()
kevinjohngallagher
MemberIt’s for adding padding.
Specifically for faking a heirarchal tree view in a parent/child relationship.
bb_forum_pad( '<div class="nest">', 1 );it eventually calls:
$bb_forums_loop->pad( $pad, $offset );Just to be clear, I am just copy and pasting the information found in teh first link in google for typing in “bb_forum_pad”. This information is also in the actual source code, if you search for “bb_forum_pad”.
June 23, 2010 at 12:26 pm #90214In reply to: All members 'inactive' after converting from MyBB
zaerl
ParticipantOpen phpmyadmin. Run this SQL query: http://pastebin.com/9VhTGNt9 If you use a table prefix different from
bb_you need to change the query.Keep in mind that this code is without warranty.
June 23, 2010 at 12:17 pm #89928In reply to: Extra dropdown field in registration page
_ck_
ParticipantTrading insults is not very mature, therefore I think it’s time to close this topic.
pagal, you just have to be flexible, you can’t always get what you want for free, so you either have to adjust and find another way to do it or hire a coder to make what you want.
The fields in the user profile are unfortunately handled in a very inconsistent way, it doesn’t even use the same code on the registration page vs. the profile edit page vs the profile display page which is a symptom of the adhoc nature of how bbpress was built. But I don’t think even wordpress has that ability built in yet.
June 23, 2010 at 12:14 pm #89982Rootside
MemberYou’re wanting to compare an unsupported, unintentional, unadvisable, found-by-mistake hack (that doesn’t always work) against a theoretical piece of software. It’s a no-brainer which will compare favourably.
Yeah well, exactly.
The comparison you propose might be fair when it comes to judging pure performance, but a “normal” integration doesn’t give you what you and your users should expect:
Common elements like a header, a navigation and other functions should be available and work the same across the whole site without you having to mimic them for a forum section, changes you might make to those elements shouldn’t have to be made twice, and if you get a single admin panel at the backend on top of all that, then that theoretical piece of software becomes extremely desirable.
Proper integration, if I may call it that, is an absolute requirement in my opinion, because a forum is always just one component of a larger website in what I do, and I’d be surprised if that didn’t apply to many people here. It then becomes a different problem, of course: is the loss of performance on my forum pages acceptable, does it scale (does it blend
, what kind of hosting would I need to run things smoothly etc.? That’s kind of what I’m trying to feel out, and I just have the feeling that a plugin wouldn’t do such a bad job, all things considered.Fully agree with your point that Matt is the one who would have to get things moving after basically announcing that this is going to happen.
June 23, 2010 at 12:12 pm #90213In 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
-
AuthorSearch Results