Quote:
Originally posted by amykhar
Time for another stupid question 
Will this work for boards where membership is required to read posts? I would like to give non-members a preview of what goes on inside.
Currently, I get a box that says No News, and nothing else. At this point, I am not sure if I messed up, or if this won't work for my board.
Amy
|
Hi Amy,
Yes, basically all this script is doing is accessing the database on call. Whether you SSI the info to another page or call it from the browser it is just accessing the vBDB. Members will need access clearance anyhow on your board to post comments, etc....
As far as required to have membership to read posts, This may be a bit of a problem and perhaps make portions of this script not so useful as the Comments on the articles, etc... I have mine set up to where you can read the posts but not post replies without membership. Sounds like you are doing fine. The no news means that you have indeed connected to the database and that there is no news items to be displayed. Remember to set up the _config file properly.
$DBForum = "100"; "you have to have this pointing to the forums you will be using to post with. I am telling my db that the forum id =100 here.
$path = "/path to forums/";
Both of these need to be set up correctly. If you are sure you have the correct forum id set up, go post and then call the file from the browser. You should see your posts.
Take Care,
Hooper