Welcome, Guest. Please Login or Register.
May 04, 2025, 06:04:54 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Serialize Attachment Mod « previous next »
Pages: [1] 2 Reply Ignore Print
Author Topic: Serialize Attachment Mod  (Read 936 times)
xavier_tejero
Noobie
*
Posts: 6


from barcelona (spain) with love :)

xavier_tejero@hotmail.com WWW
Serialize Attachment Mod
« on: April 27, 2002, 01:34:03 PM »
Reply with quote

I have done a patch to serialize attachments. I think that the feature attachment it's not much used by all the users but in my forum is very useful.

What means "serialize attachments"? Simply, if you are uploading a file named "foo.zip", but this file already exists, instead of returning a message error try to change the filename to "foo0.zip". If foo0.zip already exists tries foo1.zip. If foo1.zip exists try foo2.zip. etc. until 99 (or another limit you want to set).

The patch is very simple, but I haven't released it yet as a mod because
  • First, I don't know if anyone needs this mod.
  • I don't know if this mod already exist :)
Best regards,

PS: Did I put this subject in a wrong place? Tell me please! (I'm not pretty sure which is the right place for this kind of messages, sorry!)
Logged

--
Javier Tejero
[email protected]
Greg Robson
Training to be like Joseph
YaBB SE Developer
YaBB God
*****
Posts: 1459


Hello!

ICQ - 81390136 WWW
Re:Serialize Attachment Mod
« Reply #1 on: April 27, 2002, 02:54:36 PM »
Reply with quote

Quote from: xavier_tejero on April 27, 2002, 01:34:03 PM
  • First, I don't know if anyone needs this mod.
  • I don't know if this mod already exist :)

Yes the mod is needed - there was a post some time ago saying other boards had this - why hadn't we :)
I don't think the mod exists :)
Logged

You can't have everything... where would you put it? -- Steve Wright
PabUK
Full Member
***
Posts: 136


I eat llamas!

WWW
Re:Serialize Attachment Mod
« Reply #2 on: April 28, 2002, 03:19:00 AM »
Reply with quote

Would be very useful yes, please release it. :)
Logged


944 Topics, 15010 Posts, 180 Members as of 30th April
PlonkerFish
Full Member
***
Posts: 247


Chicken

plonkerfish@hotmail.com
Re:Serialize Attachment Mod
« Reply #3 on: April 28, 2002, 07:16:55 AM »
Reply with quote

i need it tooo :D
Logged

If i don't make sense, please tell me.

I stole this avatar. I wonder how long it will take before the person finds out!
John R
PHP Challenged
Global Moderator
Sr. Member
*****
Posts: 387


Click, Click, Click, Bang!

ICQ - 3166233codehammer@thevortex.com
Re:Serialize Attachment Mod
« Reply #4 on: April 28, 2002, 05:13:29 PM »
Reply with quote

Actually an excellent idea and something that I can see a need for.

cheers......
Logged

Be careful what you wish for, it might come true!

Note: I do not acknowledge support requests via PM, MSN or ICQ, please use the support boards.
xavier_tejero
Noobie
*
Posts: 6


from barcelona (spain) with love :)

xavier_tejero@hotmail.com WWW
ASAP it will be ready :)
« Reply #5 on: April 28, 2002, 09:56:51 PM »
Reply with quote

Great! As I see some interest from the users/developers I will release it as soon as possible.
I can't promise when, but I expect in a couple of days it will be ready.

By the way, I can publish the modified file (the entire PHP source, my Post.php)...and as all of you could see it's a very simple patch. Of course, maybe it's not yet finished, and may be is buggy (I think not, I have tested it a lot).
It's ready now in my own YaBBSE installation. I'm sorry but you must register to read messages from my YaBBSE... I think that I will change this later, but by the way you must register (and it's only a spanish YaBBSE!installation). The modified file is under the phorum "YaBBSE Development" (General category).

Of course, the file can be downloaded directly from http://tejero.dnsalias.net/yabbse/attachments/PostSerialize.tar.gz. If you want to watch out the modified code, you can search for the string "Fix by Javier Tejero".
 
« Last Edit: April 28, 2002, 10:05:41 PM by xavier_tejero » Logged

--
Javier Tejero
[email protected]
xavier_tejero
Noobie
*
Posts: 6


from barcelona (spain) with love :)

xavier_tejero@hotmail.com WWW
Mod released!!!
« Reply #6 on: April 30, 2002, 07:13:47 AM »
Reply with quote

You can download the serialize attachment mod here. But I'm not sure if it's a well formed mod...so test it and tell me what happened :)
If you need it working now, have a look to the .mod code and modify manually the Post.php file. It's very easy.

Logged

--
Javier Tejero
[email protected]
PlonkerFish
Full Member
***
Posts: 247


Chicken

plonkerfish@hotmail.com
Re:Serialize Attachment Mod
« Reply #7 on: April 30, 2002, 02:37:29 PM »
Reply with quote

i'll install it later tonight :)

in the file from http://tejero.dnsalias.net/yabbse/attachments/serializeAttachment.mod.gz you have two <mod info> tags. I don't think you need them :)
Logged

If i don't make sense, please tell me.

I stole this avatar. I wonder how long it will take before the person finds out!
xavier_tejero
Noobie
*
Posts: 6


from barcelona (spain) with love :)

xavier_tejero@hotmail.com WWW
Re:Serialize Attachment Mod
« Reply #8 on: April 30, 2002, 02:59:40 PM »
Reply with quote

Yes, I'm sorry...I think I was in a hurry writing the mod :)
Thanks PlonkerFish ...

Now, you can download the file without the two <mod info> tags from the same place. I have uploaded in a zip file also.

Logged

--
Javier Tejero
[email protected]
PlonkerFish
Full Member
***
Posts: 247


Chicken

plonkerfish@hotmail.com
Re:Serialize Attachment Mod
« Reply #9 on: April 30, 2002, 04:51:14 PM »
Reply with quote

there seems to be something wrong with the ZIP version. It is all weird :S.
Logged

If i don't make sense, please tell me.

I stole this avatar. I wonder how long it will take before the person finds out!
PlonkerFish
Full Member
***
Posts: 247


Chicken

plonkerfish@hotmail.com
Re:Serialize Attachment Mod
« Reply #10 on: April 30, 2002, 04:55:43 PM »
Reply with quote

Thank you sooooo much :).

It works great :D. I'll tell you if i notice any problems with it.

P.S. When i try to register on your forums, i get the following error:

2: Empty delimiter
(/www/html/yabbse/Sources/Register.php ln 186)
« Last Edit: April 30, 2002, 05:07:36 PM by PlonkerFish » Logged

If i don't make sense, please tell me.

I stole this avatar. I wonder how long it will take before the person finds out!
Mach8
Sweetie
Beta Tester
YaBB God
*****
Posts: 1218


ICQ - 339855961
Re:Serialize Attachment Mod
« Reply #11 on: June 11, 2002, 06:33:13 PM »
Reply with quote

Does anyone (or if the mod writer is reading this could you please reupload the mod?) have this mod? I would like to have such a feature on my board...
Logged
xavier_tejero
Noobie
*
Posts: 6


from barcelona (spain) with love :)

xavier_tejero@hotmail.com WWW
Re:Serialize Attachment Mod
« Reply #12 on: June 11, 2002, 08:03:38 PM »
Reply with quote

For several reasons, I have uninstalled (well, deattached from my web tree) YaBBSE in my server. So you can't find the files. ASAP I will upload again.

The main reason I have changed to the current phorum is because of uncompatiblity with PHP4.2.0+Apache2.0.36+YaBBSE 1.3.

I suppose that the current release of YaBBSE is working properly? Do you know something about that?

By the way, I won't make another Serialize Attachment Mod, but if you are looking for something to code, the Attachment mod of the phpBB 2.0 project is very interesting (more secure, since you can't download an attachment if you are not subscribed to a user lists).
I think it's a nice feature that YaBBSE lacks, and because of personal and professional reasons I can't colaborate with this project anymore.  :'(

See you!!!
Logged

--
Javier Tejero
[email protected]
Mach8
Sweetie
Beta Tester
YaBB God
*****
Posts: 1218


ICQ - 339855961
Re:Serialize Attachment Mod
« Reply #13 on: June 11, 2002, 09:16:36 PM »
Reply with quote

Okay thanks for the information, I'll look into it :)
Logged
xavier_tejero
Noobie
*
Posts: 6


from barcelona (spain) with love :)

xavier_tejero@hotmail.com WWW
lost links
« Reply #14 on: June 11, 2002, 09:32:19 PM »
Reply with quote

From NOW the links should be working well.

If you find lost links, please let me know again.

Regards,
Logged

--
Javier Tejero
[email protected]
Pages: [1] 2 Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Serialize Attachment Mod « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.213 seconds with 20 queries.