[MODDB]FTP addon for attachment function

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Get Involved
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 27108
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

[MODDB]FTP addon for attachment function

Post by Paul »

MOD Title: FTP addon for attachment function
MOD Description: This MOD adds FTP functions to save attachment at another server.
MOD Version: 0.0.1

MOD Download: http://www.paulscripts.nl/prive/ftp.zip
Last Stable version: None

This is a first alpha version, it has been basic tested but not really intensive. Note that is slow down viewtopic and posting.php when adding attachments.
User avatar
igorw
Former Team Member
Posts: 8024
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}
Name: Igor Wiedler

Re: [ALPHA]FTP addon for attachment function

Post by igorw »

Very cool idea paul :D
Igor Wiedler | area51 | GitHub | trashbin | Formerly known as evil less than three
User avatar
Rotsblok
Registered User
Posts: 648
Joined: Fri Nov 11, 2005 12:47 pm
Location: Upper north of Holland
Name: Rikkert Westa
Contact:

Re: [ALPHA]FTP addon for attachment function

Post by Rotsblok »

Is it something like the function that Acyd Burn had in his attachement mod????
Nederlandse Support site
Several dutch translations for 3.1 extensions if you need one or there is an update of an extension feel free to notify me.
User avatar
igorw
Former Team Member
Posts: 8024
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}
Name: Igor Wiedler

Re: [ALPHA]FTP addon for attachment function

Post by igorw »

Yes ;)
Igor Wiedler | area51 | GitHub | trashbin | Formerly known as evil less than three
User avatar
lukak
Registered User
Posts: 47
Joined: Mon Jun 04, 2007 3:12 pm
Location: Piran, Slovenia
Contact:

Re: [ALPHA]FTP addon for attachment function

Post by lukak »

amazing :o

Thanks
Image
User avatar
Rotsblok
Registered User
Posts: 648
Joined: Fri Nov 11, 2005 12:47 pm
Location: Upper north of Holland
Name: Rikkert Westa
Contact:

Re: [ALPHA]FTP addon for attachment function

Post by Rotsblok »

eviL<3 wrote:Yes ;)

Me thanks paul very very much....
Nederlandse Support site
Several dutch translations for 3.1 extensions if you need one or there is an update of an extension feel free to notify me.
rickyschuijff
Registered User
Posts: 75
Joined: Mon May 14, 2007 4:50 pm
Contact:

Re: [ALPHA]FTP addon for attachment function

Post by rickyschuijff »

I get this error

Code: Select all

No valid ftp class found
Flyff Game go to FlyffWorld
Realisty
Registered User
Posts: 92
Joined: Sun Jan 21, 2007 5:15 pm

Re: [ALPHA]FTP addon for attachment function

Post by Realisty »

I like the idea of this mod ;)

I found a tiny error .... in the install.xml it says :
This MOD was designed for phpBB2.0.0 and may not function as stated on other phpBB versions.
User avatar
TC
Former Team Member
Posts: 3633
Joined: Tue Sep 25, 2001 7:23 pm
Location: Kµlt °ƒ Ø, working on my time machine

Re: [ALPHA]FTP addon for attachment function

Post by TC »

bump in hopes that dev continues on this one.
.:: 28:Ø6:42:12 ::.
User avatar
batfastad
Registered User
Posts: 113
Joined: Sat Aug 02, 2003 5:35 pm

Re: [ALPHA]FTP addon for attachment function

Post by batfastad »

Wow this is excellent. That was a really excellent feature of the old attachment mod.
Should have been built-in to phpBB 3 IMO, but this should solve the problem!

Good luck with the development :D
This feature was the reason I was holding off upgrading to phpBB3

Thanks, Ben
ferdi67
Registered User
Posts: 13
Joined: Wed Jan 23, 2008 5:37 pm
Location: France - Strasbourg
Contact:

Re: [ALPHA]FTP addon for attachment function

Post by ferdi67 »

Me too, it was the reason because i stopped my upgrade to phpBB3...

Thanks very much !!!
Don't blame me for my bad English, I'm French...
ferdi67
Registered User
Posts: 13
Joined: Wed Jan 23, 2008 5:37 pm
Location: France - Strasbourg
Contact:

Re: [ALPHA]FTP addon for attachment function

Post by ferdi67 »

rickyschuijff wrote:I get this error

Code: Select all

No valid ftp class found
I have the same problem.
Do you have find where that's from ?
Don't blame me for my bad English, I'm French...
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 27108
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: [ALPHA]FTP addon for attachment function

Post by Paul »

Did you set the FTP method in ACP?
ferdi67
Registered User
Posts: 13
Joined: Wed Jan 23, 2008 5:37 pm
Location: France - Strasbourg
Contact:

Re: [ALPHA]FTP addon for attachment function

Post by ferdi67 »

Ok, i think i have found where is from the problem...

In CONFIG_TABLE, the field " attachment_ftp_type " haven't been created therefore i have created this on sql base and i have allocated this to "ftp".
And now it's ok i can upload and dowload files on my ftp serveur.

But i think it from this code in includes/acp/acp_attachments.php

Code: Select all

	function ftp_type($value, $key)
	{
		global $phpbb_root_path, $phpEx;
		include("{$phpbb_root_path}includes/functions_transfer.$phpEx");

		$methods = array();

		// Following igor transfer::methods() works in php4.
		// You can blame him if it doesnt work :).
		foreach (transfer::methods()  as $key => $value)
		{
			$methods[$key] = 'FTP_ATTACHMENT_' . strtoupper($value);
		}

		return h_radio('config[' . $key . ']', $methods, $value, $key);
	}
And i find one more problem in ACP to see orphan files : when i add on my ftp one file, it does'nt see this orphan file...

Thanks very much for your work !
Don't blame me for my bad English, I'm French...
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 27108
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: [ALPHA]FTP addon for attachment function

Post by Paul »

The orphan attachment funcions doesnt currently work with the MOD :)
Locked

Return to “[3.0.x] MODs in Development”