Author |
Topic |
OneWayMule
Dev. Team Member & Support Moderator
Austria
4969 Posts |
|
Bassman
Junior Member
Netherlands
256 Posts |
Posted - 16 September 2003 : 13:05:30
|
OneWayMule thanks for the great mod, I love it...its working fine and stable on my forum.
http://www.scoutingforum.com/links.asp
Its translated to Dutch, thats the only thing
Good Job.
Right now i'am testing a include for the frontpage with the 5 latest links.< |
|
|
OneWayMule
Dev. Team Member & Support Moderator
Austria
4969 Posts |
|
samyot
Junior Member
Canada
242 Posts |
Posted - 17 September 2003 : 10:33:29
|
quote: Originally posted by samyot
Hi,
Don't know if this is a bug or my own problem but I noticed that if I do a search it will bring up a listing (site) that is still waiting to be approved. Since it has not been approved I assume it should not be diplayed at all, right?
I noticed the search section of the code in links.asp does have the show=1 in the query but for some reason doesn't appear to be working for me! I am using an Access DB. Anybody else getting this
Something else I noticed. Since the unapproved links are displayed they can also be edited by anyone! Once the issue of displayed unapproved links in a search is resolved, obviously this won't be an issue but until it is resolved, this could allow anybody to edit an unapproved link through a search.< |
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 17 September 2003 10:34:07 |
|
|
samyot
Junior Member
Canada
242 Posts |
Posted - 18 September 2003 : 12:47:01
|
I fixed the search bringing up unapproved links by replacing: (around line 278-287 in links.asp)
Call DisplayLinksMenu()
strsql = "SELECT LINK_ID FROM " & strTablePrefix & "LINKS WHERE "
strsql = strsql & "NAME LIKE '%" & strLMQuery & "%' "
If strLMShowDesc = 1 Then
strsql = strsql & "OR DESCRIPTION LIKE '%" & strLMQuery & "%' "
End If
If strLMShowKeywords = 1 Then
strsql = strsql & "OR KEYWORD like'%" & strLMQuery & "%' "
End If
strsql = strsql & "AND SHOW=1 ORDER BY LINK_ID"
with this:
Call DisplayLinksMenu()
strsql = "SELECT LINK_ID FROM " & strTablePrefix & "LINKS WHERE "
strsql = strsql & "NAME LIKE '%" & strLMQuery & "%' AND SHOW=1 "
If strLMShowDesc = 1 Then
strsql = strsql & "OR DESCRIPTION LIKE '%" & strLMQuery & "%' AND SHOW=1 "
End If
If strLMShowKeywords = 1 Then
strsql = strsql & "OR KEYWORD like'%" & strLMQuery & "%' AND SHOW=1 "
End If
strsql = strsql & "ORDER BY LINK_ID"
< |
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
|
|
|
OneWayMule
Dev. Team Member & Support Moderator
Austria
4969 Posts |
|
kristien
New Member
78 Posts |
Posted - 20 September 2003 : 09:07:31
|
Is there any news on when the official version will be released ? (not beta)< |
|
|
OneWayMule
Dev. Team Member & Support Moderator
Austria
4969 Posts |
|
MotoX
Junior Member
201 Posts |
Posted - 03 November 2003 : 11:54:12
|
I have this installed on SQL and it works great except for one minor thing:
when viewing comments, if the member who made the comment has since been deleted: ADODB.Field error '800a0bcd' Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.
/forum/links.asp, line 418 < |
|
|
kwhipp
Junior Member
USA
407 Posts |
Posted - 21 November 2003 : 02:00:30
|
_ _
| | | |
| | | |
/ |___ / |___
______/ ____) ______/ ____)
____) ____)
____) ____)
-------.______) -------.______)
OneWayMule - You get two thumbs-up for this one! Large function MOD and very easy to install.< |
- Kevin |
|
|
kwhipp
Junior Member
USA
407 Posts |
Posted - 21 November 2003 : 13:15:14
|
I thought it would be a good idea to let visitors know when a bad link has already been reported. I added what is in red to inc_func_links.asp around line 215.
End If
If (mLev=4) or (mLev=3 and strLMEdit>0) or (trs("MEMBER_ID")=intUserMemberID and strLMEdit=2) Then
TmpStr = TmpStr & " | <a href=""links.asp?action=edit&id=" & trs("LINK_ID") & """>" & getCurrentIcon(strIconPencil,"Edit Link","") & "</a>" &vbNewLine
End If
'##### Show that a link has been reported as bad #####
If trs("BADLINK") = "1" Then
TmpStr = TmpStr & " | <font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """ color=""" & strHiLiteFontColor & """><b>(This has been reported as a bad link.)</b></font>" &vbNewLine
End If
'##########
If display_method="search" Then
TmpStr = TmpStr & "<br /><b>Category:</b>" & vbNewLine
If trs("CATEGORY") = 0 Then
TmpStr = TmpStr & "<a href=""links.asp?action=showcat&id=" & trs("PARENT_ID") & """>" & getCategoryName2(trs("PARENT_ID")) & "</a>" & vbNewLine
Else
TmpStr = TmpStr & "<a href=""links.asp?action=showsubcat&id=" & trs("CATEGORY") & """>" & getCategoryName(trs("CATEGORY")) & " / " & getSubCatName(trs("CATEGORY")) & "</a>" & vbNewLine
End If
End If
< |
- Kevin |
|
|
OneWayMule
Dev. Team Member & Support Moderator
Austria
4969 Posts |
|
kwhipp
Junior Member
USA
407 Posts |
Posted - 21 November 2003 : 15:05:46
|
quote: Originally posted by OneWayMule
The final version will be a lot better!
I have to ask, "any idea when we might see the final version?"< |
- Kevin |
|
|
OneWayMule
Dev. Team Member & Support Moderator
Austria
4969 Posts |
|
zeth
Junior Member
United Kingdom
117 Posts |
Posted - 21 November 2003 : 18:40:15
|
OneWayMule, I made the title of each link page display the category name in the same way a forum topic does, I think it might be worth you doing this for the 1.0 release.< |
THEOLOGY.ME.UK CROSSRING.COM |
|
|
Topic |
|