Tried to import from my current vBulletin 4.0.4 to bbPress 2.2.3 using the bbPress import function, all forum, topic and replies were migrated correctly however the users we not migrated and are under the admin account, I tried it twice and made sure I checked the convert users. Not too sure what I did wrong.
Hi Guys!
Please … I found of course the ShortCode Page on http://codex.bbpress.org/shortcodes/ BUT … I do not know if and how insert in a page the EDIT PROFILE code … Any help ??
…
For instance, when I go to see my profile, I can use different link …
Here’s a ScreenShot on http://www.pietrosferrino.com/ScreenShot.png.
How can I use that links in order to make by myself a page where every single user can use them?
Thank You.
Pietro
Glad you hacked found both your problem and a solution 😛
Yes, the converter is part of bbPress and can be found in your WordPRess admin dashboard under ‘Tools’ -> ‘Forums’ -> ‘Import Forums’ but you do need to customize the ‘example’ file I mentioned above for any custom forum imports.
Just got the whole thing working. Here is the code:
function restrictForum(){
$db_name = 'dbname';
$con = mysql_connect("url","username","password");
mysql_select_db("$db_name")or die("cannot select DB");
$cust_id = mysql_real_escape_string($_GET['cid']);
$sql = "SELECT * FROM customer_data WHERE customer_number = $cust_id";
$result= mysql_query($sql);
$cust_id_form = ('
Enter Your Customer #
');
if ( isset( $_GET['cid'] ) && !empty( $_GET['cid'] ) && mysql_num_rows($result) == 1) {
// cid (customer ID) is present, show the bbPress login form
echo ('Please enter your username and password to continue.');
echo do_shortcode('[bbp-login]');
} elseif ( $_GET['error'] == true ) {
// cid entered was not valid
echo 'The customer ID you entered is not valid.';
} elseif (!is_user_logged_in()){
echo $cust_id_form;
}
}
add_shortcode('forum-login-restrict','restrictForum');
Nope its doesn’t make sense, but I’ll figure it out. 🙂
Thanks for your help, much appreciated.
EDIT: I think I know what to do here. . . I’ll get back to you.
Without the fix located at http://mysitemyway.com/docs/index.php/BbPress I get the default blank blog page at /forums/, with it, I get the error Fatal error: Call to undefined function mysite_after_page_content() in /home/content/39/10190339/html/wp-content/themes/twentytwelve/archive-forum.php on line 25
This only shows up at the bottom, but I can still click on my forum post.
But when clicking on the forum post, I get the errorFatal error: Call to undefined function mysite_before_entry() in /home/content/39/10190339/html/wp-content/themes/twentytwelve/forum.php on line 26
And it does NOT display my post, only displays this error. I tried searching the mysite function, but no solution to be found.
bbPress: 2.2.3
Wordpress:3.5
Site: troop121.us
Hello,
absolutely happy about the integration of bbPress 2 into BuddyPress groups I tested this out today. BuddyPress was already installed with group forums on, but not used yet. Installed bbPress completely fresh.
WP 3.5 multisite, bbPress 2.2.3, BuddyPress 1.7-bleeding-#6628, using bp-default theme.
I followed these steps: http://codex.buddypress.org/buddypress-site-administration/migrating-from-old-forums-to-bbpress-2/
and this guide: http://labzip.com/the-definitive-guide-to-buddypress-bbpress-configuration/
Result: I can create everything vom backend: Forums, topics, replies.
I can add topics in frontend to sitewide forums.
But I cannot create topics to a group forum, also in new groups from frontend – only from backend.
I found the bug here that Forum tab doesn’t show up at group creation. I don’t know if that matters – if I turn group forum on after creation in admin panel, the tab is there, with all forum empty messages and new topic form. And these group forums show up in the backend forums view under group forums, so the hierarchy is correct.
Sure this is a test / dev install, no live site. And there’s no hurry, but I’d like to test more out with your plugin 🙂
Is there something I did wrong until here? Or I could try?
thanks, Fee
Here’s a quick thing you could try. Might work, might not.
In the wp-admin sidebar, go to Settings->Permalnks. Try messing around with the different permalinks options, see if that does anything. I would recommend the Post Name option. In my site, I have this set as a custom option:
/%category%/%postname%
Maybe the update to 3.5 messed with the permalinks option.
EDIT: I guess I skipped over the first post that says permalinks are fine, but it’s worth a try for anyone else having this problem.
Anonymous UserInactive
Alright. Everything fixed. 😉
To set the post positions new, I created a curious script using the function ‘bb_update_post_positions’ and an sql-query to get all topics by id. I loop through the topics and make an function call for an modified ‘bb_update_post_positions’.
I describe here only my approach to solve the problem. My php code itself could be dangerous. 🙂
But if someone has the same problems importing old data (bbPress 1.x) I’ll help via email.
Here is what is on the home page.
http://pastebin.com/hw3svPP5
Here is what is on your forums.
http://pastebin.com/q0PzuM4T
So you need to link the image on the forums to the full sized image, if that makes sense?
Actually, I can confirm that NONE of my users (except me, as admin) can access the forums. All get the page not found error.
Hello Again,
I am still waiting for a response. There is a problem in Translation file.
For example, here is a permalink for a string “Edit Forum”:
https://translate.wordpress.org/projects/bbpress/dev/ar/default?filters%5Bstatus%5D=either&filters%5Boriginal_id%5D=19786&filters%5Btranslation_id%5D=2008090
The string is translated but for some reason at my forums string it still appears in English.
I also want to mention that some of the strings displayed properly at my forums with it’s translation, but some strings still appear in English.
Currently I am using WP 3.5 and bbPress 2.2.3
Hope now you have time to check the problem. I do not know if I’m doing something wrong but six weeks ago, the translation worked fine with no problems.
Thanks
Thanks Lynq,
http://www.pressoblivion.com
Theme: Custom Comunity
WordPress: 3.5
bbPress: 2.2.3
Some of my users have the same issue. The moment they login on the wordpress site, the forum becomes inaccessible. The get a page not found error.
Once they log out, it works again. This is a cross-browser issue.
Supposedly, there’s a fix for it here: http://mysitemyway.com/docs/index.php/BbPress
But, the fix doesn’t appear to work quite well if you use plugins that add “HTM” extension to your pages etc.
I would be interested in knowing how to post photos within bbPress posts, just as normal forum posts do. I do NOT have any “TinyMCE” options in my installation (WP 3.5 — bbPress 2.2.3).
Anonymous UserInactive
Hi JJJ,
after studying the bbPress 1.1 converter code and an deep look into the mySQL data I know the error. In my installation the field post_position is set for all old post to ‘0’. It’s possible that this is an error form the originally convert from phpBB to bbPress 0.9 some years ago.
From the import:
‘join_expression’ => ‘USING (topic_id) WHERE posts.post_position IN (0,1)’
So for now – i’m searching for an solution to reset the post_position.
Nice. Thanks for the heads up. I don’t know if the previous database was an SQL database but I think it was. So, the conversion is installed when bbPress is? Is it accessed and configured through the WP dashboard?
Thanks.
WP 3.5 and bbPress 2.2.3
After moving a bunch of topics from one forum to other (to close the original forum) the moved topics are all floated to the top of their new forums, even if they had a very old freshness before they all said “1 minute” after the move. I tried recalculating the freshness and now it has the correct dates again but they are still out of order so the front page of the forum is full of posts from months ago. Any help?
-Matthew
What you can do is add the current lightbox you have installed to a specific element on your site.
For example, something like this inside script tags in your theme, or inside a js file:
jQuery(“.bbPress .bbpress-forums img”).lightbox();
This does depend on your theme though, might be easier if you could post a site link?
Good luck!
I never had an issue with updating wordpress to 3.5 or updating bbPress so I would guess that it might be a plugin conflict, but I am not sure.
Have you tested deactivating certain plugins?
Hi there!
I hove that someone will help me with this problem. I get an error on topics pages:
Fatal error: Call to undefined method stdClass::have_posts() in /home/jorjette/public_html/wp-content/plugins/bbpress/includes/replies/template-tags.php on line 181
On the bbpress file, the section look like this:
function bbp_replies() {
// Put into variable to check against next
$have_posts = bbpress()->reply_query->have_posts();
// Reset the post data when finished
if ( empty( $have_posts ) )
wp_reset_postdata();
return $have_posts;
}
Well the line 181 is :
$have_posts = bbpress()->reply_query->have_posts();
But I think the problem is how the function call the wp function wp_reset_postdata();.
What can I do to change or resolve the issue? Can be a bug in BBpress plugin? This problem appears when I update to WordPress 3.5
Does anybody have bbpress 2.0.3 they can send me? seems like its the last known version to work with the theme
Hi All
bbpress –> 2.2.3
wordpress –> 3.5
theme –> various
link to test site http://johnjack.co.uk/?forum=new-forum
I am finding that my forums are displaying in a post template, how do I change this to display using a page template instead?
Please help!!