Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.00.00 - v2.02.00 Distro
Author Message
blith
Client


Joined: Jul 18, 2003
Posts: 977

PostPosted: Thu Mar 16, 2006 11:57 am Reply with quote

block used here, with the avie image and IP addy. Well when I use the regular Who is Online block the security graphic shows up. When I use Raven's heavily modified one I get the red X. I did a search on this site and saw all sorts of solutions I tried a suggestion by Chatserv and that didn't work. I checked many files for the space at the tale end but I did not find one and I do not use text or wordpad to edit files anyway. So what can be the problem? It works on one but not the other. My properties on the grfx say
Code:
http://www.mysite.com/modules.php?name=Your_Account&op=gfx&random_num=330042
 
View user's profile Send private message Visit poster's website
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9456
Location: Arizona

PostPosted: Thu Mar 16, 2006 1:05 pm Reply with quote

Sorry for this question, but I want to make sure here. You really don't have Only registered users can see links on this board! Get registered or login! in front of this right? If you do, had you changed the site url in your Preferences to be your real URL?

_________________
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! 
View user's profile Send private message Visit poster's website
blith
PostPosted: Thu Mar 16, 2006 2:41 pm Reply with quote

No I have my URL in there but I changed it for some anonymity... Wink
 
montego
PostPosted: Thu Mar 16, 2006 2:57 pm Reply with quote

Interesting. I have the following two lines of code in my version (same base version I believe). I have no idea why I changed that line or even if I did change it!

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


I cannot find it anywhere in my notes. Try it and see if it works.
 
blith
PostPosted: Fri Mar 17, 2006 8:38 am Reply with quote

Where is that code?
 
montego
PostPosted: Fri Mar 17, 2006 8:42 am Reply with quote

blith, are you using the latest Site Info 2.1.1 version? I know that you said "Who is Online" in your original topic title, but as soon as you mentioned the gfx code, that makes me think you really meant Raven's Site Info block.

So, I guess I have to ask. Just what, exactly, are we talking about here? Laughing
 
blith
PostPosted: Fri Mar 17, 2006 9:13 am Reply with quote

I downloaded Raven's Site info block that is available here in the download section... I am not sure which version it is. I think it is the version prior to the one Raven is using. (He won't give that one to us...) hee hee.
 
montego
PostPosted: Fri Mar 17, 2006 6:50 pm Reply with quote

And you can't find any of that code in there? It is what I have.
 
blith
PostPosted: Mon Mar 20, 2006 9:00 am Reply with quote

montego wrote:
Interesting. I have the following two lines of code in my version (same base version I believe). I have no idea why I changed that line or even if I did change it!

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


I cannot find it anywhere in my notes. Try it and see if it works.


I found this.
Code:
$sql    = "SELECT version_num FROM ".$user_prefix."_config";

      $result = $db->sql_query($sql);
      $row    = $db->sql_fetchrow($result);
      $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";
      $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";
    }
 
montego
PostPosted: Mon Mar 20, 2006 6:18 pm Reply with quote

Ok, so see the line in mine that is NOT commented out vs. the line that is in mine. Do something similar with yours. If look closely at it, the line I commented out in my version is the same as what you have in yours! So, make yours look like mine.
 
blith
PostPosted: Wed Mar 22, 2006 10:49 am Reply with quote

That seems to have done it. Is this something that needs to be addressed in next iteration? Why does it happen? I like to know th reason for the errors also. Thanks Montego
 
pete910
New Member
New Member


Joined: Mar 28, 2006
Posts: 6

PostPosted: Wed Apr 05, 2006 4:57 pm Reply with quote

Do you mean the one like on my site Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.00.00 - v2.02.00 Distro

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 ©