Im not sure if there is a mod for this aready, but if there is i have no idea what it would be called.
What i want to do, is if a user posts an image that is greater than some X and Y dimension, create a thunbnail and link to the image. The code itself isnt going to be hard for me to write, but where would I put it?
Evaders99 Site Admin
Joined: Aug 17, 2003
Thu Dec 07, 2006 7:03 am
Looks like it would go in viewtopic.php
I would be careful with the code. I'm not sure how it would determine the dimensions of the image in PHP without downloading it to your server. If its downloading files from another server, it could be vulnerable to hackers.
Its in spanish and I dont speak spanish but the downloads section seems inactive. Try putting a message in their forums and see what happens.
vinceneil Nuke Cadet
Joined: Jun 07, 2006
Mon Jan 01, 2007 7:38 pm
hi, I am the webmaster from that site (www.computersmoding.com) wich was down for a while, step by step is becomming online once again.
This post keeps appearing on my http referes, so I thought I need to make the forum hack avaliable for all those looking for it.
But i did´t find the one I had already ported to nuke, but here is the one used for phpbb, wich I am sure it will work as well on most php nuke versions.
just remember to change "templates/subSilver/" for "themes/your_theme" when following install instructions.
there is only one file to copy:
templates/rmw_jslib.js, keep that location in modules/forums/templates, and you`ll be ok.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum