1
JamesSAEP
News 1.3.11 and Xoops 2.2 bugs
  • 2005/7/28 4:23

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


Firetroll noted a problem HERE and I'm having the same issue:

1. Quote:
For instance, with News 1.3.11 all new posts are by "Anonymous" regardless of whether or not you specify a user.


2. The only users listed in the author dropdown menu are Anonymous and Webmaster.

3. Trying to edit an article date won't save.

2
SLEO577
Re: News 1.3.11 and Xoops 2.2 bugs
  • 2005/7/28 4:45

  • SLEO577

  • Not too shy to talk

  • Posts: 110

  • Since: 2005/6/27


I was having the same problem where it was showing "Anonymous" no matter who I specified as user. I'm not sure if this will help you, but check and make sure your "Real Name" is filled out on your profile.

Once I put in my "Real Name" for my profile, it displayed my real name. I don't like that it displays my real name, I would much prefer it to show my "Displayname", but one problem at a time. I also noticed (wf-downloads) does this too as it display the user's "Real Name" for the submitter.

I am sure there is quick fix for this, but I am not sure where I would change (username) for (Displayname)in both these modules.

Not to change the subject, but are you also getting a date of 1970/1/1 for the date posted? Still haven't figured out that one yet. But I know that was a problem when I first tried out the XOOPS 2.2rc. I may have to uninstall news 1.3.11 and try reinstalling to see if it fixes this.

Any ideas anyone?

3
Duke_Henry
Re: News 1.3.11 and Xoops 2.2 bugs
  • 2005/7/28 15:06

  • Duke_Henry

  • Just popping in

  • Posts: 37

  • Since: 2004/7/30


You can change it from your real name to user name in the module preferences.

Author's name is about 6 down in News 1.3.11.

http://www.yoursitehere.com/modules/system/admin.php?fct=preferences&op=showmod&mod=4&confcat_id=0

4
JamesSAEP
Re: News 1.3.11 and Xoops 2.2 bugs
  • 2005/7/28 15:07

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


Yes, it is pulling the "Real Name" for the author.

Date seems to work fine.

Anyone know how to fix this author issue?

5
SLEO577
Re: News 1.3.11 and Xoops 2.2 bugs
  • 2005/7/28 15:14

  • SLEO577

  • Not too shy to talk

  • Posts: 110

  • Since: 2005/6/27


Thanks Duke_Henry for the info on the Module Preference. I did see that, but whether I click on "Real Name", "Username" or "Do Not Display Author", it still shows the "Real Name".

That is why I am thinking I may have to do a reinstall to get the date format and the author working right.

6
JamesSAEP
Re: News 1.3.11 and Xoops 2.2 bugs
  • 2005/7/28 15:17

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


Despite setting the "Real Name", "Username" or it still shows the "Real Name" field. The "Do Not Display Author" setting works...

7
Duke_Henry
Re: News 1.3.11 and Xoops 2.2 bugs
  • 2005/7/28 15:20

  • Duke_Henry

  • Just popping in

  • Posts: 37

  • Since: 2004/7/30


Darn, sorry to be of little help.

I can tell you that from my install of 1.3.1 and update to 1.3.11 on a fresh XOOPS 2.2, the name issue and posting information issue is not a problem.

I know that doesn't help either...

:(

8
JamesSAEP
Re: News 1.3.11 and Xoops 2.2 bugs
  • 2005/7/28 15:23

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


Well it shows hope... Thanks for the input.

9
kaabaal
Re: News 1.3.11 and Xoops 2.2 bugs
  • 2005/8/6 19:21

  • kaabaal

  • Just popping in

  • Posts: 6

  • Since: 2005/5/14


You are right. News 1.3.11 wants to use the login name in place where it should use the display name (it is new feature in XOOPS 2.2 to have a separate login and displayname). That doesn't work, so it gets an empty string in return, so it fall back on real name.

BUT:

I fixed it , in news/class/class.newsstory.php replace

Quote:
switch($option) {
case 1: // Username
$tblusers[$uid]=XoopsUser::getUnameFromId($uid);
return $tblusers[$uid];


by this:

Quote:
switch($option) {
case 1: // Displayname
$member_handler =& xoops_gethandler('member');
$thisuser = $member_handler->getUser($uid);
$return=$thisuser->getVar('uname');
$tblusers[$uid]=$return;
return $tblusers[$uid];


You can find it around line 680

10
JamesSAEP
Re: News 1.3.11 and Xoops 2.2 bugs
  • 2005/8/8 15:16

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


Nice job, that works great!

Login

Who's Online

149 user(s) are online (32 user(s) are browsing Support Forums)


Members: 0


Guests: 149


more...

Donat-O-Meter

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

Latest GitHub Commits