Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security - PHP Nuke
Author Message
dean
Worker
Worker


Joined: Apr 14, 2004
Posts: 193

PostPosted: Thu Feb 17, 2005 12:36 pm Reply with quote

Wondering if anyone has come across or created a mod to Nuke news that will allow users to submit photos with their submissions. Ideally, such a module would automatically resize photos so that the tables are not disrupted. I need to save time editing news submissions and such a module would be handy. Thanks!
 
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2496

PostPosted: Thu Feb 17, 2005 1:08 pm Reply with quote

Only registered users can see links on this board! Get registered or login!
I posted a hack to resize to a standard size and they have also released an image editor addon. All this is somewhat beta ish and may have some security issues to take into consideration when using.

_________________
[b][size=5]openSUSE 11.4-x86 | Linux 2.6.37.1-1.2desktop i686 | KDE: 4.6.41>=4.7 | XFCE 4.8 | AMD Athlon(tm) XP 3000+ | MSI K7N2 Delta-L | 3GB Black Diamond DDR
| GeForce 6200@433Mhz 512MB | Xorg 1.9.3 | NVIDIA 270.30[/size:2b8 
View user's profile Send private message
dean
PostPosted: Thu Feb 17, 2005 10:23 pm Reply with quote

Thanks for the quick reply. I installed FCKeditor V1.24 - mod for PHPNuke 6.9 V0.2. Since I dont understand German, I'm hoping this was the right version for my nuke 7.3. Immediately tried to upload an article with tabulated data which was disallowd by nuke. I saw reference to a downloaded fix but it included a changed mainfile.php. I wish manual install instructions were provided cause I realllly hate to substitute that file - did you use that or did you find your own workaround (saw your other reply to my post on that subject).
 
sixonetonoffun
PostPosted: Thu Feb 17, 2005 10:32 pm Reply with quote

I used FCKeditor 2.0Rc2 the manual edit is pretty simple to replace a text field something like this is all it takes. page would have been the name of the original text field.
Code:


if (is_active("FCKeditor")) {
// include Editor Start
@include("modules/FCKeditor/fckeditor.php");
// include Editor Ende
// Editor Start
$oFCKeditor = new FCKeditor(page) ;
$oFCKeditor->InstanceName = "page" ;
$oFCKeditor->Value = "$page" ;
$oFCKeditor->Create() ;
// Editor Ende
}else{
normal text fields stuff here
}


I'll have to look at your other post again.
 
dean
PostPosted: Fri Feb 18, 2005 1:52 am Reply with quote

ah, the newer version doesnt require edit of the mainfile.php. Ill delete the other version and try this one.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security - PHP Nuke

View next topic
View previous 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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©