292451
patagon
Re: Autologin for Xoops 2.0.x
  • 2003/7/17 3:25

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


Thanks destrux, I was a bit worried I was doing things wrong probably because it took me some time to figure the templates thing myself (I did everything wrong at first, sergio, the dev who managed the argentinian support site, leaded me to the right direction after my initial screw ups. BTW wonder where he is now..). I found XOOPS has many things like this IMO, they look hard at first but then you realize how powerful and actually easy they are (hard from a newbee point of view, so in a way its nice to know sometimes even experienced users feel it



292452
Chado
Re: SOLVED - Making Xoops CONTENT Multilingual
  • 2003/7/17 2:17

  • Chado

  • Not too shy to talk

  • Posts: 113

  • Since: 2003/6/6 7


Thanks everyone,

You're right - the XOOPS code funtion changed my code! I edited my original post and changed it to a quote box and it seems to show up correctly. Basically the backslash was not showing up. I thought the code box would let us put anything in there, but not so....

If this doesn't work, PM me and I will be happy to email you my module.textsanitizer.php file.

Have fun!
Chad



292453
mvandam
Re: SOLVED - Making Xoops CONTENT Multilingual
  • 2003/7/16 23:40

  • mvandam

  • Quite a regular

  • Posts: 253

  • Since: 2003/2/7 2


In case you want this in a hurry...

In your above post, where you pointed out the difference between the line in your file and line in the post, you can basically see what changes you need:

i.e. add a backslash before '[', ']' and '/' in the regular expressions.



292454
hsalazar
Re: SOLVED - Making Xoops CONTENT Multilingual
  • 2003/7/16 20:22

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


So, perhaps now the logical step would be to ask Chad if he's willing to share the code in a different format, for example a zip file sent by mail...

Chad?



292455
destrux
Re: Autologin for Xoops 2.0.x
  • 2003/7/16 19:18

  • destrux

  • Moderator

  • Posts: 57

  • Since: 2002/6/3 1


yes, patagon, you're right, I apologize. In order to edit your templates you have to clone the existing set. Basically you cannot edit the default template set. So therefore if you just clone the template set you use you can edit the system_block_login.html file and then click submit and then set that template set as your new default.

As you can see I haven't much experience playing with the templating system . Guess I got some studying up to do,



292456
double1
Re: Autologin - does it update xoopsmembers "last login date"
  • 2003/7/16 19:13

  • double1

  • Just popping in

  • Posts: 8

  • Since: 2003/4/26


Hi AndreyRa,

What I would like to know is if your autologin also updates the "Last Login Date" that is shown when you list members through the XOOPSMEMBERS module?

I'm currenly using the autologin from Jan's site (http://www.jan304.org ) and while it works great to keep people logged in, it doesn't update the "last Login Date" on the xoopsmembers module

This is really too bad, because now I can't know anymore when users last visited my site

Can you tell me if your hack doesn't suffer from this problem? I'd really like to know before I change to your hack

Thanks and best regards,

Ross



292457
patagon
Re: SOLVED - Making Xoops CONTENT Multilingual
  • 2003/7/16 19:13

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


Thanks, it works perfectly on that site AFAIK. Seems useful for a future project I want to do, still I dont fully get how it works on the admin side (guess you add text in both languages) but I will look at it more once I'm using it...



292458
patagon
Re: Autologin for Xoops 2.0.x
  • 2003/7/16 19:11

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


Thats strange...I always edit them from there (by changing the html in teh box). in fact I wouldnt even know how to do it if it wasnt for that Maybe we have diferent versions or we managed to get to a different place...



292459
mvandam
Re: SOLVED - Making Xoops CONTENT Multilingual
  • 2003/7/16 19:09

  • mvandam

  • Quite a regular

  • Posts: 253

  • Since: 2003/2/7 2


Quote:

Any thoughts on what is causing this?


I have this problem before... When posting on the forums at xoops.org (or any XOOPS site), some characters in a [ code ] block are changed/removed/show up differently than entered. Generally it affects backslashes and maybe quotes, especially a problem for regexps. i.e. So what you see above is probably not what Chado actually has in the file...



292460
destrux
Re: Autologin for Xoops 2.0.x
  • 2003/7/16 19:05

  • destrux

  • Moderator

  • Posts: 57

  • Since: 2002/6/3 1


Yeah templates can only be viewed, not edited from there. Don't ask me why, lol. I have the slightest clue. But regardless, I just downloaded system_block_login.html from system/modules/templates and modified the file manually and then reuploaded it. After that you can go to modules admin and update the system module and the change should take effect.







Login

Who's Online

234 user(s) are online (146 user(s) are browsing Support Forums)


Members: 0


Guests: 234


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