Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Front Page MOD
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

kolucoms6
Average Member

845 Posts

Posted - 08 April 2007 :  04:01:58  Show Profile
Its around 6 MB file I guess .. This contains entire Forum ? Anyways Downloading now.. :-)
Go to Top of Page

Hermes
Junior Member

Croatia
113 Posts

Posted - 08 April 2007 :  08:10:10  Show Profile
quote:
Originally posted by daveo

Here is a link to my modified version. Missing the DB, but is Snitz with several mods - catcha, anti-spam, Front Page News, Googie Spell and not some stats. Not a good ASP programmer, so I struggled with some of the harder mods.

http://copdforum.portalone.us/portalone.snitz.zip


Hm. I will download it, but I was thought that you provide only modified txt files of Front Page Mod.
This is, a little bit, unnecessary trouble, I think.


ASP Snitz Forum Upute za instalaciju
http://www.kairos.com.hr http://www.hermetizam.com Forum

not so newbie any more :)
Go to Top of Page

daveo
New Member

97 Posts

Posted - 08 April 2007 :  09:18:57  Show Profile  Visit daveo's Homepage
I downloaded and added the mod. I am not the author. You can find the mod here.
http://www.snitzbitz.com/default.asp
http://www.snitzbitz.com/mods/details.asp?Version=All&mid=47

http://copdforum.portalone.us/
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 08 April 2007 :  10:51:41  Show Profile
:-)

Thnx for the Link but we have it ...

Can u embed URL in it(news) if required ?
Go to Top of Page

Hermes
Junior Member

Croatia
113 Posts

Posted - 08 April 2007 :  12:14:09  Show Profile

Yeap, that is what we need.


ASP Snitz Forum Upute za instalaciju
http://www.kairos.com.hr http://www.hermetizam.com Forum

not so newbie any more :)
Go to Top of Page

daveo
New Member

97 Posts

Posted - 08 April 2007 :  13:25:31  Show Profile  Visit daveo's Homepage
Yes you can.

http://copdforum.portalone.us/
Go to Top of Page

Hermes
Junior Member

Croatia
113 Posts

Posted - 08 April 2007 :  13:35:30  Show Profile

quote:
Originally posted by daveo

Yes you can.


Weeeeee! It's working.

Thank you very much Daveo. :thumb up:



ASP Snitz Forum Upute za instalaciju
http://www.kairos.com.hr http://www.hermetizam.com Forum

not so newbie any more :)
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 08 April 2007 :  14:06:11  Show Profile
Working ??

How ??
Go to Top of Page

Hermes
Junior Member

Croatia
113 Posts

Posted - 08 April 2007 :  15:20:46  Show Profile

Use Daveo's inc_news_body.asp,
and embed link like ['url="http://www.latest_news.com"]Latest News[/url]
but without this ' before url

it should work


ASP Snitz Forum Upute za instalaciju
http://www.kairos.com.hr http://www.hermetizam.com Forum

not so newbie any more :)

Edited by - Hermes on 08 April 2007 15:21:29
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 08 April 2007 :  15:51:38  Show Profile
Can you kindly send me the TXT of INC_NEWS_BODY ?
Go to Top of Page

daveo
New Member

97 Posts

Posted - 08 April 2007 :  15:56:07  Show Profile  Visit daveo's Homepage
I am not sure this is how you wanted it - It is in the zip, but here it is.

<%
on error resume next
set news_config = My_Conn.execute("select * from "& strMemberTablePrefix & "News_Config")
strNewsState = cint(news_config("show_news"))
strNewsItems = cint(news_config("num_items"))
if strNewsItems =< 0 then
strNewsItems = 4
end if
if strNewsState = 1 then
Set objRec = Server.CreateObject ("ADODB.Recordset")
response.write "<table align=""center"" width=""75%"" border=""1"" cellspacing =""0"">"
dim i,cmdate,cmdate2
if strDBType = "mysql" then
sqlstr = "select n_text,n_date,m_name from "& strMemberTablePrefix & "NEWS,"& strMemberTablePrefix & "MEMBERS where "& strMemberTablePrefix & "NEWS.member_id = "& strMemberTablePrefix & "MEMBERS.member_id order by n_date desc limit "&strNewsItems
else
sqlstr = "select top "&strNewsItems&" n_text,n_date,m_name from "& strMemberTablePrefix & "NEWS,"& strMemberTablePrefix & "MEMBERS where "& strMemberTablePrefix & "NEWS.member_id = "& strMemberTablePrefix & "MEMBERS.member_id order by n_date desc"
end if
objRec.Open sqlstr, My_Conn
objrec.movefirst
cmdate = ""
cmdate = CStr(left(objrec.fields("n_date"),8))
cmdate2 = CStr(left(objrec.fields("n_date"),8))
response.write"<TR><td bordercolor=""Black"" align=center bgcolor=""" & strHeadCellColor & """ nowrap valign=""top""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHeadFontColor & """>"&STRFORUMTITLE&" News!</font></b></td></tr>"
response.write"<TR><td bordercolor=""Black"" align=center bgcolor=""" & strCategoryCellColor & """ valign=""top""><font face=""" & strCategoryFontColor & """ size=""" & strdeafultFontSize & """ color=""" & strHeadFontColor & """>Date:"&chkDate(cmdate)&"</font></td></tr>"
Do While not objRec.EOF
if cmdate2 = cmdate then
else
cmdate = CStr(left(objrec.fields("n_date"),8))
response.write"<TR><td bordercolor=""Black"" align=center bgcolor=""" & strCategoryCellColor & """ valign=""top""><font face=""" & strCategoryFontColor & """ size=""" & strdefaultFontSize & """ color=""" & strHeadFontColor & """>Date:"&chkDate(cmdate)&"</font></td></tr>"
end if
response.write"<TR><td bordercolor=""Black"" align=""center"" bgcolor=""" & strForumCellColor & """ valign=""top""><font face=""" & strCategoryFontColor & """ size=""" & strHeaderFontSize & """ color=""" & strForumFontColor & """>"&FormatStr(objRec.fields("n_text"))&" " &"</font></td></tr>"
objrec.movenext
cmdate2 = CStr(left(objrec.fields("n_date"),8))
loop
objrec.close
objRec = Nothing
response.write"</table><BR>"
end if
%>

http://copdforum.portalone.us/
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 08 April 2007 :  16:27:02  Show Profile
Still working ... Trying to find difference in old and new files...
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 09 April 2007 :  18:37:10  Show Profile

NO FURTHER CHANGES REQUIRED:
************************************
You must write url in this manner:
Look up for Cnn Latest News
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 17 April 2007 :  18:19:10  Show Profile

Any way to Add image or an icon in News section ?
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.4 seconds. Powered By: Snitz Forums 2000 Version 3.4.07