Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
requests-topic
bbpress to simple:press migration
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 14, 2011 - 4:29 am

OK lets try something else.
Can you briefly switch your site to using the default WP theme 'twentyten'? Let me know if the page displays then.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Dmitry
Kiev
Member
Free Members
sp_UserOfflineSmall Offline
Mar 14, 2011 - 5:10 am

Yellow Swordfish said:

OK lets try something else.
Can you briefly switch your site to using the default WP theme 'twentyten'? Let me know if the page displays then.

yes, in twenty ten it works fine.

P.S. my page.php template has <?php get_header(); ?> and <?php get_footer(); ?>

header.php has <?php wp_head(); ?>

and footer.php has <?php wp_footer(); ?>

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 14, 2011 - 5:45 am

It probably means your theme is one of those that likes to something clever instead of just displaying the content.
In the forum admin - WP Integration panel - are a couple of options at the bottom to try and overcome this. Try them one at a time and if that doesn't work try with both turned on.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Dmitry
Kiev
Member
Free Members
sp_UserOfflineSmall Offline
Mar 14, 2011 - 6:08 am

Yellow Swordfish said:

It probably means your theme is one of those that likes to something clever instead of just displaying the content.
In the forum admin – WP Integration panel – are a couple of options at the bottom to try and overcome this. Try them one at a time and if that doesn't work try with both turned on.

You gave me a great idea 🙂

I looked in my functions.php and found one functions:

 

 

 

//PHP-Code for functions.php
function pre_esc_html($content) {
  return preg_replace_callback(
    '#()(.*?)()#imsu',
    create_function(
      '$i',
      'return $i[1].esc_html($i[2]).$i[3];'
    ),
    $content
  );
}
add_filter(
  'the_content',
  'pre_esc_html'
);

 

Without it seems all works fine

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 14, 2011 - 6:10 am

How odd. I wonder what that was for...!
Glad to hear it is all working.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Dmitry
Kiev
Member
Free Members
sp_UserOfflineSmall Offline
Mar 14, 2011 - 6:15 am

But i have another problem. All posts i've imported from bbpress displayed like posted by guest, not by users

http://prntscr.com/1murq

 

(I have intagrated bbpress, so users stored in one wpprefix_user table. when i start importing i do not check last checkbox)

and one more screenshot http://prntscr.com/1mus4 - it is my user, and in bbpress i have a lot of messages, but here 0

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 14, 2011 - 7:27 am

Did you give the table prefix for the users table? It did say that it is required if bbPress is integrated.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Dmitry
Kiev
Member
Free Members
sp_UserOfflineSmall Offline
Mar 14, 2011 - 7:34 am

yes, of course. And Import finished without any errors

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 14, 2011 - 7:48 am

I haven't myself been able to test with the wp integration in place - that oart was tested by a user who also advised on some code changes.

ao let me see if I understand this please. ALL users already existed in the target database where you were installing SP. Is this correct?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Dmitry
Kiev
Member
Free Members
sp_UserOfflineSmall Offline
Mar 14, 2011 - 8:01 am

yes

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625