Forums
-
- Forum
- Posts
-
- Installation
- 27,616
- Troubleshooting
- 60,560
- Themes
- 10,189
- Plugins
- 14,971
- Requests & Feedback
- 14,607
- Showcase
- 3,238
-
Fixed it myself. It was the: FROM $bbdb->portal"
that didn’t work. Changed it into FROM ".$bb_table_prefix."portal"
and added $bb_table_prefix; in the global as well and all seems to work fine now.
Working code:
$pforum_id = $bbdb->get_var("SELECT pforum_id FROM ".$bb_table_prefix."portal");
Thx for the suggestions given
Null
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS