• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ Contributions (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

File upload feature implemented

Post a bug fix, a new feature, a theme ...

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
28 posts • Page 1 of 2 • 1, 2

Postby santiago-ve » Mon May 18, 2009 12:23 pm

Hi guys,

This weekend i've implemented the file upload feature (using an ajax file upload) which uploads the file to X place (defined in the doajaxfileupload.php file) and displays a link for the user to use later.

I would like some feedback... we're using it for a project i'm working on actually... and i'll get my team's feedback but would be nice to have even more...


i've generated a patch file, which is http://codigo.zarate.net.ve/phpfreechat/uploadfile-plugin.patch

feel free to contact me (either by forum, or using the mail function of the forums :P)

Have fun,

Santiago Zarate
santiago-ve
New member
 
Posts: 6
Joined: Mon May 18, 2009 12:12 pm
Top

Postby DreadPirateVane » Sat May 23, 2009 6:30 pm

This link is broken
Station Built by the Bands,, For the Fans!!
DreadPirateVane
Member
 
Posts: 47
Joined: Tue Dec 23, 2008 10:44 pm
Location: Kansas City, Mo.
  • Website
  • YIM
Top

Postby santiago-ve » Sat May 23, 2009 8:45 pm

FIxed :D
santiago-ve
New member
 
Posts: 6
Joined: Mon May 18, 2009 12:12 pm
Top

Postby DreadPirateVane » Sun May 24, 2009 5:45 pm

Thanx much i will try and implement this in tthe next day or so see how it goes
Station Built by the Bands,, For the Fans!!
DreadPirateVane
Member
 
Posts: 47
Joined: Tue Dec 23, 2008 10:44 pm
Location: Kansas City, Mo.
  • Website
  • YIM
Top

Postby DreadPirateVane » Sun Jun 14, 2009 8:36 pm

ok so how do u implement this to the chat,, i can not figure out how to integrate the file
Station Built by the Bands,, For the Fans!!
DreadPirateVane
Member
 
Posts: 47
Joined: Tue Dec 23, 2008 10:44 pm
Location: Kansas City, Mo.
  • Website
  • YIM
Top

Postby santiago-ve » Sun Jun 14, 2009 8:56 pm

Well... if you're on linux... or have a linux box with the tool "patch" you can simply apply the changes tothe sources of the chat

just download the code, unpack, change to the dir, apply the patch simply by using:

patch -p0 <uploadfile-plugin.patch

after that... you should be able to have the uploads available.

The problem comes when you have windows :P, which i dont use... but there's a patch program http://gnuwin32.sourceforge.net/packages/patch.htm which you can use to do the same...
santiago-ve
New member
 
Posts: 6
Joined: Mon May 18, 2009 12:12 pm
Top

Postby DreadPirateVane » Mon Jun 15, 2009 3:08 am

i have tried the windows version and can't seem to get it right
not sure what i am doing with it

you don't have the src codes that you used and modified you could post here?
Station Built by the Bands,, For the Fans!!
DreadPirateVane
Member
 
Posts: 47
Joined: Tue Dec 23, 2008 10:44 pm
Location: Kansas City, Mo.
  • Website
  • YIM
Top

Postby santiago-ve » Mon Dec 07, 2009 2:41 am

Hi, sorry for not answering in a really long long while... the place with the patch its up again... so: http://codigo.zarate.net.ve/phpfreechat is up and running again :)
santiago-ve
New member
 
Posts: 6
Joined: Mon May 18, 2009 12:12 pm
Top

Postby todhend » Tue Jan 19, 2010 9:07 pm

I understand the server issues, so how to add this to the chat template is what Im looking Im kind of lost
http://nflpick.net free football picks
http://tdah.us free webmail script
todhend
Member
 
Posts: 83
Joined: Tue Jan 19, 2010 9:03 pm
Location: Missouri
  • Website
Top

Postby santiago-ve » Sun Jan 31, 2010 6:20 pm

Good thing google cache still exists,

Well.. todhend, you can use the patch program to apply the changes to the source code... you do that by using the program patch (For windows)... i dont use windows, so cant exactly tell you how to... on the other hand... since i've seen many people having problems to do this (my fault by not providing a .zip file or some svc place to get the code), i've uploaded a patched (and working) version to my personal launchpad branch... you need to have bzr installed (Check here: http://wiki.bazaar.canonical.com/WindowsDownloads for windows and on linux just look for a bazaar or bzr package... on ubuntu "aptitude install bzr" and you're set)... branch is located here https://code.launchpad.net/~santiago-ve … ile-upload the instructions to get a working copy are there too (dont try pushig... launchpad wont let you)... ill try uploading a .zip file too... if i feel like i have to...

I'm pretty sure i wrote that few weeks ago... and that i did not delete it... so, as far as i know... someone did... any explanations?... AFAICT, phpfreechat is LGPL... not closed source ;)
santiago-ve
New member
 
Posts: 6
Joined: Mon May 18, 2009 12:12 pm
Top

Postby OldWolf » Mon Feb 01, 2010 8:45 pm

I'm the only active moderator/admin, and I didn't remove it (no reason for me to). I would have messaged you if I had removed it for some reason. We have had one or two hiccups on the server, maybe it happened right before one of those?
Signature:
Read before Posting: Forum Rules
Note: I am unable to offer support through PM/e-mail at this time.
OldWolf
Site Admin
 
Posts: 1918
Joined: Sun Sep 23, 2007 5:48 am
Top

Postby todhend » Mon May 17, 2010 4:40 pm

I'm still a little lost, could you give a screen shot or instructions of any kind? I really don't want to mess with a server patch just files or code, script and instructions how to add manually if thats possible ? thanks
http://nflpick.net free football picks
http://tdah.us free webmail script
todhend
Member
 
Posts: 83
Joined: Tue Jan 19, 2010 9:03 pm
Location: Missouri
  • Website
Top

Postby todhend » Mon May 31, 2010 9:45 pm

If your looking for a file sharing/upload example, I've created one here, this is a very simple template change with a couple of files added, no source code changed at all, no confirm or error messages so far, I just started this so more work is needed take a look

http:/chat.tdah.us
Last edited by todhend on Sun Oct 03, 2010 3:14 am, edited 1 time in total.
http://nflpick.net free football picks
http://tdah.us free webmail script
todhend
Member
 
Posts: 83
Joined: Tue Jan 19, 2010 9:03 pm
Location: Missouri
  • Website
Top

Postby DreadPirateVane » Mon May 31, 2010 10:10 pm

can you show what you did to add this feature?,, where and what to edit?
Station Built by the Bands,, For the Fans!!
DreadPirateVane
Member
 
Posts: 47
Joined: Tue Dec 23, 2008 10:44 pm
Location: Kansas City, Mo.
  • Website
  • YIM
Top

Postby todhend » Mon May 31, 2010 10:33 pm

Ill put something together for you soon, look at the download in the chat, read the readme
Last edited by todhend on Mon May 31, 2010 11:58 pm, edited 1 time in total.
http://nflpick.net free football picks
http://tdah.us free webmail script
todhend
Member
 
Posts: 83
Joined: Tue Jan 19, 2010 9:03 pm
Location: Missouri
  • Website
Top

Next

Post a reply
28 posts • Page 1 of 2 • 1, 2

Return to Contributions (v1.x)

Who is online

Users browsing this forum: No registered users and 6 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub