PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
Carryconcealed
Hangin' Around


Joined: Jan 31, 2004
Posts: 35

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

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
Only registered users can see links on this board!
Get registered or login to the forums!


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 Back to top

Here....

$dbhost = "local";
$dbuname = "XXXXX";
$dbpass = "XXXXX";
$dbname = "your_nuke";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
$sitekey = "your_site_key";
$gfx_chk = 7;
View user's profile Send private message Visit poster's website
Carryconcealed
Hangin' Around


Joined: Jan 31, 2004
Posts: 35

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

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


Joined: Jan 31, 2004
Posts: 35

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

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
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:35 pm Reply with quote Back to top

Read this it may help

Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Visit poster's website
Carryconcealed
Hangin' Around


Joined: Jan 31, 2004
Posts: 35

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

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?
View user's profile Send private message Send e-mail
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

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

Try $gfx_chk = 0;
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Nukeum66
Life Cycles Becoming CPU Cycles


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

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

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 to the forums!
View user's profile Send private message Visit poster's website
Carryconcealed
Hangin' Around


Joined: Jan 31, 2004
Posts: 35

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

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
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: Sun Feb 01, 2004 1:04 pm Reply with quote Back to top

$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.
View user's profile Send private message Visit poster's website
Nukeum66
Life Cycles Becoming CPU Cycles


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

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

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.
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

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

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";
?>
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Nukeum66
Life Cycles Becoming CPU Cycles


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

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

The images shows in
Only registered users can see links on this board!
Get registered or login to the forums!
and everywhere else on his site just not in the Site_Info block ...
View user's profile Send private message Visit poster's website
Nukeum66
Life Cycles Becoming CPU Cycles


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

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

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
View user's profile Send private message Visit poster's website
Carryconcealed
Hangin' Around


Joined: Jan 31, 2004
Posts: 35

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

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!
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: Sun Feb 01, 2004 10:34 pm Reply with quote Back to top

I should have ask you this first, but then we wouldn't have had all this FUN Laughing
View user's profile Send private message Visit poster's website
Carryconcealed
Hangin' Around


Joined: Jan 31, 2004
Posts: 35

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

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

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum