WolfzNews v0.3b
Upgrade and installation!
Upgrade :
Note : only v0.2b can be upgraded!
First edit the upgrade.asp and change the sub opendbold to use you connection string! then to upgrade rename your old database to news2.mdb and just fallow the install until you get to the online set up. Just before you logon just upload WolfzNews to server and run server/WolfzNews/upgrade and it will move you stories and user forum the old database only!
Install :
Unzip the file to a tem dir and edit the index.asp, comment.asp, archive.asp, and search.asp! these files are used to view the news just edit then to look like your site all you need to leave is the <!--#include file=news_??????.asp-->
Your old index.asp, search.asp, and archives can be used! to save time.Next if you want you can change the database pass by opening in access and using wolfznews as the default and change
Next edit the news_database.asp found in the WolfzNews dir.to use your connection string, change the name if you renamed it, and change password if you change it, and finally mnake sure the database dir is also cahnge and make sure the database is in that dir!
After that edit the files include in the tmeplate dir!
article.asp ois the template for viewing the article on the index.asp! just include the <!--#include file=artilcestart.asp--> before the code and <!--#include file=articleedn.asp--> at the end!
place <%=title%> where you want the title
place <%=datetime%> where the date and time
palce <%=body%> for the body
place <a href="http://<%=source%>">http://<%=source%></a> for the source
place <a href="mailto:<%=email%>"><%=author%></a> for email and author
place <%=Cnum2%> where you want the the count of just the main comments
and <%=Cnum%> comment(s) for the total comments includes replies
place <a href="comment.asp?idmess=<%=id%>&page=0">View comments</a> to let peole view the main comments
place <a href="javascript:addcomm(<%=id%>)">Add comment</a> to let peole add comments
palce <a href="javascript:prefs()">Prefs</a> to let people set the catogories THERE BUT buggy!
Now do that to all page with article??.asp
just pay attention to the #includes each page is different!Next edit all the head???.asp files use the same as whit the article???.asp file!
just pay attention to the #include each page is different!Next edit the comment.asp
the fist part display the orgianal articlejust use the same as the articl???.asp files and just watach the includes
then is the middle include!them come the displaying of the main comments just use the same as atricle except <%=-re%> displays the totla of the repies for that commet! and
display the repies page <a href="comment.asp?page=1&idmess=<%=idmess%>&parent=<%=id%>">View Replies</a>
dlets people reply to commet| <a href="javascript:reply(<%=idmess%>, '<%=title%>', <%=id%>)">Reply</a>
same as artilce! <a href="javascript:addcomm(<%=idmess%>)">Add comment</a>Next edit the reply.asp
it is basicly the same as comment.asp but it shows the orignal commnet then the replis code are the same.
After you have it installed and upgrade you may delete the help idr, upgrade.asp and the news2.mdb
Then make sure you upload them, then login with admin/admin and go to the user manager and edit the admin profile and cahnge to yours. Note if you upograded you should beabel to use you old user to login in and resetup.
after logining in and edit the user if needed change the cofigure menu and change the setting to what you want.
next readd you autolinks, and such then you can start using the WolfzNews
If you have problems or need help POST on the WolfzNews FORUM
Only emial if you need Password kept and User name and such email me at wolfzden@zdnetonebox.net
ŠIcewolfz