Skip to:
Content
Pages
Categories
Search
Top
Bottom

plugin to instantiate bb user from session data rather than database

Published on August 5th, 2010 by brad@foreverybody

I have been tasked with integrating a forum whit an existing site of private community of members already in existence.

I selected bbpress because I like its simplicity and its similarities with wordpress so I am somewhat familiar with it on the surface and to a lesser extent its inner workings. This integration needs to be seamless in both appearance and function.

Geting it visually integrated was easy as I was able to wrap my existing webpage class in a bb template by doing all my setup in head.php and my rendering in footer.php. wrapping my webpage class also inherently provided me with blocking pages and showing the login page if the user wasn’t authenticated to the existing site. so far so good.

Now onto the problem. I need users logged into the site to be able to post and have all the perks of registered users but NOT actually be a user because they will not control their user info from bbpress. avatars names email addresses etc are to be controlled from an existing interface that i have no control over. With that said inserting and updating entires in the bbuesrs table is undesirable for me and I would much rather a plugin be be abel to instantiate the bb_user class using $_SESSION data instead of entries in the database.

I have been able to get this working by hacking the actual bb_user class in combination with a hacked anonymous posting plugin, but I want to be able to update bbpress in the future without breaking it or having to go re-hack so I am hoping to find a pluggable solution.

any ideas?

RSS Feed

Published on August 5th, 2010 by RedBull

When clicking on my “RSS feed for this forum” I get a 404. Do I need to do any additional setup for the RSS?

As always thanks for the help!

forums disappeared

Published on August 5th, 2010 by mohdumar

i installed bbpress and after some time the general forum disapered

i created 4 forums and a category and then hey disappered too!

i had also installed lot of plugins..

but the stats on admin dashboard show 5 forums but i can see any!

http://umar.hostjiffy.com/forum/

help me!

How to move a reply to a new topic?

Published on August 5th, 2010 by

I run into this dilemma quite often…

Someone starts a topic on my forum. As there are more replies, eventually the conversation shifts away from the original topic.

When someone posts a reply to a thread, which should really be it’s own new topic and reside in a different forum, as the administrator, I’d like to move that person’s reply out of the thread they posted in, and into their own new thread, usually in another forum.

I know you can MOVE topics from one forum to another, but that moves ALL replies in that thread. I’m trying to break out one reply from a thread and move it to it’s own new thread.

Make sense?

Possible?

Suggest a plugin for this, perhaps?

Thanks!

How to add a menu link?

Published on August 5th, 2010 by sanction

How can I add a menu link back to WordPress from the

“Welcome, user | Admin | Log Out” menu?

I looked everywhere!

Been noobafied… :(

-1 years problem with topic_time (bbPress 1.0.2)

Published on August 5th, 2010 by Rose

I’m creating a website with WordPress and bbPress that needs a section where someone can fill out an application form (from a WordPress page) and that will create a new topic in bbPress with the info they filled in.

We decided that the easiest way would be to have the form data submitted straight into the bbPress database.

I experimented with phpmyadmin by adding new records with the correct info in bbposts, increased the post counts in bbtopics and finally used the post time I’d set in bbposts (post_time) with topic_time to update the ‘freshness’. I used phpmyadmin’s default date/time selector to replicate the records’ formatting correctly.

While the new post showed up perfectly and the post counts were correct, the freshness came up as being “-1 years”

I changed the code in front-page.php to the following as outlined by _ck_ :

<td class="num">" title="<?php echo date("r",strtotime($topic->topic_time)); ?>"><?php topic_time(); ?></td>

so that I could see what it was coming up with as the posted date and time. The results were… ‘interesting’ –

On mousing over the -1 years, I got the correct date and time.

On mousing over the correct freshness times of other posts I had made the same day, I got a date and time that seems to be 12 hours behind.

Here are the links to images outlining this:

-1 years freshness but correct date/time image

‘Normal’ freshness time but with wrong date/time image

Can someone please explain what is going wrong and if possible how to fix it or get around this problem with adding topics directly to the database. I’m starting to /facedesk so help would be much appreciated!! :)

How to add "reply" to each of the post?

Published on August 5th, 2010 by chang

Hi,

The default bbpress post doesn’t have the Reply function… is there any plugins that have this feature?

I tried easy mention but it didn’t work at all =(

Thank you!

Errors with "functions.bb-template.php"

Published on August 4th, 2010 by infusion5

Hi. So, I’m a new bbPress user. I’ve been browsing around the forums and learning a lot the past couple weeks. I had a smooth time installing bbPress last week (haven’t integrated with WordPress, yet). The day after I launched our forum, and having added a couple topics, I started getting these errors on the topic pages:

____

Warning: include() [function.include]: Filename cannot be empty in /home4/zwfilmco/public_html/infusion5/forum/bb-includes/functions.bb-template.php on line 45

Warning: include() [function.include]: Failed opening ” for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home4/zwfilmco/public_html/infusion5/forum/bb-includes/functions.bb-template.php on line 45

____

I’m clearly not familiar enough with bbPress yet to understand what’s going on. But I also don’t understand why it was working in the first place, and then after a day began to give these errors.

The only changes that I’ve made to any of the bbPress source files was the footer.php in the theme folder, to which I added a Google Analytics tracking script. Since having this error, I have replaced the footer.php file with the original.

Here’s one of the two topics currently on the forum: http://infusion5.com/forum/topic/businesses-in-colorado-springs-co

Thanks in advance for your support and guidance!

-Zach

Green WordPress admin color scheme

Published on August 4th, 2010 by John James Jacoby

A look at the recently committed WordPress admin color scheme, included in the bbPress plugin.

Feedback encouraged.

Style in a Forum post question

Published on August 4th, 2010 by EyeSeeSound

If you go here: http://www.whatwouldjesusdrive.co/forum/topic.php?id=2

the first post has a neat rounded box with the content, and on the left hand side the poster name has a black background.

the second is all white

the third is like the first

the 4th is like the second… and so on.

Can I make it, and how, so they all look like the first?

Cheers

Skip to toolbar