Search Results for 'codes'
-
Search Results
-
Hi,
i have a little problem with the bbcode lite plugin: when i use the code bbcode, and when i display others bbodes into it, this bbcodes are not displayed in code.. so it is possible to correct that?
Bye
++
I have a forum running as an appendix to the wordpress blog we have at lyngbytaekwondo.dk and people love it.
Now after upgrading WP to version 2.5.1 it seems like all my html examples in the forum are being ruined when I try to add something. Right after installing the forum I did a post where wrote a post about how to use som of the html codes available and it worked nicely with the backtick to keep bbPress from formatting.
When I tried to modify something yesterday by editing the post, all the html examples in backticks were destroyed and I cannot get the backtick to work again.
If anybody can recommend a starting point for me to debug this, it will be appreciated.
Topic: Adding [code]
Hi,
why if I use the
Code:it didn’t show the real code that I want to show to members ? like hyperlink codes or br
it always converted to html ..
how to fix it or what plugins I must install ?
I already installed bbcode Lite n Buttons Toolbar
Topic: 1and1 Hosting Problem
Anyone else have this problem with 1and1 ?
I cannot get pretty permalinks to run, even after following directions.
I wrote to them
I am running wordpress and bbpress in the same root directory
http://mysite.com is wordpress install and
http://mysite.com/bbpress/ is bbpress install each install has
it’s own .htaccess for using permalinks. WordPress permalinks work fine
but I cannot get bbpress pretty permalinks to work at all. I have tried
different variations of htaccess codes for both files without any
success. It seems to me that the main root htaccess is overriding the
/bbpress/ htaccess.
Any suggestions ?
This was their reply to me.
“Dear Cliffmaster, (Customer ID: 6XXXXXXXX)
Thank you for contacting us.
With regards to your query,
we would highly suggest that you install BBpress on a different folder
and not on folder where you have installed a different CMS (WordPress).
Please separate the two CMS’s by installing them on different folders
under the root directory (/.)
If you have any further questions please do not hesitate to contact us.
—
Sincerely,
Technical Support
1&1 Internet “
I use a custom theme (heavily a modified Kakumei) and some custom plugins. The forum is new, so it doesn’t have activity, all our users are still using the Vanilla forum we had.
I didn’t hack any core files, all “non standard things” are donde via custom plugins.
Plugins i use:
– My own “Ajustes” (for sidebar, footer and navigation menu content, profile content, and some html tags).
– MD5 Insecurity (will be deactivated soon).
– Private Messaging Extended
– A custom Quicktags (ported from Vanilla)
– Ajaxed Quote
– Simple Online List (i also modified a lot this plugin, because it never worked for me ….).
– Unread Topics. I also modified this one, it was doing too many queries. I added some indices and reduced the overhead.
– User Photo. I ported the User Photo WP plugin.
– Human Test.
Also i indirectly use:
– Gaming Codes: each user can enter his gaming codes. They’re displayed on the user profile.
– Aleph: this plugin creates user lists (among other things). So i use it inside WP like a “member list”. The beauty is that i can easily create different user lists, so i created a list for each gaming code (in other words, users can see which users have a certain gamer code).
As i said, the theme is a heavily modified Kakumei. I replaced all topics/forum loops with my own, trying to mimick the Vanilla look. Also the css is based on the Tarski theme for WordPress. In fact, i import it directly from the WP installation.
For the forum/topic icons, i created a custom plugin which printed the css based on the slug of each forum, and then i added the resulting code to the style.css. I still have to create a lot of icons, those are temporary.
I hope you like my forums and if you have any questions or would like a plugin/theme release, just ask :p
I am well stumped, I really am
I have read as much as I can find on issues with integration but still no love.
The setup:
Server IIS.
Latest WP.
Latest BB.
ALL secret codes match.
Config files have the suggested added lines of code.
Priv mappings are all set correctly.
So far though, I can get only one account to auto login into wp from bb, and that’s only if I log in through BB only, ie. if I login through WP, it does not carry over to BB but does from BB to WP. This user incidentally has an account setup both in BB and WP.
Any other BB account can not log into WP, regardless of being logged into BB first.
Any ideas out there? I’m loving both new versions, but I have close to 2000 users that I would like to allow contribution privs to WP with their existing BB accounts – it seems WP does not see any of the BB users.
Cheers!
Hi all,
I’m using this in Japanese. When the user is registered, mail is garbled. It seems that it is because the mail body is submitted with raw UTF8 (not MIME-encode) also this is because of mail in Japanese(encoded iso-2022-jp) being provided as shown in RFC1468.(See http://www.ietf.org/rfc/rfc1468.txt)
However, it is possible to display it even in Japanese with UTF8 normally by doing appropriate treatment.
1. Add Content-Type header and etc.
$headers[] = “MIME-Version: 1.0”;
$headers[] = “Content-Type: text/plain; Charset=UTF-8”;
$headers[] = “Content-Transfer-Encoding: 8bit”;
2. MIME encodes the header.
use mb_encode_mimeheader().
http://www.php.net/manual/en/function.mb-encode-mimeheader.php
Regards,
Topic: hide subforums on main page
Currently,
bb-admin/admin-header.php
uses active template’slogged-in.php
. I changed this php in my theme, and it looks a little bit strange in admin page.I think admin page shouldn’t use any files from templates, even the default template. Could this be an issue?
And it seems no need to use
login_form()
, it should just include alogged-in.php
inbb-admin
or simply put codes withinadmin-header.php
.Hi,
I’m trying to add a new custom page to my forum. It’s very simple, this is what I have so far:
– 1 custom page called test.php
– the page includes the forum header and footer
– The content (middle) part is pulled from the db aswell
All works fine except hyperlinks! Links like http://www.test.com will NOT appear as a hyperlink, but just as plain text. How to fix this? I want this to behave just like this textfield I am typing in right now (auto hyperlink converting).
bbcodes like bold do work.
_Null
Topic: Error: Already installed
Hi!
I am trying out BB for the first time, but upon running install.php I get this:
hide_errors(); $installed = $bbdb->get_results("SELECT * FROM $bbdb->forums LIMIT 1"); if ( $installed ) : if ( !$new_keymaster = bb_get_option( 'new_keymaster' ) ) die(sprintf(__('
Already Installed
You appear to have already installed bbPress. Perhaps you meant to upgrade instead?
To reinstall please clear your old database tables first.
') . '', bb_get_option( 'uri' ) . 'bb-admin/upgrade.php')); $meta_key = $bb_table_prefix . 'capabilities'; $keymaster = false; if ( $keymasters = $bbdb->get_results("SELECT * FROM $bbdb->usermeta WHERE meta_key = '$meta_key' AND meta_value LIKE '%keymaster%'") ) { foreach ( $keymasters as $potential ) { $pot_array = unserialize($potential->meta_value); if ( is_array($pot_array) && array_key_exists('keymaster', $pot_array) && true === $pot_array['keymaster'] ) die(__('
Already Installed
You appear to have already installed bbPress. Perhaps you meant to run the upgrade scripts instead? To reinstall please clear your old database tables first.
') . ''); } } $user = new BB_User( $new_keymaster ); if ( $user->data ) : $user->set_role( 'keymaster' ); ?>
data->user_login); ?>
show_errors(); switch ($step): case 0: ?>
hide_errors(); if ( $users = $bbdb->get_var("SELECT ID FROM $bbdb->users LIMIT 1") ) { $meta_key = $bb_table_prefix . 'capabilities'; if ( $keymasters = $bbdb->get_results("SELECT * FROM $bbdb->usermeta WHERE meta_key = '$meta_key' AND meta_value LIKE '%keymaster%'") ) { foreach ( $keymasters as $potential ) { $pot_array = unserialize($potential->meta_value); if ( array_key_exists('keymaster', $pot_array) && true === $pot_array['keymaster'] ) { $keymaster = (int) $potential->user_id; break; } } if ( $keymaster ) $keymaster = $bbdb->get_row("SELECT * FROM $bbdb->users WHERE ID = '$keymaster'"); } } $bbdb->show_errors(); } ?>
everything (database information, email address, etc.) entered correctly in config.php before running this script.'); ?>
add('domain', __('Your $bb->domain setting must not end in a backslash "/".') ); $domain = parse_url($bbd); if ( !$domain ) $errors->add('domain', __('Your $bb->domain setting cannot be parsed.') ); // Not very helpful, but should essentially never happen. if ( !$domain['scheme'] ) $errors->add('domain', __('Your $bb->domain setting must start with http://.') ); if ( $domain['path'] && '/' != $domain['path'] ) $errors->add('domain', __('Your $bb->domain setting must only include the http:// and the domain name; it may not include any directories or path information.') ); if ( '/' != $bbp{0} ) $errors->add('path', __('Your $bb->path setting must start with a backslash "/".') ); if ( '/' != substr($bbp, -1) ) $errors->add('path', __('Your $bb->path setting must end with a backslash "/".') ); // We don't really do anything with $bb->wp_site_url. if ( $wph = bb_get_option( 'wp_home' ) ) { if ( '/' == $wph{strlen($wph) - 1} ) $errors->add('wp_home', __('Your $bb->wp_home setting must not end in a backslash "/".') ); $home = parse_url($wph); if ( !$home ) $errors->add('wp_home', __('Your $bb->wp_home setting cannot be parsed.') ); if ( !$home['scheme'] ) $errors->add('wp_home', __('Your $bb->wp_home setting must start with http://.') ); if ( preg_match('|(.*.)?([^.]+.[^.]+)|', $domain['host'], $d2 ) && preg_match('|(.*.)?([^.]+.[^.]+)|', $home['host'], $h2 )) if ( $d2[2] != $h2[2] ) $errors->add('cookie', __('Your $bb->domain and $bb->wp_home settings do not have the same domain.
You cannot share login cookies between the two.
Remove the $bb->wp_home setting from your config.php file.') ); if ( !strstr($bbp, $home['path'] . '/') ) $notices->add('cookie', __("Your bbPress URL ({$bbd}$bbp) is not a subdirectory of your WordPress URL ($bb->wp_home).
Sharing login cookies is possible but is more complicated. See the documentation about integrating bbPress and WordPress.
In the meantime, remove the $bb->wp_home setting from your config.php file, or you may not be able to log in.") ); } if ( $cd = bb_get_option( 'cookiedomain' ) ) { if ( '.' == $cd{0} ) $cd = substr($cd, 1); if ( !strstr($bbd, $cd) ) $errors->add('cookie', __('Your $bb->cookiedomain is not in the same domain as your $bb->domain. You will not be able to log in.') ); } $cp = bb_get_option( 'cookiepath' ); if ( $cp != preg_replace('|https?/[^/]+|i', '', bb_get_option( 'wp_home' ) . '/') && !strstr($bbp, $cp) ) $notices->add('cookie', __('Your bbPress URL $bb->path is outside of your $bb->cookiepath. You may not be able to log in.') ); if ( $ecodes = $errors->get_error_codes() ) { echo "
* n"; if ( in_array('domain', $ecodes) ) foreach ( $errors->get_error_messages( 'domain' ) as $message ) echo "t$message
* n"; if ( in_array('path', $ecodes) ) foreach ( $errors->get_error_messages( 'path' ) as $message ) echo "t$message
* n"; if ( in_array('wp_home', $ecodes) ) foreach ( $errors->get_error_messages( 'wp_home' ) as $message ) echo "t$message
* n"; if ( array('cookie') == $ecodes ) { // Only show cookie errors if nothing else is wrong foreach ( $errors->get_error_messages( 'cookie' ) as $message ) echo "t$message
n"; echo "
n"; break; } echo "n"; echo "It continues from there…
The problem is, I have never installed BBPress. I went to MySQL after I got the error the first time, made a database for BB called “bbpress” but still get the error (even though the database is new, fresh and entirely empty). What’s up?