Search Results for 'code'
-
AuthorSearch Results
-
January 23, 2010 at 6:25 pm #84037
In reply to: custom field for bbpress front-page main text
Lucian Florian
MemberIt seems that there is an easy way to do that.
Add the text in options at tagline and call the code on front page only:
<p>
<?php if ( bb_get_option(‘description’) ) : ?><p class=”description”><?php bb_option(‘description’); ?></p><?php endif; ?>
</p>
I also have put together an small plugin which could offer an WYSIWYG editor for formatting purposes.
Fernando Tellado
Participantbbcode lite is the one I use too
January 22, 2010 at 9:20 pm #75704In reply to: Avatar Upload in bbPress 1.0
gasface
Member“Make sure you have inserted the code.
Refer to the installation notes you should have got with your download. “
The notes refer to files that dont even exist in the newest release.
ie. there is no “post.php”
Michael
Participant@ paamayim – BBCode Lite is the only plugin. It works perfectly for me.
paamayim
MemberUp.
Do anyone know a solid plugin to parse bbCode ( , , … ) per the latest version of bbPress?
January 22, 2010 at 2:58 pm #84133In reply to: bbPM blank page
chrishajer
ParticipantThe 500.php shown in that log leads me to believe you are getting a 500 error “Internal Server Error”. Unfortunately, this error log does not show what’s causing the 500 error, which is what is causing your blank screen. We need to find out what’s causing the 500 error.
You can add this to the .htaccess file in your forum root to display all errors to the screen, if you cannot find the logs:
ini_set('error_reporting', E_ALL);If your host prevents that in your .htaccess, you will have to try something different. There is lots of information online about either custom logging for PHP or displaying PHP errors to the screen.
January 22, 2010 at 11:32 am #84117In reply to: Convert Woltlab Burning Board to bbPress
Anonymous User
InactiveHi Thomas,
if you have some deeper knowledge in php, mysql and regular expression – you can use the phpbb3 converter and make some change to the code. The code of the phpbb3 converter is understandable – you only must change the tables and row to match the database structure of the Woltlab Burning Board. Its only the question of understanding …
https://bbpress.org/forums/topic/phpbb3-gt-bbpress-converter-beta-release
Greetz
Markus
January 22, 2010 at 6:36 am #84209In reply to: bbvideo stopped working for me
OKTeaRoom
MemberYeah, Easy Twitter Links is the weakest link…goodbye. Thanks again.
Are there any plans to sort of “clean up” the plugin section?
For a new user, you have to dig way too far to find out if a plugin is compatible with 1.02 and then at that point you’ll have to dig through pages and pages of code and update the code yourself to fix the errors people have found.
I know this is off-topic, but the mess over there has to be addressed.
January 22, 2010 at 6:28 am #84208In reply to: bbvideo stopped working for me
johnhiler
MemberI guess it’s possible that a third plugin could cause two other plugins to stop working… especially if they all share a setting or something. It’s hard to tell without digging into the specific code for each plugin!
Are you ok with not using Easy Twitter Links?
January 22, 2010 at 3:26 am #84132In reply to: bbPM blank page
AdamBaird
MemberThis is what comes up in my error log when I try to send a pm
SUEXEC error_log:
[2010-01-21 19:52:44]: uid: (1087/adambair) gid: (1087/adambair) cmd: 500.php
[2010-01-21 19:52:44]: file has no execute permission: (/home7/adambair/public_html/500.php)
[2010-01-21 19:57:05]: uid: (1087/adambair) gid: (1087/adambair) cmd: 500.php
[2010-01-21 19:57:05]: file has no execute permission: (/home7/adambair/public_html/500.php)January 21, 2010 at 8:14 pm #84201In reply to: 404 Errors on Forums/Topics
chengdu-living
ParticipantI found the solution! I went under Settings > Permalinks and updates the .htaccess file with the information there.
If this happens to anyone in the future, check there
January 21, 2010 at 8:06 pm #84200In reply to: 404 Errors on Forums/Topics
chengdu-living
ParticipantBTW I tried what was advised in this thread: https://bbpress.org/forums/topic/bbpress-broke-when-i-changed-the-url but it just displayed the code on the actual live forum page
Here is my bb-config.php included the added part at the very bottom:
<?php
/**
* The base configurations of bbPress.
*
* This file has the following configurations: MySQL settings, Table Prefix,
* Secret Keys and bbPress Language. You can get the MySQL settings from your
* web host.
*
* This file is used by the installer during installation.
*
* @package bbPress
*/
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for bbPress */
define( 'BBDB_NAME', 'justchar_wrdp5' );
/** MySQL database username */
define( 'BBDB_USER', 'justchar_wrdp5' );
/** MySQL database password */
define( 'PASSWORDWASHERE' );
/** MySQL hostname */
define( 'BBDB_HOST', 'localhost' );
/** Database Charset to use in creating database tables. */
define( 'BBDB_CHARSET', 'utf8' );
/** The Database Collate type. Don't change this if in doubt. */
define( 'BBDB_COLLATE', '' );
/**#@+
* Authentication Unique Keys.
*
* Change these to different unique phrases!
* You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/bbpress/ WordPress.org secret-key service}
*
* @since 1.0
*/
define( 'BB_AUTH_KEY', 'put your unique phrase here' );
define( 'BB_SECURE_AUTH_KEY', 'put your unique phrase here' );
define( 'BB_LOGGED_IN_KEY', 'put your unique phrase here' );
define( 'BB_NONCE_KEY', 'put your unique phrase here' );
/**#@-*/
/**
* bbPress Database Table prefix.
*
* You can have multiple installations in one database if you give each a unique
* prefix. Only numbers, letters, and underscores please!
*/
$bb_table_prefix = 'bb_';
/**
* bbPress Localized Language, defaults to English.
*
* Change this to localize bbPress. A corresponding MO file for the chosen
* language must be installed to a directory called "my-languages" in the root
* directory of bbPress. For example, install de.mo to "my-languages" and set
* BB_LANG to 'de' to enable German language support.
*/
define( 'BB_LANG', '' );
?>
$bb->uri = 'http://www.chengduliving.com/bbpress/';January 21, 2010 at 4:07 pm #83958In reply to: From a Project Management viewpoint
Ipstenu (Mika Epstein)
ModeratorI’m an independent contractor and have worked as a PM/BA for the smallest to the largest companies; and you’re not wrong

That said, Project Management exists for a reason. Its a different skillset from development. And no matter the size of the company or organisation, holding a requirement gathering session and then ignoring the data is just daft.
You’re not wrong either! The thing is, I don’t think bbPress Dev is ignoring the data. They wanted to get an idea from the vocal sort (us) to what we wanted, what we feel is needed, then they agreed and went to design the project in the way that works best for them.
I’ve been VERY closely following the WP 3.0 move (I have two blogs I want to merge into one ‘MU’, and I want to see if I’m better off just sucking it up now or not – It’s a LOT of work to do and not lose users), reading IRC logs daily, monitoring tickets. In doing so, I feel I’ve learned a lot about how the process works. For a moment, I really wanted to piss myself. I’d get really excited about a topic, and then someone would raise valid concerns, talk about goats, and they’re off on a new topic.
Seriously terrifying to watch, when you’re invested.
But.
I’ve had experience herding cats like this before. And I realized this looked exactly like the organizing my old community group used to go through, three to four times a year, to put together a highly complicated event for multiple people, maintaining the element of surprise and yet still making all of the 10 to 50 people who were being rewarded feel special, and putting on a good show. Seriously, I have grey hairs from the 5 years I ran that boat. Glad to be off! The point is this stuff is scary to watch and partake in until you’re used to it. I wish there was another way, but I’ve never found it.
I am also in agreement that “it will turn out fine”, the problem with that is there is no time limit. It probably will turn out fine in the end, or eventually, but how do we, the community (sic) attempt to speed up that process?
Code: Join the IRC dev channel and start putting in tickets for what’s broke, fixes for what you can fix, and suggestions. Even a psudeo-code “This would possibly work better if there was a check for ‘If Admin, then foobar’.” can be helpful. Obviously don’t spam, but I’ve always been of the opinion that the best way to HELP an open source project is to get in and see how you can help. Posting here? A good way to vent worry. Joining the devs, even if, like me, you’re a total hack, is helping.
Documentation: Write a definitive ‘This is how you integrate WP and BB 1.x’ post. Or a good how-to on anything. Pull out the most common errors and make a post about how to resolve them. It’s not GREAT documentation, I admit, but it’ll get people started and, when the doc site picks up, the posts could be lifted and tossed in. It would be nice if TPTB would make a documentation site we could edit, but I understand the nightmare that is. Oy. Not everyone is nice
January 21, 2010 at 11:46 am #84152January 21, 2010 at 11:35 am #84151Trisha Cupra
MemberWow, that’s very encouraging.
January 21, 2010 at 10:00 am #84149kevinjohngallagher
MemberI have a function for WordPress that outputs some code into the class section of an item:
e.g.
<li class="<?php my_custom_class_ouput_function(); ?>"> comment/thread </li>It outputs the user’s level after a specific string (e.g. user_level_5), the author’s name after a string (e.g. author_username_bob ), is the user an author (e.g. user_is_an_author) and if the user is the author of the original thread/blog post (e.g initial_author).
You can then set up the styles as you want to display them in CSS.
I’ll have a look at porting this to BBpress later on.
January 21, 2010 at 7:58 am #84147Michael
ParticipantIt’s really good idea – and it can be done, but I’m not sure of the code behind it. If it were me, I’d simply do a template edit to get it right; simply by determining the user’s status, and then using a different post CSS class to make it look different.
Some would suggest a plugin for this however. If I find a way to do it, I will let you know.
January 21, 2010 at 12:49 am #84144In reply to: [resolved] Error on PHP 5.3
Ben L.
MemberIt’s already in the code – http://phpxref.ftwr.co.uk/bbpress/bb-load.php.source.html#l153
You should really update to the latest version – it has multiple security fixes over your version.
(And btw, config.php is deprecated – bb-config.php is where it’s at!)
January 21, 2010 at 12:22 am #84143In reply to: [resolved] Error on PHP 5.3
kehlers
MemberSeemed to have solved this, so I’ll post the answers for anyone else who has this problem.
PHP 5.3+ now requires you to define an object explicitly (
$object = new className();). The$bbvariable in older versions of bbPress is an object which is implicitly defined in config.php. Thus, if you define it explictly as an object of type stdClass, the error goes away, like so:$bb = new stdClass();WARNING: I have not fully tested this, so use at your own risk.
However, I also noted that in bbPress 1.0.2, the whole $bb object seems to be deprecated, so it is likely that if you upgrade to the newest version, the errors will also go away. I can’t upgrade just yet, so I haven’t tried this either.
Cheers!
January 20, 2010 at 11:58 pm #32886Topic: [resolved] Error on PHP 5.3
in forum Troubleshootingkehlers
MemberDoes anyone else get this error in the forum when you have upgraded to PHP 5.3.0? I know this is due to many deprecated features in this version of PHP. Does a recent version of bbPress correct it?
Strict Standards: Creating default object from empty value in /<<pathname>>/forum/config.php on line 15January 20, 2010 at 4:36 pm #32881Topic: Convert Woltlab Burning Board to bbPress
in forum InstallationThomaschaaf
MemberWe’ve got a forum at http://vsphp.de/forum which doesn’t have alot of entries but does have quiet a few. I’d like to find out, whether there is a way to port the entries from an existing Woltlab Burning Board to bbPress. I’d be glad if you could help
January 20, 2010 at 2:59 pm #32877Topic: Post Count Plus
in forum PluginsMichael
ParticipantHi all

I hope someone can help me here, and if more information is needed, please ask.
I have Post Count Plus enabled on my installtion, and I need to extned it’s functionality without hacking the core.
As it stands, Post Count Plus is colouring the name of the user according to his/her status. This works everywhere it was designed to, but I need to know how it works so I can extend it to the statistics at the bottom of my front page.
As you can see, the display names at the bottom do not have highlighting.
Any help would be simply awesome.

Peace, Michael
paamayim
MemberHi Fernando,
– bbcode buttons toolbar
what plugin do you use to parse bbcode then?
I don’t read bbcode lite in your post, infact it shouldn’t work for 1.0.2 the one in the repository.
Testing: hello world it doesn’t work even here?
January 20, 2010 at 11:23 am #83956In reply to: From a Project Management viewpoint
kevinjohngallagher
MemberI’d wager Matt has a calming affect when he writes more than 5 words

I am also in agreement that “it will turn out fine”, the problem with that is there is no time limit. It probably will turn out fine in the end, or eventually, but how do we, the community (sic) attempt to speed up that process?
My concern is that we’ve been through this all before Chris. Remember the “its all fine so I made a BBpress Fan Page on Facebook”? Remember the definitive instructions on how to get BBpress and WordPress to play nice together, that instead of being in the documentation was a 7 page thread with the answers on how to actually do it on page 4?
I’m not meaning to bring up the past and use it as a stick to beat the BBpress people with, I just feel we go over the same things time and time again, don’t you? And so far, we appear to be repeating the exact same mistakes.
I dunno, i’ll try and come up with something, because I’m confident that we wont have a BBpress version that integrates with wordpress out of the box this year.
January 20, 2010 at 7:09 am #84023In reply to: improved spoiler (plugin)
Michael
ParticipantGlad to know this.
I’m assuming this doesn’t add any buttons to the BBCode Toolbar – so anyone know how I can add it? My knowledge of regular expressions is very limited.
-
AuthorSearch Results