21
colossus
Re: Bug in profile 1.51?
  • 2008/10/16 18:51

  • colossus

  • Just popping in

  • Posts: 43

  • Since: 2007/9/30


Quote:
confirmed, and added to SF bugtracker, thx


No, thank you all for your invaluable work.

Regards: Colossus



22
colossus
Re: Bug in profile 1.51?
  • 2008/10/16 5:49

  • colossus

  • Just popping in

  • Posts: 43

  • Since: 2007/9/30


Hi:

Quote:
i think is a bug through upgrading.


Maybe there's a bug in the upgrade, as I'm not able to make it work. But, upgrade or no upgrade, $xoopsUser is not an object when you are not logged in, and I think the error will happen in a fresh install also... Can anyone confirm?

Thanks, and regards: Colossus



23
colossus
Bug in profile 1.51?
  • 2008/10/15 11:32

  • colossus

  • Just popping in

  • Posts: 43

  • Since: 2007/9/30


Hi:

In Profile 1.51, as shipped with XOOPS 2.3.1, I'm getting a blank page when trying to view any user's profile as anonymous user (permissions were OK prior to the update from 2.3.0 to 2.3.1).

The debug info states this:

Quote:
Fatal error: Call to a member function isAdmin() on a non-object in ..../modules/profile/userinfo.php on line 126


Line 126 in userinfo.php looks like this:

if (!$xoopsUser->isAdmin()) {


It works when registered, but throws the above mentioned error if not loggen in. Changing it to, for example, !$xoopsUserIsAdmin prevents the error, but anonymous users can then see all fields in the profile.

Regards: Colossus



24
colossus
Re: CBB4 RC for Xoops 2.3x Testing Reviews
  • 2008/10/14 13:38

  • colossus

  • Just popping in

  • Posts: 43

  • Since: 2007/9/30


Upgrading from Newbb 1.0, CBB doesn't import some posts' fields like "Enable/Disable Html", "Show Signature", etc. All existing fields in a post should be imported.

Versión XOOPS - XOOPS 2.3.0
Versión PHP - 5.2.5
Versión MySQL - 4.1.22-standard
Versión Server API - cgi
Versión OS - Linux

Regards: Colossus



25
colossus
A couple of problems with Profile 1.51 (Xoops 2.3.1)
  • 2008/10/13 20:25

  • colossus

  • Just popping in

  • Posts: 43

  • Since: 2007/9/30


Hi:

I'm testing XOOPS 2.3.1 (upgraded from 2.3.0, upgraded from 2.0.18.2), and I've found that when viewing an user profile:

1) If the user had never logged in, "last visit" field states " 1/1/1970 1:00". This exception should be catched, to show someting like "never logged in".

2) "Url" field isn't a link. It would be useful to make it "clickable", just like in XOOPS 2.0.x.

Versión XOOPS - XOOPS 2.3.1
Versión PHP - 5.2.5
Versión MySQL - 4.1.22-standard
Versión Server API - cgi
Versión OS - Linux

By the way, Profile 1.5 (in XOOPS 2.3.0) also exhibits this behaviour.

Regards: Colossus



26
colossus
Re: 'Remember me' doesn't work in 2.3!
  • 2008/9/26 19:16

  • colossus

  • Just popping in

  • Posts: 43

  • Since: 2007/9/30


Hi:

Quote:
I believe it would be better that it is by default off and the option of 'Remember me' is unchecked.


I agree. Besides, the template involved throws a HTML validation error:

Quote:
…ue="On" class ="formButton" checked />Remember me<br />
"VI delimiter" is a technical term for the equal sign. This error message means that the name of an attribute and the equal sign cannot be omitted when specifying an attribute. A common cause for this error message is the use of "Attribute Minimization" in document types where it is not allowed, in XHTML for instance. How to fix: For attributes such as compact, checked or selected, do not write e.g <option selected ... but rather <option selected="selected" ...


That's line 7 in modules/system/templates/blocks/system_block_login.html. Deleting the "checked" in that line will make the remember me off by default, and avoid one validation error at the same time.

Regards: Colossus



27
colossus
Bug in "instant preview" 2.3 final default editor
  • 2008/9/25 15:20

  • colossus

  • Just popping in

  • Posts: 43

  • Since: 2007/9/30


Hi:

The "instant preview" button messes up with non english characters. It doesn't render HTML tags either. The text to be previewed is passed from /include/formdhtmltextarea.js to include/formdhtmltextarea_preview.php using GET.

May be related to this post.

Regards: Colossus



28
colossus
Cannot modify value type of a field in Profile 1.5, Xoops 2.3
  • 2008/9/23 22:25

  • colossus

  • Just popping in

  • Posts: 43

  • Since: 2007/9/30


Hi:

The URL field in a user profile is not showed as a clickable link, but as plain text.

I thought this could be solved changing the "Value Type" of the field from "Text Field" to "URL" but, after submiting the change, "Value Type" remains as "Text Field". Apparently it cannot be modified. Am I missing something? Any ideas?

Versión XOOPS - XOOPS 2.3.0
Versión PHP - 5.2.5
Versión MySQL - 4.1.22-standard
Versión Server API - cgi
Versión OS - Linux

Thanks in advance, and regards: Colossus



29
colossus
Re: Problem with Newbb 1 in Xoops 2.3
  • 2008/9/23 22:07

  • colossus

  • Just popping in

  • Posts: 43

  • Since: 2007/9/30


Hi:

First of all, thak you for your suggestions, jdseymour.

I've found a dirty workaround for the problem: inject the desired text in the text-area using Javascript.

Just in case someday somebody need this hack... Edit the line 83 of the modules/newbb/include/forumform.inc.php file in your XOOPS installation:

xoopsCodeTarea("message");


Change to:

xoopsCodeTarea("message");

// Insert original text in textarea when editing (needed in XOOPS 2.3+)
if ( empty($isreplay) && isset($message) && $message != "" ) {
        echo 
"<input type='hidden' name='messagetext' id='messagetext' value='$message' />";
        echo 
"<script language = 'javascript'>
xoopsGetElementById("
message").value=xoopsGetElementById("messagetext").value;
</script>"
;
}


That's all, everything seems to be working OK after the change (but do check if you apply the hack).

Regards: Colossus

PS: There are some other issues with Newbb 1 in XOOPS >= 2.0.17. For example signature problem or when quoting or previewing posts.



30
colossus
Problem with Newbb 1 in Xoops 2.3
  • 2008/9/22 23:57

  • colossus

  • Just popping in

  • Posts: 43

  • Since: 2007/9/30


Hi:

I've upgraded from 2.0.18.2 to new XOOPS 2.3 Final in a test enviroment.

When I try to edit a post in the old Newbb 1.0 forum, the textarea is empty (the original text is not there to be edited). It seems to be related to xoopsCodeTarea function, that looks quite different to the one in 2.0.x. Any idea of how could it be fixed? I'll eventually migrate the forums to CBB, but Newbb should be working until then.

XOOPS Version - XOOPS 2.3.0
PHP Version - 5.2.5
MySQL Version - 4.1.22-standard
Server API Version - cgi
OS Version - Linux

Thanks in advance, and regards: Colossus

PD: Congratulations to all the developers who contributed to make 2.3 possible.




TopTop
« 1 2 (3) 4 »



Login

Who's Online

244 user(s) are online (157 user(s) are browsing Support Forums)


Members: 0


Guests: 244


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits