Search Results for 'bbpress'
-
Search Results
-
This is a regular problem on my forum. bbpress seems to remove the image part of the banner as there is missing code. Usually I can work out where the missing tag goes. In the case of the following TradeDoubler code, I can’t! Any suggestions much appreciated.
<script type=”text/javascript”>
var uri = ‘http://impgb.tradedoubler.com/imp?type(img)g(16463372)a(1422608)’ + new String (Math.random()).substring (2, 11);
document.write(‘<img src=”‘+uri+'” border=0>‘);
</script>
This plugin can validate more deeper. Not only the HTML tag’s attributes, but also the contents of attributes. You can set your own regular expression for attributes. For example, you want limit users to post Flash videos only from YouTube or Google, then you can restrain the
srcattribute.Sample posts: This post shows you an embedded YouTube video and this has a image floating at right side.
Visit Plugin page or directly download HTMLTagAttributesValidator.php.
Any comments on this plugin are very welcome.
I’ve tried editing usernames in the db to no avail.
How can I have users like $tevie show the “$” on their posts in topic.php — just show the whole name. Out of the box, bbPress simply ignores the funny chars, so we see “tevie” as the post’s author.
ASCII equivalents too, like the copyright symbol (damn phpBB loose username validation).
I’m willing and able to edit the few usernames in the db by hand. I have a few of these funny char names from my port from phpBB.
Topic: No New posts for members
Hello!
I want to restrict new posts in bbpress only to moderators and admins. What is the best way to do it?
I’ve found a very simple way editing capabilities.php but I would like to avoid editing the source code.
'member' => array(
'name' => __('Member'),
'capabilities' => array(
(...)
'write_posts' => false,Thanks.
Topic: Upgrade problems
I upgraded as instructed on bbpress’ upgrade page, but received the following errors:
Warning: main(/home/pinewood/public_html/bbpress/bb-includes/db.php) [function.main]: failed to open stream: No such file or directory in /home/pinewood/public_html/bbpress/bb-settings.php on line 93
Warning: main(/home/pinewood/public_html/bbpress/bb-includes/db.php) [function.main]: failed to open stream: No such file or directory in /home/pinewood/public_html/bbpress/bb-settings.php on line 93
Fatal error: main() [function.require]: Failed opening required ‘/home/pinewood/public_html/bbpress/bb-includes/db.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/pinewood/public_html/bbpress/bb-settings.php on line 93
I used my old config file, templates, and plug-ins (I never had an htaccess file though?). Any thoughts?
Topic: Paginated search results
I’m looking for advice on how to modify the search functionality to paginate the results that are returned; i.e. the default functionality returns N matches in each of the following categories: thread title, recent posts and relevant posts, but I would like to allow a user to scroll through repeated pages of search results.
I’ve had a look at search.php and this is structured around returning a fixed number of results for each query, which effectively hides anything that doesn’t come up in the first N results of the search. The concept of listing the results of 3 different queries in one results page also seems to be incompatible with providing a pagination mechanism (which list do you paginate?). I feel that the default method of handling search results is a bit limited and confusing for users familiar with a typical Google-style search that returns one simple list in multiple pages.
I have had a look at the code, but I’m no PHP guru; is there any way of getting the sort of results I would like without fundamentally rewriting the search mechanism?
p.s. not being overly critical here – I think bbPress is a great piece of work!
Just one function and one call. Also mine only uses the posters registered email as well.