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
 Proeder's Addon
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

leatherlips
Senior Member

USA
1838 Posts

Posted - 24 July 2009 :  18:53:35  Show Profile  Visit leatherlips's Homepage
I was trying to install an addon to the Proeder's File Attachment MOD. It is the one that "prevents leaching" and "protects file path".

When I ran the db setup file I got this error:



I've searched the forum but didn't find any answers.

What needs to be done to fix this?

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD

Edited by - leatherlips on 24 July 2009 18:54:55

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 24 July 2009 :  19:36:41  Show Profile
Enclose the second value in parentheses also.
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 24 July 2009 :  19:40:47  Show Profile  Visit leatherlips's Homepage
I'll try that.

What is this part anyway?:

ds9f7sda9f70asd5

This instructions do not make it very clear.

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 24 July 2009 :  21:06:45  Show Profile
I have no idea. I do realize that it represents a string (not integer) value and requires parentheses, though.
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 24 July 2009 :  21:34:02  Show Profile  Visit leatherlips's Homepage
I'm having too much trouble with this add on.

I think I'll give it up.

How important is it to hide the upload folder? Could this cause problems if it is known?

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 24 July 2009 :  22:36:37  Show Profile
That depends on the skill of a hacker and the security of your code.
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 24 July 2009 :  22:44:34  Show Profile  Visit leatherlips's Homepage
Maybe I'll try again.

What I was having trouble with was getting my mp3 tag to work. In this addon, they make a new img.file tag. I was looking at it and trying to make a mp3.file tag but it would not work.

Here is the addons img.file tag:

ImgTags(8,1,1) = "[img.file]"
  ImgTags(8,2,1) = "[/img.file]"
  ImgTags(8,1,2) = "<img src=""getfile.asp?view=img&FName="
  ImgTags(8,2,2) = """ id=""left"" border=""0"" style='cursor:default' onClick='doimage(this,event)'>"


Here is the section of my mp3 tag that I think needs to be revised:

CodeTags(1,1,1) = "[mp3]"
CodeTags(1,2,1) = "[/mp3]"
CodeTags(1,1,2) = "<div class=""media""><script language=""javascript"">EmbedMP3("""
CodeTags(1,2,2) = """,290,300,false)</script></div><div class=""break""></div>"


I've tried this:

CodeTags(2,1,1) = "[mp3.file]"
   CodeTags(2,2,1) = "[/mp3.file]"
   CodeTags(2,1,2) = "<div class=""media""><script language=""javascript"">EmbedMP3("""
   CodeTags(2,2,2) = """,290,300,false)</script></div><div class=""break""></div>"


But I don't know how to get it to find the file with the getfile.asp page like the image one can. Any ideas?

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD
Go to Top of Page

Etymon
Advanced Member

United States
2385 Posts

Posted - 25 July 2009 :  03:13:03  Show Profile  Visit Etymon's Homepage
LeatherLips,

Try the dbs install with the single quotes AND take the space out after the commas.

You have:

Sonic getfile 1.1
[INSERT]
CONFIG_NEW
(C_VARIABLE, C_VALUE)#('STRFILEPATH', ds9f7sda9f70asd5)
[END]

Try it like this:

Sonic getfile 1.1
[INSERT]
CONFIG_NEW
(C_VARIABLE,C_VALUE)#('STRFILEPATH','ds9f7sda9f70asd5')
[END]
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 25 July 2009 :  07:26:31  Show Profile
I looked at that file. In the instructions, it says to add the following to "config.asp":

strFilePath = Application(strCookieURL & "STRSFILEPATH")


That is incorrect. Delete the red S.

Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 25 July 2009 :  11:07:30  Show Profile  Visit leatherlips's Homepage
Well, I tried it again and it is somewhat working. The changes to the dbs file worked without errors.

Carefree, removing the S in the strFilePath = Application(strCookieURL & "STRSFILEPATH") would not let the uploads work or display. Putting it back in made it work. I'm with you though. It looks like it was a mistake but apparently it's needed.

I still can't get my mp3 files to work. But also, if you upload documents it won't let you download them. That to me is counter productive to add an attachment.

I'm just going to quit on this one and call it a day.

Thanks Carefree and Etymon for your time and help. Without guys like you I wouldn't get anything fixed!

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD
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.39 seconds. Powered By: Snitz Forums 2000 Version 3.4.07