• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Login after register a new user

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In English

Hello Everybody,

There is any way to change the code of user registration? Because when a new user is registered, automatically the new user is logged.
I want when this new user is registered, the user that was logged before stay logged until make a log off, so i dont want to change the user.
How Can i do that? Or where can I modify this in the source?
_____________________________________________________________

Em Portugu̻s,

Ola todos,

Pessoal estou querendo mudar um procedimento do login. Porque quando uma pessoa registra um novo usu��rio, este novo usu��rio automaticamente fica logado no forum ao final do registro. Eu gostaria de manter o usu��rio antigo logado ao final do registro.
Ou seja, Ṇo quero mudar o usu��rio automaticamente.

Kara seu forum ̩ ducaramba... muuiitttooo bommm mesmo.. !!!

Aonde no c�?digo eu posso mudar isso? (seja no html ou no source mesmo).

_____________________________________________________________
Me desculpem pelo portugu̻s..... Sorry about portuguese.
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

he code is in the methdo "validateLogin()", from src/net/jforum/view/forum/UserAction.java

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rafael Steil wrote:Hi,

he code is in the methdo "validateLogin()", from src/net/jforum/view/forum/UserAction.java

Rafael




OK,

I found the class and found the line that i have to comment, but when im importing the src to eclipse a there are a lot of errors. So i added all .jar of tomcats and now I'm adding freemarker (i need to extract) .

For help anyone have all .jars in a .zip or now all projects used in jforum.

if any one have can sendme in matheus.algum@ig.com.br plz? :roll:

I now that its sounds a little lazy but im in a hurry... :roll:

thanks all
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can get it from the CVS - http://www.jforum.net/development.jsp

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Message for you sir! I think it is a tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic