Search Results for 'code'
-
AuthorSearch Results
-
July 2, 2010 at 8:16 am #87860
In reply to: Whoa! (bbPress.org 2.0 is live)
mr_pelle
ParticipantI just noticed that download links at Download page should use a background image, but it cannot be found at the moment.
Full background attribute: url("images/button-grad.png") repeat-x scroll left top #333333
Wow, now background attribute is gone, so download links are nearly invisible…
July 2, 2010 at 5:37 am #90467In reply to: bbPress Security
_ck_
ParticipantSomeone copied my plugin (they used ALL of my lines then added a few) but they defeated the entire purpose.
Their code only runs if there is an active user, if someone is not logged in and there is a loophole, the code would run unchallenged.
Plus they exclude admin, so if there is a hacked account, the code is also bypassed.
Here is my improved version of my original code
if (strlen($_SERVER['REQUEST_URI'])>255 ||
preg_match('@(eval|base64|unescape)[^a-zA-Z0-9]@si',$_SERVER['REQUEST_URI']))
{
header('HTTP/1.1 414 Request-URI Too Long');
header('Status: 414 Request-URI Too Long');
header('Connection: Close');
exit;
}July 2, 2010 at 4:51 am #90374In reply to: WordPress integration problems
chrishajer
ParticipantIf you don’t want a table prefix, I suppose you could go into the bbPress code and eliminate all the references to the WordPress table prefix in the installer (and possibly elsewhere.)
It would be much easier to rename the WordPress tables and use a table prefix than hack the bbPress code. You tried once and did not have a good result. Maybe you need to try again and figure out where it went wrong if you really want integration between bbPress and WordPress. Either way, it’s going to require some work on your part due to a decision you made earlier to eliminate the WordPress table prefix.
July 1, 2010 at 7:55 pm #90432In reply to: Theme not working!!!
kevinjohngallagher
MemberDon’t worry about Deep Integration. If you don’t know it, you’ve not got it, and that makes life easier

If you can’t load the stylesheet of the theme you want to use in your browser (and therefore independant of both wordpress and bbpress – as you’re essentially just loading a text file from a server), then that’ll be the issue.
Activating the theme you’re after would be great, as would telling us what folder it’s in and what it’s called
July 1, 2010 at 6:48 pm #90418In reply to: Can I add form fields to the registration page?
pagal
Participant@chrishajer its not real a democracy…If you deleted my whole topic then you should also delete the whole topic of kevinjohngallagher which was against to me you just edit the kevin’s topic not delete it. You can also edit my topic but you did not. And I did not just give response to kevin, I also said something to zeal… can you please tell me why you delete the topic’s portion which was for zeal?
Thanks
July 1, 2010 at 2:57 pm #90415In reply to: Can I add form fields to the registration page?
Ben L.
Member<?php
/*
Plugin Name: My Profile Keys
*/
function my_profile_keys( $a ) {
$a['my_key_id'] = array(
true, // Required
'ID number', // Label
'text', // Type
'', // Value
'' // Default when not set
);
return $a;
}
add_filter( 'get_profile_keys', 'my_profile_keys' );Untested, but should work. (Change the lt thing to a less than sign – the bbPress.org forums have some kind of glitch).
June 30, 2010 at 10:34 pm #90075In reply to: Syntax error
mmurasko
MemberI copied it from code editor if I copied it right from edit, it wouldn’t have numbers in it. I just wanted to see how far to go down when I copied it for you all to look at.
I’m using WP 3
June 30, 2010 at 10:28 pm #90072In reply to: Syntax error
chrishajer
ParticipantThere should not be line numbers in that file. I wonder if someone on the WordPress side checked in code with line numbers?
What version of WordPress are you using? And honestly, this looks like a WordPress not bbPress issue.
Related to this recent report:
https://bbpress.org/forums/topic/fatal-error-call-to-undefined-function-2
June 30, 2010 at 10:22 pm #90071In reply to: Syntax error
mmurasko
MemberHere is the code:
1 <?php
2 /**
3 * WordPress DB Class
4 *
5 * Original code from {@link http://php.justinvincent.com Justin Vincent (justin@visunet.ie)}
6 *
7 * @package WordPress
8 * @subpackage Database
9 * @since 0.71
10 */
11
12 /**
13 * @since 0.71
14 */
15 define( ‘EZSQL_VERSION’, ‘WP1.25’ );
16
17 /**
18 * @since 0.71
19 */
20 define( ‘OBJECT’, ‘OBJECT’, true );
June 30, 2010 at 2:11 pm #87853In reply to: Whoa! (bbPress.org 2.0 is live)
mr_pelle
ParticipantI just noticed that download links at Download page should use a background image, but it cannot be found at the moment.
Full background attribute:
url("images/button-grad.png") repeat-x scroll left top #333333June 30, 2010 at 1:12 pm #90166In reply to: bbPress 1.1 – Maybe Soon!
kevinjohngallagher
MemberAh sorry Chris, I wasn’t clear.
What I meant was this:
- We want/need people to test a year’s worth of code in 1.0.3
- Why not download the latest version.
- Apply the the patch to that downloded code.
- Put in a zip file.
- Rename Zip file “bbpress-1.0.3-alpha.zip”
- Upload to website
- Ask people to download and test.
We know we can’t release 1.0.3 into the wild given that it’s whole implementation is questioned by the bugs in 1.1; but it’ll at least give us a heads up on a year’s worth of bugs.
June 30, 2010 at 12:59 pm #90165In reply to: bbPress 1.1 – Maybe Soon!
Gautam Gupta
ParticipantWe can add the same code (the one I posted in the patch) in bbPress, but BackPress would be a better place for that. Anyone should contact westi as he can fix it.
June 30, 2010 at 12:56 pm #90357In reply to: How can I use the same templet for mu and bbPress?
Gautam Gupta
ParticipantEasy way is deep integration but is highly not recommended as it adds unnecessary extra load on the server. Other way is to code a template yourself which looks similar to your WP theme or hire someone to do that.
June 30, 2010 at 12:30 pm #90164In reply to: bbPress 1.1 – Maybe Soon!
chrishajer
ParticipantBackPress is included as an external. I don’t have the ability to update the code here. I can just check in code to bbPress. Then, on some sort of cron schedule, the code that runs bbpress.org/forums is updated. It’s not nightly, as evidenced by the fact that this site is still running r2441 (actually, I think r2442: I tagged it wrong.) So, maybe it’s not automatically done, but the job fails and someone needs to do it manually.
So, I can’t update the BackPress code that is running on this site. I could fix my local installation, and you could fix yours, but I can’t fix it here.
If you want to see what’s included externally, you can download a trunk release from the bottom of a trac page and see that Akismet and BackPress are both missing. When I check out a copy with subversion, those externals are checked out. But I can’t check in to either of those projects.
June 30, 2010 at 12:20 pm #87851In reply to: Whoa! (bbPress.org 2.0 is live)
chrishajer
ParticipantI don’t think I have any ability to update the code that runs at the plugins site, so I can’t fix the plugins search. I believe the search is fixed here in the forums so if they update the code at plugins, it will be fixed.
I don’t know if I can fix the < < thing locally (in an external?) but I would rather they just fix the BackPress bug properly. If we fix it here, then there’s no pressure to fix it in BackPress.
June 30, 2010 at 11:29 am #34601Topic: WordPress integration problems
in forum InstallationFMA
MemberHello bbPressers! (:
I’ve got some problems with integrating WordPress into my bbPress install.
What am I doing wrong?

http://i45.tinypic.com/15678gn.png
There just simply no $table_prefix in wp-config.php

I hope someone can help me with this.
With Kind Regards,
FMA
June 29, 2010 at 4:34 pm #90335In reply to: what als to do ??
folindo
Member// ** MySQL settings – You can get this info from your web host ** //
/** The name of the database for bbPress */
define( ‘BBDB_NAME’, ‘aaadsfgdfgdfgdfgdgd_vb’ );
/** MySQL database username */
define( ‘BBDB_USER’, ‘aasdfsdfsdfsdfd_222’ );
/** MySQL database password */
define( ‘BBDB_PASSWORD’, ’12sdfsdfsdfsdf123′ );
/** MySQL hostname */
define( ‘BBDB_HOST’, ‘aaad.201mb.com’ );
/** Database Charset to use in creating database tables. */
define( ‘BBDB_CHARSET’, ‘1212312312312_vb’ );
/** The Database Collate type. Don’t change this if in doubt. */
define( ‘BBDB_COLLATE’, ” );
this is it I did the same way as it shown upove change it sometimes
I left the database collate type as it was and change it
with all the change I made I couldn’t get through

thank aloooooooooot for your help
June 29, 2010 at 1:22 pm #90334In reply to: what als to do ??
chrishajer
ParticipantIf you open up bb-config.php in your bbpress directory, you can edit it manually and add the database host setting.
/** MySQL hostname */
define( 'BBDB_HOST', 'localhost' );Change localhost there to whatever host your hosting company told you to use for the database. You should be able to continue installation from there. You might need to restart the installation.
June 29, 2010 at 11:42 am #88895In reply to: Twenty Ten for bbPress: Feedback
Mildura Web Design
MemberSweet as refueled, how long do you think it will be available? I’m hoping it’s going to be free?
June 29, 2010 at 7:48 am #87843In reply to: Whoa! (bbPress.org 2.0 is live)
_ck_
ParticipantReminder to whomever is doing the subtle fixes I am seeing, the backtick/code tag is still broken here.
example:
testing code, fixed? <?php if (2>1) {echo "testing";} ?>you should not see &gt/&lt/&quot or multiple ;;; in the above example.
In fact even outside of backticks there is still a htmlentity encoding problem
June 29, 2010 at 6:37 am #83360_ck_
ParticipantThe directory is above site root by default but you can put it anywhere if you don’t care about security. The way WP does it is completely insecure on shared servers. Any chmod 777 folder under the webroot is a beautiful target for evil hackers.
A small percentage of people still seem to have problems with the install routine that is supposed to run upon activation and create the table. I had to use a workaround because of a bug with 0.8 and IIs users but that may break it for other people, especially with 1.0
you can try replacing the
bb_register_activation_hookline with the conventional line that might finally be working correctly under 1.xbb_register_plugin_activation_hook(__FILE__, 'bb_attachments_install');Keep in mind I have not updated bb-attachment in over a year due to a lack of donations, so feel free to write your own. Keep in mind whatever you write will not be compatible/necessary with the eventual version of bbpress that runs as a WP plugin.
June 28, 2010 at 10:03 pm #69818In reply to: phpbb3 -> bbpress converter
kevinjohngallagher
MemberI’m clueless about attatchements from anything to bbPress sadly; but that bbCode plugin works a treat
June 28, 2010 at 9:51 pm #69817In reply to: phpbb3 -> bbpress converter
Andrea.Dintino
ParticipantKevin: like this one -> https://bbpress.org/plugins/topic/bbcode-lite/faq/
are you aware of a way to handle the attachments?
Numediaweb: thanks a lot for your effort, much appreciated!

I’ve been fighting with phpbb for a few days now, it’s leaking everywhere now and I can’t wait to get rid of it

Thanks everybody!
A.
June 28, 2010 at 7:22 pm #84347In reply to: WordPress theme integrator plugin: Alpha launch
Topper99
MemberHi,
I have the same proble as gerikg: the “Chunks of text to remove” boxes numbers keep increasing but no php-code is generated. As well no html-file or any files from pixopoint are generated in the Worpdress upload-folder.
Any idea why?
Cheers,
Thomas
June 28, 2010 at 2:33 pm #69816In reply to: phpbb3 -> bbpress converter
kevinjohngallagher
Memberit doesn’t parse the bbcode inside posts (meaning that all the links inside the posts are gone)
Is the bbcode still present in the bbPress database?
if so, then there are a few bbCode parsers for bbPress availible. I know Matt doesn’t like it, and therefore we are the only forum that won’t support it, but i think it only slows adoption
-
AuthorSearch Results