Author |
Topic |
|
Rmak
Starting Member
13 Posts |
Posted - 04 June 2003 : 03:04:21
|
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
|
Bump....
anyone? i just want to the recent topic section to display only. Im not good with ASP =| |
|
|
Bookie
Average Member
USA
856 Posts |
Posted - 05 June 2003 : 21:30:28
|
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 |
|
|
Francodepaw
Junior Member
USA
111 Posts |
Posted - 05 June 2003 : 21:41:19
|
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 |
|
|
Rmak
Starting Member
13 Posts |
Posted - 06 June 2003 : 01:28:01
|
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 |
|
|
Radianation
Junior Member
USA
186 Posts |
Posted - 06 June 2003 : 09:06:09
|
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. |
|
|
Bookie
Average Member
USA
856 Posts |
Posted - 06 June 2003 : 09:27:06
|
Try taking out inc_header and including inc_func_common in its place. Let us know what happens. |
Participate in my nonsense |
|
|
Rmak
Starting Member
13 Posts |
Posted - 07 June 2003 : 01:30:04
|
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
|
|
|
Dave.
Senior Member
USA
1037 Posts |
Posted - 07 June 2003 : 01:42:37
|
Try inc_header_short.asp instead of inc_header.asp? |
|
|
|
Topic |
|