Search Results for 'code'
-
AuthorSearch Results
-
April 29, 2010 at 11:59 am #87445
hiimdonald
MemberI would love to know which line of code
April 29, 2010 at 11:43 am #59942In reply to: Can’t get permalinks working
zaerl
ParticipantDoing that change affects only your code and not the server.
April 29, 2010 at 6:45 am #86666In reply to: Continuing Topic Icons
Alex Luft
ParticipantThat it definitely would.
I need a back-end to this asap. Badly. And for some reason, the code rules don’t work for me.
I actually asked Zaerl to maybe do his coding magic and rewrite the forum/topic icons plugin here:
https://bbpress.org/plugins/topic/zaerl-visibility/#post-5776
April 29, 2010 at 1:29 am #59940In reply to: Can’t get permalinks working
ioloman
MemberI did, and i checked phpinfo(); so the value still empty
April 29, 2010 at 1:00 am #87143In reply to: WordPress 2.9.2 and bbpress cookies integration.
jakshi
MemberConcerning to my issue – I am using php 5.2.13 (I know this exactly, because I’m self hosting my blog on worpdress
)I’ll try to remove ?> in the end of the wp-config.php.
May be it’s significant for cookie inegration.
April 29, 2010 at 12:55 am #59939In reply to: Can’t get permalinks working
zaerl
Participanton bb-config.php type:
$_SERVER['SERVER_SOFTWARE'] = "Apache/2.2";BUT keep in mind that this is a ugly hack.
P.S. change host
April 28, 2010 at 9:55 pm #59935In reply to: Can’t get permalinks working
zaerl
ParticipantThat’s strange.
$is_apache = ( strpos( $_SERVER['SERVER_SOFTWARE'], 'Apache' ) !== false || strpos( $_SERVER['SERVER_SOFTWARE'], 'LiteSpeed' ) !== false);this is the line that check the server software. Check phpinfo() and see what you get.
April 28, 2010 at 9:43 pm #87218In reply to: Remove user website link from topic
Pomy
Participant@ zaerl, @ mr_pelle .. thanks
its now working fine
April 28, 2010 at 8:33 pm #34133Topic: Need a copy of the following themes
in forum ThemesAshish Kumar (Ashfame)
ParticipantAnyone who can help get me a copy of the following themes :
- Blackletterhead
- Bloody Gray
- Spartan
- Options by Justintadlock – Yeah I can’t find this one too
- Marked_bb
- Futurekind
- WPMimic
Thanks in advance
April 28, 2010 at 8:07 pm #87140In reply to: WordPress 2.9.2 and bbpress cookies integration.
Ashish Kumar (Ashfame)
Participanthaving
?>at the end is not specific to wp-config.phpIt can be removed from any php file and its something debatable
I am still unsure about the PHP5 thing you mentioned. I would need an explanation to believe in it.
And I shoot you an email using your contact form. Did you get that?
April 28, 2010 at 6:54 pm #87444kieranyo
MemberWhat he said ^

if you want to know exactly I can point you to the line of code.
April 28, 2010 at 5:32 pm #87459In reply to: Problems when installing bbpress
kevinjohngallagher
MemberHey Josh,
We’re not passing the buck here mate, but really, unless it’s a front end bbPress issue, you’re going to have to go the the BuddyPress people.
the version of bbPress that is included in BuddyPress is insanely heavily hacked/edited; with the entire backPress from bbPress removed and replaced. Other than the displaying of the forum (and i mean the physical HTML routines in teh templates), everything else is different.
We can help you guess, but really, you’ll get the answers quicker from the great people over at BuddyPress who wrote the code you’re having an issue with.
April 28, 2010 at 5:11 pm #87480In reply to: Add New Topic Image
cnc
MemberThanks, zaerl

It works……
April 28, 2010 at 4:59 pm #87298In reply to: wordpress integration
Ashish Kumar (Ashfame)
ParticipantAdd the code just after this :
<?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
*/April 28, 2010 at 4:36 pm #87479In reply to: Add New Topic Image
zaerl
ParticipantOn front-page.php, forum.php, tag-single.php substitute
bb_new_topic_link();withbb_new_topic_link(array('text' => '<img src="the url of your image" alt="the alt title" />'));April 28, 2010 at 4:34 pm #87456In reply to: Problems when installing bbpress
Josh
MemberWell, i installed it from buddypress, i know it’s a standalone website app, it’s just it’s giving errors when i go to manage it’s settings from the dashboard.
Theme errors:
backticksWarning: require_once(/home/milleja4/domains/milleja46games.frih.org/public_html/blog//forums/bb-admin/admin-functions.php) [function.require-once]: failed to open stream: No such file or directory in /home/milleja4/domains/milleja46games.frih.org/public_html/blog/wp-content/plugins/bbpress-admin/bbpress-theme-admin.php on line 86backticksThen in bbpress settings:
backticks<form class=”options” method=”post” action=”Fatal error: Call to undefined function bb_option() in /home/milleja4/domains/milleja46games.frih.org/public_html/blog/wp-content/plugins/bbpress-admin/bbpress-options-admin.php on line 38
backticksApril 28, 2010 at 4:19 pm #87297In reply to: wordpress integration
kikko088
Membernothing, I try to add also this line but nothing…
clean install of bbpress and 0 plugin wp.my bb-config.php
<?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’, ‘mio’ );
/** MySQL database username */
define( ‘BBDB_USER’, ‘root’ );
/** MySQL database password */
define( ‘BBDB_PASSWORD’, ‘root’ );
/** 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’, ” );
require_once(dirname(__FILE__) . ‘/../wp-load.php’);
OR
(
/* Deep integration */
if ( !defined(‘ABSPATH’) & !defined(‘XMLRPC_REQUEST’)) {
define(‘WP_USE_THEMES’, false);
include_once(dirname(__FILE__) . ‘/../wp-blog-header.php’ );
header(“HTTP/1.1 200 OK”);
header(“Status: 200 All rosy”);
}
)
?>
I I’m not expert on php, I add correctly the line?
April 28, 2010 at 3:00 pm #87136In reply to: WordPress 2.9.2 and bbpress cookies integration.
jakshi
MemberNot at all.
I agree with “salts were never included in sample config file”, When I do integrations – I get salts values from options.
I and many other people will very happy if developers of bbpress says us what difference between your good working wordpress and bbpress cookie integration, and their wordpress and bbpress cookie integration that don’t work.
But for now – it’s still unresolved issue
April 28, 2010 at 2:28 pm #87296In reply to: wordpress integration
Ashish Kumar (Ashfame)
ParticipantPlugins can cause that, timeout issue, memory limit but I would suggest that try this code for deep integration
/* Deep integration */
if ( !defined('ABSPATH') & !defined('XMLRPC_REQUEST')) {
define('WP_USE_THEMES', false);
include_once(dirname(__FILE__) . '/../wp-blog-header.php' );
header("HTTP/1.1 200 OK");
header("Status: 200 All rosy");
}and remove your line of code which includes
wp-load.phpApril 28, 2010 at 2:23 pm #87439kieranyo
MemberThanks everyone!
bforeste: it was very easy to do. Without sounding too technical, by default the forum includes an alternating “class” for each reply, all I did was use CSS to “float:right” instead of using the default “float:left” on each one. The existing html and css caters for this very well.
April 28, 2010 at 2:13 pm #87438bforeste
MemberBig fan of the alternating avatar ‘conversation’…great idea. Should be default format for any board IMO.
Is this mod easily done for a non-coder?
April 28, 2010 at 1:47 pm #85185In reply to: Guranteed Fix for WP/bbPress Integration!
Ashish Kumar (Ashfame)
Participantyeah buddy! was off track now back to the game

I will investigate by hard-coding cookiepath, cookiedomain and like stuff in bbPress too.
I understand your point completely, I would have done the same for production sites and kept the testing going on test site.
April 28, 2010 at 12:56 pm #85183In reply to: Guranteed Fix for WP/bbPress Integration!
kevinjohngallagher
MemberYo dudes,
I know matey, wasn’t meant in a bad way at all

In terms of backward compatability, there’s quite a bit of change to how constructs and classes are handled, and depending on when the code was written, could cause some hidden issues.
bbPress 0.7,0.8 & 0.9 weren’t major rewrites of any of the basic backend code. A huge chunk of them were written by Matt over a weekend some 7 years ago and the move to backPress was a definative leap (fully awesome OOPness – as much as its kinda useless ).
So what i meant wasn’t just the leap from PHP4final to PHP5; but also things that were not aimed for PHP4 but that PHP4 supported. i.e. The code that was still in bbPress0.9 that was written when PHP3 was still around.
Long time bro.
I know the problem of which you speak mate, and while not knowing exactly which bit of code makes it go away, I’ve not had it in ages.
Login in wordpress >>> check that i’m “logged in” on bbPress >>> access admin.
Yeah it all works. I’ll have to delve into the code when home, but I think the sites I’m testing on are using “super anne” code/plugin. I also doubt these are on the latest versions of bbpress/wordpress. Frankly I’ve accepted that installing bbpress means not upgrading wordpress.
As i recall from the long long long thread in 2008, the key thing was having:
in wordpress config:
define(‘COOKIE_DOMAIN’, ”);
define(‘COOKIEPATH’, ‘/’);
in bbPress config:
$bb->authcookie = ‘wordpress_’;
$bb->cookiedomain = ”;
$bb->cookiepath = ‘/’;
$bb->sitecookiepath = ”;
The basic theory was that the bbPress admin, wasn’t reading the wordpress cooking properly or at all, something to do with when it was assigning/pulling data from the “$bb” global variable; so it wouldn’t let you access the admin panel of bbPress. But by setting this info in the config (loaded first) it solved it.
That may be pie in the sky my friend, but thats what my brain is telling me.
April 28, 2010 at 12:13 pm #87435kieranyo
MemberThanks!
Yeah I’m quite happy with how it turned out. It gives it more of a feeling that it’s a conversation
April 28, 2010 at 12:06 pm #87434Ashish Kumar (Ashfame)
ParticipantNice design! I like the way you show alternate avatar positions on topic page
-
AuthorSearch Results