Search Results for '\"wordpress\'
-
Search Results
-
Ok people, here’s the deal.. I’ve installed MediaWiki 1.8.2 on my domain: http://codex.spencerp.net/ and customized the links for it and so forth.. no big deal right… ?
What I have done so far is (in this order)..
1) Integrated bbPress to my WordPress blog.. So anyone that registers on my bbPress forums, is automatically registered into my WP blog. Usernames and Passwords work for BOTH..
2) Applied the bbPress_Auth_for_MediaWiki extension to my MediaWiki.. However, I had to use some of the modifications listed here.
Now, people can login to my MediaWiki with the usernames and passwords from either the WP blog, or the forums..
The ONLY problem I’m having now, is.. having users register for a new account on my MediaWiki “Create New Account” page.. sigh.. I’m getting the following error..
http://codex.spencerp.net/Special:Userlogin?type=signup&returnto=Main_Page
“Login error:
There was either an external authentication database error or you are not allowed to update your external account.”
Which is obviously saying, it’s trying to create a new account in the MediaWiki database.. but, where really it should be trying to make a new account in my WP database.. right? Or, that might be meaning the other way around.. I’m not sure.
My questions are:
1) Is there a way to modify the “Create New Account” page, with the WP register page codes? So, when someone tries to create a new account on my MediaWiki itself.. it calls the WP database for it?
Or..
2) Just modify the MediaWiki file, that contains the “Create Account” link, and use the link to the registration page for the WP blog itself? And if so, which MediaWiki file does this reside in?
I guess I’d rather have it simple.. and just implement the WP registration codes, into the MediaWiki file.. so there is no redirecting of the “Create Account” link in my MediaWiki..
Or, does someone know of an “extension” for MediaWiki.. that synchronizes the MediaWiki & WordPress registrations? Thanks in advanced..
spencerp
/It’s ALMOST totally there now.. the way I want her.. just that dang Registration problem on the MediaWiki sigh.
By the way, you have to be registered and signed-in, to edit my Wiki.. whee! Which means, you’ll have to register on my blog, or forums first! This is why I’d like to get this MediaWiki registration figured out soon sigh..
I’ve tried to match it up as close as possible to the main site without looking too “off” and feel that I’ve done a pretty good job.
http://www.nowwerecookin.org/bbpress/
You’ll need a p/w and username: test/test
Plugins used:
- Allow Images 0.7.1
- Avatar .73a
- bbEmoticons version 0.72
- Memberlist .73a
- Google Sitemap Generator .6
- BBPress Private Messaging 0.73
- Use Display Name 0.7.2
- Online List 1.3-fix
- WordPress Integration .7
(all plugs found via these forums
)
Feedback would be greatly appreciated. I’ve checked on Firefox 2.0 and IE 6.0 but would love to hear from users of other browsers!
Thanks in advance, and a huge thanks to those who’ve posted these plugins, as well as the FAQ and other solutions. Skinning this thing has been a bear, but everything else has been relatively easy as pie.
Topic: problem with config file?
After I installed and got into the first page I noticed there was no styles.
Seems every link points to: http://www.kensavage.com/forums/forums/
I figured I added a trailing slash or something but it seems ok. When I take the extra forums/ out of any link it works fine including the css. Any ideas?
My config file:
// Change the prefix if you want to have multiple forums in a single database.
$bb_table_prefix = ‘bb_’; // Only letters, numbers and underscores please!
// If your bbPress URL is http://bbpress.example.com/forums/ , the examples would be correct.
// Adjust the domain and path to suit your actual URL.
// Just the domain name; no directories or path. There should be no trailing slash here.
$bb->domain = ‘http://www.kensavage.com/forums’; // Example: ‘http://bbpress.example.com’
// There should be both a leading and trailing slash here. ‘/’ is fine if the site is in root.
$bb->path = ‘/forums/’; // Example: ‘/forums/’
// What are you going to call me?
$bb->name = ‘Making IT in Massachusetts Forums’;
// This must be set before running the install script.
$bb->admin_email = ‘ken@kensavage.com’;
// Set to true if you want pretty permalinks.
$bb->mod_rewrite = ‘true’;
// The number of topics that show on each page.
$bb->page_topics = ’30’;
// A user can edit a post for this many minutes after submitting.
$bb->edit_lock = ’60’;
// Your timezone offset. Example: -7 for Pacific Daylight Time.
$bb->gmt_offset = ‘-5’;
// Change this to localize bbPress. A corresponding MO file for the
// chosen language must be installed to bb-includes/languages.
// For example, install de.mo to bb-includes/languages and set BBLANG to ‘de’
// to enable German language support.
define(‘BBLANG’, ”);
// Your Akismet Key. You do not need a key to run bbPress, but if you want to take advantage
// of Akismet’s powerful spam blocking, you’ll need one. You can get an Akismet key at
// http://wordpress.com/api-keys/
$bb->akismet_key = ‘false’;
// The rest is only useful if you are integrating bbPress with WordPress.
// If you’re not, just leave the rest as it is.
$bb->wp_table_prefix = ‘ks_’; // WordPress table prefix. Example: ‘wp_’;
$bb->wp_home = ‘http://www.kensavage.com’; // WordPress – Options->General: Blog address (URL) // No trailing slash
$bb->wp_siteurl = ‘http://www.kensavage.com’; // WordPress – Options->General: WordPress address (URL) // No trailing slash
/* Stop editing */
define(‘BBPATH’, dirname(__FILE__) . ‘/’ );
require_once( BBPATH . ‘bb-settings.php’ );
Topic: Plugin Private Posts/Blog
Basically I’m working on a plugin for bbpress that will skip wordpress all together ( no offense wordpress
)
Frankly I think wordpress is too advanced for the average “myspace” type user / target visitor. And, I want to have a community like system like myspace or livejournal.
So I want to basically add a blog section to bbpress where you can keep a private journal… with privacy options on each blog entry to either Private or Public, and if you select Public it will put it in a Forum as a new topic for people to discuss.
I was hoping to get a few pointers as to what functions to look at to help me achieve this through bbpress or if I should even continue doing this and try to customize wordpress-mu instead to fit the visitor
Heres what I have looked at so far:
1) Add new topic / Write blog
bb-templates/post-form.php
......
<label for=”forum_id”><?php _e(‘Pick a section:’); ?>
<?php forum_dropdown(); ?>
</label>
<!– DIRT_PRIVACY –>
Set the privacy:
<select name=”dirt_privacy” id=”dirt_privacy” tabindex=”6″>
<option value=”public” selected>Public</option>
<option value=”private”>Private</option>
</select>
<small>**Choose ‘Private’ if you want this to be a blog only readable by you</small>
<!– END DIRT_PRIVACY –>
<?php endif; ?>
<p class=”submit”>
<input type=”submit” id=”postformsub” name=”Submit” value=”<?php _e(‘Send Post’); ?> »” tabindex=”4″ />
bb-includes/functions.php -> bb_new_topic();
function bb_new_topic( $title, $forum, $tags = '' ) {
// function bb_new_topic( $title, $forum, $tags, $dirt_privacy = ” ) {
global $bbdb, $bb_cache, $bb_current_user;
$title = apply_filters(‘pre_topic_title’, $title, false);
$forum = (int) $forum;
$now = bb_current_time(‘mysql’);
if ( $forum && $title ) {
// if ($dirt_privacy==’public’){
// ADD AS NORMAL TOPIC HERE (depending on whether ‘adding new topic’ or ‘writting new blog’, determine whether to add as default normal Forum Topic (public) or include in users blog but also as public Blog Forum Topic
$bbdb->query(“INSERT INTO $bbdb->topics
(topic_title, topic_poster, topic_poster_name, topic_last_poster, topic_last_poster_name, topic_start_time, topic_time, forum_id)
VALUES
(‘$title’, $bb_current_user->ID, ‘{$bb_current_user->data->user_login}’, $bb_current_user->ID, ‘{$bb_current_user->data->user_login}’, ‘$now’, ‘$now’, $forum)”);
$topic_id = $bbdb->insert_id;
if ( !empty( $tags ) )
add_topic_tags( $topic_id, $tags );
$bbdb->query(“UPDATE $bbdb->forums SET topics = topics + 1 WHERE forum_id = $forum”);
$bb_cache->flush_many( ‘forum’, $forum_id );
do_action(‘bb_new_topic’, $topic_id);
return $topic_id;
//} elseif ($dirt_privacy == ‘private’) {
// ADD TO DB AS PRIVATE BLOG HERE
//}
} else {
return false;
}
}
Sorry if I’m a bit confusing as I am a bit confused right now
Again, any functions/documentation/help I should look at would be appreciated.
-BHensley.com
-Bakedlog.com
I have successfully integrated WordPress and BBPress (http://bbpress.org/forums/topic/12?replies=25#post-2502) but I am having 1 problem..
When I log in as admin in BBPress, it seems to be logging me in with the ‘admin’ account from WordPress, and not giving it admin privileges on the BBPress system, (ie: i can’t go to /bb-admin to edit anything).
The only thing i can think of is somehow excluding the ‘admin’ account integration when you log into bbpress, something like
if ($user=='admin') { #skip integration }
Or is there something I am missing..?
Thanks,
-BHensley.com
-Bakedlog.com
Fatal error: Call to undefined function: _e() in /home/virtual/site122/fst/var/www/html/bbpress/bb-admin/install.php on line 17
Here’s my config:
<?php
// ** MySQL settings ** //
define(‘BBDB_NAME’, ‘edited’); // The name of the database
define(‘BBDB_USER’, ‘out’); // Your MySQL username
define(‘BBDB_PASSWORD’, ‘ok’); // …and password
define(‘BBDB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
// Change the prefix if you want to have multiple forums in a single database.
$bb_table_prefix = ‘bb_’; // Only letters, numbers and underscores please!
// If your bbPress URL is http://bbpress.example.com/forums/ , the examples would be correct.
// Adjust the domain and path to suit your actual URL.
// Just the domain name; no directories or path. There should be no trailing slash here.
$bb->domain = ‘http://www.cjgavin.com’; // Example: ‘http://bbpress.example.com’
// There should be both a leading and trailing slash here. ‘/’ is fine if the site is in root.
$bb->path = ‘/bbpress/’; // Example: ‘/forums/’
// What are you going to call me?
$bb->name = ‘CJGAVIN.com’;
// This must be set before running the install script.
$bb->admin_email = ‘edited@out.com’;
// Set to true if you want pretty permalinks.
$bb->mod_rewrite = false;
// The number of topics that show on each page.
$bb->page_topics = 30;
// A user can edit a post for this many minutes after submitting.
$bb->edit_lock = 60;
// Your timezone offset. Example: -7 for Pacific Daylight Time.
$bb->gmt_offset = 0;
// Change this to localize bbPress. A corresponding MO file for the
// chosen language must be installed to bb-includes/languages.
// For example, install de.mo to bb-includes/languages and set BBLANG to ‘de’
// to enable German language support.
define(‘BBLANG’, ”);
// Your Akismet Key. You do not need a key to run bbPress, but if you want to take advantage
// of Akismet’s powerful spam blocking, you’ll need one. You can get an Akismet key at
// http://wordpress.com/api-keys/
$bb->akismet_key = false;
// The rest is only useful if you are integrating bbPress with WordPress.
// If you’re not, just leave the rest as it is.
// $bb->wp_table_prefix = false; // WordPress table prefix. Example: ‘wp_’;
// $bb->wp_home = ‘http://www.cjgavin.com’; // WordPress – Options->General: Blog address (URL) // No trailing slash
// $bb->wp_siteurl = ‘http://www.cjgavin.com’; // WordPress – Options->General: WordPress address (URL) // No trailing slash
/* Stop editing */
define(‘BBPATH’, dirname(__FILE__) . ‘/’ );
require_once( BBPATH . ‘bb-settings.php’ );
?>
I get this error even if I dont comment out the wp integration stuff.
I have no idea why, I have checked to make sure the permissions are correct.
It isnt working and I dont know why – more worrying – I can’t find anyone else who’s experienced this issue.