Version: , by (Guest)
Developer Last Online: Jan 1970
Version: Unknown
Rating:
Released: 05-09-2001
Last Update: Never
Installs: 2
No support by the author.
Here is an easy setup to put a lot of Vbull content onto another page. You can use it to make an easy index page with some quick modification or just to access information quickly...
I realize that there are already a lot of similar hacks out there, but I felt like sharing.
I have an extremely stupid newbie question. In the config file, you ask for the number of the forum that I intend to use for news. How do I find that number?
Go to your main forums page and mouse over the link of the forum you wish to use. Look for &forumid=XX in the URL where XX is a one or two digit number that is the forum number.
Originally posted by mrlister could you somebody plz fix it. i tried but i keep getting this one error in main.php ONLY when it's in index.php otherwise main.php alone works fine.
This situation is simple. You are not following the instructions written with the files.
"In addition both side.php and login.php have to be in a folder that is outside but at the same level as forums.If you want to put them elsewhere you will need to adjust the following line to reflect that change.
chdir("../forums/");"
You will find this in the appropriate files at the top. You must set the coorect path for these files to work.
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.