You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 391 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Resize images in the forums [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
SidewinderXX
Nuke Cadet
Nuke Cadet


Joined: Nov 18, 2006
Posts: 6


PostPosted: Wed Dec 06, 2006 11:23 pm Reply with quoteBack to top

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?
Find all posts by SidewinderXXView user's profileSend private messageMSN Messenger
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12482


PostPosted: Thu Dec 07, 2006 7:03 am Reply with quoteBack to top

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.

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
v3x
Support Mod
Support Mod


Joined: Oct 19, 2004
Posts: 1041

Location: UK

PostPosted: Thu Dec 07, 2006 7:04 am Reply with quoteBack to top

Well apparently there is one for download here.

http://computersmoding.com

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.
Find all posts by v3xView user's profileSend private messageVisit poster's website
vinceneil
Nuke Cadet
Nuke Cadet


Joined: Jun 07, 2006
Posts: 3


PostPosted: Mon Jan 01, 2007 7:38 pm Reply with quoteBack to top

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.

http://www.computersmoding.com/modules.php?name=Downloads&d_op=viewdownload&cid=28


use my english forum, if support is needed.

take care bros
Find all posts by vinceneilView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.033 Seconds - 228 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::