Form no longer visible
-
Hi, between versions 1.8.49. and 1.9 the form for collecting user info stopped being visible. Your shortcodes are embedded in Woody Ad Snippets so I can distinguish between people logged in or not. The redacted code is below. Any idea why Participants Database stopped working at version 1.9?
Thanks
if ( is_user_logged_in() ) { echo '<a href="https://www.domain.com/text/">Text</a><br>'; echo 'Text'; global $userdata; get_currentuserinfo(); $record = Participants_Db::get_record_id_by_term( 'user_login', $userdata->user_login ); if ( $record === false ) { echo do_shortcode( '[pdb_signup template=bootstrap]' ); } else { echo do_shortcode( '[pdb_record template=bootstrap record_id=' . $record . ' action="update-thanks"]' ); } echo 'Text'; } else { echo "Text"; echo '<a href="https://domain.com/ucp.php?mode=register">here</a><br><br>'; }
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Form no longer visible’ is closed to new replies.