| Author |
Message |
irandoct
Corporal


Joined: Sep 27, 2003
Posts: 55
Location: Kerman , Iran
|
Posted:
Mon Oct 25, 2004 2:06 am |
  |
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 |
|
|
         |
 |
saaa
Nuke Cadet


Joined: Nov 18, 2006
Posts: 7
|
Posted:
Wed Jan 24, 2007 5:41 pm |
  |
I'm having the same problem the security code is not showing. |
|
|
   |
 |
Jamz
Nuke Soldier


Joined: Nov 30, 2006
Posts: 12
|
Posted:
Wed Mar 14, 2007 1:42 pm |
  |
I am also having the same problem, anyone know how to fix this?! |
|
|
   |
 |
hue
Support Mod


Joined: Apr 18, 2003
Posts: 368
Location: Ohio
|
Posted:
Wed Mar 14, 2007 1:57 pm |
  |
| Jamz wrote: |
| I am also having the same problem, anyone know how to fix this?! |
http://nukecops.com/PHP-Nuke_security-code.html |
|
|
    |
 |
Jamz
Nuke Soldier


Joined: Nov 30, 2006
Posts: 12
|
Posted:
Wed Mar 14, 2007 2:02 pm |
  |
|
   |
 |
Jamz
Nuke Soldier


Joined: Nov 30, 2006
Posts: 12
|
Posted:
Wed Mar 14, 2007 2:16 pm |
  |
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  |
_________________ .: Jamz :. |
|
   |
 |
hue
Support Mod


Joined: Apr 18, 2003
Posts: 368
Location: Ohio
|
Posted:
Wed Mar 14, 2007 2:23 pm |
  |
| 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  |
Glad to hear . 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  |
|
|
    |
 |
Jamz
Nuke Soldier


Joined: Nov 30, 2006
Posts: 12
|
Posted:
Wed Mar 14, 2007 2:26 pm |
  |
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 ... wondered why new users died right down to 0 once i installed google tap  |
|
|
   |
 |
StevieRaay
Nuke Cadet


Joined: Apr 25, 2007
Posts: 1
|
Posted:
Wed Apr 25, 2007 8:04 am |
  |
| 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  |
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. |
|
|
   |
 |
|
|