1
anemic
Re: SEF URLs in Xoops?
  • 2008/9/11 2:31

  • anemic

  • Just popping in

  • Posts: 36

  • Since: 2006/12/6


I use the userpage module and the apache mod_rewrite module to take http://site.com/~membername to redirect to members personal home pages. Mod_rewrite sends http://site.com/~ urls to a small php application that looks up the member and checks if the member has created a personal page. If the page exists the browser gets redirected to the correct personal page if not I use redirect_header to show a ten second message that the user personal page doesn't exist...and then they get sent on to the default site page.



2
anemic
Re: Limiting admin access to assigning accounts
  • 2008/9/10 1:52

  • anemic

  • Just popping in

  • Posts: 36

  • Since: 2006/12/6


I resolved this by creating a version of the admin interface that only allows someone to register a new user or logout...I removed all the other admin links (access to modules,etc). I then created a webmaster account and modified the user menu so that when the special admin user logs in the account will see 'Sign up new member' and not the admininistrative menu option. So he cannot really get where he can do harm but he can sign up new members like he wanted to.

anemic



3
anemic
Limiting admin access to assigning accounts
  • 2008/9/9 21:51

  • anemic

  • Just popping in

  • Posts: 36

  • Since: 2006/12/6


Hi,

I've a member at a production site that wants to assign user accounts for different groups. He's a novice at most computer uses and I'd like to strictly limit his administrative access so that he can only add new accounts one by one. I'm thinking he'd need to add name, username, passwords and email would be all the information he'd need to type in. Cam anyone suggest an avenue of attack to limit his admin access to only adding new users?

Thanks, anemic



4
anemic
Re: The online table stops working
  • 2008/1/17 18:35

  • anemic

  • Just popping in

  • Posts: 36

  • Since: 2006/12/6


Ok..I'm not sure it's the right place but about 5 minutes of playing around showed me I can do my own online table by including code at the bottom of header.php. I was able to see logged in uid & uname, source IP address and also anonymous (not logged in members) visitors. I can make it work from here.

But still not sure this is the best place to do the including of add on code.



5
anemic
Re: The online table stops working
  • 2008/1/17 17:46

  • anemic

  • Just popping in

  • Posts: 36

  • Since: 2006/12/6


Nope..we are running the same setup for over a year. From what I've read this has happened occasionally to others. I could write code to maintain my own online table if I knew where to put it.. I thought about at the bottom of mainfile after XOOPS protector checks. If anyone cares to recommend the best place for a hook to be added please speak up.

The buddyfriends module had bugs when I first installed it (not passing uids around correctly) and I tracked those bugs down and repaired all of those. I've read the author has a new release out but ours has worked very well for 8 months or so so I've not updated. But it's obvious the online table underneath is not being updated..changes to that table are reflected in the module as they should be.



6
anemic
The online table stops working
  • 2008/1/17 7:47

  • anemic

  • Just popping in

  • Posts: 36

  • Since: 2006/12/6


Hi,

I've long ago installed the buddyfriends module to track who is on my site and also allow members to know when their friends login or to send them messages. Several months ago the who is logged on aspect quit working and I've discovered the online table is not being updated when people login and out. I've updated the system module, dropped and rebuilt my tables and still I'm stuck. I'm running a 2.0.16 site. Any ideas on how to solve this would be appreciated. the last_login in the _users table IS being updated appropriately when members login.

Thanks anemic



7
anemic
What is the level field for?
  • 2008/1/11 15:47

  • anemic

  • Just popping in

  • Posts: 36

  • Since: 2006/12/6


Hi,

Can anyone tell me what the level field is for in the XOOPS database? My users are all 0 or 1 and the admin is a 5. Curious what the field indicates.

anemic



8
anemic
Any problems using INNODB?
  • 2008/1/11 2:36

  • anemic

  • Just popping in

  • Posts: 36

  • Since: 2006/12/6


Hi,

I'd like to move some of my XOOPS tables to Innodb. I'm doing some development and I'd like to use foreign keys in my tables. Does anyone know if there are problems using innodb tables?

Thanks, anemic



9
anemic
How do I add new smarty variables available for system templates?
  • 2007/10/11 8:48

  • anemic

  • Just popping in

  • Posts: 36

  • Since: 2006/12/6


Hi,

I've read several articles on using smarty variables in templates. Instead of the predefined variables I'd like to pull some new database fields into smarty variables and use these in system templates. Can anyone point me to a starting location? I have several new fields in the _users table as well as fields in other tables. All of these are built around the user id.

thanks anemic



10
anemic
Re: How do you add buttons to the main menu?
  • 2007/10/10 17:19

  • anemic

  • Just popping in

  • Posts: 36

  • Since: 2006/12/6


Wow that's just about what I want. Can I reference XOOPS smarty variables inside the inline php? I have some variables to lookup based on the userid and these are used in the computation of menu items.

Thanks VERY everyone for the quick reply. anemic




TopTop
(1) 2 3 4 »



Login

Username:
Password:

Lost Password? Register now!

Who's Online

64 user(s) are online (35 user(s) are browsing Support Forums)


Members: 0


Guests: 64


more...

Donat-O-Meter

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

Latest GitHub Commits