The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
Would anyone be willing to write a hack to allow users to upload an image to my domain and link to it.
Maybe make it an option in the profile, if user XXX has more then X posts, he/she will have the option to upload his/her signature to domain.com/forum/signatures and link to it. And as an addon, maybe limit users to Xkb space, and only allow domain.com to link to images stored in /forum/signatures to avoid bandwidth stealing, or users linking to their sigs hosted on your site from other forums. All the red X's are driving me insane
|
|
#2
|
|||
|
|||
|
i would love to have this option as well.
|
|
#3
|
||||
|
||||
|
Quote:
|
|
#4
|
||||
|
||||
|
Quote:
|
|
#5
|
||||
|
||||
|
Quote:
|
|
#6
|
||||
|
||||
|
Quote:
|
|
#7
|
||||
|
||||
|
Preventing the 404 can be done with a micro hack
![]() In the headinclude template add: HTML Code:
<!-- prevent 404 images --> <script type="text/javascript"> <!-- function ImageLoadFailed() { window.event.srcElement.style.display = "None"; } // --> </script> PHP Code:
PHP Code:
The minor downside is that it does break XHTML Validity as onerror isn't a recoginsed attribute, however it works in both Firebird and IE fine.As to the port of the hack hopefully either myself or hellsatan will be porting it to vB3
|
|
#8
|
|||
|
|||
|
Cool, I'll be looking forward to it. I'll try out the code you posted in the meantime. Many thanks NTLDR!
|
|
#9
|
|||
|
|||
|
so this works for [img] but not an html image? anyway it could be done for html sigs?
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|