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
 Question about Content display
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Rmak
Starting Member

13 Posts

Posted - 04 June 2003 :  03:04:21  Show Profile
Hello, i have content display MOD working with the contentdisplay_tester.asp (im a noob) at this so please bare with me =)

within this file do i have to include the necessary includes?
like
<!--#INCLUDE FILE="config.asp"-->
<!--#INCLUDE FILE="inc_func_secure.asp" -->
<!--#INCLUDE FILE="inc_sha256.asp"-->
<!--#INCLUDE FILE="inc_header.asp" -->
<!--#INCLUDE FILE="inc_func_member.asp" -->
<!--#INCLUDE FILE="inc_moderation.asp" -->
<!--#INCLUDE FILE="inc_subscription.asp" -->
<!--#INCLUDE FILE="content.asp" -->
<!--#INCLUDE FILE="inc_contentdisplay.asp" -->

i dont want the header.asp to be there cuz i want to put the recent topic section in the homepage only.Everytime i remove header.asp it gives me error

any suggestions, or comments on what im doing wrong?

Thanks
Laura

Rmak
Starting Member

13 Posts

Posted - 05 June 2003 :  21:07:40  Show Profile
Bump....

anyone? i just want to the recent topic section to display only. Im not good with ASP =|
Go to Top of Page

Bookie
Average Member

USA
856 Posts

Posted - 05 June 2003 :  21:30:28  Show Profile  Visit Bookie's Homepage  Send Bookie an AOL message  Send Bookie a Yahoo! Message
These are the ones I have in the content tester page:

<!--#INCLUDE FILE="config.asp"-->
<!--#INCLUDE FILE="inc_func_secure.asp" -->
<!--#INCLUDE FILE="inc_sha256.asp"-->
<!--#INCLUDE FILE="inc_header.asp" -->
<!--#INCLUDE FILE="inc_func_member.asp" -->
<!--#INCLUDE FILE="inc_moderation.asp" -->
<!--#INCLUDE FILE="inc_subscription.asp" -->

What kind of error are you getting? Make sure you turn off "Show Friendly HTTP Errors" or whatever it's called and paste the error message here.
However, these are the ones I have in another page that uses the Content Display Mod:

<!--#INCLUDE FILE="config.asp"-->
<!--#INCLUDE FILE="inc_sha256.asp"-->
<!--#include file="inc_func_secure.asp"-->
<!--#include file="inc_func_common.asp"-->
<!--#INCLUDE FILE="inc_header.asp" -->

Participate in my nonsense
Go to Top of Page

Francodepaw
Junior Member

USA
111 Posts

Posted - 05 June 2003 :  21:41:19  Show Profile
I did a small include that I use on my modded (using the Server Hacker Code). I got tired of trying to make the content display mod work on mine (all I wanted was recent posts).

Near the bottom of this page you can grab inc_last_posts.txt (rename to .asp) very simple last posts that takes only Subject and Author of the most recent posts (from non-hidden/non-private forums) and displays on site news.

http://www.shnforum.com/forum/topic.asp?TOPIC_ID=1354&whichpage=2

You may be interested in the topic of that thread the author has Last Seen, Top Read and another include there.

Edit:
Sorry didn't realize what you were asking here.


Edited by - Francodepaw on 05 June 2003 22:21:07
Go to Top of Page

Rmak
Starting Member

13 Posts

Posted - 06 June 2003 :  01:28:01  Show Profile
Hello all,

If i take out inc_header.asp it gives me this error

ADODB.Recordset error '800a0bb9'

Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.

/forum/1/content.asp, line 122

-----------------------------------------------------------------------------------------

But if i leave these in the contentdisplay_tester.asp
<!--#INCLUDE FILE="../config.asp"-->
<!--#INCLUDE FILE="../inc_header.asp" -->
<!--#INCLUDE FILE="content.asp" -->
<!--#INCLUDE FILE="inc_contentdisplay.asp" -->

it works and shows me my latest topics.


Here's an attached pic of it working


i want to be able to display the middle portion (the latest post) only and not the stuff at the top which display the forum logo/home/profile/register etc...

how do i modify the contentdisplay_tester.asp to do that??

I hope thats more clear on what exactly i want to do =)
Thanks
laura
Go to Top of Page

Radianation
Junior Member

USA
186 Posts

Posted - 06 June 2003 :  09:06:09  Show Profile  Visit Radianation's Homepage  Send Radianation an ICQ Message
Just go into inc_header.asp and scroll down to where it starts printing out HTML on the page. Delete (or comment out) this section. You will probably need to keep the top part of this file because it's doing work to prep the database I think.
Go to Top of Page

Bookie
Average Member

USA
856 Posts

Posted - 06 June 2003 :  09:27:06  Show Profile  Visit Bookie's Homepage  Send Bookie an AOL message  Send Bookie a Yahoo! Message
Try taking out inc_header and including inc_func_common in its place. Let us know what happens.

Participate in my nonsense
Go to Top of Page

Rmak
Starting Member

13 Posts

Posted - 07 June 2003 :  01:30:04  Show Profile
I tried including inc_func_common.asp but i get this error.

ADODB.Recordset error '800a0bb9'

Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.

/forum/1/content.asp, line 122

but once i put back inc_header.asp it works =|

Thanks
Laura
Go to Top of Page

Dave.
Senior Member

USA
1037 Posts

Posted - 07 June 2003 :  01:42:37  Show Profile
Try inc_header_short.asp instead of inc_header.asp?
Go to Top of Page
  Previous Topic Topic Next Topic  
 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.31 seconds. Powered By: Snitz Forums 2000 Version 3.4.07