Welcome to Geeklog, Anonymous Saturday, September 07 2024 @ 09:56 pm EDT
Geeklog Forums
Bugs in Geeklog 1.4.0 beta 1
Page navigation
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Please use this forum thread to discuss bugs in the first beta release of Geeklog 1.4.0 (until our bugtracker site is back up).
Please use the Installation Forum for installation problems.
Please use the Installation Forum for installation problems.
Status: offline
suvi
Forum User
Chatty
Registered: 11/20/05
Posts: 44
Location:Zurich
Status: offline
THEMike
Forum User
Moderator
Registered: 07/25/03
Posts: 141
Location:Sheffield, UK
Status: offline
mevans
Forum User
Full Member
Registered: 02/08/04
Posts: 393
Location:Texas
Status: offline
Euan
Forum User
Full Member
Registered: 04/22/02
Posts: 292
I assume that it states somewhere in the documentation that Geeklog strips out span styles etc created by FCKeditor unless you edit the allowed HTML arrays in config.php? I get the impression this could cause a serious amount of grief/forum posting if not made obvious.
Cheers
Euan
-- Heather Engineering
-- No job too small
Cheers
Euan
-- Heather Engineering
-- No job too small
Status: offline
kemal
Forum User
Regular Poster
Registered: 04/05/05
Posts: 103
Location:Turkey
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by kemal: first little bug.. you can see on this site
on filemgmt plugin, comments can not read..
on filemgmt plugin, comments can not read..
It's not a bug.
bye, Dirk
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
The file BadBehavior.Action.class.php (in plugins/spamx) wasn't supposed to be part of the distribution.
This is an experimental module I wrote a while ago. It's only used when you have Bad Behavior installed and can be safely removed.
bye, Dirk
This is an experimental module I wrote a while ago. It's only used when you have Bad Behavior installed and can be safely removed.
bye, Dirk
Status: Banned
machinari
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
the paging for the search class is an awesome idea, but it doesn't seem to be working as intended.
for example, click on find all postings by machinari and you'll come to the first page, no problem. click on page 2 and you are no longer limited to machinari's stuff, but everybody's. That may be due to the forum's lack of support for this feature--not sure.
I've implemented the paging feature in Inmemoriam, but still doesn't function properly. the proper results are returned by the query (double-checked) but page 2 will always display "no results found." I have implemented the API function properly, but cant find a reason for this behaviour.
for example, click on find all postings by machinari and you'll come to the first page, no problem. click on page 2 and you are no longer limited to machinari's stuff, but everybody's. That may be due to the forum's lack of support for this feature--not sure.
I've implemented the paging feature in Inmemoriam, but still doesn't function properly. the proper results are returned by the query (double-checked) but page 2 will always display "no results found." I have implemented the API function properly, but cant find a reason for this behaviour.
Status: offline
vadertech
Forum User
Full Member
Registered: 05/26/03
Posts: 329
Status: offline
tomw
Forum User
Full Member
Registered: 08/12/02
Posts: 300
In the professional theme:
1) advanced-editor-header.thtml has
<link rel="stylesheet" type="text/css" href="{site_url}/fckeditor/css/fck_editorarea.css">
when it should be
<link rel="stylesheet" type="text/css" href="{site_url}/fckeditor/editor/css/fck_editorarea.css">
2) style.css has the gold color which is an invalid color.
1) advanced-editor-header.thtml has
Text Formatted Code
<link rel="stylesheet" type="text/css" href="{site_url}/fckeditor/css/fck_editorarea.css">
when it should be
Text Formatted Code
<link rel="stylesheet" type="text/css" href="{site_url}/fckeditor/editor/css/fck_editorarea.css">
2) style.css has the gold color which is an invalid color.
Status: offline
Vapour71
Forum User
Chatty
Registered: 02/10/05
Posts: 55
Location:Great White North Eh!
Turner
Anonymous
In advanced edit mode, preview button at the bottom of story does not work while preview in the navbar seems to work.
When user clicks preview, he/she isn't take to the preview but back to the edit screen. Initially it seems the preview does not exist. Scrolling down reveals it. This may cause a bit of initial confusion for users. I moved the preview table to the top of the storyeditor-advanced.thtml file, but am unable to get the preview tab to pop to the top whenever it has content.
When user clicks preview, he/she isn't take to the preview but back to the edit screen. Initially it seems the preview does not exist. Scrolling down reveals it. This may cause a bit of initial confusion for users. I moved the preview table to the top of the storyeditor-advanced.thtml file, but am unable to get the preview tab to pop to the top whenever it has content.
Turner
Anonymous
Is there an issue with users.php when using custom registration. I just set up cust reg. When I click register now the data saves just fine but the site does not return to me. I simply get a blank screen. Errors are on in php.ini but no error appears in the log.
In the createuser function in users.php there are the following lines:
if (!$_CONF['usersubmission'] == 1)
{
$retval = emailpassword ($username, 1, $msg);
}
return $retval;
I know for a fact the code runs thru to the return (i put a test echo right before it and it echo'd after the data was saved).
btw. this is a stock GL installation except I made the change tomw mentioned above.
Curious.
In the createuser function in users.php there are the following lines:
Text Formatted Code
$uid = USER_createAccount ($username, $email);if (!$_CONF['usersubmission'] == 1)
{
$retval = emailpassword ($username, 1, $msg);
}
return $retval;
I know for a fact the code runs thru to the return (i put a test echo right before it and it echo'd after the data was saved).
btw. this is a stock GL installation except I made the change tomw mentioned above.
Curious.
Turner
Anonymous
Status: offline
Vapour71
Forum User
Chatty
Registered: 02/10/05
Posts: 55
Location:Great White North Eh!
Status: offline
Vapour71
Forum User
Chatty
Registered: 02/10/05
Posts: 55
Location:Great White North Eh!
Ok, just out of curiosity, are there supposed to be "2" equal signs preceeding the variable 1 or 0 (zero)? I am finding quite a few lines that show "==" before the variable 1 or 0 (zero). For example:
case 'getpassword':
$display .= COM_siteHeader ('menu');
if ($_CONF['passwordspeedlimit'] == 0) {
$_CONF['passwordspeedlimit'] = 300; // 5 minutes
}
notice how there are "2" "=" signs in the "if ($_CONF['passwordspeedlimit'] ==0) {
However, after scrolling through the users.php file there are several "==" when other commands or lines only show "1" "=" followed by the variable 1 or 0 (zero).
I've Gone To Find Myself. If I Show Up Before I Return, Make Me Wait Here Until I Get Back.
Text Formatted Code
case 'getpassword':
$display .= COM_siteHeader ('menu');
if ($_CONF['passwordspeedlimit'] == 0) {
$_CONF['passwordspeedlimit'] = 300; // 5 minutes
}
notice how there are "2" "=" signs in the "if ($_CONF['passwordspeedlimit'] ==0) {
However, after scrolling through the users.php file there are several "==" when other commands or lines only show "1" "=" followed by the variable 1 or 0 (zero).
I've Gone To Find Myself. If I Show Up Before I Return, Make Me Wait Here Until I Get Back.
Status: offline
THEMike
Forum User
Moderator
Registered: 07/25/03
Posts: 141
Location:Sheffield, UK
Turner:
The correct fix is in fact:
if (!$_CONF['usersubmission'] == 1)
{
$retval = emailpassword ($username, 1, $msg);
} else {
$retval = COM_refresh ($_CONF['site_url'] . '/index.php?msg=48');
}
And now in CVS.
Vapour71:
The == is for a test of equality, while = is for assignment, so:
$_CONF['passwordspeedlimit'] = 0;
Sets the value of $_CONF['passwordspeedlimit'] to 0, and is correct where it's used. However:
$_CONF['passwordspeedlimit'] == 0
Test to see if the value of $_CONF['passwordspeedlimit'] is equal to 0, and is not correct when done as:
$_CONF['passwordspeedlimit'] == 0;
Althought that is a legal syntax, it does nothing. It's used in if statements, like the example you gave. To confuse things further there is a === syntax ;-)
If you have any examples of:
if ($variable = 0)
Could you post them, as they are likely to be incorrect (although, there are some cases where a similar syntax may be correct...)
The correct fix is in fact:
Text Formatted Code
if (!$_CONF['usersubmission'] == 1)
{
$retval = emailpassword ($username, 1, $msg);
} else {
$retval = COM_refresh ($_CONF['site_url'] . '/index.php?msg=48');
}
And now in CVS.
Vapour71:
The == is for a test of equality, while = is for assignment, so:
Text Formatted Code
$_CONF['passwordspeedlimit'] = 0;
Sets the value of $_CONF['passwordspeedlimit'] to 0, and is correct where it's used. However:
Text Formatted Code
$_CONF['passwordspeedlimit'] == 0
Test to see if the value of $_CONF['passwordspeedlimit'] is equal to 0, and is not correct when done as:
Text Formatted Code
$_CONF['passwordspeedlimit'] == 0;
Althought that is a legal syntax, it does nothing. It's used in if statements, like the example you gave. To confuse things further there is a === syntax ;-)
If you have any examples of:
Text Formatted Code
if ($variable = 0)
Could you post them, as they are likely to be incorrect (although, there are some cases where a similar syntax may be correct...)
Page navigation
All times are EDT. The time is now 09:56 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content