Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Announcements
 Announcements: Community
 MOD Developers, please read...

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
RichardKinser Posted - 24 October 2002 : 19:32:27
I have noticed the use of:

<!--#INCLUDE FILE="inc_func_common.asp" -->
as a replacement for:

<!--#INCLUDE FILE="inc_functions.asp" -->

But,

<!--#INCLUDE FILE="inc_func_common.asp" -->
is already an include in both inc_header.asp and inc_header_short.asp, so in a lot of the MODS that I have looked at, it's basically being included twice.

Please go over your MODS and check to make sure that you aren't including:
<!--#INCLUDE FILE="inc_func_common.asp" -->
in any of your files that also have either inc_header.asp or inc_header_short.asp as an include.<
11   L A T E S T    R E P L I E S    (Newest First)
DakDarie Posted - 04 February 2006 : 08:25:41
mm..
thanks<
Davio Posted - 11 October 2003 : 13:37:22
Yes, delete the inc_func_common.asp include from the files that have both inc_func_common.asp and inc_header.asp included.<
The Impact Posted - 11 October 2003 : 06:34:27
Yes, you would delete the include file which is in the file that includes an inc_header.asp, right ?<
richfed Posted - 11 October 2003 : 06:13:21
Can we simply delete the include for this file on these mods?<
Davio Posted - 08 October 2003 : 20:13:17
Can I bump this post to remind all mod developers about this?

I am installing a few mods and I am seeing this happening in almost all of the mods.

Please don't include the inc_func_common.asp file, if you already include the inc_header.asp or inc_header_short.asp files.

Here are a few of the mods that I know of, that are guilty of this. I will update this list as I find them:
- Inactive users mod
- Ipgate mod
- Private Messages Mod
- Active Users Mod<
Tmpj Posted - 03 May 2003 : 11:36:49
Thanks for the info Richard, I was having a new MOD in mind! <
Deleted Posted - 25 October 2002 : 19:31:31
quote:
Originally posted by ajhvdb

I think you only get an error if you have a Dim statement outside of the sub/functions


Also CONST...<
ajhvdb Posted - 25 October 2002 : 18:56:55
I think you only get an error if you have a Dim statement outside of the sub/functions<
GauravBhabu Posted - 25 October 2002 : 18:56:39
quote:
Originally posted by Davio


Wouldn't you get an error if the file was included twice? ...


No, it will not cause any errors. Only difference is that whenever a call is made to a function or sub the function/sub in the file which is included last will be executed.<
Davio Posted - 25 October 2002 : 18:44:43
Thanks Richard.

Wouldn't you get an error if the file was included twice? Because I would have fixed that in my mods if an error showed up. Otherwise, I might be guilty of doing that myself.<
@tomic Posted - 24 October 2002 : 20:01:43
Doh! Thanks for the heads up.


@tomic<

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000 Version 3.4.07