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/Code)
 Content Display 3.4.03.08 Beta
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 24

funinbc
Junior Member

245 Posts

Posted - 16 December 2002 :  13:14:40  Show Profile
Does anyone know what I am doing wrong in the above question? I know this thread is getting long but this is the last mod before I go live with the forum.
Go to Top of Page

Alkampfer
Starting Member

Italy
22 Posts

Posted - 16 December 2002 :  14:40:51  Show Profile  Visit Alkampfer's Homepage
Great MOD, @tomic! Good Work!

I need to display the news in a page without the header & footer of the forum. Can I do it?

Thanks

Alkampfer
Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 16 December 2002 :  15:26:53  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
Alkampfer: This MOD absolutely requires inc_header.asp. You could strip out all the HTML but all the cookie code, logged in or not code etc MUST be there. inc_footer is not as important but the part where the connection is closed is never a bad idea.

funinbc: Is it absolutely essential that your forum directory is not called forum? I ran into a bunch of problems when I tried forum directories called anything but forum. Other than that, your issue appears to be a problem with your database connection string. All I can say is do what the error message says and check your spelling.

I haven't had a chance to work on this in a while as I am tring to get to big projects done by year's end. The only reason this isn't out of beta is that a few modes have security issues I haven't been able to address yet but many of the modes work fine especially the ones I use but I will try to get back to this in a few weeks and see if it can't be finished up.

@tomic

SportsBettingAcumen.com
Go to Top of Page

funinbc
Junior Member

245 Posts

Posted - 16 December 2002 :  21:05:26  Show Profile
quote:
funinbc: Is it absolutely essential that your forum directory is not called forum? I ran into a bunch of problems when I tried forum directories called anything but forum.



LOL.... ok I am confused does this mean that it should be called forum or make sure that it is NOT called forum. Right now my forum is in a directory called funforum/

Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 17 December 2002 :  00:05:12  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
Is it necessary to have your forum folder called funforum? I'm not saying this will cure your problems but it cleared a few of mine up. By your error I am guessing this will not do it.

@tomic

SportsBettingAcumen.com
Go to Top of Page

funinbc
Junior Member

245 Posts

Posted - 17 December 2002 :  01:41:58  Show Profile
Thanks for your help @tomic! I did re-name my folder and the mod is working. I just have two questions:


Is there anyway you could send me a stipped inc_header.asp? I would like to get rid of the header but I don't know enough to change the code.

The mod is affecting all the fonts size and color on the page. Any ideas how I can make it confined to just the mod

please have a look at:

http://www.funinbc.com/index1.asp

my live page is at:

http://www.funinbc.com

so you can see the difference

Again thank you for your help






Go to Top of Page

funinbc
Junior Member

245 Posts

Posted - 17 December 2002 :  01:53:02  Show Profile
on and one more thing. You will have to look at it with Explorer, all you can see with Netscape is the header.....the one I want to get rid of :-)
Go to Top of Page

shaft
Starting Member

United Kingdom
42 Posts

Posted - 17 December 2002 :  09:29:53  Show Profile  Send shaft an ICQ Message  Send shaft a Yahoo! Message
Hello @tomic this is great work

I have a few problems though.

  • I want to get rid of the header on my home page but I notice that you have to have the include for the header asp for it to work. How do I get around this


  • I have found that in your 'contentdisplay_tester' file you have not put on the last parameter for 'strLink' in the 'displaycontent' sub. I don't know if this was intentional or by accident but it might be a good idea to update the file to include the whole syntax. Well just for newbie's like me cause it took me a while to figure out why it did not work.


  • I am not sure on how to implement The 'news.asp', 'Articles.asp' and some of the other *.asp files included in your mod.
    • Do I need to customize anything in these files before I use them?

    • Can they be used outside the forum folder or is it best to keep them in the forum folder.

    • I have been using your 'contentdisplay_tester' file to design a home page or portal for my site. I have been testing inside the forum folder for now. Works great but when I click on the link (which points to 'news.asp') I get the HTTP 500 - Internal server error. Can you think of any reasons why this would happen? How do I get this to work? You can find a text file of the error page here




Thanks
Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 17 December 2002 :  11:40:10  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
You need to turn off the friendly HTTP errors because that generic 500 error says almost nothing useful. You shouldn't have to customize news.asp or articles.asp to use them. Use them inside the forum.

@tomic

SportsBettingAcumen.com
Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 17 December 2002 :  13:51:12  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
Funinbc: Try this link. I stripped out everything but the essentials. Group category code is gone, the timer is gone, login/out is gone, the menu is gone, all my MOD stuff is gone. All that's left is sone CSS, popup code, and the beginning of the topmost table which you should be able to eliminate easily if you don;t need it.

http://www.skepticfriends.org/forum/inc_header_nohtml.txt

@tomic

SportsBettingAcumen.com
Go to Top of Page

funinbc
Junior Member

245 Posts

Posted - 17 December 2002 :  20:19:32  Show Profile
Brilliant!!!

I am getting so close!! Just two more things

The page will no load in Netscape 4.7 It does load in Netscape 6.0 and in Explorer.

The mod is affecting all the fonts size and color on the page. Any ideas how I can make it confined to just the mod

please have a look at:

http://www.funinbc.com/index1.asp

my live page is at:

http://www.funinbc.com

so you can see the difference

Edited by - funinbc on 17 December 2002 20:20:15
Go to Top of Page

funinbc
Junior Member

245 Posts

Posted - 17 December 2002 :  20:57:22  Show Profile
A couple of more things

Even though I have put that the width of the mod to be only 200 it is not confined to that size. The larger the post to more warpped the page becomes.


The replies do not show only the first post. Thats ok but is there a way to show how many replies the post has?
Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 17 December 2002 :  22:51:15  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
Mine doesn't load so well in Netscape 4.7 either. Did you keep the beginning of that table? It is probably the culprit. The links color is controlled by the CSS I left in the file figuring you would want consistency:

"a:link    {color:" & strLinkColor & ";text-decoration:" & strLinkTextDecoration & "}" & vbNewLine & _
"a:visited {color:" & strVisitedLinkColor & ";text-decoration:" & strVisitedTextDecoration & "}" & vbNewLine & _
"a:hover   {color:" & strHoverFontColor & ";text-decoration:" & strHoverTextDecoration & "}" & vbNewLine & _
"a:active  {color:" & strActiveLinkColor & ";text-decoration:" & strActiveTextDecoration & "}" & vbNewLine & _
".spnMessageText a:link    {color:" & strForumLinkColor & ";text-decoration:" & strForumLinkTextDecoration & "}" & vbNewLine & _
".spnMessageText a:visited {color:" & strForumVisitedLinkColor & ";text-decoration:" & strForumVisitedTextDecoration & "}" & vbNewLine & _
".spnMessageText a:hover   {color:" & strForumHoverFontColor & ";text-decoration:" & strForumHoverTextDecoration & "}" & vbNewLine & _
".spnMessageText a:active  {color:" & strForumActiveLinkColor & ";text-decoration:" & strForumActiveTextDecoration & "}" & vbNewLine & _
".spnSearchHighlight {background-color:" & strSearchHiLiteColor & "}" & vbNewLine & _
"input.radio {background:" & strPopUpTableColor & ";color:#000000}" & vbNewLine & _


You could hard code values here, delete them or make all new definitions.

There have been some issue regarding long links distorting the width. You will need to play around with the modes and settings. Especially look at the parameter that limits a subject's length. I see you have a couple really long subjects. I limit mine to 50, yours oddly enough is set to 0. It's the one right after the 200 in your sub call. Also play around with the safe mode as this is what format's your text and links. As I said, the long links can force a width you would rather not have.

@tomic

SportsBettingAcumen.com

Edited by - @tomic on 17 December 2002 22:52:10
Go to Top of Page

funinbc
Junior Member

245 Posts

Posted - 18 December 2002 :  00:22:44  Show Profile
thanks @tominc for your help. I am a complete newbie with ASP I am tring to learn it but it will take time. I do know HTML but I am at a total loss with this.

Since I don't know enough to change the code I tried to delete as you suggested which didn't work.

I wonder if it would work if I change the color in my main forum to match my front page then cut and paste the code into inc_header_nohtml.asp


Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 18 December 2002 :  00:37:11  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
Check the file again. I deleted the CSS stuff and the start of the table.

@tomic

SportsBettingAcumen.com
Go to Top of Page
Page: of 24 Previous Topic Topic Next Topic  
Previous Page | 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.21 seconds. Powered By: Snitz Forums 2000 Version 3.4.07