Author |
Topic |
eernstbmi
Junior Member
Denmark
113 Posts |
Posted - 08 January 2001 : 18:31:24
|
The modification is used to display content from the forums in Off Forum pages. I.e. we are using this to setup up forums where the board of directors in my organization can add the latest news. This news is then displayed instantly on the homepage.
Welcome to the new Content Management System - SNITZ!
The code is based on a modified DEFAULT.ASP combined with elements from TOPICS.ASP.
Download: http://212.130.84.74/snitz/DisplayForum.ZIP
Demo: http://212.130.84.74 (The site is not open to our members yet!)
----
Use it by including display.asp to the pages where you want to display the forum content. Currently there are three diffent diffent main display modes in the sub.
sub DisplayTopics(fForumID, DisplayMode, tOrder) ' fForumID = the Forum ID of the forum to be displayed ' DisplayMode: ' 0 = Display a list of the Subjects - Links into the Forums Topic ' 1 = Display All Topics (except Closed) with Full Text ' 2 = First displays a list of the Subjects - then on the same pages ' a all the Topics with Internal Links on the Page ' tOrder: Search Order for the Topics ' 0 = By Posted Date ' 1 = By Topics Order field
---- Planned enhancements: More display modes: 1) Display only the first x lines of the topic and a link to the forum with the full topic. 2) Display topic with a message that x replies exists and a button to go to add a new reply.
Best regards, Erik P. Ernst
02/14/01: Download zip file for updated README.TXT with description of added features and fixes (as descriped in this topic) since first releases.
Edited by - eernstbmi on 14 February 2001 03:22:51 |
|
tteal
Junior Member
USA
438 Posts |
Posted - 09 January 2001 : 14:00:17
|
Very nice mod indeed and actually I had considered doing this myself but never have the time :(
I'd love to see the option to have "x" amount of topics per category, that would be awesome! and also the ability to not show topics in let's say one or more specific cateogories..
Great job and mod!!!!
Cheers, Tim
http://www.free-guestbook.com |
|
|
eernstbmi
Junior Member
Denmark
113 Posts |
Posted - 09 January 2001 : 14:55:35
|
quote:
I'd love to see the option to have "x" amount of topics per category, that would be awesome! and also the ability to not show topics in let's say one or more specific cateogories..
Tim, I'll put it on my list.
Best regards, Erik P. Ernst |
|
|
tteal
Junior Member
USA
438 Posts |
Posted - 09 January 2001 : 15:45:03
|
Thanks....
I noticed something else... if you choose to just show the links only, when the user clicks on the link, it doesn't show them the "forum name" ...... just something to think about. Might want to pass that querystring along also.
Cheers, Tim
http://www.free-guestbook.com |
|
|
eernstbmi
Junior Member
Denmark
113 Posts |
Posted - 09 January 2001 : 18:37:28
|
quote:
I noticed something else... if you choose to just show the links only, when the user clicks on the link, it doesn't show them the "forum name" ...... just something to think about. Might want to pass that querystring along also.
Thank you for noticing. I'm working on the change right now.
Best regards, Erik P. Ernst |
|
|
bugzy
Junior Member
USA
147 Posts |
Posted - 10 January 2001 : 12:38:45
|
oooh oooh this is something id like to incorporate in my site
let me know how its going which my asp skills were that good
|
|
|
frankie
Junior Member
Vatican City
304 Posts |
Posted - 10 January 2001 : 20:09:47
|
I like it alot, but I'll wait till the whole thing is done!
Thank you
ô¿~ |
|
|
Morpheus73
Average Member
Denmark
597 Posts |
Posted - 14 January 2001 : 08:28:01
|
quote:
I like it alot, but I'll wait till the whole thing is done!
Thank you
ô¿~
Would it be possible to add a search function to the "offline" news section, that only shows results from the news section?
MPH73
|
|
|
DewyattStanfield
Starting Member
49 Posts |
Posted - 14 January 2001 : 22:37:19
|
An odd thing I realized. The colors of the forum are not pulled properly when you include this in a page that is outside of your forum directory. For examples of what I am talking about see http://www.wyrmbane.com/index.asp and http://www.wyrmbane.com/forum/index1.asp I do not understand why this is pulling the default colors and not the custom colors I have setup in my database.
Dewyatt
Edited by - DewyattStanfield on 14 January 2001 23:01:57 |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 14 January 2001 : 22:44:10
|
If you goto Admin Options --> Forum Variables Information from your forums, you will probably see 2 sets of Application Variables (which is where the colors are stored). I am not sure why this happens. I have seen someone that had this problem using the slash mod also. At least that should give you somewhere to start looking. |
|
|
DewyattStanfield
Starting Member
49 Posts |
Posted - 14 January 2001 : 23:09:39
|
Fixed the issue, basically the issue is with the IIS server and not the scripts. I did two things and one of them fixed the issue, first I created a new application in the /forum directory, basically this made it an application root, normally your application root is the actual site that is setup in IIS. Anyway this didn't seem to fix the issue, however when I stopped and then restarted the process it did indeed take care of the issue. So for of forum viewing you probably need to create a new application root in your /forum directory and then stop and restart the site. Hope this helps someone else in the future.
Dewyatt
|
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 14 January 2001 : 23:16:02
|
Thanks for sharing what you did to fix your problem |
|
|
DewyattStanfield
Starting Member
49 Posts |
Posted - 15 January 2001 : 04:05:38
|
Next issue with this mod, usind the display.asp in mode 1 where it is suppose to show only non closed topics still displays a topic even if it is closed. I will look at the code and see if I can figure it out.
Dewyatt
Just as an aside, I checked out slash mod and it doesn't do what I am looking for it to do otherwise I would use it instead.
Edited by - DewyattStanfield on 15 January 2001 05:38:02 |
|
|
eernstbmi
Junior Member
Denmark
113 Posts |
Posted - 15 January 2001 : 06:03:19
|
A new version is ready to download now.
The following changes has been incorporated: - DisplayMax in the variable list : The maximum number of topics to display - Displays full Forum and Topic name when using DisplayMode 0.
Since I'm also working on another small mod to Snitz (Display_Calendar.ASP) I had to move the Include of CONFIG.ASP and INC_FUNCTIONS.ASP to the calling ASP file (see DisplayTest.ASP).
You can download the file from http://www.bmipartners.com/snitz/displayforum.zip.
Best regards, Erik P. Ernst |
|
|
Morpheus73
Average Member
Denmark
597 Posts |
Posted - 15 January 2001 : 14:15:32
|
quote:
A new version is ready to download now.
The following changes has been incorporated: - DisplayMax in the variable list : The maximum number of topics to display - Displays full Forum and Topic name when using DisplayMode 0.
Since I'm also working on another small mod to Snitz (Display_Calendar.ASP) I had to move the Include of CONFIG.ASP and INC_FUNCTIONS.ASP to the calling ASP file (see DisplayTest.ASP).
You can download the file from http://www.bmipartners.com/snitz/displayforum.zip.
Best regards, Erik P. Ernst
This is getting really cool...8D wonder if some of you guys could make a poll that also worked without login of user...this way u can have two seperate forums one for main site things and one for member area things...this would mean a great deal to security of one´s website. also you could have two admins...one for each section!
that would be my suggestion for future mods...1 version for member areas and 1 version for public view
MPH73
|
|
|
Morpheus73
Average Member
Denmark
597 Posts |
Posted - 15 January 2001 : 14:29:23
|
quote:
quote:
A new version is ready to download now.
The following changes has been incorporated: - DisplayMax in the variable list : The maximum number of topics to display - Displays full Forum and Topic name when using DisplayMode 0.
Since I'm also working on another small mod to Snitz (Display_Calendar.ASP) I had to move the Include of CONFIG.ASP and INC_FUNCTIONS.ASP to the calling ASP file (see DisplayTest.ASP).
You can download the file from http://www.bmipartners.com/snitz/displayforum.zip.
Best regards, Erik P. Ernst
This is getting really cool... wonder if some of you guys could make a poll that also worked without login of user...this way u can have two seperate forums one for main site things and one for member area things...this would mean a great deal to security of one´s website. also you could have two admins...one for each section!
that would be my suggestion for future mods...1 version for member areas and 1 version for public view
MPH73
Sorry forgot...will there be an option to search within archived news?
off again...
MPH73
|
|
|
Topic |
|