Fronzel's off-site image hosting solution - Postet den (2399 Views)
New Member
kyodai
Innlegg: 74
74
OK i wanted to have an easy way for the users to upload images while not wasting diskspace/bandwidth for it, so here is a mini-mod.
It adds a Raidpic Plugin box into the reply/edit/new topic box that returns a complete link with [img] tags that the user can copy and paste into his post. Not the best solution ever, but better then nothing.
smile

Installation difficulty: 2 (1=Easy - 10=Hard)


###############
## INSTALLATION
###############
There are no files supplied with this mod as it is intended to edit your current file
Be sure to backup your file first!

####################################################################
## post.asp
####################################################################
around line 1300 - find this:

Response.Write " <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""lock"" id=""lock"" type=""checkbox"" value=""1""><label for=""lock"">Check here to lock the topic after this post.</label><br /></font>" & vbNewLine
end if
end if
end if


below this add:



' Kyodai offsite image hosting

Response.Write "<center><br>"
Response.Write "Please select a picture to upload. <br>After clicking on upload you need to copy the resulting text into the spot in your post above where you would like to have the picture placed."
Response.Write " <iframe src=""http://raidpic.com/plugin.php"" scrolling=""no"" allowtransparency=""true"" frameborder=""0"" width=""400"" height=""150""></iframe>"
Response.Write "</center>"

' end Kyodai OffSite image hosting
   
 Sidestørrelse 
Postet den
Advanced Member
Etymon
Innlegg: 2396
2396
Thank you kyodai! This will come in really handy for folks!
Great job!

Cheers,


Etymon
Postet den
Senior Member
leatherlips
Innlegg: 1838
1838
I like this mod. It will make it easier for my users to upload their pictures. smile
I have made a modification of this mod and posted it on Snitz Bitz:
http://www.snitzbitz.com/mods/details.asp?Version=All&mid=301

I made a new post button icon that users can click to bring up a pop up of the mod:
Here are the screen shots:


 
Du må legge inn en melding