Search Results for 'code'
-
AuthorSearch Results
-
August 12, 2009 at 2:41 pm #77979
In reply to: Can I remove features from BBCODE BUTTONS?
Marius-
MemberYou know what, this plugin doesn’t work at all for me.
–
edit: Just tried out BBCode Lite, and that works.
Can you limit the width of an image, so it doesn’t exceed the forum?
August 12, 2009 at 2:27 pm #31481Topic: Can I remove features from BBCODE BUTTONS?
in forum PluginsMarius-
MemberI just installed it, and it’s great, but for me, it has too many features.
Can I remove some of them? I mainly want to keep Bold, Italic, Quote and Link. Not the other stuff.
There’s no settings panel for it in Admin.
August 12, 2009 at 1:32 pm #77947In reply to: WordPress / BB Press Issue with logging in users
Sam Bauers
ParticipantMake sure you update the settings in the bbPress Integration plugin as well and then copy the new code it produces into wp-config.php
August 12, 2009 at 1:29 pm #77973In reply to: Can I use the forum as a page in WordPress?
Marius-
MemberThats too complicated for me. I’m not an expert coder at all.
I barely manage to change colors and sizes in the CSS. Just moving the search-bar is a several hour project for me lol.
I was hoping there was an easy way out, just to make the forum load in the normal page-window, like a normal post would have. Give it the value of a post or something. But recreating a brand new template, and all that stuff, is way too hard for me.
August 12, 2009 at 1:13 pm #77972In reply to: Can I use the forum as a page in WordPress?
buddha-trance
MemberWhen I edited the Kakumei files, I recreated a sidebar to match the look of the blog with the forum tags and other stuff (blog latest posts, etc.), but without the widgets. The look still matches the blog, though the content of the sidebar is different. Whatever you have as text widgets in the blog you can always hard code in the forum sidebar.
The “sidebar” is in front-page.php, under
<div id=”hottags” role=”main”>
hard code any sidebar content there, then match the css in the stylesheet. You can even float the div to the right, rather than the left, depending on your blog’s theme.
August 12, 2009 at 12:05 pm #68924In reply to: WPMU integration
ovizii
Participanttha code snippet by clarko seems to do the trick even with bbpress 1.0.1 and wpmu 2.8.4
August 12, 2009 at 10:51 am #59126zvoort
MemberGreat, tnx!
August 12, 2009 at 4:05 am #77958In reply to: WordPressMU + BBPress Theme
Archie Webmaker
ParticipantSorry, Everything is running fine. “the page not found” was simply because of the wordpress custom code in the title. I just type in title name and it run fine.
August 11, 2009 at 11:54 pm #77967In reply to: Can I use the forum as a page in WordPress?
Ipstenu (Mika Epstein)
ModeratorThis is just a custom theme.
You could do it by making either a page with a redirect to the forum, or just a link to the forum in the header, and then theme your forums to look like your site.
All the cool kids do it
August 11, 2009 at 7:32 pm #77906In reply to: Custom text for password mail message
Olaf Lederer
Participant
no one here with some advice on how to fix that?
this kind of feature is important for every forum owner
August 11, 2009 at 4:46 pm #75839In reply to: Display the Author of a topic
srydzinski
MemberI’m a little confused by this solution. where does this code need to go?
August 11, 2009 at 3:59 pm #76675In reply to: Navigation not working only for Page 1
_ck_
ParticipantIf this appears in your
front-page.php, then you have bbPress 1.0.x and you have a bug<?php bb_latest_topics_pages( array( 'before' => '<div class="nav">', 'after' => '</div>' ) ); ?>The same bug was in some rare cases of 0.9
and I programmed around it in
topics-per-pageI doubt it will work properly on 1.0 but you can try installing the plugin, remove the above line and replace it with
<div class="nav"><?php front_page_pages(); ?></div>August 11, 2009 at 10:49 am #76792Gautam
MemberThanks
August 10, 2009 at 7:29 pm #69747In reply to: phpbb3 -> bbpress converter
unholyfruitbat
Membercloo, were there any errors during your conversion?
I was going to attempt 3.0.4 > bbpress 1.0.2 until I saw this
August 10, 2009 at 6:12 pm #77866In reply to: Login does not work after successfull install?
Ipstenu (Mika Epstein)
ModeratorI’m sorry
That is the ONLY time I’ve seen that error. I mean, you can’t login, so clearly you have no plugins activated to be causing that.
August 10, 2009 at 5:20 pm #77865In reply to: Login does not work after successfull install?
Marius-
MemberWell ugh, there is no space there! I’ve checked ten thousand times already.
<?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', 'michael_forum' );
/** MySQL database username */
define( 'BBDB_USER', 'michael_forum' );
/** MySQL database password */
define( 'BBDB_PASSWORD', '***' );
/** 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', '' );
?>August 10, 2009 at 5:02 pm #76827In reply to: Ubuntu India Forum redesign
neilogic
MemberYou mean the bottom float or something else. For the bottom facebook like bar here’s the code that we are using on Ubuntu India Forums.
.fbar {
background:#fff url("images/buttonbar.gif") top left repeat-x;
border: 1px solid #aaa;
border-bottom:none;
height:26px;
left: 5%;
bottom: 0;
position: fixed;
width:90%;
z-index:5;
}If you wanna know something else please let me know I will paste it here. Cheers!
August 10, 2009 at 4:57 pm #77834In reply to: I want hide tags
Ipstenu (Mika Epstein)
ModeratorRead this: https://bbpress.org/documentation/themes/
See how in step 1 it says to make sure you have a
my-templatesfolder?You’ll be putting
style.cssin/public_html/forum/my-templates/NEWTEMPLATE/With a header in
style.csslike this:/*
Theme Name: The name of your cool new theme.
Theme URI: Your theme's url. Maybe it's the blog post you wrote about it.
Description: Describe your theme here. You can be nice and say something like "Blues and Greens in a two-column format" or enigmatic and say "The river here is only waist deep".
Version: Always number your releases. Please only use numbers and decimal points (yes, we broke our own rule).
Author: Author of the original theme,
Author URI: and his or her url.
Ported By: Name of the person who ported the theme to bbPress (if applicable),
Porter URI: and his or her url.
*/Under that you’ll put your custom CSS like
topic-tags { display: none; }
post-form-tags-container { display: none; }August 10, 2009 at 4:54 pm #77943In reply to: Edit register.php
Ipstenu (Mika Epstein)
ModeratorWhy not just redirect any calls to register.php to your WordPress site via .htaccess?
Redirect 301 /forums/register.php http://paperviewzine.com/wp-login.php?action=register
Redirect 301 /forums/bb-reset-password.php http://paperviewzine.com/wp-login.php?action=lostpasswordAugust 10, 2009 at 4:41 pm #76826In reply to: Ubuntu India Forum redesign
Arturo
Participantthe login bar is very cool, is possible share the code? thanks
August 10, 2009 at 4:40 pm #31472Topic: Edit register.php
in forum Themesdriz
MemberI’m trying to edit register.php in my template file so that it will use my WordPress one instead, this is the code I have so far, but it doesn’t work, any help thanks.
<?php if ( !bb_is_user_logged_in() ) { ?>
<?php header("Location: http://paperviewzine.com/wp-login.php?act=register"); ?>
<?php } else { ?>
<?php header("Location: http://paperviewzine.com/forums/"); ?>
<?php }; ?>August 10, 2009 at 4:21 pm #77864In reply to: Login does not work after successfull install?
Ipstenu (Mika Epstein)
ModeratorFYI, use the backtick (see the note below the post message box) to post code.
And … as I predicted, I can’t see if you have a blank line after your
?>
August 10, 2009 at 3:30 pm #77862In reply to: Login does not work after successfull install?
Ipstenu (Mika Epstein)
ModeratorYou can try, but even if you did, I’m pretty sure I’d never see if there were blank lines or extra lines below and above, would I? That’s the bi**h about debugging this

The only ticket on this even says blank lines are the cause: https://trac.bbpress.org/ticket/815
August 10, 2009 at 2:23 pm #77860In reply to: Login does not work after successfull install?
Ipstenu (Mika Epstein)
ModeratorIn WordPress that error is almost always caused by spaces or blank extra lines in your config file.
http://www.hongkiat.com/blog/wordpress-error-warning-cannot-modify-header-information/
The same is, generally, true of bbPress. Please read the link above to make sure that when we talk about spaces, we’re both talking about the same thing
August 10, 2009 at 8:56 am #76812In reply to: Latest Discussions
hpguru
MemberYes.
-
AuthorSearch Results