1
cfonte
XOOPS: User logging, IP?
  • 2004/9/11 7:54

  • cfonte

  • Just popping in

  • Posts: 10

  • Since: 2003/11/10


Forgive me if this already exists, I searched the forums and couldn't find anything... I also couldn't find any way to get to this info in XOOPS.

I need to be able to see which IP a user is logging in from, and at what times. In the "Find User" module in Admin, I'd like to be able to see the user's IP address.

Also, is there a way to not only see "last login", but also a history of logins?

Thanks!
fonte



2
cfonte
Re: Problem with userinfo.php?uid=x
  • 2003/12/4 1:07

  • cfonte

  • Just popping in

  • Posts: 10

  • Since: 2003/11/10


Ah ha! I opened system_userinfo.html from 2.0.5.1 (the original zip file), then copied and pasted it into the system_userinfo.html file in the Template Set Manager for my default template. That fixed it! Thanks for the help!

I don't know what could have caused the file to get messed up, any ideas? I installed XOOPS with Fantastico through my current web host (Rochen). Maybe somehow that one file got corrupted on their end...

Again, thanks! :)



3
cfonte
Re: Problem with userinfo.php?uid=x
  • 2003/12/4 0:13

  • cfonte

  • Just popping in

  • Posts: 10

  • Since: 2003/11/10


Thanks for the replies, on the php debug stuff too.

Well, I overwrote /modules/system//templates/system_userinfo.html, the same result. So then I tried overwriting /userinfo.php to see if that would make a difference. No change.

I'm not using any custom templates, besides the login block I modified from the original to remove the "register now" and "lost password" links.

I also have a fresh install on another domain, using everything default, and still I have the same problem.

Any other ideas?



4
cfonte
Re: Problem with userinfo.php?uid=x
  • 2003/12/2 2:16

  • cfonte

  • Just popping in

  • Posts: 10

  • Since: 2003/11/10


Just turned debugging on and got the following errors...


Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 17
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 23
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 71
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 77
Notice [PHP]: Undefined variable: file_path in file class/smarty/plugins/resource.db.php line 96
Notice [PHP]: Undefined index: xoops_lblocks in file class/smarty/Smarty.class.php line 626
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 17
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 23
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 71
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 77
Notice [PHP]: Undefined variable: file_path in file class/smarty/plugins/resource.db.php line 96
Notice [PHP]: Undefined index: modules in file class/smarty/Smarty.class.php line 626
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 17
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 20
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 71
Notice [PHP]: Undefined index: default_theme in file class/smarty/plugins/resource.db.php line 74
Notice [PHP]: Undefined variable: file_path in file class/smarty/plugins/resource.db.php line 96
Error [Xoops]: Smarty: [in db:system_userinfo.html line 112]: syntax error: expecting '=' after attribute name 'ts' (Smarty_Compiler.class.php, line 1375) in file class/smarty/Smarty_Compiler.class.php line 1824


Since I'm in the process of learning php I'm gonna need some help. Looks like it could be in some of the last lines?

Also, now since I turned debugging on, I get lines and lines of error messages on every page, but everything else seems to be working fine. Is this common?



5
cfonte
Re: default THEME question: table width
  • 2003/12/2 2:07

  • cfonte

  • Just popping in

  • Posts: 10

  • Since: 2003/11/10


Thanks for everyone's help. I fixed the problem. For some reason the table that was holding the module didn't have a width, I guess it was getting the default width from style.css. So, I removed the "width: 100%" from the css file, and made the specific table width 100% in theme.html (default theme).

From what it looks like, the table that "holds" the module content does not have a specified width, by default.



6
cfonte
Problem with userinfo.php?uid=x
  • 2003/12/2 2:03

  • cfonte

  • Just popping in

  • Posts: 10

  • Since: 2003/11/10


When XOOPS tries to view a user's information, I get the following error:


This page cannot be displayed due to an internal error.

If you are the administrator of this site, please visit the XOOPS Troubleshooting Page for assistance.


Anyone have an idea of what could be causing this? I have installed XOOPS several times on different domains (but the same server) with the same problem. Everything else is fine, only this one little problem.

Thanks for the help



7
cfonte
Re: upgrade from xoops 2.0.5 to 2.0.5.1
  • 2003/12/2 0:31

  • cfonte

  • Just popping in

  • Posts: 10

  • Since: 2003/11/10


I want to upgrade from 2.0.5 to 2.0.5.1. Which files do I need to replace? I don't want to replace ones that haven't changed.



8
cfonte
Banner Background Color
  • 2003/11/24 22:30

  • cfonte

  • Just popping in

  • Posts: 10

  • Since: 2003/11/10


Anyone know the hex color code for the blue background for the banner table in the default theme? I looked for it in banners.php but couldn't seem to locate the correct one.

Thanks!



9
cfonte
Re: default THEME question: table width
  • 2003/11/10 4:09

  • cfonte

  • Just popping in

  • Posts: 10

  • Since: 2003/11/10


My question is, then, where is the table that holds the modules? Where does it appear in Xoops's code?

fonte



10
cfonte
Re: default THEME question: table width
  • 2003/11/10 4:04

  • cfonte

  • Just popping in

  • Posts: 10

  • Since: 2003/11/10


Tis me again with a new username (e-mail address change)...

What I need to find out is if there is a way to specify all tables width: 100% with either"

1. The table that holds the modules (if there is one) no specified width...

or

2. A specific table that holds this specific module with no specified width...

In both of these cases, there needs to be no table holding the table that holds the module... Which makes me think, maybe the best option is for there to be no table at all holding the module...

fonte




TopTop



Login

Who's Online

218 user(s) are online (141 user(s) are browsing Support Forums)


Members: 0


Guests: 218


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