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/O Code)
 Modify the search.asp to linkexchange.asp
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

johnvaam
Starting Member

20 Posts

Posted - 24 April 2007 :  10:56:22  Show Profile  Reply with Quote
Hi all,
I wish to duplicate and then modify the search.asp to an asp file for me to exchange links with other websites. But I afraid that the modification will cause some problems, so I'd like to seek help so that the exchange link website will not have any potential script issue.
For this link exchange asp file, I wish to keep
1.) the logo,
2.) the top right corner:
a.) Forum name,
b.) the entire row " Home | Profile | Register | Active
Topics | Members | Search | FAQ ".
c.) member login.
3.) and the footer.

Please let me know what script can be removed from the search.asp? Thanks.

<

Jezmeister
Senior Member

United Kingdom
1141 Posts

Posted - 24 April 2007 :  21:15:15  Show Profile  Visit Jezmeister's Homepage  Reply with Quote
you simply need to include config.asp, inc_header.asp & inc_footer.asp and put the rest between it... nothing more to it. if you look at any of the forum files that use that layout, eg default.asp, topic.asp, post.asp, active.asp you'll notice that they all include those files and have the content between them.<
Go to Top of Page

johnvaam
Starting Member

20 Posts

Posted - 25 April 2007 :  04:24:15  Show Profile  Reply with Quote
Hi Jezmeister,
Thanks for your info. I simply removed all the scripts and left the config.asp, inc_header.asp & inc_footer.asp in my link exchange website, but I had problem to login.

My link exchange website is www.uslawforums.com/webresource.asp


Script in webresource.asp
<%
'#################################################################################
'## Snitz Forums 2000 v3.4.06
'#################################################################################
'## Copyright (C) 2000-06 Michael Anderson, Pierre Gorissen,
'## Huw Reddick and Richard Kinser
'##
'## This program is free software; you can redistribute it and/or
'## modify it under the terms of the GNU General Public License
'## as published by the Free Software Foundation; either version 2
'## of the License, or (at your option) any later version.
'##
'## All copyright notices regarding Snitz Forums 2000
'## must remain intact in the scripts and in the outputted HTML
'## The "powered by" text/logo with a link back to
'## http://forum.snitz.com in the footer of the pages MUST
'## remain visible when the pages are viewed on the internet or intranet.
'##
'## This program is distributed in the hope that it will be useful,
'## but WITHOUT ANY WARRANTY; without even the implied warranty of
'## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
'## GNU General Public License for more details.
'##
'## You should have received a copy of the GNU General Public License
'## along with this program; if not, write to the Free Software
'## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
'##
'## Support can be obtained from our support forums at:
'## http://forum.snitz.com
'##
'## Correspondence and Marketing Questions can be sent to:
'## manderson@snitz.com
'##
'#################################################################################
%>
<!--#INCLUDE FILE="config.asp"-->
<!--#INCLUDE FILE="inc_header.asp" -->

<%
WriteFooter
%><
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 25 April 2007 :  04:52:59  Show Profile  Reply with Quote
You also need to include inc_sha256.asp. You will also need to include one or more of the inc_func_*.asp files (inc_func-common.asp is already included in inc_header.asp) if you plan on using any of the functions they contain.

<

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

johnvaam
Starting Member

20 Posts

Posted - 25 April 2007 :  05:47:22  Show Profile  Reply with Quote
Hi Shaggy,
Thanks. It works! Now I have no problem even if I login in my link exchange website.

Thanks all.<
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 25 April 2007 :  05:55:55  Show Profile  Reply with Quote
You're welcome.

<

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.17 seconds. Powered By: Snitz Forums 2000 Version 3.4.07