Author |
Topic |
Rusty_yellowjeep
Starting Member
23 Posts |
Posted - 07 October 2002 : 22:17:35
|
oh and this mod only effects all the links on the main page not the standard text. Is there a way that it can be contained? |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 07 October 2002 : 22:20:29
|
This site has some wonderful error information. They give some of the best advice for troubleshooting I have ever seen: http://www.adopenstatic.com/faq/800a0bb9.asp
Just what does the top of the page look like anyway? What includes do you have if you have no inc_header.asp you are going to need almost all of the code from inc_header.asp as well as almost all of the include files normally found on default.asp.
@tomic |
SportsBettingAcumen.com |
|
|
Rusty_yellowjeep
Starting Member
23 Posts |
Posted - 07 October 2002 : 22:44:57
|
I have the following in the header:
<!--#INCLUDE VIRTUAL="4x4talk/config.asp"--> <!--#INCLUDE VIRTUAL="4x4talk/inc_func_secure.asp" --> <!--#INCLUDE VIRTUAL="4x4talk/inc_sha256.asp"--> <!--#INCLUDE VIRTUAL="4x4talk/inc_header.asp" --> <!--#INCLUDE VIRTUAL="4x4talk/content.asp" --> <!--#INCLUDE VIRTUAL="4x4talk/inc_contentdisplay.asp" -->
I just dont need the header to be displayed on the front/main page. I thought if I take out <!--#INCLUDE VIRTUAL="4x4talk/inc_header.asp" --> that this would make the the header go away.
But instead I get that error.
I just want it to be displayed on my front page like on this onehttp://www.jeepaholics.com/default.asp
|
Edited by - Rusty_yellowjeep on 07 October 2002 22:54:15 |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 07 October 2002 : 23:51:52
|
OK, let's try the easy one first:
Find this: rs.open strSql, my_Conn, 3, adLockReadOnly, adCmdText
Change it to this: rs.open strSql, my_Conn, adOpenForwardOnly, adLockReadOnly, adCmdText
This is one of several possibilities so don't feel too worried if this doesn't fix it but it's a good lace to start.
@tomic |
SportsBettingAcumen.com |
|
|
Rusty_yellowjeep
Starting Member
23 Posts |
Posted - 08 October 2002 : 00:09:52
|
Thanks I did try it but it did not get rid of the header but only gave me this error. I changed the line in the content display. Was that right?
ADODB.Recordset error '800a0cb3'
Object or provider is not capable of performing requested operation.
/4x4talk/content.asp, line 125
|
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 08 October 2002 : 01:19:05
|
Yes, sorry. It was for content.asp. can you send me a copy to look at?
@tomic |
SportsBettingAcumen.com |
|
|
DarrenLuxton
Junior Member
184 Posts |
Posted - 08 October 2002 : 11:42:35
|
@tomic
Can you give me an ETA on the final release please, as i'm currently setting up a new forum which hasn't gone live yet, and i really like the look of this mod, and will want to use this on my site
http://www.shadowknights.com/skforum
I'm basically creating a new set of forums using the latest code, while letting all my users use the old forums
The problem i seem to get, this is where you may be able to help, is that i need a test page so that i can use things like news, content, articles etc etc etc.
Any help would be appreciated.
Thanks in advance. |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 08 October 2002 : 11:48:04
|
I created a folder called forum2/ right next to my forum/ directory and have all my new files there while my members continue to use the old 3.1R4 site. Just make sure your include files for testing refer to the testing directory and, of course, you need a separate testing database, too. After testing is done you run the upsizing scripts in the old forum, change the includes and there you go.
@tomic |
SportsBettingAcumen.com |
|
|
DarrenLuxton
Junior Member
184 Posts |
Posted - 08 October 2002 : 12:28:57
|
Thanks for that @atomic
i'm useless at explaining myself. lol :)
On your main page, you have 3 columns
Left includes your login and the menu, the centre includes the New Articles, and the right includes the New posts.
What i would like is a homepage where displays a menu and Login on the Left, the news system in the centre, and new posts on the right.
Is there a page already built to display this???
Or, if there isn't would you mind helping me to create my own, and call it, home.asp or something.
Thanks in advance. |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 08 October 2002 : 12:39:58
|
This is a lot easier than you might think. In the zip file is a file called the contentdisplay_tester.asp and it should have all the include files you need to run things. Just make a table on that page with 3 columns. On the left one you place your menu includes. In the center one you have an include for content.asp setup to display news/article postings and the right hand column should have another content.ap set to display forum topics. In the center you could have 2 content.asp incldes. 1 for articles and one for news below it for instance. Here's an example:
Column1 column2 column3
Menu Article/News New Forum Posts
menuitem1
menuitem2 content.asp/set for articles content.asp/set for forum topics
menuitem3
menuitem4 content.asp/set for news
menuitem5
menuitem6
That should be it.
@tomic |
SportsBettingAcumen.com |
|
|
bobbart
Junior Member
USA
163 Posts |
Posted - 08 October 2002 : 14:08:41
|
@tomic I have a topic with some html tags in it such as <b> </b> and they show as text and dont run as code. Is this normal? Is there anyway to get it to show as it should? I tried all the modes and they dont seem to change it. |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 08 October 2002 : 14:19:51
|
Do you have HTML turned on for your forum? And check the "Safe Mode" parameter. That is the one that handles how code/html is handled within this MOD.
@tomic |
SportsBettingAcumen.com |
|
|
bobbart
Junior Member
USA
163 Posts |
Posted - 08 October 2002 : 15:10:21
|
I dont have html turned on. You dont need that to use simple code like <b> tags. I have forum code on. The posts show up properly in the topics page. But when they are displayed by the content page they show everything as text. Whats the safe mode parameter you talk about I dont remember seeing that.
|
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 08 October 2002 : 15:30:18
|
Check out the first post in this topic. Safe mode selects the way your topic is displayed. Some of them strip all code out, some forum code and some html so just take a look and decide which way you prefer.
@tomic |
SportsBettingAcumen.com |
|
|
goldfish
New Member
82 Posts |
Posted - 09 October 2002 : 06:12:35
|
THis is a fairly general (and almost certainly very basic) question, asked here because this is the mod that's going to test it....
Can anyone tell me the correct syntax for includes, when you're trying to 'include' something on a different server...?
Basically, my main site (an intranet) is on a different server to the forum, for internal purposes (our over-arching sys admins are scaredy cats and won't let us have the discussion board on their server for security purposes...), so if I want to include content on my homepage, it will have to include a full URL, I guess.... will this still work, and is the correct syntax gonna be:-
<!--#INCLUDE FILE="http://intranet/forum/content.asp" -->
A simple 'yes' or 'no' and an example would be lovely... I just don't want to install all this loveliness on to find it won't and can't work....
Thanks in advance!
Simon |
|
|
Topic |
|