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 6.8
Author Message
Carryconcealed
Hangin' Around



Joined: Jan 31, 2004
Posts: 35

PostPosted: Sat Jan 31, 2004 10:47 pm Reply with quote

Hi,

I am trying to install the siteinfo block to my site.

The readme says:

>This has been updated to use the Security Graphics Code Check and the >$gfx_chk setting for Nuke 6.9. If you try to use this on versions prior to >6.9 you will need to add this line to your config.php

>$gfx_chk = 7;

Where in the config file does it go?

I tried putting it in, but now the security code images don't show up and I can't login!

I have done everything else in the install text.

I am using PHP-Nuke 6.8

My site is http://www.carryconcealed.com

Thanks

Carryconcealed
 
View user's profile Send private message Send e-mail
Nukeum66
Life Cycles Becoming CPU Cycles



Joined: Jul 30, 2003
Posts: 551
Location: Neurotic, State, USA

PostPosted: Sat Jan 31, 2004 11:06 pm Reply with quote

Here....

$dbhost = "local";
$dbuname = "XXXXX";
$dbpass = "XXXXX";
$dbname = "your_nuke";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
$sitekey = "your_site_key";
$gfx_chk = 7;

_________________
Scott Johnson MIS Ubuntu/Linux 11.10 
View user's profile Send private message Visit poster's website
Carryconcealed







PostPosted: Sat Jan 31, 2004 11:20 pm Reply with quote

Thanks for the quick response,

That's where I put it, but it still doesn't work.

Is there anyway to disable the security codes?

Carryconcealed
 
Carryconcealed







PostPosted: Sat Jan 31, 2004 11:34 pm Reply with quote

Also I noticed it doesn't show these sections in the block.

Online Now:

We received
658729
page views since
July 29, 2002


Hits New Today: 2036
Hits New Yesterday: 2007


--------------------------------------------------------------------------------

Server Date/Time
31 January 2004 22:31:58 MST (GMT -7
 
Nukeum66







PostPosted: Sat Jan 31, 2004 11:35 pm Reply with quote

Read this it may help

Only registered users can see links on this board! Get registered or login!
 
Carryconcealed







PostPosted: Sat Jan 31, 2004 11:48 pm Reply with quote

ok, that worked. But there is still a problem.

The block doesn't show the security code. So you login in the block, and then are sent to another page in the center telling you your login was incorrect and then a security code shows up allowing you to login.

How can I get the same Site Info block on this site that shows the security code in the block or will it not work in 6.8?
 
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sun Feb 01, 2004 12:54 am Reply with quote

Try $gfx_chk = 0;
 
View user's profile Send private message
Nukeum66







PostPosted: Sun Feb 01, 2004 7:31 am Reply with quote

If you downloaded it from here it's the same block used here and it works with 6.8
Have you tried to edit or opened the block-site_info.php in an editor?
If so the editor your using may have added blank lines to the bottom of that file.

Notepad is known for doing this!

Here is a great editor: Only registered users can see links on this board! Get registered or login!
 
Carryconcealed







PostPosted: Sun Feb 01, 2004 12:55 pm Reply with quote

I tried $gfx_chk = 0; but that doesn't do anything different.

I still don't get a security code for login for the block.

I also don't get the option to logout from the block like this site has or hits and page views or server date/time like this site has.

Carryconcealed
 
Nukeum66







PostPosted: Sun Feb 01, 2004 1:04 pm Reply with quote

$gfx_chk = 0; turns the code OFF
$gfx_chk = 7; turns the code ON Everywhere
I think Raven thought you wanted to turn it off Smile

I downloaded the block in the download section and re-installed it on my site to test it and it works fine, I even tried it with the same theme your using on your site everything worked.
 
Nukeum66







PostPosted: Sun Feb 01, 2004 1:10 pm Reply with quote

Did you follow these instructions? I'm sure you did, but I have to ask.... Wink

To install, just copy the block-Site_Info.php file to your PHPNuke/block directory. Activate the block through the Admin panel.

Copy the lines in the language.txt file to the PHPNuke/languages directory in the files that you allow for your site.

Put the images into the images/blocks directory.

With this release, you need to also copy the UserInfoAddons module to your modules directory. You do not need to active it however.

If you also install the Resend_Email module, the block will recognize that module and will allow the hyperlink from the Waiting link directly to that module.
 
Raven







PostPosted: Sun Feb 01, 2004 1:12 pm Reply with quote

Nukeum66 wrote:
I think Raven thought you wanted to turn it off
Oops, sorry about that!

Save this code to some file (chk.php), load it to your nuke root web directory and run it. Then post back the results.
Code:
<?

if (@extension_loaded("gd")) echo 'GD found';
else echo "GD NOT found.";
if (file_exists('modules/Your_Account/images/code_bg.jpg')) echo '<br /><br />Security graphic found in Your Account';
else echo '<br /><br />Security graphic NOT found in Your Account';
if (file_exists('images/admin/code_bg.jpg')) echo '<br /><br />Security graphic found in Admin';
else echo '<br /><br />Security graphic NOT found in Admin';
@include('config.php');
echo "<br /><br />\$gfx_chk = $gfx_chk";
?>
 
Nukeum66







PostPosted: Sun Feb 01, 2004 1:22 pm Reply with quote

The images shows in Only registered users can see links on this board! Get registered or login! and everywhere else on his site just not in the Site_Info block ...
 
Nukeum66







PostPosted: Sun Feb 01, 2004 2:43 pm Reply with quote

Did you?

go to admin panel > blocks

deactivate User_Info block then scroll down to (Add a New Block)

Using the drop-down menu (Filename:) select SITE INFO block

then click CREATE BLOCK
 
Carryconcealed







PostPosted: Sun Feb 01, 2004 10:15 pm Reply with quote

Nukeum66 wrote:
Did you?

go to admin panel > blocks

deactivate User_Info block then scroll down to (Add a New Block)

Using the drop-down menu (Filename:) select SITE INFO block

then click CREATE BLOCK


This did the trick. All works now.

Thanks for the help and the great site!
 
Nukeum66







PostPosted: Sun Feb 01, 2004 10:34 pm Reply with quote

I should have ask you this first, but then we wouldn't have had all this FUN Laughing
 
Carryconcealed







PostPosted: Tue Feb 03, 2004 10:33 am Reply with quote

It was fun, I learned some good stuff and we still needed to go through the whole thing because I would never have known that about the extra lines added at the end of the pages. So all in all it was worth it.
 
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 6.8

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 ©