Search Results for 'updated'
-
AuthorSearch Results
-
March 5, 2008 at 5:42 am #2977
Topic: WordPress Integration (0.7)
in forum Troubleshootinghorrorshow
MemberI am a bit confused about the wordpress and bbpress integration plugins.
Is WordPress Integration(0.7) plugin necessary? it was last updated a year ago, and I now have single signon between the two apps without the WordPress Integration plugin. Does it do something else that I am not aware of?
thanks
March 2, 2008 at 1:06 am #56773In reply to: Plugin: Avatar Upload
thierryyyyyyy
ParticipantThank you a lot.
You are right : I updated badly my files, I forgot to uptdate the root directory “avatar-upload.php”.
Now, it works far better
if I could allow myself to a small advice : it would be far better if the installation where just “put 1 directory in the my-plugins directory”.
anyway, the readme.txt was clear enougth, it my fault.
and the plugin is very nice.
February 27, 2008 at 7:39 pm #63234In reply to: Integration questions
zappoman
MemberIn the interest of sharing what I’ve learned so far, let me describe what I want to do, and what I’ve accomplished so far.
1) I want to have a stand alone instance of bbPress running on my site that shows ALL the forums.
2) I want to embed a single forum into a wordpress blog (actually a wordpressmu blog– but there’s nothing mu specific about my work so far)
3) I want the forums to share the same DB, so if a topic is updated inside of my blog, I also see it updated in the standalone Forum.
4) I want to be able to essentially allow the bbPress template functions to work inside of a wp page or post… ideally I’d like to implement a simple function like “embedd_bbpress_forum()” on a page template and have it display a fully functioning bbPress instance in the page.
5) I want to use the chrome/theme from wordpress for the header, sidebar, footer, etc… but I also want to support the basic bbpress template structure as well.
So far I have this working about 90%…
What I’ve done is build a WP-plugin, that “includes” bbpress/bb-load.php. And implements a couple functions for embedding the bbpress instance in a page or post or where ever you call the embed functions.
Things that are working:
* forum home page
* topic pages
* new topic
* comments
* profile pages
* favorites
Things that aren’t working yet:
* ajax — none of the ajax stuff is working properly yet…
* some pages that use wp_redirect – because of how I’m embedding in wordpress, the headers are already sent before I have a chance to do the redirect, so… some functions that rely on this are reporting errors.
How I did this so far:
* declare GOBALS!!! – This is the biggest “sneaky trick” – basically, most of bbPress is implemented outside of a function or class context, and so the “local” variables on the bbPress pages are actually global in context. Since I’m wrapping these into a wp-pluing, I need to declare them as explicitly global. If I get all the globals right, then bbPress just works.
* turn off mod_rewrite support in bbPress… since I want my pages to get handled by WordPress, the URL needs to end at the same location of the wordpress page, this means that my forum page has a url something like:
http://mydomain.com/blog/forumpage/?command=topic.php&id=1
Notice I introduced the concept of the “command” parameter, that my plugin then uses as a dispatcher to “load” (include) the right bbPress file. MOSTLY bbPress will do the rest of it’s work from the URL params.
* Lots of filters – I’ve implemented several filters for URL remapping so that bbPress will override the standard link formation to point to my new embedded page urls
* A COUPLE HACKS – the only hard part I’ve had to hack so far relates to bbPress’s get_bb_location() function. This function appears to be a bit of bbPresses standard “dispatcher” which tells the rest of bbPress what type of page it’s supposed to be rendering. The only problem with this approach is that in my instance of the code base it does all this logic based on PHP_SELF, SCRIPT_FILENAME, or SCRIPT_NAME… which will be pointing to my wordpress files. I made a small change to add a new filter that allows me to pull out my command param and do the bb_location determination from that.
Has anyone else attempted this? Have they gotten further? Is there an easier way?
Mostly this isn’t a lot of code, it’s just discovering how to make it work and testing that everything works as planned.
February 23, 2008 at 5:20 pm #62759In reply to: rss result is empty
Vili
ParticipantI have the same problem at http://akirakurosawa.info/forums/ : the main forums feed shows a totally blank page. Other feeds seem to work fine.
Have you managed to solve the issue with your site, agentmaximus, and if yes, how? I have gone through the forums here, but I haven’t found an answer.
I have actually had this problem for quite a while now, but only now finally decided to see what I could do about it as I updated the overall look of my site.
February 21, 2008 at 11:09 am #63099In reply to: Whats my best course of action?
_ck_
ParticipantBuild 1075 of the trunk will work with WordPress 2.5 and matches the new password method. There is also talk of some kind of bbPress updated release around or with WP 2.5
Either way you are covered – just don’t modify core files (only templates and plugins) and you should be okay. You’ll only have to do a small edit to the config.php (bb-config.php) file when the time comes to match the secret key in WP to BB.
February 16, 2008 at 3:09 pm #62990chrishajer
ParticipantI agree that people get turned off by downloading and installing something that does not work, then they search out plugins to add functionality, and the plugins no longer work, and that is certainly discouraging. But I don’t think creating a ‘Plus’ download is the way to go. I think a better job needs to be done on the releases, to ensure they work, and then somehow plugins need to be updated. Since bbPress is so young, a lot of the plugins that were written no longer work with current releases. There are “required version” and “compatible up to” fields, which are populated and appear to be accurate, but maybe they’re not always maintained. The Extend section seems like it’s gotten some love lately, so maybe the plugins will remain compatible longer now, or at least someone will check on them. I know writing and maintaining a plugin is a huge commitment.
In short, I know it’s frustrating to download software that doesn’t always work, then find plugins to solve problems only to install those and not have them work, but I don’t think a ‘Plus’ release is the way around that.
February 15, 2008 at 3:39 am #55749In reply to: Anonymous posting
t3ch33
MemberThis is almost working for me. My bbpress was already active, so i didn’t want to run the modified install file. Here is the code that’s in the bb-admin/install.php file:
// Anonymous User
$now = bb_current_time('mysql');
$bbdb->query("INSERT INTO $bbdb->users (user_login, user_registered)
VALUES ('anonymous', '$now')");
$bbdb->query("UPDATE $bbdb->users SET ID = '0' WHERE user_login = 'anonymous'");
bb_update_usermeta( '0', $bb_table_prefix . 'capabilities', array('anonymous' => true) );Since my bbpress is already active, I have manually updated my users table by following the guideline in the above code. But, I have no idea what the last line of code means:
bb_update_usermeta( '0', $bb_table_prefix . 'capabilities', array('anonymous' => true) );
Can you modify it so that I can manually update the db or do whatever needs to be done to make it work? Thanks.
February 10, 2008 at 9:46 pm #62810In reply to: Installation Error Message
chrishajer
ParticipantIn your config.php, you should start with mod_rewrite being false. I suspect you have it set to true or slugs, and that is creating problems for you as well.
$bb->mod_rewrite = false;
That should take care of the bb-admin issue, unless you are currently logged in and NOT a keymaster or admin. If you are logged in as a regular member and try to access the admin page, I believe you are directed to the bbPress installation instead of admin.
UPDATED INFO after thinking about it: It’s also possible that this redirection is occurring because the creation of tables and modification of tables did not go well, and it’s not reading your user information properly and it does not know you are keymaster with access to bb-admin.
Regarding the SQL errors, is it possible your WordPress installation already used ppd_ as a table prefix, and then you used it in your config.php for the bbPress table prefix as well? If that’s the case, the errors are because it is trying to create tables that already exist or modifying tables with the wrong names. From the snippet of config.php you posted earlier, you showed
$bb->wp_table_prefix = 'playdate_';
but alsoppd_
in the line below (the ‘for example’ part), and the errors here show ppd_ as the table prefix. Oddly enough, there are some errors with just ppd and no underscore as the table prefix as well.Seems like it’s a combination of configuration things at this point. Maybe the $bb_table_prefix was set to the same thing as the $bb->wp_table_prefix with the exception of the underscore (so, ppd vs. ppd_). That info doesn’t agree with the piece of the config.php you posted though where you said
$bb->wp_table_prefix = 'playdate_';
I suspect the whole picture has not been posted since you’re working on it and trying things and then you make a change and the old information no longer applies.
Right now, you have the database connection issue figured out. You should be using different table prefixes for wordpress and bbpress: wp_ and bb_ are the defaults. In the bbPress config.php, the $bb->wp_table_prefix should be the same as whatever it is in your wp-config.php and THAT should be different from the bbPress table prefix, set earlier in the config.php at $bb_table_prefix.
February 3, 2008 at 11:37 am #62771In reply to: Possible to add paging to views?
_ck_
ParticipantI have now updated “My-Views” to support pagination (multi-page) views for all the standard style views.
version 0.09 should be in the plugin browser shortly…
https://bbpress.org/plugins/topic/67
you can see a demonstration of the feature here:
February 2, 2008 at 6:55 pm #62748In reply to: Installation problem..please help fast
salman1485
MemberI am not sure what is wrong with my config.php file..
this is a test forum which i am not finalising so i created a new database with new password and new user and updated the config.php file with the details…please tell me what is the problem..am copying the file here (pwd, akismet key, email have been removed)
______________________________________________
<?php
// ** MySQL settings ** //
define(‘BBDB_NAME’, ‘testforum’); // The name of the database
define(‘BBDB_USER’, ‘testforum’); // Your MySQL username
define(‘BBDB_PASSWORD’, ”); // …and password
define(‘BBDB_HOST’, ‘localhost’); // 99% chance you won’t need to change these last few
define(‘BBDB_CHARSET’, ‘utf8’); // If you are *upgrading*, and your old config.php does
define(‘BBDB_COLLATE’, ”); // not have these two contstants in them, DO NOT define them
// If you are installing for the first time, leave them here
// Change the prefix if you want to have multiple forums in a single database.
$bb_table_prefix = ‘bb_’; // Only letters, numbers and underscores please!
// The full URL of your bbPress install
$bb->uri = ‘http://test.nofullstop.com/’;
// What are you going to call me?
$bb->name = ‘test forum’;
// This must be set before you run the install script.
$bb->admin_email = ‘something@gmail.com’;
// Set to true if you want pretty permalinks, set to ‘slugs’ if you want to use slug based pretty permalinks.
$bb->mod_rewrite = slugs;
// The number of topics that show on each page.
$bb->page_topics = 15;
// A user can edit a post for this many minutes after submitting.
$bb->edit_lock = 1;
// 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’, ‘en’);
// 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 = ”; // Example: ‘0123456789ab’
// The rest is only useful if you are integrating bbPress with WordPress.
// If you’re not, just leave it as it is.
$bb->wp_table_prefix = ”; // WordPress table prefix. Example: ‘wp_’;
$bb->wp_home = ”; // WordPress – Options->General: Blog address (URL) // Example: ‘http://example.com’
$bb->wp_siteurl = ”; // WordPress – Options->General: WordPress address (URL) // Example: ‘http://example.com’
/* Stop editing */
if ( !defined(‘BBPATH’) )
define(‘BBPATH’, dirname(__FILE__) . ‘/’ );
require_once( BBPATH . ‘bb-settings.php’ );
?>
______________________________________________
please help me ..
February 1, 2008 at 2:45 pm #62722In reply to: Forums not indexed in Google!
Graeme
MemberI noticed that your site has a sitemaps.xml. It may not be valid. You can use Google Webmaster Tools to submit and/or validate your google sitemap. I suggest you check it.
You will also find that there is a newer version of the google sitemaps plugin available (3.0.3) than the current one you are using (2.7.1). 2.7.1 may not generate correct sitemap for a wordpress 2.3.2 site. Downloading the updated plugin from the plugin’s site may help.
January 26, 2008 at 2:27 pm #2839Topic: what is bb_topic_labels()?
in forum ThemesOlaf Lederer
ParticipantHello,
just updated my forum to the latest version (0.831) and found this new function in several template files:
bb_topic_labels();
after uploading the file I can’t see what’s changed, what is this for a function?
Olaf
January 17, 2008 at 9:32 pm #62384In reply to: New plugin: Auto Add Favorites
Olaf Lederer
ParticipantHi I changed this function:
function auto_add_favorit_profile() {
global $user_id;
if (bb_is_user_logged_in()) {
$checked = "";
$user = bb_get_user($user_id);
if (!empty($user->auto_add_favorit)) {
$checked = ' checked="checked"';
}
echo '
<fieldset>
<legend>Add my threads automatically to my favorites</legend>
<p>Check this option to add all your threads or threads where you have posted something to your favorite list.</p>
<table width="100%">
<tr>
<th width="21%" scope="row">Activate:</th>
<td width="79%">
<input name="edit_auto_add_favorit" id="edit_auto_add_favorit" type="checkbox" value="1"'.$checked.' />
</td>
</tr>
</table>
</fieldset>';
}
}please replace this function or download the updated version via the link above and tell me if it works (it works for me)
January 17, 2008 at 2:12 am #62453In reply to: bbPress database error – can’t setup table
hollywoodgrind
MemberI found the problem. In the install form I set the Site Name and Forum Name the same, which caused a conflict. Perhaps the install.php script could be updated to catch this error, and prompt to use different names.
January 16, 2008 at 6:38 pm #54372In reply to: Updated to Desmond But Theme Not Working
uwemekpenyong
MemberI couldn’t get Trent’s or nanome’s plugin to work. However, I solved the issue by double checking which php extensions were installed on the remote web server verses my local dev. environment. The problem resolved itself when I installed “soap”. I think that is what resolved it. I am not sure because (like the noob that I am) I activated all the extension that wamp comes with that matched the extensions actived on the remote server….
I hope that makes sense… I am pretty sure I am not using the right terms. Hopefully, you can follow what I am saying. In short, make sure the php extensions / environment on you localhost match the extensions/environment of the remote host.
Regards
January 13, 2008 at 4:13 am #61486tommy2toes
MemberI had some luck using wordpress Theme Functions.
For example my BBPress pulls the top header image, navigation and footer from wordpress. It does not pull between the <head> </head> tags. But this allows me to control the nav and header in one place as well as footer, so that everything gets updated.
If you have your bbpress install setup to use wordpress functions it’s pretty easy to do.
As for CSS, I hate the way other people code css so I always end up ripping it all out and starting from scratch.
Check out this page:
January 9, 2008 at 5:35 pm #62190In reply to: [Theme] Västervik Grön
flschen
MemberNow I updated to version 0.1.1. There is also a blue version: Västervik Blå.
Download and information: dev.floeschen.ch
The next thing I’m aiming at is the browser compatibility.
There are also new themes to come. Västervik is based on Kakumei.
December 28, 2007 at 11:36 pm #55022In reply to: Is there an Approve Registration plugin?
colindb
MemberI don’t know how to write plug-ins, but I just installed bbPress and wanted to be able to approve new users. I messed around with the code just enough to get what I needed working, here are the changes I made:
Starting with the function bb_send_pass function in bb-includes/registration-functions.php: I added an optional third parameters, so the function signature now looks like:
function bb_send_pass( $user, $pass, $toAdmin = false ) {
If the toAdmin flag is set I want this email to go to me, not the requesting user. So, just above the “$message = …” line, I added this:
$recipient = bb_get_user_email( $user->ID );
$rawRecipient = $recipient;
if ($toAdmin)
$recipient = 'myemail@example.com';
I’m sure there is a better way to grab an administrator’s email, but like I said, I don’t know anything about bbPress… And what’s this about $rawRecipient? To make my life easier, I’m also including the email address in the email’s body (so I can forward it to the correct person without having to look up their info again). I did this by adding “Your email:” to the “$message = …” line:
$message = __("Your username is: %1$s nYour password is: %2$s nYour email is: %4$s nYou can now log in: %3
$s nnEnjoy!");
And then including “$rawRecipient” as the 4th parameter to the sprintf call at the end of the function. Again, you could get fancy here (only include the email address if it’s going to an admin, for example), but whatever, this works.
Okay, with that function done, we just need to change the registration code that calls it. I went to the bb_new_user function in bb-includes/pluggable.php. Just before that function returns there’s an “if ( defined (‘BB_INSTALLING’) )” check. The else case calls bb_send_pass (the function we just changed). Add a third parameter (sending ‘true’), and the registration code should now send an email to you instead of the newly registered user.
As a final touch, I updated the registration success page (bb-templates/kakumei/register-success.php in my case), telling the user that an admin will verify their request and then email them.
Hope this helps someone out.
December 17, 2007 at 10:14 pm #62076In reply to: Installation woes
livibetter
MemberWell I updated WP…
You probably need to ask in WordPress Support.
Here is a document: https://codex.wordpress.org/Upgrading_WordPress_Extended#Detailed_Upgrade_Instructions_for_1.5.x.2C_2.0.x.2C_2.1.x.2C_or_2.2.x_to_2.3.1
December 17, 2007 at 6:36 pm #62074In reply to: Installation woes
hapikar
MemberWell I updated WP and now the blog is really broken.
http:hapikar.com
November 30, 2007 at 9:10 pm #61747In reply to: 1970 issue
livibetter
MemberI see.
There are some useless code in
search.php
, like $users and $titles. They are not used in 0.8.3. If you can’t switch to an updated template, then you should diff to find out what has been changed.November 30, 2007 at 8:55 pm #61745In reply to: 1970 issue
livibetter
MemberThis is quite old (check this diff)
<?php echo date(__('F j, Y, h:i A'), bb_get_post_time()); ?>
replace it with
<?php bb_post_time( __('F j, Y, h:i A') ); ?>
You are using 0.8.3, right? You should use an updated theme.
vafaaaan
Memberive just updated the file .. my tag array seems dissapear ?
Edit: fixed..
November 16, 2007 at 1:52 am #2600Topic: onvertigo.com – Talking Music
in forum ShowcaseTrent Adams
MemberJust wanted to show off my newest updated version of onvertigo.com. Until we get an import/export tool that actually works, I am not going to have my previous forum as I need to install off a backup and that would be a pain. So, in the meantime, I came up with a small forum about music.
The design is pretty basic, but I wanted to see if anyone had any pointers on the design or comments to make it better!
Thanks,
Trent
November 14, 2007 at 12:39 pm #61448In reply to: An additional forum is needed here
Elias
Memberhttp://bbpress.de is not an official site, and they seem not to be interested in a good localization. The “bbPress Deutschland” makers created a language file a few months ago, but this translation is not complete, it contains a lot of typing mistakes, some terms which are easy to misunderstand for a german reader and some wrong texts too. It hasn’t never been updated.
I love bbPress (and sometimes, I hate it), so I decided to create my own and better translation. I had worked only a few hours on it, and the result is a translation much better than the bbpress.de one.
The existance of a language file is a reason to use bbPress. People should know which translations are existing, and I think, they should know it from an official site. At the moment, there is no “official” german site, but only the bbpress.de. This is a project of “inpsyde”, the makers of wordpress-deutschland.de. A few weeks ago, they tried to deliver a “german WordPress version” with an advertising plugin silently, which was called by some people – me included – as a kind of “plugin spam”. (It wasn’t announced and not marked as an advertisement for the german company LinkLift.) This attempt to create an “official looking german WordPress release with advertising” failed, there was a great resistance from the german WordPress users. This is a strong reason for me not to trust those people anymore. I want the translation to be as free as possible from the early days on.
-
AuthorSearch Results