Author |
Message |
anarcho
Hangin' Around

Joined: Jan 17, 2006
Posts: 38
|
Posted:
Thu Jun 01, 2006 2:31 am |
|
using rwsRavenNuke76_v2.02.02_FULL with Site Info v2.2.1 and all works really well apart for i get this in the user info
appears that i have something missing though not sure. help anyone? |
|
|
|
 |
kguske
Site Admin

Joined: Jun 04, 2004
Posts: 6437
|
Posted:
Thu Jun 01, 2006 6:29 am |
|
Does your security code work on the Your_Account and admin login pages? It could be many issues, including your PHP graphics library support. |
_________________ I search, therefore I exist...
Only registered users can see links on this board! Get registered or login! |
|
|
 |
anarcho

|
Posted:
Thu Jun 01, 2006 6:34 am |
|
kguske wrote: | Does your security code work on the Your_Account and admin login pages? It could be many issues, including your PHP graphics library support. |
yes it works fine on those pages just not on Site Info v2.2.1 part. |
|
|
|
 |
anarcho

|
Posted:
Thu Jun 01, 2006 6:39 am |
|
also noted that on here it says at top 'Site Info v2.2.1' yet mine says 'User Info' |
|
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Thu Jun 01, 2006 6:56 am |
|
I am not sure any more why I did this, but it works for me. See the original commented out code and the one line above it that works for me:
Code:
$content .=""._SECURITYCODE.":<br><img src='?gfx=gfx&random_num=$random_num' border='1' alt='"._SECURITYCODE."' title='"._SECURITYCODE."'>\n";
// $content .=""._SECURITYCODE.": <img src='modules.php?name=Your_Account&op=gfx&random_num=$random_num' border='1' alt='"._SECURITYCODE."' title='"._SECURITYCODE."'>\n";
|
|
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
 |
anarcho

|
Posted:
Thu Jun 01, 2006 9:52 am |
|
that appears to have sorted it out thx |
|
|
|
 |
montego

|
Posted:
Thu Jun 01, 2006 11:10 am |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Sun Jul 16, 2006 10:44 am |
|
This is why there's a problem with RavenNuke.
Quote: |
$vn = doubleval($row[0]);
if ($vn<7.5) $gfxOp = 'op';
else $gfxOp = 'gfx';
mt_srand ((double)microtime()*1000000);
$maxran = 1000000;
$random_num = mt_rand(0, $maxran);
$content .= ""._SECURITYCODE.":<br /><img src='modules.php?name=Your_Account&$gfxOp=gfx&random_num=$random_num' border='1' alt='"._SECURITYCODE."' title='"._SECURITYCODE."' />\n";
|
$vn is coming from the version_number field in the nuke_config table. That field is a character field and the version number is not reliable. So, I will have to look into rewriting that logic. Thanks. |
|
|
|
 |
mugen
New Member


Joined: Jun 19, 2006
Posts: 1
|
Posted:
Fri Aug 04, 2006 11:36 am |
|
Thanks, i been searching this forum for the last few days trying to fix this problem on mine. The solution above works. |
|
|
|
 |
Guardian2003
Site Admin

Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Fri Aug 04, 2006 12:54 pm |
|
Thanks for the feedback mugen and also for using the search functions  |
|
|
|
 |
spiritwulf
New Member


Joined: Feb 10, 2006
Posts: 18
|
Posted:
Sat Aug 26, 2006 3:57 pm |
|
Montego, which file did you reference that line of code from? im havin the same problem. Security image shows in every point within the website EXCEPT in the userinfo block. The really annoying part is i have it on several of my sites (on the same server) and it is working there but not on one particular site. Cant find what i have different on them that is missing on this one. /sigh |
|
|
|
 |
montego

|
Posted:
Sat Aug 26, 2006 5:20 pm |
|
That is the Site Info block from Raven's site here. The file is:
blocks/block-Site_Info.php |
|
|
|
 |
waka
New Member


Joined: Aug 24, 2006
Posts: 21
|
Posted:
Fri Sep 29, 2006 5:58 am |
|
Thank you all, this one also helped me.
Regards,
JC |
|
|
|
 |
dogpowell
Regular


Joined: Oct 01, 2006
Posts: 50
Location: UK
|
Posted:
Mon Oct 02, 2006 5:07 am |
|
Thanks ........ Any chance somebody could edit the file in the downloads section on this site as it still has the buggy line.
Thanks |
|
|
|
 |
Bluezzz
Involved


Joined: Feb 08, 2005
Posts: 290
Location: USA
|
Posted:
Wed Oct 11, 2006 2:18 am |
|
This is also a problem for me on RN76 (latest release) ... I'll try the suggestion above, keep your fingers crossed : o}
*EDIT*
The fix above worked for me! |
_________________ Bluezzz
~ Stop & smell the roses, while you can! ~ |
|
|
 |
montego

|
Posted:
Wed Oct 11, 2006 7:01 am |
|
Bluezzz, I have actually found additional issues with the security code that I have fixed in 2.10.00 a slightly different way. It affects ShortLinks (aka: GoogleTap and GT-NExtGEn) as well. Since we are so close to releasing this, I am not going to post the lengthy updates here. Just wanted you to be "aware". |
|
|
|
 |
Raven

|
Posted:
Wed Oct 11, 2006 9:59 am |
|
Montego, does your fix, mentioned above, work on 7.4 and prior? |
|
|
|
 |
montego

|
Posted:
Wed Oct 11, 2006 8:17 pm |
|
All I did was force the img src to be index.php? based rather than leaving it up to whatever based URL is active at the time. I could probably just used even modules.php and gotten the same result. It seems to work just fine and forces the URL to be consistent for "tapping" as well.
Unfortunately, don't know about 7.4. I have only worked with 7.5 and higher and have only used 7.4 for very cursory module/block testing. |
|
|
|
 |
ragetti
New Member


Joined: Oct 08, 2006
Posts: 2
|
Posted:
Tue Oct 17, 2006 12:56 pm |
|
i have tried the above solution and this has not helped my info block, it is the same block from the site here, this is the code i have, anybody got any idea?
Quote: | $random_num = mt_rand(0, $maxran);
$content .=""._SECURITYCODE.":<br><img src='?gfx=gfx&random_num=$random_num' border='1' alt='"._SECURITYCODE."' title='"._SECURITYCODE."'>\n";
// $content .=""._SECURITYCODE.": <img src='modules.php?name=Your_Account&op=gfx&random_num=$random_num' border='1' alt='"._SECURITYCODE."' title='"._SECURITYCODE."'>\n"; $content .= "<br />"._TYPESECCODE.": <input type=\"text\" name=\"gfx_check\" size=\"12\" maxlength=\"8\"><br>\n";
$content .= "<input type=\"hidden\" name=\"random_num\" value=\"$random_num\">\n";
} |
many thanks
Ragetti |
|
|
|
 |
montego

|
Posted:
Tue Oct 17, 2006 4:27 pm |
|
Try using the following but test it from the home page, Your Account and Forums at a minimum...
$content .=""._SECURITYCODE.":<br><img src='index.php?gfx=gfx&random_num=$random_num' border='1' alt='"._SECURITYCODE."' title='"._SECURITYCODE."'>\n"; |
|
|
|
 |
ragetti

|
Posted:
Wed Oct 18, 2006 12:12 am |
|
no, still getting the same problem.
any other ideas? |
|
|
|
 |
evaders99
Former Moderator in Good Standing

Joined: Apr 30, 2004
Posts: 3221
|
Posted:
Wed Oct 18, 2006 10:21 am |
|
Go to the image link it generates and go to view source. If you see any blank lines before the initial jumble of characters, it means somewhere in your code, you have blank lines being outputted. That means usually a blank line before the starting <? PHP tags |
_________________ - Only registered users can see links on this board! Get registered or login! -
Need help? Only registered users can see links on this board! Get registered or login! |
|
|
 |
Raven

|
Posted:
Wed Oct 18, 2006 12:05 pm |
|
|
|
 |
|