|
| 23 Aug 2011 04:38 PM |
I am making a website for civilized plugin sharing. I'm using x10Hosting and it is going pretty well. I just need to figure out how the user can submit plugin files..
Easy way: 1) Email plugin to admin email 2) Admin puts stuff on the site 3) download button
Hard way: 1) User makes account 2) User uploads plugin and writes description 3) The site makes sure it's legit and moderates description and code 4) The website displays the icon, source code and the description 5) Downloads directly to where plugins go
Any advice or tutorials to show me or anything?
~The Master~ |
|
|
| Report Abuse |
|
|
geicogeko
|
  |
| Joined: 27 Apr 2010 |
| Total Posts: 2727 |
|
|
| 23 Aug 2011 04:48 PM |
| I'm learning html/css, can I halp pl0x o.O |
|
|
| Report Abuse |
|
|
pwnedu46
|
  |
| Joined: 23 May 2009 |
| Total Posts: 7534 |
|
|
| 23 Aug 2011 04:53 PM |
I liek hard way. :3
You'll need to know php and sql though. w3schools is a good site that teaches both php and sql if you don't already know them.
______________________________________ ~pwnedu46~ -I lost the game.- I love making dooly-bops. ~ArceusInator
|
|
|
| Report Abuse |
|
|
pwnedu46
|
  |
| Joined: 23 May 2009 |
| Total Posts: 7534 |
|
|
| 23 Aug 2011 05:02 PM |
step 3 will be the hardest part. I suggest entering the code directly into a text box instead of submitting a .lua file to easily moderate the file, and create the file when a download request is submitted. Create a list of potentially harmful syntax, and search the code for any banned syntax. For the desc, just make a list of bad words that shouldn't be used, and search through for that. Remove all punctuation, and whitespace when searching through the desc to keep people from typing like this: p.r.o.f.a n i t.y
to get around the filter. As an added bonus, attempt to convert numbers into letters for moderation purposes so people can't disguise their words using 1337speak.
______________________________________ ~pwnedu46~ -I lost the game.- I love making dooly-bops. ~ArceusInator
|
|
|
| Report Abuse |
|
|
|
| 23 Aug 2011 05:04 PM |
Could you provide more information on the first part?
~The Master~ |
|
|
| Report Abuse |
|
|