Search Results for 'code'
-
Search Results
-
Topic: Template Tags
I would like/want to know about all the various template tags there are. For example, I wanted to change the way authors are presented next to their post, but found it impossible without changing core files (and those fairly confusing anyway). It would be nice if there were more template tags like there are in wordpress, so that I could call
the_author()
,the_author_title()
,the_author_website()
,the_author_profile()
(or some variation with parameter-passed requested details). I’d like something, in other words, that was simple and straightforward to use, where looking over code you could immediately see the function. Maybe it’s implemented but I couldn’t see it?If they exist, then at least a list of them would be nice.
More template tags would be great.
Hi, this is a newbie to bbPress. Thanks for the great work.
Just want to ask before deploying the code into a semi-production environment.
It’s great to hear that deleted posts can be undeleted.
But, how am I going to clean up posts that I’m sure I no longer need anymore?
I pay for web hosting and don’t have a very large database.
Thanks a lot. Take care.
–acefinale5
Topic: Search no longer finds users
When I upgraded from .73 to .80, the search stopped finding users. In the templates folder, search.php, this code exists:
<?php if ( $users ) : ?>
<h2><?php _e('Users')?></h2>
<ol>
<?php foreach ( $users as $user ) : ?>which makes me THINK it should display users, and it used to display users, but it doesn’t any more. There were quite a few changes in that file between versions. Does anyone else have this problem? Try searching your forum for an exact username and see if you find any users. It also used to match part of a username, so searching for “river” would return “riverside” and “riverfront” if those were valid users.
Anyone?
Today I am integreating wordpress and bbpress, it’s works fine, but after I set BBLANG to my language(zh_TW), this message below shows up.
“Fatal error: Cannot redeclare class streamreader in /path/to/bbpress/bb-includes/streams.php on line 26”
Coz StreamReader class has been declared in wordpress, but bbpress will declare it again in ‘bb-settings.php’, this coz the error.
here is the code in ‘bb-settings.php’
Code:include_once(BBPATH . BBINC . ‘streams.php’);
include_once(BBPATH . BBINC . ‘gettext.php’);I use class_exists to avoid these two files, ‘streams.php’ and ‘gettext.php’ to be include twice.
the code came into these:
Code:if (!class_exists(‘StreamReader’))
include_once(BBPATH . BBINC . ‘streams.php’);if (!class_exists(‘gettext_reader’))
include_once(BBPATH . BBINC . ‘gettext.php’);then it works! bbpress came back to normal, but my language file seems not to be loaded.
After all, I find out, that bbpress uses wordpress function after integrate, so I place my .mo file into /path/to/wordpress/wp-includes/languages/ , then, my language file finally loaded. but ….. here is another problem, the .po of wordpress and bbpress will mess up into one file. but I want my wordpress not to be translated. ><