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, 103 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 - Problem with security code [ ]
 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
irandoct
Corporal
Corporal


Joined: Sep 27, 2003
Posts: 55

Location: Kerman , Iran

PostPosted: Mon Oct 25, 2004 2:06 am Reply with quoteBack to top

I'm using GT-NExtGEn, When i try some modules of my site like Your_Accounts security code doesn't shown.
Please visit my site and help me resolve this :
http://www.iranportals.net
regards
Find all posts by irandoctView user's profileSend private messageSend e-mailVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
saaa
Nuke Cadet
Nuke Cadet


Joined: Nov 18, 2006
Posts: 7


PostPosted: Wed Jan 24, 2007 5:41 pm Reply with quoteBack to top

I'm having the same problem the security code is not showing.
Find all posts by saaaView user's profileSend private message
Jamz
Nuke Soldier
Nuke Soldier


Joined: Nov 30, 2006
Posts: 12


PostPosted: Wed Mar 14, 2007 1:42 pm Reply with quoteBack to top

I am also having the same problem, anyone know how to fix this?!
Find all posts by JamzView user's profileSend private message
hue
Support Mod
Support Mod


Joined: Apr 18, 2003
Posts: 368

Location: Ohio

PostPosted: Wed Mar 14, 2007 1:57 pm Reply with quoteBack to top

Jamz wrote:
I am also having the same problem, anyone know how to fix this?!
http://nukecops.com/PHP-Nuke_security-code.html
Find all posts by hueView user's profileSend private messageICQ Number
Jamz
Nuke Soldier
Nuke Soldier


Joined: Nov 30, 2006
Posts: 12


PostPosted: Wed Mar 14, 2007 2:02 pm Reply with quoteBack to top

It worked before i put google tap on...

Ive found the problem... instead of having the image point here:
http://www.swiftowners.co.uk/modules.php?gfx=gfx&random_num=252672

Which works

It goes here:
http://www.swiftowners.co.uk/account-new_user.html?gfx=gfx&random_num=118682

which doesnt correspond to anything... its not defined anywhere in the googletap .htaccess or the php file.
Find all posts by JamzView user's profileSend private message
Jamz
Nuke Soldier
Nuke Soldier


Joined: Nov 30, 2006
Posts: 12


PostPosted: Wed Mar 14, 2007 2:16 pm Reply with quoteBack to top

Found a fix for now:

open up modules > Your_Account > Index.php

Find:
echo "<tr><td>"._SECURITYCODE.":</td><td>

Should be round line 682

Inline find <img src=?gfx=gfx&random_num=$random_num' border='1'

Before the ? and infront of <img src=

add your site url followed by modules.php

so it should look like

<img src='http://YOURSITE/modules.php?gfx=gfx&random_num=$random_num' border='1'


Fixed it for me Very Happy

_________________
.: Jamz :.
Find all posts by JamzView user's profileSend private message
hue
Support Mod
Support Mod


Joined: Apr 18, 2003
Posts: 368

Location: Ohio

PostPosted: Wed Mar 14, 2007 2:23 pm Reply with quoteBack to top

Jamz wrote:
Found a fix for now:

open up modules > Your_Account > Index.php

Find:
echo "<tr><td>"._SECURITYCODE.":</td><td>

Should be round line 682

Inline find <img src=?gfx=gfx&random_num=$random_num' border='1'

Before the ? and infront of <img src=

add your site url followed by modules.php

so it should look like

<img src='http://YOURSITE/modules.php?gfx=gfx&random_num=$random_num' border='1'


Fixed it for me Very Happy

Glad to hear . Smile I am not an expert on that Google Tap by any means, infact, I was going to suggest checking your .htaccess and looking at your mod_rewrite rules Confused
Find all posts by hueView user's profileSend private messageICQ Number
Jamz
Nuke Soldier
Nuke Soldier


Joined: Nov 30, 2006
Posts: 12


PostPosted: Wed Mar 14, 2007 2:26 pm Reply with quoteBack to top

I was looking at the mod rewrite rule's and there is one missing to define where to look for that image, but i couldnt get my head around it, so thought just to edit the main code for now.

Least users can now sign up to the site Very Happy... wondered why new users died right down to 0 once i installed google tap Laughing
Find all posts by JamzView user's profileSend private message
StevieRaay
Nuke Cadet
Nuke Cadet


Joined: Apr 25, 2007
Posts: 1


PostPosted: Wed Apr 25, 2007 8:04 am Reply with quoteBack to top

Jamz wrote:
Found a fix for now:

open up modules > Your_Account > Index.php

Find:
echo "<tr><td>"._SECURITYCODE.":</td><td>

Should be round line 682

Inline find <img src=?gfx=gfx&random_num=$random_num' border='1'

Before the ? and infront of <img src=

add your site url followed by modules.php

so it should look like

<img src='http://YOURSITE/modules.php?gfx=gfx&random_num=$random_num' border='1'


Fixed it for me Very Happy


I had it working in two of three places. It worked on my Admin Login (admin.php) and on my User Info block. It did not work in my Your_Account module.

This is what I found in my Admin.php:

    if ($Version_Num < 7.5) {
    $security_code_url = "modules.php?name=Your_Account&op=gfx&random_num=$random_num";
    } elseif ($Version_Num >= 7.5) {
    $security_code_url = "?gfx=gfx&random_num=$random_num";
    }


It looks like the call to the Security Code image changed at v7.5. All I did was edit every .php file I have where there was _SECURITYCODE and a $gfx_chk (I found these may be different, depending on who wrote the block, module, etc...). If I found the pre v7.5 call to the Security Image, then I changed it. Now it works everywhere.

All that crap that was returned by Google about language files and extra lines after the ?> had nothing to do with it.

I'm done beating my head against the wall now. Although, I shouldn't complain. I've only exposed myself to Apache, MySQL, .PHP (PHPNuke) a week ago.
Find all posts by StevieRaayView 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.045 Seconds - 1275 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::