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

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 extrack news to news.asp from a news forum?
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 3

pox
Junior Member

Denmark
110 Posts

Posted - 21 October 2002 :  11:00:17  Show Profile  Visit pox's Homepage
anyone know if there is a script that can extract topics to a news.asp, from a news forum.

so that the users of the forum can post news on a website frontpage. and can reply comments.

davemaxwell
Access 2000 Support Moderator

USA
3020 Posts

Posted - 21 October 2002 :  11:03:41  Show Profile  Visit davemaxwell's Homepage  Send davemaxwell an AOL message  Send davemaxwell an ICQ Message  Send davemaxwell a Yahoo! Message
Search for slash mod. That should give you what you are looking for....

Dave Maxwell
Barbershop Harmony Freak
Go to Top of Page

DarrenLuxton
Junior Member

184 Posts

Posted - 21 October 2002 :  12:44:53  Show Profile
Pox

I have just the thing yuor lokoing for, well not me Personally, but i've implemented the exact same thing.

if you look at my website.

http://www.shadowknights.com/skforum/home.asp

I've set it up to pull topics directly from a specific ForumID and display them accordingly.

The MOD that you need in the 'Content Display' Mod

This has everything you need to get you up and running.


hope this helps.
Go to Top of Page

ASPDude
Starting Member

United Kingdom
41 Posts

Posted - 22 October 2002 :  09:41:02  Show Profile  Visit ASPDude's Homepage
pox

You may wish to think about the News Refresh Mod: http://forum.snitz.com/forum/topic.asp?TOPIC_ID=34469

I believe that it's available for download at http://www.snitzbitz.com under the Mod - Front Page News

Hope it helps.

Edited by - ASPDude on 22 October 2002 09:41:56
Go to Top of Page

pox
Junior Member

Denmark
110 Posts

Posted - 23 October 2002 :  11:12:40  Show Profile  Visit pox's Homepage
well. i need a script who can extract 5 latest post in a forum to a news.asp

not so te news is in the forum default.asp

but on the frontpage of my website. and not in the /forum/ directory

and so the comments to the news are replys to the topics.

anyone know if this script is done?
Go to Top of Page

DarrenLuxton
Junior Member

184 Posts

Posted - 23 October 2002 :  12:59:34  Show Profile
Pox

The Content Display MOD will do all this and more.

Basically, you can create yoru asp page, wether it be /forum/home.asp
or root/news.asp however you like. i.e. create a formatted html/asp page, with tables formatted text etc etc etc and pull in the news you want where-ever you want it to display on the page.

Again, if you look at my home page, you will see that i have included this mod to display the news in a seperate table, and the latest topics in a table below that.

The Content Display mod is designed so that you can pull information from any forum you like, and have it displayed however you like.

Lets say that yuo create a forum called NEWS, and that forum has an ID of 13.

Within your NEWS.ASP page, you would put in this command where you want it to display

(Tis is not an exact command, but when you download the Content MOD, you will see what i mean)

<content.asp,1,13,5,200,50,article.asp,"100%",4>

1, Specifies that you want to display topics from a specific ForumID
13, Is the ID of the Forum
5, Is the number of topics you want it to display
200, is the number of characters you want to be able to see in the message
50, is the number of Characters you want to see in the Subject
Article.asp, is part of the Contect Display Mod
"100%", is the width you want to display it at, This is handy if you include this in a html table
4, is How you want to display it, i.e. Formatting.

It might look complicated, but trust me, it's one of the easiest MODS i've ever implemented. And it's a great one at that.

If yu need any help, i would be more than glad to offer it.

Mail me at darren@darrenluxton.com





http://www.shadowknights.com


Go to Top of Page

pox
Junior Member

Denmark
110 Posts

Posted - 24 October 2002 :  15:50:13  Show Profile  Visit pox's Homepage
thanks.. il try that ;c)
Go to Top of Page

pox
Junior Member

Denmark
110 Posts

Posted - 24 October 2002 :  17:23:22  Show Profile  Visit pox's Homepage
mmm.. one question... can you comment the news by replying the news/topic??
Go to Top of Page

pox
Junior Member

Denmark
110 Posts

Posted - 24 October 2002 :  17:31:24  Show Profile  Visit pox's Homepage

Error Type:
Microsoft VBScript compilation (0x800A0411)
Name redefined
/forum/content.asp, line 39, column 4
dim rs, T_Cat_ID, Forum_Subject, Topic_Date, Topic_Subject
---^
[/CODE]

i get this error


DarrenLuxton -

can you make an example for a home.asp that reads news from a news forum?

Edited by - pox on 24 October 2002 17:37:28
Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 24 October 2002 :  18:00:51  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
quote:
Error Type:
Microsoft VBScript compilation (0x800A0411)
Name redefined
/forum/content.asp, line 39, column 4
dim rs, T_Cat_ID, Forum_Subject, Topic_Date, Topic_Subject



You have done something very, very strange to your forum to get such an error.

@tomic

SportsBettingAcumen.com
Go to Top of Page

pox
Junior Member

Denmark
110 Posts

Posted - 25 October 2002 :  05:29:42  Show Profile  Visit pox's Homepage
quote:
Originally posted by @tomic

quote:
Error Type:
Microsoft VBScript compilation (0x800A0411)
Name redefined
/forum/content.asp, line 39, column 4
dim rs, T_Cat_ID, Forum_Subject, Topic_Date, Topic_Subject



You have done something very, very strange to your forum to get such an error.

@tomic




it was a clean installed snitz i tryed on..


anyone can help me?

Edited by - pox on 26 October 2002 05:26:27
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 26 October 2002 :  05:35:19  Show Profile
Well, comment out that line for a quick fix.

Stop the WAR!
Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 26 October 2002 :  06:10:08  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
Yes, it shouldn't hurt to remove those dim's

@tomic

SportsBettingAcumen.com
Go to Top of Page

pox
Junior Member

Denmark
110 Posts

Posted - 26 October 2002 :  09:56:11  Show Profile  Visit pox's Homepage
mm.. then it just says.


Microsoft VBScript compilation (0x800A0411)
Name redefined
/forum/content.asp, line 40, column 4
dim TableWidth, HeaderText, strTopicID, strMsgIconID, strLink
---^

and thats the next line..


can the mod run whith the newest version of snitz? because its the newest version, and a clean install.

Edited by - pox on 26 October 2002 09:57:15
Go to Top of Page

PeeWee.Inc
Senior Member

United Kingdom
1893 Posts

Posted - 26 October 2002 :  12:43:54  Show Profile  Visit PeeWee.Inc's Homepage
thats what i am getting with a clean install a new snitz

De Priofundus Calmo Ad Te Damine
Go to Top of Page

pox
Junior Member

Denmark
110 Posts

Posted - 26 October 2002 :  14:40:36  Show Profile  Visit pox's Homepage
quote:
Originally posted by PeeWee.Inc

thats what i am getting with a clean install a new snitz



Yeah. see its not my souce that ****ed....


abd im a asp n00b, so i dont know what the problem is.
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Next 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.26 seconds. Powered By: Snitz Forums 2000 Version 3.4.07