Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 ADD-On: Adding Links Manager to Front Page
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

rick7165
Senior Member

USA
1094 Posts

Posted - 09 May 2001 :  22:49:51  Show Profile  Visit rick7165's Homepage
Ok.. Got it all setup.. Connection string is set using access 2000. I get this error message now:

Microsoft VBScript compilation error '800a0411'

Name redefined

/forums/links_inc.asp, line 3

dim strDBType, strConnString,
----^


Test Site
www.eastpasco.com
HuwR's SR4 release. Colors and Graphic scheme done by Richard Kinser.

big9erfan
Average Member

540 Posts

Posted - 09 May 2001 :  22:52:45  Show Profile
you're probably including config.asp which defines those variables already.

not good

http://www.ugfl.net/forums
Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 10 May 2001 :  01:00:01  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
this mod is intended for those that have a frontpage outside of the /forum directory which does not have config.asp included at all. Kinda a standalone thing.

for your case you don't need the extra strConnString or strdbtype at all and can delete that part. Should work just find since you already have it declared in the config.asp file.

here's what to delete from links_inc.asp for your case.




dim strDBType, strConnString

'#################################################################################
'## SELECT YOUR DATABASE TYPE AND CONNECTION TYPE (access, sqlserver or mysql)
'#################################################################################
'strDBType = "sqlserver"
strDBType = "access"
'strDBType = "mysql"

'## Make sure to uncomment one of the strConnString lines!
'strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=c:\inetpub\dbroot\snitz_forums_2000.mdb" '## MS Access 97
strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("snitz/tools/snitzresource.mdb") '## MS Access 2000 using virtual path
'strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\inetpub\dbroot\forum.snitz.com\snitz_forum.mdb;" '## MS Access 2000
'strConnString = "driver={SQL Server};server=SERVER_NAME;uid=SQL_USER;pwd=PASSWORD;database=DATABASE_NAME" '## MS SQL Server 7
'strConnString = "driver=MySQL;server=SERVER_NAME;uid=MYSQL_USER;pwd=PARRWORD;database=DATABASE_NAME" '## MySQL



- Alan
www.iamviet.com
www.calvsa.net
Snitz Resource
Go to Top of Page

big9erfan
Average Member

540 Posts

Posted - 10 May 2001 :  01:07:50  Show Profile
Alan,

All is well. Rick and I talked over ICQ this evening and since he wanted to use his on his forums ( in that default.asp ) I had him rip the code you mentioned above.





http://www.ugfl.net/forums
Go to Top of Page

rick7165
Senior Member

USA
1094 Posts

Posted - 10 May 2001 :  01:22:08  Show Profile  Visit rick7165's Homepage
ok.. got it working... Now it's not the width of the forum and is to
the left. And has move forum crushed to one side.
I'm no good with Tables can you help? I'm trying to get it to look like
yours on the download site.


Thanks,
Rick


Test Site
www.eastpasco.com
HuwR's SR4 release. Colors and Graphic scheme done by Richard Kinser.
Go to Top of Page

rick7165
Senior Member

USA
1094 Posts

Posted - 10 May 2001 :  01:47:43  Show Profile  Visit rick7165's Homepage
What I'm looking for is... For it to plugin like the Events Mod on my front page.
Right now this is messing with my Tables really bad and I'm not sure where to fix it.
I'm needing the Boarder to go across the top of it also where I put in the colorstripe.gif.

Can anyone make this a mod to just plugin? I'm dumb with Tables


Thanks,
Rick


Test Site
www.eastpasco.com
HuwR's SR4 release. Colors and Graphic scheme done by Richard Kinser.
Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 10 May 2001 :  03:51:06  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
quote:

What I'm looking for is... For it to plugin like the Events Mod on my front page.
Right now this is messing with my Tables really bad and I'm not sure where to fix it.
I'm needing the Boarder to go across the top of it also where I put in the colorstripe.gif.

Can anyone make this a mod to just plugin? I'm dumb with Tables


Thanks,
Rick


Test Site
www.eastpasco.com
HuwR's SR4 release. Colors and Graphic scheme done by Richard Kinser.



here you go, rick:
http://forum.snitz.com/forum/link.asp?TOPIC_ID=9413

- Alan
www.iamviet.com
www.calvsa.net
Snitz Resource
Go to Top of Page
  Previous Topic Topic Next Topic  
 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.26 seconds. Powered By: Snitz Forums 2000 Version 3.4.07