Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks
Author Message
anarcho
Hangin' Around



Joined: Jan 17, 2006
Posts: 38

PostPosted: Thu Jun 01, 2006 2:31 am Reply with quote

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

Image


appears that i have something missing though not sure. help anyone?
 
View user's profile Send private message Visit poster's website
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6433

PostPosted: Thu Jun 01, 2006 6:29 am Reply with quote

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...
nukeSEO - nukeFEED - nukePIE - nukeSPAM - nukeWYSIWYG
 
View user's profile Send private message
anarcho







PostPosted: Thu Jun 01, 2006 6:34 am Reply with quote

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







PostPosted: Thu Jun 01, 2006 6:39 am Reply with quote

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

PostPosted: Thu Jun 01, 2006 6:56 am Reply with quote

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";

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
anarcho







PostPosted: Thu Jun 01, 2006 9:52 am Reply with quote

that appears to have sorted it out thx
 
montego







PostPosted: Thu Jun 01, 2006 11:10 am Reply with quote

RavensScripts
 
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sun Jul 16, 2006 10:44 am Reply with quote

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&amp;$gfxOp=gfx&amp;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.
 
View user's profile Send private message
mugen
New Member
New Member



Joined: Jun 19, 2006
Posts: 1

PostPosted: Fri Aug 04, 2006 11:36 am Reply with quote

Thanks, i been searching this forum for the last few days trying to fix this problem on mine. The solution above works.
 
View user's profile Send private message
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Fri Aug 04, 2006 12:54 pm Reply with quote

Thanks for the feedback mugen and also for using the search functions Wink
 
View user's profile Send private message Send e-mail
spiritwulf
New Member
New Member



Joined: Feb 10, 2006
Posts: 18

PostPosted: Sat Aug 26, 2006 3:57 pm Reply with quote

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
 
View user's profile Send private message
montego







PostPosted: Sat Aug 26, 2006 5:20 pm Reply with quote

That is the Site Info block from Raven's site here. The file is:

blocks/block-Site_Info.php
 
waka
New Member
New Member



Joined: Aug 24, 2006
Posts: 21

PostPosted: Fri Sep 29, 2006 5:58 am Reply with quote

Thank you all, this one also helped me.

Regards,

JC
 
View user's profile Send private message
dogpowell
Regular
Regular



Joined: Oct 01, 2006
Posts: 50
Location: UK

PostPosted: Mon Oct 02, 2006 5:07 am Reply with quote

Thanks ........ Any chance somebody could edit the file in the downloads section on this site as it still has the buggy line.


Thanks
 
View user's profile Send private message
Bluezzz
Involved
Involved



Joined: Feb 08, 2005
Posts: 290
Location: USA

PostPosted: Wed Oct 11, 2006 2:18 am Reply with quote

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! ~ 
View user's profile Send private message
montego







PostPosted: Wed Oct 11, 2006 7:01 am Reply with quote

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







PostPosted: Wed Oct 11, 2006 9:59 am Reply with quote

Montego, does your fix, mentioned above, work on 7.4 and prior?
 
montego







PostPosted: Wed Oct 11, 2006 8:17 pm Reply with quote

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
New Member



Joined: Oct 08, 2006
Posts: 2

PostPosted: Tue Oct 17, 2006 12:56 pm Reply with quote

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
 
View user's profile Send private message Send e-mail
montego







PostPosted: Tue Oct 17, 2006 4:27 pm Reply with quote

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







PostPosted: Wed Oct 18, 2006 12:12 am Reply with quote

no, still getting the same problem.
any other ideas?
 
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Wed Oct 18, 2006 10:21 am Reply with quote

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

_________________
- Star Wars Rebellion Network -

Need help? Nuke Patched Core, Coding Services, Webmaster Services 
View user's profile Send private message Visit poster's website
Raven







PostPosted: Wed Oct 18, 2006 12:05 pm Reply with quote

Also, see this [ Only registered users can see links on this board! Get registered or login! ]
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks

View next topic
View previous 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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©