Skip to:
Content
Pages
Categories
Search
Top
Bottom

Syntax questions

Published on April 2nd, 2007 by

A couple of questions about what syntax to use, especially on template pages:

1. I see that a lot of people use _e('string...') instead of echo('string...'). Is this just a bbpress/wordpress thing or is this generally acceptable php coding?

2. In front-page.php of kakumei (and many other places), I see people using this shorthand echo where normal text would work just fine. For instance, in the hottags div, it is:

<h2><?php _e('Hot Tags'): ?></h2>

Why would you have PHP echo that when you could just have it as plain ol’ text in the first place? Am I missing something?

I realize neither of these is of any earth-shaking importance, but I would like to know so I can keep my code modifications in line with the default syntax that is used throughout. Thanks!

Topics with no tags, but there ARE tags…

Published on April 2nd, 2007 by chrishajer

Take a look at the following. As part of maintenance on the forum, I sometimes check for topics with no tags, and then add tags. I had 6 topics with no tags, and when I clicked through, to 5 of them, there were no tags, so I tagged them. This one though shows in the list of topics with no tags, but when I click through, there are lots of tags.

Any ideas?

Link to screenshot of the topic with no tags

Link to screenshot of the actual tags for this topic

Where to translate

Published on April 1st, 2007 by

http://kmr.nazwa.pl/forum/topic.php?id=3&page&replies=1#post-6

i want to translate headers like this “reply” and

[Delete entire topic] [Close topic] [Stick topic (to front)]
Move this topic to the selected forum:

and

dodano 2 hour temu

where can i do this?

Request for hook: post_usermeta

Published on April 1st, 2007 by

There should be a template action hook for adding text below the username to the left of a post’s body. Hope I am remarking this in the correct place.

just wanted to share

Published on March 31st, 2007 by

Hey Community,

Our Forum is coming together pretty good, and I just wanted to pass out a thanks for everyones help. The site is located at:

http://victorybelt.com

Thanks,

Orion

Plugin: bbMenu 1.1

Published on March 31st, 2007 by Null

Get it while it’s hot!!!

Add your own menu to your bbPress forum, rename and re-order (drag & drop) the menu tabs to your liking.

New in this version:

– You can now rename the menu items by double-clicking them

– Fixed a minor $bb_table_prefix bug

– Added compatibility with the bbPortal plugin

Important:

Before installing, be sure to delete (drop) the previous

bb_menu table from you database

Known issues:

With FireFox: There are some problems when trying to edit the menu links in FF. Sometimes you can’t edit the text in the textfield. Just try double clicking a text in the menu link, then double click another one and now try to edit the first one opened. If you know how to fix this issue, plz let me know

To do:

– Be able to add custom menu tabs to the menu using the admin panel

– re-write the plugin to use jQuery?? (This is used in the next bbPress version)

Download:

http://www.sourceskins.com/bbmenu1.1.zip

-Null

localhost installs

Published on March 31st, 2007 by davetropeano

I recently did my first bbpress install on localhost and it went miserably. I used the latest download from today.

Checking on this forum I had the same path seperator issues and stylesheet issues others had, etc.

My $bb->domain and $bb->path were fine. The fresh install just didn’t work properly under xampp and then again a retry on easyPHP.

This is the solution and findings I found:

1. The first issue is because in config.php and bb-load.php dirname(__FILE__) is used to get the base path for BBPATH. This is not a good thing on localhost Windows based installs.

2. There are a number of attempted workarounds to this that I’ve read about in this forum. All of them that I saw didn’t work. Focusing on the issue with the stylesheet href not being correct I noticed that there was logic in the bb_get_active_theme_folder() function.

By default, the installer does NOT create an option entry ‘bb_active_theme’ in the database table topicmeta. The code logic doesn’t make the correct uri.

To fix this, do an install and then add a database field bb_active_theme in the topicmeta table.

For example, I set mine to:

http://localhost/dev/bbpress/

Playing regular expression games to change x: and in general is not worth it. This seemed to be simple and worked right out of the box.

Subategories and user classes

Published on March 31st, 2007 by

can i add subcategories to my forum? for example:

category1:

-subcat 1

-subcat 2

category2:

-subcat3

-subcat4

how do i change the text under the name of member? key master etc.

Fatal error on my theme

Published on March 31st, 2007 by

I’m trying to set the theme of my blog in bbpress

I have followed all rules, but this is my error:

Fatal error: Call to undefined function: get_settings() in /web/htdocs/www.motiongraphics.it/home/forum/my-templates/mw1.1/themetoolkit.php on line 331

Why?!

Integration Tips? (ie. I don’t think its working for me!)

Published on March 31st, 2007 by maker

my forum: http://www.mpm.org.au

my wordpress: http://300.mpm.org.au

I don’t think the integrated logins are working properly – can someone kindly check and report back here?

I have this alert in my mysql database regarding wp_users

http://i93.photobucket.com/albums/l69/mikedelighttoo/users.png

Skip to toolbar