Author |
Message |
Lateron
Worker
![Worker Worker](modules/Forums/images/ranks/3stars.gif)
![](modules/Forums/images/avatars/cbdd7a3b3f6e922a8d9ac.jpg)
Joined: May 10, 2003
Posts: 119
Location: Katoomba, NSW, Australia.
|
Posted:
Sun May 15, 2005 3:45 am |
|
I am using 7.7 with the patched files added.
In the config file I have security check set to 7 and there are no spaces after ?>
The security graphic and box does not show up on the standard user info box however it does show up at all other entry points (GD is installed and working).
Any suggestions please? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hitwalker
Sells PC To Pay For Divorce
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined:
Posts: 5661
|
Posted:
Sun May 15, 2005 3:56 am |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Lateron
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun May 15, 2005 4:07 am |
|
Thanks for your reply, hitwalker.
I have downloaded and installed Raven's site info block and the graphic space is there but the graphic isn't. The properties of the missing graphic are:
modules.php?name=Your_Account&op=gfx&random_num=527828 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
Site Admin/Owner
![](modules/Forums/images/avatars/45030c033f18773153cd2.gif)
Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Sun May 15, 2005 4:31 am |
|
Modify the global statement fromCode:global $user, $cookie, $prefix, $user_prefix, $db, $anonymous, $sitekey;
| toCode:global $user, $cookie, $prefix, $user_prefix, $db, $anonymous, $sitekey, $gfx_chk;
|
Then modify thisCode: $content .= ""._PASSWORD." <input type=\"password\" name=\"user_password\" size=\"10\" maxlength=\"20\"><br>";
$content .= "<input type=\"hidden\" name=\"random_num\" value=\"$random_num\">";
$content .= "<input type=\"hidden\" name=\"gfx_check\" value=\"$code\">";
| to readCode: $content .= ""._PASSWORD." <input type=\"password\" name=\"user_password\" size=\"10\" maxlength=\"20\"><br>";
if (extension_loaded("gd") AND ($gfx_chk == 2 OR $gfx_chk == 4 OR $gfx_chk == 5 OR $gfx_chk == 7)) {
$content .= ""._SECURITYCODE.": <img src='?gfx=gfx&random_num=$random_num' border='1' alt='"._SECURITYCODE."' title='"._SECURITYCODE."'><br>\n";
$content .= ""._TYPESECCODE."<br><input type=\"text\" NAME=\"gfx_check\" SIZE=\"7\" MAXLENGTH=\"6\">\n";
$content .= "<input type=\"hidden\" name=\"random_num\" value=\"$random_num\"><br>\n";
} else {
$content .= "<input type=\"hidden\" name=\"random_num\" value=\"$random_num\">";
$content .= "<input type=\"hidden\" name=\"gfx_check\" value=\"$code\">";
}
|
|
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun May 15, 2005 4:33 am |
|
Lateron wrote: | Thanks for your reply, hitwalker.
I have downloaded and installed Raven's site info block and the graphic space is there but the graphic isn't. The properties of the missing graphic are:
modules.php?name=Your_Account&op=gfx&random_num=527828 | I'll check mine out to see what may have changed in 7.7. Thanks. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
TeKKiE
Hangin' Around
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: May 11, 2005
Posts: 48
|
Posted:
Sun May 15, 2005 10:48 am |
|
I found it easier to just not show the user info block to anonymous users, and put the login block in the same area for anonymous users only. This is considered an additional step, however it is still a very viable solution. Besides, I don't really think an anonymous user cares to much for the info block, as they need to log in to view any information contained in it.
Just my simple solution for the time being. I'll check in periodically to see if you've found a fix Raven. ![Groovy](modules/Forums/images/smiles/groovy.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
ps-rage
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Aug 19, 2006
Posts: 6
|
Posted:
Fri Nov 10, 2006 9:52 pm |
|
Ok so im pretty sure this is a noob question, but oh well, im a noob. When you say edit the global statement, where can this be found? And while im asking, where is the content code to be edited? thanks
also this is kinda off topic, but is there a way to make a module visible to all, but when you click on it you have to be registered to use it? Im pretty sure ive seen this on other sites but can't figure out how to do it.
thanks in advance |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Guardian2003
Site Admin
![](modules/Forums/images/avatars/125904890252d880f79f312.png)
Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Sat Nov 11, 2006 5:55 am |
|
ps-rage wrote: | When you say edit the global statement, where can this be found? |
Open the block file in a plain text editor and seach for 'global' it will probably be near to the top of the file.
Quote: | And while im asking, where is the content code to be edited? |
I do not understand - what 'content' are you referring to?
Quote: | also this is kinda off topic, but is there a way to make a module visible to all, but when you click on it you have to be registered to use it? |
If you could stick to one question per topic that would be nice as it helps people who use the forum search facility to quickly find the answers they are looking for if they have a similar problem.
Not normally no. You can go to your nuke admin area, click modules, then set the permissioms for access to that module. These are usually Anonymous, Registered User, Subscriber and Admin. If you set a module to 'Registered Users' then only registered users can actually get into that module but the link to it from the menu should still be visible. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|