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

guido100uk
Starting Member

United Kingdom
14 Posts

Posted - 20 August 2005 :  17:02:37  Show Profile  Visit guido100uk's Homepage  Reply with Quote
Having used Links Manager for sometime now I'm interested in adding a number of new flags I can see that the images have a set name icon_links_langXX.gif also I can see that in links.asp that strLinksLanguages just under the includes is where you add new names but I can't see how the two marry up. I can get it to work by manually adding the number to THELANGUAGE in the FORUM_LINKS part of the db.
Would be possible to have the language names in the db rather than in the code so it makes it easier to update or add new lanuages and flags.

Regards,
<

Guido100uk
http://www.searchhuts.co.uk/forum
http://www.searchhuts.co.uk
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 02 September 2005 :  12:19:53  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message  Reply with Quote
guido100uk, just to let you know, the flags will not be a part of the final version of this MOD for several reasons.
(a language info is still there, optional of course)<

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

Astralis
Senior Member

USA
1218 Posts

Posted - 03 September 2005 :  06:34:46  Show Profile  Send Astralis a Yahoo! Message  Reply with Quote
Where is an example of the links mod? The version on onewaymule.com is down and he restricted membership to the forum so I couldn't leave a message there.

I wanted to see if it does paging of comments and displays the newest ones at the top.<

Edited by - Astralis on 03 September 2005 06:38:36
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 03 September 2005 :  06:48:50  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message  Reply with Quote
quote:
Where is an example of the links mod?

There's currently no demo available, sorry.

quote:
I wanted to see if it does paging of comments and displays the newest ones at the top.

The final version includes paging for the comments, and the user may choose the order of the comments.
(Beta 2 has no paging, and displays the oldest comments first.)<

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

Astralis
Senior Member

USA
1218 Posts

Posted - 03 September 2005 :  07:27:12  Show Profile  Send Astralis a Yahoo! Message  Reply with Quote
Cool! Thanks for the response and for working on this mod!

I checked out the code and I like how you separated it into functions. Very nice.

BTW, your forum is nice on the eyes.<

Edited by - Astralis on 03 September 2005 07:29:26
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 03 September 2005 :  18:42:03  Show Profile  Reply with Quote
OWM, did you get my email the other day ?<
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 03 September 2005 :  19:28:51  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message  Reply with Quote
quote:
Originally posted by laser

OWM, did you get my email the other day ?


Yup, I tried to reply directly and email you from the forum here, but both mails got bounced back...<

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

laser
Advanced Member

Australia
3859 Posts

Posted - 03 September 2005 :  19:40:03  Show Profile  Reply with Quote
Oops, sorry about that, all fixed now <
Go to Top of Page

Astralis
Senior Member

USA
1218 Posts

Posted - 04 September 2005 :  22:55:30  Show Profile  Send Astralis a Yahoo! Message  Reply with Quote
quote:

The final version includes paging for the comments, and the user may choose the order of the comments.
(Beta 2 has no paging, and displays the oldest comments first.)


Has the final version been released?<
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 05 September 2005 :  18:58:20  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message  Reply with Quote
quote:
Originally posted by Astralis

Has the final version been released?


Not yet, I'm working on it (again).<

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

hennep
Starting Member

Netherlands
4 Posts

Posted - 18 February 2006 :  08:37:49  Show Profile  Reply with Quote
quote:
Originally posted by K.Storm

quote:

What do you mean with "can't edit link as moderator"? Doesn't the Edit icon () show up?
It works fine even on Beta 2, you can take a look at the demo forum I've set up: http://www.onewaymule.org/onewayscripts/lm3/




The edit icon is there, but when you click on the icon, you are send back to links.asp, i works for admin that can edit all and members that can edit there own links, but moderators can't edit at all.

i have looked on this part of the links.asp:

CASE "edit"
If Request.QueryString("id") = "" or IsNumeric(Request.QueryString("id")) = False Then Response.Redirect("links.asp")
intLinkID = Request.Querystring("id")
AllowEdit = 0
If mLev = 4 Then
AllowEdit = 1
End If
If intLMEdit > 0 and mLev >= 3 Then
AllowEdit = 1
End If
If mLev < 3 and strLMEdit = 2 Then
strsql = "SELECT MEMBER_ID FROM " & strTablePrefix & "LINKS WHERE LINK_ID= " & intLinkID
Set lrs = my_conn.execute(strsql)
If lrs.EOF Then
lrs.Close
Set lrs = Nothing
Response.Redirect("links.asp")
Else
lmID = lrs("MEMBER_ID")
lrs.Close
set lrs = nothing
End If
If lmID = getMemberID(Request.Cookies(strUniqueID & "User")("Name")) Then
AllowEdit = 1
End If
End If
If AllowEdit <> 1 Then
Response.Redirect("links.asp")
End If

it is here that it is going wrong

/K.storm

Ps: i'am using a MySQL 3.23.58 database





I had exactly the the same problem, moderators cannot not edit links.
I noticed that there is a bug in the code, change intLMEdit to strLMEdit and it will work. It is marked in red in the code below.


CASE "edit"
  If Request.QueryString("id") = "" or IsNumeric(Request.QueryString("id")) = False Then Response.Redirect("links.asp")
  intLinkID = Request.Querystring("id")
  AllowEdit = 0
  If mLev = 4 Then 
    AllowEdit = 1
  End If
  If strLMEdit > 0 and mLev >= 3 Then
    AllowEdit = 1
  End If
  If mLev < 3 and strLMEdit = 2 Then
    strsql = "SELECT MEMBER_ID FROM " & strTablePrefix & "LINKS WHERE LINK_ID= " & intLinkID
    Set lrs = my_conn.execute(strsql)
    If lrs.EOF Then
      lrs.Close
      Set lrs = Nothing
      Response.Redirect("links.asp")
    Else
      lmID = lrs("MEMBER_ID")
      lrs.Close
      set lrs = nothing
    End If
    If lmID = getMemberID(Request.Cookies(strUniqueID & "User")("Name")) Then
      AllowEdit = 1
    End If
  End If
  If AllowEdit <> 1 Then
    Response.Redirect("links.asp")
  End If

<
Go to Top of Page

i011877
Junior Member

Denmark
169 Posts

Posted - 25 August 2006 :  04:30:02  Show Profile  Visit i011877's Homepage  Reply with Quote
Hi all

Just implemented this splendid MOD on my forum without ANY problems.
Running this on a WIN2003 with SQL2005, and all works perfect.

Altered the language to Danish and added a HOME to the navigationbar.

Thanks OneWayMule for this awesome work.

Demo @ http://www.myforum.dk/links.asp<


Go to Top of Page

i011877
Junior Member

Denmark
169 Posts

Posted - 29 August 2006 :  01:31:06  Show Profile  Visit i011877's Homepage  Reply with Quote
I get an error when trying to view a comment to a link.
Looks like this: http://www.myforum.dk/links.asp?action=comments&id=30

Code: http://www.myforum.dk/source.asp?page=links.asp

Please advice <


Go to Top of Page

i011877
Junior Member

Denmark
169 Posts

Posted - 29 August 2006 :  03:24:01  Show Profile  Visit i011877's Homepage  Reply with Quote
Well it's only when viewing a comment, which I admit not to have tested.

I only wrote that the implementation were done without problems <


Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 29 August 2006 :  03:49:43  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message  Reply with Quote
This is a problem with another MOD which changes the getStar_Level function.

Replace line 436 of links.asp
Response.Write  "                " & getStar_Level(intMemberLevel, intMemberPosts) & "<br />" & vbNewLine

with
Response.Write  "                " & getStar_Level(intMemberID, intMemberLevel, intMemberPosts) & "<br />" & vbNewLine


This should help.<

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
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.19 seconds. Powered By: Snitz Forums 2000 Version 3.4.07