Version: , by (Guest)
Developer Last Online: Jan 1970
Version: Unknown
Rating:
Released: 10-14-2000
Last Update: Never
Installs: 0
No support by the author.
Ok I am almost there
I am working with code that I think started as Evas active topics and changing it for another purpose.
I have created a hidden forum and it will be available for use by one person.
Then using the following code to throw the data from that forum out on a page on the actuall web site - this is sort of what it will look like, sort of, when finished
while ($latest_array = mysql_fetch_array($resultlatest)) {
// Get Forum Infomation
$query_forum = "select * from forum where forumid='$latest_array[forumid]'";
$result_forum = mysql_query($query_forum,$db);
$forum_info_array = mysql_fetch_array($result_forum);
// split the date up a bit
$datestr1 = substr($latest_array["dateline"],0,10);
$datetime = substr($latest_array["dateline"],11,8);
printf ("<font face=\"Verdana, Arial, Helvetica, sans-serif\"
size=\"1\"><b>%s</b><br></font>", $datetime);
$querythread="select * from post where threadid='$latest_array[threadid]' order by
dateline asc limit 1";
(so it looks ugly - I am still working with it, or its working me over - one of the two)
Ok the problem is, and you can see it if you go the web page and look at the bottom is getting a parse error in line 42 or something like that - its the very last line
?>
I have no spaces anywhere or anything like that, I have checked. I am lost. Everything works like a charm except the ugly parse error at the very end.
One other question - if you look at the mainpage on the right you will see a box with articles and updates - the next thing I am going to do is attempt to work on code to have that automaticaly spit out. How would I have it call off the title of a post from selected forums, then link to that post not at vbulletin, but link to it on the actual web page? Just wondering what a snippet of code would have to look like, I want to do it but I havnt programmed since Visual Basic first came out. I figure it would be some if else statements, but not sure, and not sure what they would have to look like.
Ok thanks again for the previous help and *hopefully* future help. Dont worry I am picking this up quick and already have a couple of hacks in the thought process, and should have enough knowledge within a month to start working on them.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.