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 -> phpnuke 7.5
Author Message
montego
Site Admin



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

PostPosted: Mon Oct 04, 2004 10:34 pm Reply with quote

I was working on installing the Site Info block from this site on my 7.5 patched (2.6) version of nuke. I was not getting the security graphic, but all other functionality appeared to be working. Since I was working on a very clean 7.5 w/2.6 as my test environment, I was pretty sure that the link used to display the graphic had changed between versions.

Now, I have no idea if this has already been posted somewhere. I tried searching all over the place, but am a relative newbie to Nuke and phpBB, so I may have missed it, but I found the piece of code that needed to change and now it works great.

If interested, find this code within Raven's Site Info file block-Site_Info.php (at around line 251):

Code:
$content .=""._SECURITYCODE.": <img src='modules.php?name=Your_Account&op=gfx&random_num=$random_num' border='1' alt='"._SECURITYCODE."' title='"._SECURITYCODE."'>\n";


and modify the img src link as follows:

Code:
$content .=""._SECURITYCODE.": <img src='?gfx=gfx&random_num=$random_num' border='1' alt='"._SECURITYCODE."' title='"._SECURITYCODE."'>\n";


Now, I would bet that this could be done better to make it suitable for all versions, but since I was needing a quick fix, I just hard-coded the change. Is there some standard, simple way to do version checking or some global variable already set that can be tested?

Anyways, hope this helps someone...

montego
 
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Mon Oct 04, 2004 10:37 pm Reply with quote

Yes, it's been covered a few times, but one more never hurts Wink
[ Only registered users can see links on this board! Get registered or login! ]
 
View user's profile Send private message
montego







PostPosted: Mon Oct 04, 2004 10:46 pm Reply with quote

Sorry about that! Not sure why I am not finding these things. I searched for almost an hour, finally gave up, and looked for a fix myself. I think it may be because sometimes I have to read through the entire Forum to find the exact post that answers my question. Very tedious.

I have to find a better process for myself to get beyond this. I hate wasting time and wasting others as well.

Again, sorry about that. Still learning... (just proud of myself that I actually came to the same resolution
Very Happy )

montego
 
Raven







PostPosted: Mon Oct 04, 2004 10:54 pm Reply with quote

Don't worry about it! I just did a search for 'gfx' and then like you said, you have to hunt and peck Laughing
 
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 -> phpnuke 7.5

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 ©