Search Results for 'bbpress'
-
Search Results
-
Topic: GMT Offset
I’ve been playing with bbPress for a few days and noticed that when I started posting the time was set all wrong and the posts I imported were dated wrong (only ones from that day).
Since I’m in South Australia (+9.5 GMT) I had set the gmt_offset option in the admin interface to 9.5 to accomodate my differences but it wouldn’t set the post date/time to my timezone when posting.
The only way around it was to modify the bb_current_time function and change this line:
$d = gmdate(‘Y-m-d H:i:s’);
to this:
$d = gmdate(‘Y-m-d H:i:s’, time() + 3600*(bb_get_option(‘gmt_offset’)+date(“I”)));
So that it actually uses the GMT offset.
Of course, doing this only means that current posts are displayed at the right time but previous ones are wrong because they’re all set to the current time when posted and the system then adds 9.5hrs onto them when being read.
I’m assuming either I’ve missed something in the config or the time option just isn’t using the gmt_offset value from the db for anything.
Can someone confirm or refute this please? I’d like to be able to change it back and do it the proper way if possible.
I would like to put some plugins from bbpress into the WP widget.
For example: The Simple Online By Thomas Klaiber would be great on a widget.
If I put the code on WP widget it errors when on WP but comes up when on BB.
I guess I just need an if-then statement? but I don’t know how to write it.
Topic: bb-avatars (gr)avatar plugin
I’ve made a plugin that lets you set your own default gravatar.
You can also choose to use Identicons, Wavatar or monsterID as the default gravatar.
You set the size and the rating you want.
This plugin overrides the built in Gravatar function, but you still have to choose to show the avatars in the standard options page, but all other gravatar options from that page is ignored.
I’ve tested it on bbPress 0.9.0.2 and 1.0-dev (from trunk), but it should work on all 0.9.x versions.
You can download the plugin from here.
I’ve also submitted it to the plugins list here on bbpress.org, and will (hopefully) show up there to
—
RG
!!There was a problem connecting to the database you specified.
Please check the settings, then try again.
hi i’m new to this.. i wanted to install bbpress but after providing the database name and user i get this error.. (on top)
Topic: Paragraph tag after TinyMCE
I have successfully integrated TinyMCE to my editor in bbpress, which I found that is so easy.
However, when doing the submit, TinyMCE submits the HTML code on behind to bbpress. I found that each line TinyMCE created a <p>…</p> tags, but bbpress is not allowing this. Finally, <p></p> comes to the screen when viewing the post.
Is there any workaround for this?
I updated my web site today to bbPress 0.9.0.2 and WordPress 2.5.1. Cookie integration settings got out of whack and I put them back, but now the two are in conflict.
I’ve verified (by clearing cookies and watching as new cookies are registered) that both bbPress and WordPress are using the same cookie for login info — same name, path, etc.
However, when logging into WordPress I am logged out of bbPress, and when logging into bbPress I am logged out of WordPress. So they appear to be using the same cookie and overwriting it as I login to each section.
Note that the SECRET_KEY and BB_SECRET_KEY definitions in each respective config files are identical.
The cookie seems to be broken up into three parts: user name, a shortish numerical code (in decimal), and a long hexadecimal code. The name and shortish numerical code are identical between bbPress and WordPress but the long hex code changes every time. Does this help provide a clue?