Search Results for 'code'
-
AuthorSearch Results
-
May 23, 2010 at 7:10 pm #88637
In reply to: Login Issue
kevinjohngallagher
MemberHi Cillian,
sorry, the weekend got away from me a little.
My suggestions are going to seem really really obvious, sorry in advance, but good to check these things out.
1) Did logging in/out work before?
2) What changed since then?
Can you change back to the default themes in bbPress and WordPress and then do the following, noting your server error log along the way (after each step):
3) navigate away form your website, then clear your cookies, the restart your browser.
4) Try and login via your bbPress.
5) navigate away form your website, then clear your cookies, the restart your browser.
6) Try and login via WordPress
7) navigate away form your website, then clear your cookies, the restart your browser.
try and register with bbPress9) navigate away form your website, then clear your cookies, the restart your browser.
10) Register via WordPress.
I know those steps are painful, and a bit pedantic, but cookies are a VERY big pain if they don’t work first time when integrating these two systems (especially if you’re logged in as admin/keymaster at the time of installation/integration). Right now, it appears you’re in the 1% rather than the 99% mate, but lets try and fix that.
Kev
May 23, 2010 at 5:30 pm #88742chrishajer
ParticipantWasn’t there another post recently where this same error came up?
Could Not Find Blog!
Searched for [mydomain]/forums/ in mydb::wp_blogs table. Is that right?Can’t seem to find it right now.
May 23, 2010 at 5:24 pm #88711In reply to: Install problem
chrishajer
ParticipantThose are warnings, not errors. If you suppress displaying warnings to the browser (which you should on a production site) then you will not have an issue.
The problem is caused by using PHP 5.3.x. If you can use 5.2, you won’t even have to deal with the warnings.
You can suppress the display of all errors and warnings by adding this to the forum’s .htaccess file:
php_flag display_errors offIf you get a blank white screen after adding that, remove that line. It means your host does not allow that directive in .htaccess and you will have to find another way.
May 22, 2010 at 8:57 pm #88726In reply to: Add Text and Adsense to Sidebar
chrishajer
ParticipantIn case anyone is wondering, here is the theme:
http://www.awesomestyles.com/bbpress-themes/view/static-blue-bb
Yes, it would go in front-page.php inside the div where the hot tags are.
Find this:
<div id="hottags" role="main">Put it right BEFORE the closing
</div>That should take care of it
May 22, 2010 at 8:33 pm #34336Topic: Double Topic
in forum Pluginsbfuploader
MemberHello,
I need a plugin to delete all double topic..
Thank you
May 22, 2010 at 7:21 pm #88724In reply to: Add Text and Adsense to Sidebar
asorethumb
MemberWhat theme are you using? If you’re using Kakumei or similar – you can add your code to front-page.php, in the section that lists your tags (heat map)
May 22, 2010 at 11:35 am #88421In reply to: the rise of pay-only bbPress themes
_ck_
ParticipantGreat to see progress there!
Are you back contributing to bbPress? As volunteer or back with Automattic?
With the recount, the sad part is, similar issues exist elsewhere in bbPress.
For example the Bozo plugin attempts to do it’s own recount by first sucking in the entire user id table and then processing them one query at the time. Good luck with that on a large forum! At least the bozo plugin is external now however.
I figured out a workaround for the hyperactive bozo feature by disabling it’s tie to akismet with it’s too many false positives.
instead of checking post status which is not trustworthy
if ( 1 < $bb_post->post_status )(around line 195)directly check if the user is a bozo for this topic (or a bozo overall)
if (bb_current_user_is_bozo( $bb_post->topic_id ) )This prevents akismet from automatically making users into bozos by it’s setting status=2. Instead a user has to be manually set as a bozo for a topic or overall.
Makes the bozo plugin actually useful as akismet’s reliability (radically) decreases.
But since bozo alters queries and prevents them from properly using indexes it’s not a good idea on larger forums anyway.
May 21, 2010 at 5:58 pm #88636In reply to: Login Issue
GW
MemberHi Kevin,
I’m currently logged out and it wont leave me log in again, hence the dire situation
I’m using businesslike, but I have switched back to default to see if it makes any difference. It doesn’t(!)
May 21, 2010 at 4:52 pm #87764In reply to: Whoa! (bbPress.org 2.0 is live)
Gautam Gupta
ParticipantBTW, I fixed everything in the clone I made.
May 21, 2010 at 4:47 pm #87763In reply to: Whoa! (bbPress.org 2.0 is live)
kevinjohngallagher
MemberNice one Chris!
Actually the RSS feed is now working well and looking good, so whatever has changed since Monday worked nicely (great to see the patches coming in – you’re doing great lads and lasses).
The small text I’m experiencing appears to be a font issue, given that I don’t have Lucia Grande (its a mac font), Helvetica (again Mac based origianally) or Bitstream (linux). Not to worry, i need to wear my glasses more anyway

As for the “posts started”, who knows, I might have been restrained and only started 13 posts in my 18 months on the forum. It’s not a biggie anyway

Take care dude!
May 21, 2010 at 4:29 pm #88652In reply to: profile-menu needs its own division…
kevinjohngallagher
MemberFixing the problem with minimal issues is the way to treat bbPress mZimmers. Really glad to see you getting through it bud
May 21, 2010 at 4:27 pm #81681In reply to: Forums as Comment engine?
kevinjohngallagher
MemberYeah for sure, I helped out with the original WordOfRaids back in the day and they do that, but they just manually link to a forum post ( i set up a custom field on WordPress, so they make forum and copy/paste into there).
I’m not against the idea, its just definitely not going to be “off the shelf”; and nor is the original poster’s ideal solution going to be easy to come by (where it all happens automatically, though if you had time and the need it’s v possible).
I sent slightly off topic (big shock) but this sort of thing depends on the usergroup immensely. people who play mmorpgs as an example are used to forums and doing things in front of others; where as say a Classical Music Magazine website/blog’s users might not be really up for entering a forum flame war. Sorry if i gave the wrong impression, I sometimes feel its better to manage expectations a little with bbPress, especially with all the wordPress “as a CMS that can do anything” stuff flying around
May 21, 2010 at 4:10 pm #88718In reply to: Installation doesn't work
kevinjohngallagher
MemberI follow the bbPress instructions and I get a blank page
Awesome. Please give us LESS information.
Don’t tell us the error on your server logs, don’t tell us at what stage you get the blank page. Just tell us “blank page” and we’ll magically guess

Is this what you guys look at all day long?
No, but we know how to be polite when asking for help.
But I’m going after the bubble-gum chewing crowd with BuddyPress and bbPress looked like something they would use
You can’t use them together in anyway. You either use bbPress or you use BuddyPress. Let me put it more simply, if you use BuddyPress in any way shape or form, bbPress won’t work.
its all about making money
Cool, then you can go for paid support

So if there are any folks here who want to help I’ll take the advice; if not I’ll be joining the folks who find bbPress out of date with no support
bbPress is out of date, but it has support. You’ll find you’d get better answers if:
1) You had manners – the words “please” and “thanks” work really well
2) You gave us actual information, like your error log, rather than just “blank page”.
Just to reiterate, if you’re using BuddyPress, your problem has nothing to do with bbPress! Nothing at all!
May 21, 2010 at 2:51 pm #88661In reply to: Posting date issue
zaerl
ParticipantWhat you mean with “posting date”? You haven’t posts in your forum. Do you mean that when you create a new topic it is automatically dated to 9 months ago? Or the values you obtain in
/bb-admin/options-general.php?how can I add a post or topic in the admin panel?
If you want to create a new topic just create it from the forum.
May 21, 2010 at 2:01 pm #88650In reply to: profile-menu needs its own division…
kevinjohngallagher
MemberAll good Rich mate

(am liking your akisnet plugin btw)
May 21, 2010 at 1:59 pm #88714In reply to: Installation doesn't work
kevinjohngallagher
MemberIf you’ve been using WP for 3+ years, maybe you’d have the know how to read that bbPress and BuddyPress are different things. I’d you’re using BuddyPress, you should head to the BuddyPress forums.
And just to be clear, cos you’ve not given a whole
lot of information: bbPress is a stand alone forum that you can add shared cookies with WordPress, but it’s not there our of the box.
So if you’re not using BuddyPress, feel free to come back with more info, a better attitude, and we’ll try and help

oh and can i ask, after how long of using WordPress do humans stop making errors?? Glad you decided it was definately bbPress at fault and no possibility of anything else
May 21, 2010 at 1:48 pm #86038In reply to: problem with link users
mr-zee
Participantpost count plus solved my problems too. Thank you Zaerl
May 21, 2010 at 1:35 pm #88571In reply to: Preferred development tools?
paulhawke
MemberBoth PhpStorm and Netbeans 6.8 allow you to [ctrl | command] click on a method and jump to its definition. Its invaluable! There’s nothing quite like being able to click your way through the [bb | word]Press code and actually see what is going on. NetBeans is free to download and is a friendly full-featured IDE (great for the VisualStudio folks).
With the ease of code navigation in these tools, anyone interested in doing a “find in files” search for things like “add_action” and documenting what you find … as a way to help out the other plugin writers and bbPress coders?
May 21, 2010 at 11:50 am #88648In reply to: profile-menu needs its own division…
kevinjohngallagher
MemberMorning Dudes,
duplication of ID for a start…
Maybe you could have said that instead of just typing” seriously? “.
The container having an ID is fine, but inside I’d suggest using classes.
Why? It’ll be unique on the page therefore an ID is by far the better options (quicker use of CSS selectors, much easier for the DOM, and also allows better integration with any JavaScript or Client side CSS changes).
But if all that is in that div is that ul, then the div may not be needed.
Container DIVs (at one level of geneology) are very very useful.
It allows quicker/better DOM iteration, and allows for much more flexible theming especially if dealing with floats, placements (relative/absolute), and really helps with backwards compatibility. I’m all for minimalist design and code, and I know that there is a cry to avoid “divitus” these days, but really having 1 wrapper div to allow you play with margin/padding/width combination really shouldn’t be frowned upon. Especially in software that hardcodes so much into it’s core, and really doesn’t like outputitng IDs or Classes.
Mzimmers, I’d still suggest putting the DIV in your theme instead of the ‘core’, just because I do believe that we’ll be upgrading to a new release relatively soon (i.e. within 2010).
May 21, 2010 at 12:35 am #88670zaerl
ParticipantThe root folder is the folder where you have installed bbPress. You need to open the FTP program you use and create a
my-pluginsfolder inside the bbPress folder (if there isn’t already a folder with that name.) Once done this you must change that folder permission (write/read/exec) to 755 and upload theallow-images.phpfile inside it. Then open the plugin panel in the admin area of bbPress and activate the plugin.May 20, 2010 at 11:33 pm #34327CEThom
MemberI’m in the early stages of setting up a forum for students in my local area. Here is my progress thus far:
http://www.cabbagemedia.com/students/forums
I have a few basic questions.
1) POSTING PICTURES
I downloaded this plugin:
http://bbpress.org/plugins/topic/allow-images/?replies=29
But have absolutely no idea what to do with it. The instructions tell me this: “Add the
allow-images.phpfile to bbPress’my-plugins/directory.”But where is the directory? I can’t find it anywhere in my admin centre on the forum.
2) CHANGING THE LAYOUT
My admin centre only gives me two choices – green and blue. How do I change the layout entirely, ie. adding my own banner at the top?
May 20, 2010 at 10:45 pm #87761In reply to: Whoa! (bbPress.org 2.0 is live)
kevinjohngallagher
MemberFour little bugs with the theme:
1) Pagination duplication on Profile page:
http://www.kevinjohngallagher.com/bbpress_duplication_of_pagination.png
2) Pagination on Profile page:
Posts started will only appear/work on the first page. As soon as you move to page 2 or above, it says you’ve not started any ( haha, we all know I’ve started more than i should have ;-] )
3) bbPress Edit area:
http://www.kevinjohngallagher.com/bbpress_edit_area.png
It’s not been looked at in the slightest. Even teh default styles haven’t been applied.
4) bbpress Edit area:
If you write some code in a
<code>tag. and edit your post, bbPress now puts in<p>and<br />tags into your code on every line. If yuo’re syslexic like me and struggle with the small font, and edit code based posts a few times to remove errors, you get alot of added code.5) RSS feed:
The new RSS feed has new/added HTML. If you’re RSS reader is a mail client (say google or windows live mail) then it strips these extra tags, but if you’re not using an overly sophisticated RSS client, you see everything wrapped in a
<p>tag.From what I can tell, and this may be down to the latest trunk version rather than the theme, it appears to wrap each paragraph twice in the
<p>tags.Thanks to Noel or whoever at Automattic is working on fixing these, we apprecaite it
May 20, 2010 at 10:28 pm #88646In reply to: profile-menu needs its own division…
kevinjohngallagher
MemberWhat’s wrong with it?

Far too little of bbPress’s output comes with relavant IDs or classes for theming; and far too much of it is is hardcoded into the core rather than in the theme, or even a functions file etc.
May 20, 2010 at 9:52 pm #88519In reply to: I can't get Akismet working with BBpress
kevinjohngallagher
MemberOk, lets see what we can do here:
1) What version of WordPress?
2) What version of bbPress?
3) Are they integrated (share login cookies)?
4) Are they “deep integrated” (can call functions in the other program)?
5) Do you have the latest version of akismet on both WP and bbP?
6) What happens when you log in and post?
7) What happens when you log in and post as a new user (i.e. not as you)?
Are you using buddyPress?9) Have to tried disabling all plugins and trying again?
10) Are you using a premium (paid for) theme?
11) If so, have to tried switching to the default theme?
12) When you say things appear in your akismet que and then akismet
13) Are comments getting through akismet on wordpress?
I selected the check box next to “Create a page that shows spam
statistics” on the Akismet page. The page showed there was 26 post in the spam section.
I selected spam in the drop down box but the messages do not show up even
after I click on filter. I don’t know of any other way to get to the
messages to see if they are all spam
Um, is this on the wordpress side or the bbPress side?
May 20, 2010 at 6:05 pm #88615In reply to: Same avatar
leander8728
MemberNo i use an extern installation of bbPress. So not the integrated bbPress forum in Buddypress
But i think that i have enough info. Thanks!
-
AuthorSearch Results