Author |
Topic |
|
johnvaam
Starting Member
20 Posts |
Posted - 24 April 2007 : 10:56:22
|
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
|
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.< |
|
|
johnvaam
Starting Member
20 Posts |
Posted - 25 April 2007 : 04:24:15
|
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 %>< |
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 25 April 2007 : 04:52:59
|
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.” |
|
|
johnvaam
Starting Member
20 Posts |
Posted - 25 April 2007 : 05:47:22
|
Hi Shaggy, Thanks. It works! Now I have no problem even if I login in my link exchange website.
Thanks all.< |
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 25 April 2007 : 05:55:55
|
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.” |
|
|
|
Topic |
|