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, 49 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 - Recommend Us module bug [ ]
 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
lastminutenuke
Nuke Cadet
Nuke Cadet


Joined: Sep 09, 2005
Posts: 9


PostPosted: Sun Nov 12, 2006 6:55 am Reply with quoteBack to top

Hi all,

I have Phpnuke 7.6 installed and the Recommend_Us module does not check for email correctness. Can somebody please tell me how I can make sure that this module checks for email validity before sending it of please.

for example, currently if you type nothing or spaces or words without '@' you still get this message 'The reference to our site has been sent to ...'.

Can somebody tell me how i can fix this problem for 'Recommend Us' module and 'Send to a Friend' function.

Many thanks in advance.
Find all posts by lastminutenukeView user's profileSend private message
Endeavour
Corporal
Corporal


Joined: Oct 22, 2006
Posts: 59


PostPosted: Sun Nov 12, 2006 10:13 am Reply with quoteBack to top

I just checked the code, and tried it on a test site. The code includes a validity check (validate_mail, mainfile.php) and it does work on my test site.

Are you sure your Nuke install is "ok"?

Open modules/RecommendUs/index.php, look at line 54 or so. Does it say this:

Code:
$fmail = validate_mail(check_html(removecrlf($fmail)));


(the important bit being the validate_mail call).

_________________
Stand up for courtesy and decency in the Nuke community, don't support nukeforums.
Find all posts by EndeavourView user's profileSend private message
lastminutenuke
Nuke Cadet
Nuke Cadet


Joined: Sep 09, 2005
Posts: 9


PostPosted: Sun Nov 12, 2006 11:34 am Reply with quoteBack to top

It is installed correctly, but I coundnt find the line you specified above. I tried to paste the code here but NukeCops site doesnt allow me. Could you please send a copy of your Recommend Us index file to me.

I have been to several phpnuke websites trying to find out if it was just my site but no.

test this http://demo.opensourcecms.com/phpnuke/modules.php?name=Recommend_Us

http://osc.template-help.com/sample_phpnuke/modules.php?name=Recommend_Us

and type anything at the mail address or dont type anything.

thanks again.
Find all posts by lastminutenukeView user's profileSend private message
Endeavour
Corporal
Corporal


Joined: Oct 22, 2006
Posts: 59


PostPosted: Mon Nov 13, 2006 11:09 am Reply with quoteBack to top

It must be something to do with the version of Nuke you're using. I suggest you consider downloading Nuke 7.6 with chatserv's patches and using it instead. Your database will be fine of course but you'll lose any mods or hacks you added. But, if you're missing this check in your Nuke version, who knows what else you're missing.

_________________
Stand up for courtesy and decency in the Nuke community, don't support nukeforums.
Find all posts by EndeavourView user's profileSend private message
lastminutenuke
Nuke Cadet
Nuke Cadet


Joined: Sep 09, 2005
Posts: 9


PostPosted: Mon Nov 13, 2006 11:33 am Reply with quoteBack to top

Thanks for your help. I will take a look at the possibility of upgrading.
Find all posts by lastminutenukeView 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
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.173 Seconds - 191 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::