Good Morning! I loved your tutorial on how to display posts and topics on external pages. I Have run into one problem though...after copying your exact code for example 4 from the link above, I can see the correct posts and such...until I log out.
Now, I've checked my forum permissions and they are set to read access only for guests, so I'm not sure if I'm missing something else to make these posts visible to people not logged in (which is entirely possible given I'm prone to missing the simplest things when building websites sometimes...). The page I'm trying to put it on can be seen here: http://www.darksolace.net/home.php and it gives the error "A list of topics/forums has not been created" What am I missing that's causing this error to occur?
Any help you can give me would be greatly appreciated as I'm at a loss on what to do. I'm still very new to PHP, so anything that requires extra fiddling with code sometimes doesn't work so well for me.
All web design discussion, including Ultimate Quiz MOD support.
Moderator: CricketMX Forum Moderators
2 posts • Page 1 of 1
Ah! After more line by line code examining, I removed
and it worked. Like I said, something simple haha. Thanks so much for the tutorial again!
Code: Select all
$forum_id = array(2, 5); $forum_id_where = create_where_clauses($forum_id, 'forum'); $topic_id = array(20, 50); $topic_id_where = create_where_clauses($topic_id, 'topic');