Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
[MOD] Lookpic Image Upload
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2 Only Mods Complete

Unknown User
2009-11-08 04:40:27
here guys post this incase someone finds it usefull, and remember a thankyou is always welcome.

Open:

torrents-upload.php

Find:

///////////////////// FORMAT PAGE ////////////////////////



stdhead("Upload");



begin_frame("" . UPLOAD_RULES . "");

echo "<b>".stripslashes($site_config["UPLOADRULES"])."</b>";

echo "<BR>";

end_frame();
After Add:


// lookpic image upload

begin_frame("Lookpic Image Upload");



print("

<center>

<form action=http://lookpic.com/upload.php method=post enctype=multipart/form-data name=upload target=_blank id=upload>

<b>Image:</b>

<input type=hidden name=MAX_FILE_SIZE value=3000000>

<input id=file type=file name=image>



 <b>Resize:

<input type=checkbox value=1 name=stat_resize /></b>

<select name=resize id=resize>

 <option selected=selected>Select Resize Option</option>

<option value=0>100x75 (avatar)</option>

<option value=1>150x112 (thumbnail)</option>

<option value=2>320x240 (for websites and email)</option>

<option value=3>640x480 (for message boards)</option>

<option value=4>800x600 (15-inch monitor)</option>

<option value=5>1024x768 (17-inch monitor)</option>

<option value=6>1280x1024 (19-inch monitor)</option>

<option value=7>1600x1200 (21-inch monitor)</option>

</select>

<input id=submit type=submit name=submit value=Upload>



</form>

</center>");

print("<center>The allowed image types are JPG, JPEG, PNG, GIF.

<br>

The maximum image size allowed is <b>3MB.</b></center>");



end_frame();

// lookpic image upload



OR

You can also add a link in your menu and use the full page version too.

Enjoy

Regards

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=3917"]lookpic.php[/url]
lookpic.php
Download
Unknown User
2009-12-13 02:26:39
THX
Unknown User
2009-12-14 21:51:17
Thanks!
Unknown User
2009-12-22 08:53:10
Thanks m8. Works great.
Unknown User
2010-01-17 15:58:41
Tnx, great mod, but if i add this mod, then my bb tags dont work anymore in torrent-upload.php page ;)
Unknown User
2010-01-17 18:21:55
lookpic.php:

Parse error: syntax error, unexpected $end in /home/------/------/------/lookpic.php on line 53

Thanks anyway ;)
Unknown User
2010-04-13 07:28:37
by adding thos code in torrent-upload.php bbcode wont work ??
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728