Welcome Guest!   Please Login or Register
Subscribe Today

You are not subscriber of DaDaNuke | Making PHP-Nuke Better!. You can subscribe from here now!

Sponsored Links




Search




Site Navigation

· Home
· About Us
· Advertise With Us
· Club
· CVS
· Downloads
· Feedback
· Forums
· Gallery
· Groups
· Journal
· Private Messages
· Search
· Stories Archive
· Submit News
· Top 10
· Topics
· Web Links
· Your Account

Survey

I Want This Addon:

SEO
Gaming
Commerce
Database
Security



Results
Polls

Votes 562

Advertisers





Who's Online

There are currently, 26 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here

Total Hits

We received
3861828
page views since September 2005




DaDaNuke :: View topic - [FIX] Headlines Admin Stripping Empty Spaces (emilacosta)
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log inLog in 

[FIX] Headlines Admin Stripping Empty Spaces (emilacosta)

 
Post new topic   Reply to topic    DaDaNuke Forum Index -> PHP-Nuke
View previous topic :: View next topic  
Author Message
Mtwo
dadaClub
dadaClub


Joined: Mar 14, 2006
Posts: 42


PostPosted: Thu Nov 30, 2006 4:37 pm    Post subject: [FIX] Headlines Admin Stripping Empty Spaces (emilacosta) Reply with quote

Bug: Spaces being stripped from Site Name Field in Headlines Administration

I was testing out PHP-Nuke 8.0.0.3.3 and was adding headline feeds through the Headlines Administration and noticed that spaces were stripped from the Site Name field. I noticed that Raven Web Services was spaced correctly in its initial display, but if you edit that headline, saving the Site Name as 'Raven Web Services' it will change to 'RavenWebServices'.

How do we stop nuke from stripping the spaces from the Headlines Administration module, or from other fields within other modules, if this is a site wide issue? Please let me know.

Michael
Back to top
View user's profile Send private message
dadaBIT
General Manager
General Manager


Joined: Jun 23, 2005
Posts: 582
Location: United States

PostPosted: Thu Dec 21, 2006 11:58 am    Post subject: Reply with quote

Hello loyal subscriber! Good one, just tested on this site (same build) and you are correct.

Quote:
How do we stop nuke from stripping the spaces from the Headlines Administration module, or from other fields within other modules, if this is a site wide issue?


Have you noticed this anywhere else?
_________________

Visit the DaDaNuke Wish List
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
emilacosta
dadaAdmin
dadaAdmin


Joined: Sep 19, 2005
Posts: 219
Location: Miami, FL

PostPosted: Thu Jan 11, 2007 12:15 pm    Post subject: Reply with quote

To fix this problem just go to admin/modules/blocks.php look for the function HeadlinesAdd and then comment the line that said:

Code:
$xsitename = ereg_replace(" ", "", $xsitename);


to

Code:
//$xsitename = ereg_replace(" ", "", $xsitename);


this does not represent a security problem because in two lines above you have this:

Code:
$xsitename = filter($xsitename, "nohtml", 1);


Enjoy. Wink
Back to top
View user's profile Send private message Visit poster's website
dadaBIT
General Manager
General Manager


Joined: Jun 23, 2005
Posts: 582
Location: United States

PostPosted: Tue Jan 16, 2007 7:32 am    Post subject: Reply with quote

Thanks emilacosta Exclamation Have added to the upcoming release. Very nice indeed!
_________________

Visit the DaDaNuke Wish List
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Display posts from previous:   
Post new topic   Reply to topic    DaDaNuke Forum Index -> PHP-Nuke All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
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 phpBB Group Version 2.0.6 of PHP-Nuke Port by Tom Nitzschner © 2002 www.toms-home.com
Theme designed by Western Studios



Terms of Use | Privacy Policy © 1996-2007, DaDaNuke

Listed on FeedBurner

PHP-Nuke Copyright © 2006 by Francisco Burzi. This is free software, and you may redistribute it under the GPL.
PHP-Nuke comes with absolutely no warranty, for details, see the license.

Theme Designed by Western Studios