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: Links Manager v3.0 Beta (Snitz v3.4)
 New Topic  Reply to Topic
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 19

JakeG
Starting Member

USA
9 Posts

Posted - 22 March 2004 :  16:32:35  Show Profile  Visit JakeG's Homepage  Reply with Quote
Found another bug.
This one is in the search results. It seems that if the resulting link is in a subcat then the Category link points to a main cat with the subcat's ID. I fixed this with the below code, as well as split the category link into 2 peices for easier navigation.

Here are my fixes:

On or about Line 66, find "Function getCategoryName(subcat_id)"
Replace the entire function with these TWO functions:

Function getCategoryID(subcat_id)
  Dim rsTemp, rsTemp1
  strsql = "SELECT CAT_ID FROM " & strTablePrefix & "LINKS_SUBCATEGORIES WHERE SUBCAT_ID= " & subcat_id
  Set rsTemp1 = my_conn.execute(strsql)
  If rsTemp1.EOF Then
    getCategoryID = 0
  Else
    getCategoryID = rsTemp1("CAT_ID")
  End If
  rsTemp1.Close
  Set rsTemp1 = Nothing
End Function

Function getCategoryName(cat_id)
  strsql = "SELECT CAT_NAME FROM " & strTablePrefix & "LINKS_CATEGORIES WHERE CAT_ID =" & cat_id
  Set rsTemp = my_conn.execute(strsql)
  If rsTemp.EOF Then
    getCategoryName = "<font color=""" & strHoverFontColor & """><i>Category Deleted</i></font>"
  Else
    getCategoryName = rsTemp("CAT_NAME")
  End If
  rsTemp.Close
  set rsTemp = nothing
End Function



Next, On or about line 221
Replace:

      TmpStr = TmpStr & "<a href=""links.asp?action=showcat&id=" & trs("CATEGORY") & """>" & getCategoryName(trs("CATEGORY")) & " / " & getSubCatName(trs("CATEGORY")) & "</a>" & vbNewLine

With:

      TmpStr = TmpStr & "<a href=""links.asp?action=showcat&id=" & GetCategoryID(trs("CATEGORY")) & """>" & getCategoryName(GetCategoryID(trs("CATEGORY"))) & "</A> / <a href=""links.asp?action=showsubcat&id=" & trs("CATEGORY") & """>" & getSubCatName(trs("CATEGORY")) & "</a>" & vbNewLine


Next, On or about line 229
Replace

      TmpStr = TmpStr & getCategoryName(trs("CATEGORY")) & " / " & getSubCatName(trs("CATEGORY")) & "<br />" & vbNewLine

With

      TmpStr = TmpStr & getCategoryName(GetCategoryID(trs("CATEGORY"))) & " / " & getSubCatName(trs("CATEGORY")) & "<br />" & vbNewLine


<

- Jake
www.nthelp.org / www.computershowoff.com

Microsoft MVP - IIS
http://mvp.support.microsoft.com
Go to Top of Page

SLBaronsFan
Starting Member

4 Posts

Posted - 31 March 2004 :  16:57:44  Show Profile  Visit SLBaronsFan's Homepage  Reply with Quote
When I try to "Rate" a link, I get this error:

Microsoft VBScript runtime error '800a000d' 

Type mismatch: 'strPostDate' 

/pop_links.asp, line 188


Any ideas? Everything else works great.<
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 31 March 2004 :  19:44:54  Show Profile  Visit OneWayMule's Homepage  Reply with Quote
I recommend waiting for the final version, I can no longer provide fixes for bugs in the Beta, sorry.
<

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

lilaccrafts
Starting Member

18 Posts

Posted - 10 April 2004 :  18:12:32  Show Profile  Reply with Quote
I have yet to have a problem with this mod works flawlessly.

www.lilaccrafts.com/forums/links.asp<
Go to Top of Page

achaudhary
Starting Member

7 Posts

Posted - 09 June 2004 :  11:31:26  Show Profile  Reply with Quote
I am using this MOD But i am having a Problem. The link doesnt have a description under it. Could someone let me know what might be wrong?
thanks
<
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 09 June 2004 :  12:31:55  Show Profile  Visit OneWayMule's Homepage  Reply with Quote
quote:
Originally posted by achaudhary

I am using this MOD But i am having a Problem. The link doesnt have a description under it. Could someone let me know what might be wrong?
thanks

http://www.onewaymule.org/onewayscripts/forums/topic.asp?TOPIC_ID=154<

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 23 June 2004 :  19:21:35  Show Profile  Visit OneWayMule's Homepage  Reply with Quote
Has anyone upgraded from v2.0 yet?
Any problems experienced?<

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

samyot
Junior Member

Canada
242 Posts

Posted - 07 October 2004 :  12:09:16  Show Profile  Visit samyot's Homepage  Reply with Quote
Hi,

I have been able to apply all fixes I found on Links Manager on MySQL but I am still having this last issue. I get this error message when I click on a subcategory where the sites should be displayed.

----------------------------------------------------------
Microsoft VBScript runtime error '800a01ca'

Variable uses an Automation type not supported in VBScript

/support/inc_func_links.asp, line 186
----------------------------------------------------------

Any idea why this is happening?

Line 186 has:
strsql = "SELECT LINK_ID, NAME, URL, KEYWORD, DESCRIPTION, EMAIL, POST_DATE, BANNER_URL, HIT, CATEGORY, PARENT_ID, SHOWLINK, BADLINK, RATING, VOTES, MEMBER_ID, LAST_UPDATE, BANNER_SIZE, THELANGUAGE FROM " & strTablePrefix & "LINKS WHERE LINK_ID=" & tmp_link_id

See http://www.mytechsupport.ca/index_directory.html and click on a subcategory.

Thank you in advanced
<

Sylvain Amyot
Forum | Home

MY OTHER SITES:
http://www.mypcsecurity.ca
http://www.mynature.ca
http://www.myworkshop.ca
http://www.toptechsites.com
http://www.topsportsites.com
http://www.mysportsforums.net
Go to Top of Page

samyot
Junior Member

Canada
242 Posts

Posted - 08 October 2004 :  15:15:43  Show Profile  Visit samyot's Homepage  Reply with Quote
Anybody!??!?<

Sylvain Amyot
Forum | Home

MY OTHER SITES:
http://www.mypcsecurity.ca
http://www.mynature.ca
http://www.myworkshop.ca
http://www.toptechsites.com
http://www.topsportsites.com
http://www.mysportsforums.net
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 08 October 2004 :  19:55:15  Show Profile  Visit OneWayMule's Homepage  Reply with Quote
samyot, can you post links to .txt versions of your links.asp and inc_func_links.asp files so I can take a look?<

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

samyot
Junior Member

Canada
242 Posts

Posted - 13 October 2004 :  14:09:25  Show Profile  Visit samyot's Homepage  Reply with Quote
Here are the links to the two pages:

links.asp
inc_func_links.asp

Thank you<

Sylvain Amyot
Forum | Home

MY OTHER SITES:
http://www.mypcsecurity.ca
http://www.mynature.ca
http://www.myworkshop.ca
http://www.toptechsites.com
http://www.topsportsites.com
http://www.mysportsforums.net

Edited by - samyot on 13 October 2004 14:11:00
Go to Top of Page

samyot
Junior Member

Canada
242 Posts

Posted - 20 October 2004 :  21:45:25  Show Profile  Visit samyot's Homepage  Reply with Quote
Can someone help me out with this?<

Sylvain Amyot
Forum | Home

MY OTHER SITES:
http://www.mypcsecurity.ca
http://www.mynature.ca
http://www.myworkshop.ca
http://www.toptechsites.com
http://www.topsportsites.com
http://www.mysportsforums.net
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 20 October 2004 :  22:20:52  Show Profile  Visit OneWayMule's Homepage  Reply with Quote
Sorry, I didn't notice you've posted the files already. Will take a look at them and let you know what I can find out.<

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 20 October 2004 :  22:44:18  Show Profile  Visit OneWayMule's Homepage  Reply with Quote
Doesn't seem to be a problem with the files.
Make sure that none of the fields in the FORUM_LINKS table is marked unsigned, usually happens when you convert from an access database.
Remove the unsigned option from those fields.<

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

samyot
Junior Member

Canada
242 Posts

Posted - 21 October 2004 :  12:20:50  Show Profile  Visit samyot's Homepage  Reply with Quote
Hi OneWayMule,

You're right! I had Link_ID marked as unsigned!

All is working perfectly now!

Thank you very much for your help! <

Sylvain Amyot
Forum | Home

MY OTHER SITES:
http://www.mypcsecurity.ca
http://www.mynature.ca
http://www.myworkshop.ca
http://www.toptechsites.com
http://www.topsportsites.com
http://www.mysportsforums.net
Go to Top of Page
Page: of 19 Previous Topic Topic Next Topic  
Previous Page | Next Page
 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.72 seconds. Powered By: Snitz Forums 2000 Version 3.4.07