Fronzel's off-site image hosting solution

Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/68685?pagenum=1
05 November 2025, 16:44

Topic


kyodai
Fronzel's off-site image hosting solution
09 June 2009, 11:49


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

 

Replies ...


Etymon
09 June 2009, 20:51


Thank you kyodai! This will come in really handy for folks!
Great job!

Cheers,


Etymon
leatherlips
16 June 2009, 12:54


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:


© 2000-2021 Snitz™ Communications