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/Code)
 MOD: Snitz Link Manager with admin interface
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 8

fatwillie
New Member

Canada
79 Posts

Posted - 10 February 2001 :  19:24:19  Show Profile  Visit fatwillie's Homepage  Send fatwillie an ICQ Message
Ok, now it works a sql DB, but the navigation is horrible! There is no way to get back to the forum...


Fatwillie's Forum
Go to Top of Page

fatwillie
New Member

Canada
79 Posts

Posted - 10 February 2001 :  21:51:06  Show Profile  Visit fatwillie's Homepage  Send fatwillie an ICQ Message
More errors .... sheesh...

Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

[Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near '='.

/forum/admin/edit.asp, line 15


Fatwillie's Forum
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 11 February 2001 :  20:48:26  Show Profile
Frankie, here are the admin files I have re-done for you. Basically, I took out the frames, uses tables instead. Added inc_top and the admin navigation folders to the top of the files. Included the admin check on each admin page, so that no one can type in the url of the admin page without signing in as admin first. I also took the files out of the admin folder, put them in the forum folder and prefixed the names with "admin_listings_" at the beginning of each admin file. I also commented out the many connection strings that you had open.

http://www.dsilvera.com/forum/mods/admin_listings_mod.zip

Any fixes you made to the admin files since you asked me to fix up them up frankie you will have to fix it in these files again. And to access these files you will have to put a link to "admin_listings_main.asp" from your "admin_home.asp" file.

It's mostly cosmetic changes I did. If you have any questions let me know.

Note: This file is for Frankie. This is not an update to his mod.

*----*----*----*----*----*----*----*----*
"Even when you feel you have nothing left,
You still have prayer--And that's enough."

*----*----*----*----*----*----*----*----*
Go to Top of Page

frankie
Junior Member

Vatican City
304 Posts

Posted - 12 February 2001 :  20:36:03  Show Profile  Visit frankie's Homepage  Send frankie an AOL message  Send frankie an ICQ Message  Send frankie a Yahoo! Message
Davio,

Thank you so very much!

I will update the zip file as soon as possible. Thanks again

ô¿~
Go to Top of Page

frankie
Junior Member

Vatican City
304 Posts

Posted - 12 February 2001 :  23:48:43  Show Profile  Visit frankie's Homepage  Send frankie an AOL message  Send frankie an ICQ Message  Send frankie a Yahoo! Message
Please Note:

The original zip file was updated to reflect the changes made by our dear friend Davio.

Please redownload and follow the instruction in the listings.txt file and make the neccessary changes. The changed files are basically the admin interface part of the made where Davio got rid of the frame file and replaced it with a table, plus some modifications to tweak the connection object initiations and closings.

Please extend your appreciation to Davio for his help and god bless

ô¿~
Go to Top of Page

fatwillie
New Member

Canada
79 Posts

Posted - 13 February 2001 :  05:18:04  Show Profile  Visit fatwillie's Homepage  Send fatwillie an ICQ Message
I get this error after running "listings_setup.asp"


-2147217900 | [Microsoft][ODBC SQL Server Driver][SQL Server]Column or parameter #4: Cannot find data type MEMO.


What do I need to change?

Fatwillie's Forum
Go to Top of Page

KXS
New Member

Canada
66 Posts

Posted - 13 February 2001 :  06:11:02  Show Profile  Send KXS an ICQ Message
quote:

Frankie, here are the admin files I have re-done for you. Basically, I took out the frames, uses tables instead. Added inc_top and the admin navigation folders to the top of the files. Included the admin check on each admin page, so that no one can type in the url of the admin page without signing in as admin first. I also took the files out of the admin folder, put them in the forum folder and prefixed the names with "admin_listings_" at the beginning of each admin file. I also commented out the many connection strings that you had open.

http://www.dsilvera.com/forum/mods/admin_listings_mod.zip

Any fixes you made to the admin files since you asked me to fix up them up frankie you will have to fix it in these files again. And to access these files you will have to put a link to "admin_listings_main.asp" from your "admin_home.asp" file.

It's mostly cosmetic changes I did. If you have any questions let me know.

Note: This file is for Frankie. This is not an update to his mod.

*----*----*----*----*----*----*----*----*
"Even when you feel you have nothing left,
You still have prayer--And that's enough."

*----*----*----*----*----*----*----*----*




Davio,

Thanks a ton for the updates to this kewl mod, especially the security check for admin. Have you thought about adding a option for adding pictures(url) to each category? I have seen many of these type of listing apps having pictures next to each category. This creates a nice visual effect. I was thinking of doing this manual, but unfortunately I suck with tables. Is it possible for you to give me a sample on how I would change the tables to add a picture manually before a category?

I can't believe I don't know how to set this up, I will try though

Any suggestions appreciated...

TIA

------------------
"keeping it real"

Edited by - KXS on 13 February 2001 06:12:39
Go to Top of Page

anotherwin95
Junior Member

USA
140 Posts

Posted - 13 February 2001 :  07:53:55  Show Profile  Visit anotherwin95's Homepage  Send anotherwin95 an ICQ Message
quote:

OK, I fixed the top two, but now I am left with this...

CREATE TABLE LINK2(ID int IDENTITY (1, 1) NOT NULL , NAME VARCHAR(100), URL VARCHAR(255), KEYWORD MEMO, DESCRIPTION MEMO, EMAIL VARCHAR(100), POSTDATE VARCHAR(100), HIT INT DEFAULT 0, CATEGORY VARCHAR(50), PARENTID VARCHAR(50), SHOW BIT, BADLINK BIT)
-2147217900 | [Microsoft][ODBC SQL Server Driver][SQL Server]Column or parameter #4: Cannot find data type MEMO

Fatwillie's Forum


fatwillie (or anyone who knows),

How did you correct the syntax errors???

Thanks.

Richard Hay
Webmaster/Forum Admin
http://AnotherWin95.com
http://AnotherWin95.com/forum
http://AnotherWin95.com/cowboys/

Edited by - anotherwin95 on 13 February 2001 07:58:48
Go to Top of Page

fatwillie
New Member

Canada
79 Posts

Posted - 13 February 2001 :  09:22:43  Show Profile  Visit fatwillie's Homepage  Send fatwillie an ICQ Message
If you see "MEMO", change it to TEXT

If you see a "yes", change it to a 1

If you know how to fix this error, let ME know!


Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

[Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near '='.

/forum1/admin_listings_approve.asp, line 20


Fatwillie's Forum
Go to Top of Page

anotherwin95
Junior Member

USA
140 Posts

Posted - 13 February 2001 :  09:41:23  Show Profile  Visit anotherwin95's Homepage  Send anotherwin95 an ICQ Message
Perfect - worked the first time. Everything is working great now for me!!!

Been wanting this mod for a while - ever since I saw the classifieds one!

Sorry about the other willie - I am not getting that myself.

Richard Hay
Webmaster/Forum Admin
http://AnotherWin95.com
http://AnotherWin95.com/forum
http://AnotherWin95.com/cowboys/
Go to Top of Page

anotherwin95
Junior Member

USA
140 Posts

Posted - 13 February 2001 :  09:54:41  Show Profile  Visit anotherwin95's Homepage  Send anotherwin95 an ICQ Message
Did I speak too soon???

Able to submit and approve a link. When I click on the link to visit it get this error:

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'lastdate'

/forum/goto.asp, line 23


Any ideas?

Also the table color - are you using the defaults? Links or subcategories do not show up well as it is.

I may have to play with the settings in my forum to get it looking better.

Anyway, any help on the above error will be appreciated.



Richard Hay
Webmaster/Forum Admin
http://AnotherWin95.com
http://AnotherWin95.com/forum
http://AnotherWin95.com/cowboys/
Go to Top of Page

Intrepidone
Average Member

Canada
515 Posts

Posted - 13 February 2001 :  11:11:16  Show Profile
anotherwin95 .... I had that same error to

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'lastdate'

/forum/goto.asp, line 23

If you go back a page and then come back and click on the link it worked the 2nd time round.

Has anyone had problems with Netscape 4.07 with the listings MOD?

It does not seem to want to recognize a category or sub category that has 2 words or more because of the space between words. To solve this for now I had to rename them all to ex: News and Media, to News_and_Media

Does anyone know a fix for this?

Intrepidone

Go to Top of Page

frankie
Junior Member

Vatican City
304 Posts

Posted - 13 February 2001 :  11:30:01  Show Profile  Visit frankie's Homepage  Send frankie an AOL message  Send frankie an ICQ Message  Send frankie a Yahoo! Message
quote:

quote:

OK, I fixed the top two, but now I am left with this...

CREATE TABLE LINK2(ID int IDENTITY (1, 1) NOT NULL , NAME VARCHAR(100), URL VARCHAR(255), KEYWORD MEMO, DESCRIPTION MEMO, EMAIL VARCHAR(100), POSTDATE VARCHAR(100), HIT INT DEFAULT 0, CATEGORY VARCHAR(50), PARENTID VARCHAR(50), SHOW BIT, BADLINK BIT)
-2147217900 | [Microsoft][ODBC SQL Server Driver][SQL Server]Column or parameter #4: Cannot find data type MEMO

Fatwillie's Forum


fatwillie (or anyone who knows),

How did you correct the syntax errors???

Thanks.

Richard Hay
Webmaster/Forum Admin
http://AnotherWin95.com
http://AnotherWin95.com/forum
http://AnotherWin95.com/cowboys/

Edited by - anotherwin95 on 13 February 2001 07:58:48



anotherwin95,

Both of those fixes are posted up above in this page! For the 'lastdate' error i don't seem to encounter it, could you give me more info on how that happened?

fatwillie,

Try to delete all the fields and tables associated with this mod from the your DB and then run listings_setup.asp file one more time (that should fix it)

Intrepidone,

I do know the fix to your error, but I'm really tight on time to try fixing it (test week!). All you have to do if you encounter this code with rs("cat") field in it, like this:
<a href="showsub.asp?CatID=<%=rs("id")%>&cat=<%=rs("cat")%>"><%=rs("cat")%> </a>

change it to this:
<a href="showsub.asp?CatID=<%=rs("id")%>&cat=<%= ChkString(rs("cat"), "urlpath")%>"><%= ChkString(rs("cat"), "display")%> </a>


If you encounter this code set with rssubcat("subcatname") in it, like this:
<a href="showlink.asp?CatID=<%=rssubcat("subcatID")%>&parentID=<%=rs("id")%>&parentname=<%=rs("cat")%>&Subname=<%=rssubcat("Subcatname")%>"><%=rssubcat("subcatname")%></a>

change it to this:
<a href="showlink.asp?CatID=<%=rssubcat("subcatID")%>&parentID=<%=rs("id")%>&parentname=<%= ChkString(rs("cat"), "urlpath")%>&Subname=<%= ChkString(rssubcat("Subcatname"), "urlpath")%>"><%= ChkString(rssubcat("subcatname"), "display")%></a>


I'll try to update the files as soon as I can.

Thanks to everyone for their concerns and god bless
ô¿~




Edited by - frankie on 13 February 2001 11:49:09
Go to Top of Page

anotherwin95
Junior Member

USA
140 Posts

Posted - 13 February 2001 :  15:32:15  Show Profile  Visit anotherwin95's Homepage  Send anotherwin95 an ICQ Message
Well not sure what happened but when I went back later it worked fine???



Richard Hay
Webmaster/Forum Admin
http://AnotherWin95.com
http://AnotherWin95.com/forum
http://AnotherWin95.com/cowboys/
Go to Top of Page

anotherwin95
Junior Member

USA
140 Posts

Posted - 13 February 2001 :  15:35:48  Show Profile  Visit anotherwin95's Homepage  Send anotherwin95 an ICQ Message
New issue - my hit count and search does not seem to be working. Anyone else having this problem with the MOD?

Thanks

Richard Hay
Webmaster/Forum Admin
http://AnotherWin95.com
http://AnotherWin95.com/forum
http://AnotherWin95.com/cowboys/

Edited by - anotherwin95 on 13 February 2001 15:36:44
Go to Top of Page
Page: of 8 Previous Topic Topic Next Topic  
Previous Page | Next Page
 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.18 seconds. Powered By: Snitz Forums 2000 Version 3.4.07