Author |
Message |
Carryconcealed
Hangin' Around

Joined: Jan 31, 2004
Posts: 35
|
Posted:
Sat Jan 31, 2004 10:47 pm |
|
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 |
|
|
|
 |
Nukeum66
Life Cycles Becoming CPU Cycles

Joined: Jul 30, 2003
Posts: 551
Location: Neurotic, State, USA
|
Posted:
Sat Jan 31, 2004 11:06 pm |
|
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 |
|
|
 |
Carryconcealed

|
Posted:
Sat Jan 31, 2004 11:20 pm |
|
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

|
Posted:
Sat Jan 31, 2004 11:34 pm |
|
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

|
Posted:
Sat Jan 31, 2004 11:35 pm |
|
Read this it may help
Only registered users can see links on this board! Get registered or login! |
|
|
|
 |
Carryconcealed

|
Posted:
Sat Jan 31, 2004 11:48 pm |
|
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
|
Posted:
Sun Feb 01, 2004 12:54 am |
|
|
|
 |
Nukeum66

|
Posted:
Sun Feb 01, 2004 7:31 am |
|
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

|
Posted:
Sun Feb 01, 2004 12:55 pm |
|
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

|
Posted:
Sun Feb 01, 2004 1:04 pm |
|
$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
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

|
Posted:
Sun Feb 01, 2004 1:10 pm |
|
Did you follow these instructions? I'm sure you did, but I have to ask....
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

|
Posted:
Sun Feb 01, 2004 1:12 pm |
|
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

|
Posted:
Sun Feb 01, 2004 1:22 pm |
|
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

|
Posted:
Sun Feb 01, 2004 2:43 pm |
|
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

|
Posted:
Sun Feb 01, 2004 10:15 pm |
|
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

|
Posted:
Sun Feb 01, 2004 10:34 pm |
|
I should have ask you this first, but then we wouldn't have had all this FUN  |
|
|
|
 |
Carryconcealed

|
Posted:
Tue Feb 03, 2004 10:33 am |
|
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. |
|
|
|
 |
|