Hi, i need help with code. When I try to reactivate my password, I get this error:
Parse error: syntax error, unexpected ‘,’ in /home/iportalc/public_html/iOglasnik/bb-templates/iBlogProForum/password-reset.php on line 12
this is the original code:
<?php bb_get_header(); ?>
<h2 role=”main”><?php _e(‘Password Reset’, FTDOMAIN); ?></h2>
<?php if ( $error ) : ?>
<p class=”notice error”><?php echo $error; ?></p>
<?php else : ?>
<?php switch ( $action ) : ?>
<?php case ( ‘send_key’ ) : ?>
<p class=”notice”><?php _e(‘An email has been sent to the address we have on file for you. If you don’t get anything within a few minutes, or your email has changed, you may want to get in touch with the webmaster or forum administrator here.’, FTDOMAIN); ?></p>
<?php break; ?>
<?php case ( ‘reset_password’, FTDOMAIN ) : ?>
<p class=”notice”><?php _e(‘Your password has been reset and a new one has been mailed to you.’, FTDOMAIN); ?></p>
<?php break; ?>
<?php endswitch; ?>
<?php endif; ?>
<?php bb_get_footer(); ?>
Template file post.php:
post_author_avatar_link(whatever you want);
Take a look at this page on your forum:
http://focoblog.com/focoforo/topic.php?id=585
View the source of that page. Find the tags, for example, “Opus Dei“. The source looks like this:
<li id="tag-1878_12"><a href="http://focoblog.com/focoforo/tags.php?tag=opus-dei" rel="tag">Opus Dei</a> </li>
The tag id is 1878, and the person who added the tag is id 12. If you want to see their profile, just use that ID in the URL for profile.php, like this:
http://focoblog.com/focoforo/profile.php?id=12
That’s all there is to it. There have been plugins that showed all tags by a specific person and things like that, but this is the most direct way to find out the ID of the member who added a specific tag to a specific topic.
Hi! Sorry if my English is not perfect. 
If I’m the Admin of a bbPress forum (this one: http://www.focoblog.com/focoforo), can I see the identity of the author(s) of the different tags or is it completely anonymous?
Thanks a lot,
Tones
The revision is r2535 but the text in the admin panel comes from bb-includes/functions.bb-meta.php around line 299. That text needs to be changed manually every time you check in code. Looks like they forgot to change it the past couple times.
I just updated it, so if you check out a new copy, that will be the only file changed, you will have revision 2536, and it will work exactly as 2535 did when it said 2530 in the admin.
nope, you are at 2535 only.
its just showing whats inside the file and not what its exactly is.
Trust SVN here, it doesn’t get wrong
Hey there I had an integrated WP + BB website, then I installed also BuddyPress and used it for a while, everything integrated, using BB as forum engine for BP too.
I then decided to get rid of BP and now I just want to go back to my initial configuration of WP + BB, using the same old DB that still contains BB forum posts.
Everything is working and the user integration still works, but I have the damn “keymaster lost” problem: My admin user can’t access the BB Admin in any way.
I’ve tried all the solutions proposed around here and on the internet, changed my capabilities on the DB to a:1:{s:9:”keymaster”;b:1;} etc.. no way.
If I try to access the /bb-admin area it redirects me to the root.. and there’s no “admin” link near my profile name.
My tables have different prefix:
$bb_table_prefix = ‘wp_bb_’;
I just have WP_USERMETA table as the integration is already done..
What’s the meta key I have to set?!?
I’ve tried “wp_capabilities”, “wp_bb_capabilities” and “bb_capabilities”, but no-way.. no admin access for my user.
I’ve also tried to create new users and assign the keymaster.. same thing, no admin access.
Maybe Buddypress changed something that I have to reset?
Please help!
Thanks for the screenshots, those are perfect. There doesn’t seem to be anything weird with the .htaccess or permalinks settings, and it looks like you are accessing the proper directory.
As the other thread mentioned, there were public HTML files in two locations on the server, and that poster had installed into a directory that was not being served, making it look like the files were not there.
One thing that is probably unrelated – the forum files have loose permissions. The directories have 775 and they should be 755, and the files (php, css, js, images) should have 644, but they have [edit] 664. Should not matter, but some hosts won’t serve content when the permissions are too permissive.
Please do a test. Put a html file in the WordPress root (where the forum directory is located) and see if you can access it at http://klinewedding.com/test.html. If that comes up, put another file in the forum directory, and see if you can access that at http://klinewedding.com/forum/test-2.html. That will ensure we are looking at the correct directories. The file can be as simple as this:
<html><head><title>WordPress test</title></head><body><p>Test WordPress</p></body></html>
Save that as test.html in the WordPress root. See if you can access it by URL. Then try the same in the forum directory.
I’ve just found and fixed the bug in my plugin: I’ll upload a new version within minutes.
Hi Ricardo!
“Recent” users comments from bbPress Sitemap Generator plugin page say:
This plugin does not work with bbpress 1.02
Tried everything… Still didn’t work.
This plugin horrible slows down the forum performance
I cannot get this work
This really needs an update!
I strongly suggest you to use another sitemap generator plugin first; if you still will experience problems, please post here the list of the plugins you’re using and the bbPress version you’re on, and I’ll try to help.
Isn’t there any solution for above post ?
I am using Nicer Permalinks which is creating problem with relative URL so I need to provide absolute URL.
I have a anchor tag on topic page called “Start new Topic” with Relative URL values:
anchorTag href=”forum.php?id=<?php forum_id()?>#postform” anchorTag
Which won’t work properly with Permalinks.So I need to write same code using bb_uri() function so that it becomes absolute URL.
Any idea please !!
I have written a plugin that does what you want but isn’t released to the public.
The code that follow deactivate all HTML tags. Keep in mind that it’s not tested at all.
<?php
/*
Plugin Name: zaerl No HTML
Plugin URI: http://www.zaerl.com
Description: no HTML tags in posts
Author: zaerl
Author URI: http://www.zaerl.com
Version: 0.1
*/
function za_nh_allow_tag($tags)
{
return array();
}
function za_nh_initialize()
{
add_filter('bb_allowed_tags', 'za_nh_allow_tag');
}
add_action('bb_init', 'za_nh_initialize');
?>
If you are interested contact me.
I have solved it now: the BBcode Lite plugin was interferring. Had to deactivate it.
I recently installed bbpress and completed deep integration using the:
bbpress integration 1.0 wordpress plugin and the zaerl wordpress 3 fix plugn.
everything appears to be running ok,
when i’m in the admin panel on the dashboard screen, it’s posting the following errors at the top:
Warning: Division by zero in /support/bb-includes/functions.bb-statistics.php on line 214
Warning: Division by zero in /support/bb-includes/functions.bb-statistics.php on line 194
Warning: Division by zero in /support/bb-includes/functions.bb-statistics.php on line 174
Warning: Division by zero in /support/bb-includes/functions.bb-statistics.php on line 244
i’m not sure what caused this, and i’m not sure how to get rid of it or if it’s even affecting anything?
anyone seen this before or have any ideas?
There’s no need for a <br /> cause you can specify a margin-bottom:1em; in the CSS.
.post p { margin-bottom:1em; }
I don’t know if I’m missing something. This seems to be important yet I cannot find anything about this subject in any forum about bbPress.
When you press Enter twice in a reply in this forum, it brings you down to start a new paragraph. I’m assuming it also automatically adds a <br> tag in the post. My forums, however, do not do this.
http://raremob.com/forums/
How do I make it so when there is a gap between paragraphs on my forum replies that it automatically adds the <br> tag? Currently, I have to manually edit everyone’s posts who make any sort of separations between paragraphs by typing this tag in between them. I know it has nothing to do with my plugins because it was having the same problem from the start.
Hello.
I’m using _ck_’s plugin for showing unread posts, but I’m trying to attach an icon for the status as well.
I have the two pictures that I want (last_login.png and unread_posts.png) in a folder called “icons” inside the folder of the plugin.
I’m highlighting the new forums with posts and the unread posts since last login here:
$unread_posts['indicate_forums']=true;
$unread_posts['indicate_last_login']=true;
I’m also using the entire row class instead of the title cell, since without this option I cannot get the forum to show the new posts at all.
$unread_posts['use_row_class']=true;
Here is my attempt to attach the pictures:
$unread_posts['style']=".unread_posts {color:#FF0000; padding-left: 20px; background: url(".$unread_posts['icons']."unread_posts.png) 1px 0px no-repeat;}"
.".unread_login {color:#FF4500; padding-left: 20px; background: url(".$unread_posts['icons']."last_login.png) 1px 0px no-repeat;}"
.".unread_posts_row a {color:#FF0000; padding-left: 20px; background: url(".$unread_posts['icons']."unread_posts.png) 1px 0px no-repeat;}"
.".unread_login_row a {color:#FF4500; padding-left: 20px; background: url(".$unread_posts['icons']."last_login.png) 1px 0px no-repeat;}";
I’ve also posted here, on _ck_’s forum, but I haven’t received a reply yet.
Any help greatly appreciated.
Regards,
Bob
915 function phpbb_username($id) {
916 global $phpbb_tables;
917 $sql = "SELECT username FROM " . $phpbb_tables['users'] . " WHERE user_id=$id";
918 $result = mysql_query($sql);
919 if ($row = mysql_fetch_object($result)){
920 return $row->username;
921 } else {
922 return false;
923 }
924 }
What am I missing??
I read through all this here are my errors:
1.Connected to the phpBB database host
2.Selected the phpBB database
3.Exporting forums...
4.Exporting users...
5.Exporting user metadata...
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/singer/public_html/phpbb2bbpress.php on line 920
6.Exporting topics...
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 33030274 bytes) in /home/singer/public_html/phpbb2bbpress.php on line 373
How do I increase my allowed memory? That should resolve # 6
What supplied argument is invalid??
I appreciate the assistance.
You are s superstar CK ! It’s workig perfctly now
I have gone through every single line of my forum.php and your code, didn’t find anything (perhaps I missed something) then I just replaced them as you advised. Now they are working
Thanks a million!
It’s possible the template for the forum page has a bug or missing code, I vaguely remembering one of my themes having this problem in an old copy.
You are using “the-hybrid” theme?
Does your forum.php template look like this?
http://pastebin.com/raw.php?i=CLpMG0UF
(if not replace it)
I had the same problem with pretty permalink.
Background:
Main site = http://www.site.com
Blog = http://www.site.com/blog (WP 2.
Forum = http://www.site.com/forum (bbPress 0.9.06)
I installed the blog few weeks ago and didn’t touch apart of posting a “hello world”. Wp gave me a message on that time to enter this on root htaccess –
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>
I must mention that the htaccess had already
Options +FollowSymLinks
RewriteEngine on
Then I installed the forum today. After activating the name based permalink it gave me 404 message. I deleted the “+FollowSymLinks” from the htaccess and put –
Options +Multiviews
It worked fine for few hours but it started showing 404 again. After going through various posts in here I decided not to change the Multiviews as my hosting already mod_rewrite enabled.
I made another htaccess just for the forum,which look like this –
Options +FollowSymLinks
RewriteEngine on
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /forum/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /forum/index.php [L]
</IfModule>
The pretty permalink is working at the moment. Hopefully it will be working in future too.
It is not on the development road map. bbPress is on its way to becoming a plugin for WordPress and will therefore rely on whatever database technology is used by WordPress.
You can read more about the database choices for WordPress here:
https://codex.wordpress.org/Using_Alternative_Databases