Modify the search.asp to linkexchange.asp - نوشته شده در (1463 Views)
Starting Member
johnvaam
مطلب: 20
20
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.
<
 پیش‌فرض مرتب‌سازی برای تاریخ DESC به معنی جدیدترین است  
 تعداد در صفحه 
نوشته شده در
Senior Member
Jezmeister
مطلب: 1141
1141
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.<
نوشته شده در
Starting Member
johnvaam
مطلب: 20
20
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
%><
نوشته شده در
Support Moderator
Shaggy
مطلب: 6780
6780
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.”
نوشته شده در
Starting Member
johnvaam
مطلب: 20
20
Hi Shaggy,
Thanks. It works! Now I have no problem even if I login in my link exchange website.

Thanks all.<
نوشته شده در
Support Moderator
Shaggy
مطلب: 6780
6780
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.”
 
شما باید یک متن وارد کنید