Author Topic: Make new login automatic ?  (Read 9492 times)

0 Members and 1 Guest are viewing this topic.

Offline XiDeXo

  • Sobi Newbie
  • *
  • Posts: 17
Re: Make new login automatic ?
« Reply #10 on: 19. February 2009, 16:28:38 »
    [ English :    (Français, plus bas) ]

Hi leven and charlynancy,

1) Leven,
Thanks again ! I think you're the only one who really understands what I'm Saying.. (lol)
I didn't understand how to do what you suggested on this other thread :
https://www.sigsiu.net/forum/index.php/topic,13655.msg49604.html#msg49604

2)
Quote
from Charlynancy :
<You have NO control, so why create a new account?
In this case, I advice you to allow anonymous entry>

The reason is to keep trace of the different information, posted by members..
Now, I'm not saying that it has to login new members, without passing through the email procedure..
But, you asked me to explain, precisely how "adsmanager" does it.. Maybe, you don't know how they make the login so simple?
I still think, with joomla, that it's annoying to have to go back to the login procedure, wait to receive an email, then only, be able to post into SOBI (I'm talking as a new browser/visitor to SOBI).
I guess, I'd be happy if you show how it could send me to the standard joomla new member login form.. But even for that, I have no idea, HOW TO? What file should I open, and what script should I add, on what line, between what and what or, to replace what other script?


Charlynancy,
OK, let's s try to find a solution together! Help me implement this :
1°) insert in the template form an Iframe HTML code with the page, creating new account of Joomla.
To have the page of creating  new account with CB the HTML code should be (aproximatively) :
Code: [Select]
<iframe src="http://www.your_site_url.......index2.php?option=com_comprofiler&lang=fr&task=registers " ></iframe>
see here to have more info about form template
2°) insert this iframe code if the user is not logged... else don't insert the iframe code... with IF ... ELSE PHP ...

Voila... we should find a solution with this way
Good luck

Charlynancy,
I'm Sorry, but I'm really not good at this, I don’t understand what you're talking about.. That's why I chose CMS solutions..
But maybe, you or someone can fill in the empty blanks.. Is this the same as adding an iframe in an html page? Then, what file am I supposed to put this iframe into and, where in the file should it be set?

Sorry.. I'm probably missing something, with your explanations? I'm sure, there's nothing that complicated for this procedure? Just give me a few more details, to understand what we are talking about..

Thanks again to everybody !

andara

----------

[ French :  ]

Salut leven et charlynancy,

1) Leven,
Merci de nouveau! Je crois que tu es le seul qui voit vraiment ce que je veux dire.. (lol)
Ceci dit, Je n'ai pas compris comment faire lorsque que tu ma suggéré ceci sur cet autre fil : https://www.sigsiu.net/forum/index.php/topic,13655.msg49604.html#msg49604

2)
Quote
Citation from Charlynancy :
<Vous n'avez AUCUN contrôle, pourquoi créé un nouveau compte ?
Dans ce cas-là, je conseil d'utiliser une entrée libre et anonyme>
La raison est de garder la trace des différents renseignements, postés par les membres..
Maintenant, je ne dis pas qu'il doit faire l'ouverture de session de nouveaux membres, sans traverser la procédure du courrier électronique..
Mais, vous m'avez demandé d'expliquer, précisément comment 'adsmanager' le fait.. Peut-être, que vous ne savez pas comment ils rendent l'ouverture de session si simple ?

Je pense toujours, avec joomla, qu'il est trop compliqué de retourner à la procédure d'ouverture de session, attendre pour recevoir un courrier électronique, alors seulement, être capable de poster dans SOBI (je parle comme d'un nouveau navigateur/visiteur sur SOBI).
Je serais heureux, si seulement  vous me montriez, comment il pourrait m'envoyer à la session joomla des nouveaux membres

Même pour cela, je n'ai aucune idée, COMMENT FAIRE ? Quel dossier devrais-je ouvrir et quel script devrais-je ajouter, sur quelle ligne, entre quoi et  quoi, pour remplacer quel autre script ?


Charlynancy,
Bien, essayons de trouver une solution ensemble! Aidez-moi à l'exécuter :
1 °) l'insertion dans le gabarit forment un code HTML Iframe avec la page de création du nouveau compte de Joomla.
Pour avoir la page de création du nouveau compte avec la BANDE CB le code HTML devrait être (aproximativement) :

Code: [Select]
<iframe src="http://www.your_site_url.......index2.php?option=com_comprofiler&lang=fr&task=registers " ></iframe>
voient ici pour avoir plus d'informations du gabarit du form template
2 °) insèrent ce code d'iframe if l'utilisateur n'est pas inscrit ...  else n'insère pas ... de code d'iframe avec IF... ... ELSE PHP...

Voila ... nous devrions trouver une solution avec cette voie
Bonne chance
 


Charlynancy,
Je suis désolé, mais je ne suis vraiment pas bon dans ce domaine, je ne comprends pas tes explications.. C'est la raison pour laquel je prefer des solutions de CMS..

Mais Peut-être, que toi ou, quelqu'un peut remplir les blancs.. Est-ce le même que l'ajout d'un iframe dans une page Html ? Alors, quel dossier dois-je ouvrir pour mettre cet iframe et, où dans ce fichier, devrait-il être mis ?

Désolé.. Je passe probablement a coté quelque chose, avec vos indications ? Je suis sûr, que cette procédure n'est pas si compliqué ? Donnez-moi juste un peu plus de détails, pour comprendre ce de quoi nous parlons..

Merci de nouveau à chacun!

andara
« Last Edit: 21. February 2009, 08:21:00 by XiDeXo »
Country: France France |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Offline leven

  • SOBI Team
  • Moderator
  • Sobi Experte
  • *
  • Posts: 456
  • Reviews:

    What is it?

Re: Make new login automatic ?
« Reply #11 on: 23. February 2009, 19:08:28 »
Hi charlynancy and xidexo,

1-) Charlynancy using iframes to incorporate the register procedure into the sobi entry form seems like a good starting point. I got a couple of ideas, and questions about this but before saying more I would like to experiment with it as soon as I get some free time (to avoid asking dumb questions!).     I will get back to you as soon as possible.

Charlynancy, thank you for sticking around this issue, I hope I could be of some help, because if this is to work you will probably be the one to offer the biggest part of the solution. Xidexo and I are much less code literate then you, that is for sure!!

2-) xidexo, I sent you a link to show what exactly I mean. Check it out first, and if it suits your needs I can help you with all the details of how to implement it. It is really not complicated at all.

This link points you directly to the 'add entry' form. Since you are not logged in(or registered) you will see the message and the 'register now' link right under it. (Check your private messages)

Ok I am a little short of free time these days, I will get back to you soon.

Take care

kostas,  :)
{The Difference Between Sobi2 and SobiPRO}

"Everything that irritates us about others can lead us to an understanding of ourselves." Carl Jung
Country: Greece Greece |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile Greek guide to free internet access

Do you want continued ongoing development, new features and active support?
Please write a review or just vote for SOBI on JED.

Offline XiDeXo

  • Sobi Newbie
  • *
  • Posts: 17
Re: Make new login automatic ?
« Reply #12 on: 24. February 2009, 11:33:17 »
Hi charlynancy and xidexo,

1-) Charlynancy using iframes to incorporate the register procedure into the sobi entry form seems like a good starting point. I got a couple of ideas, and questions about this but before saying more I would like to experiment with it as soon as I get some free time (to avoid asking dumb questions!).     I will get back to you as soon as possible.

Charlynancy, thank you for sticking around this issue, I hope I could be of some help, because if this is to work you will probably be the one to offer the biggest part of the solution. Xidexo and I are much less code literate then you, that is for sure!!

2-) xidexo, I sent you a link to show what exactly I mean. Check it out first, and if it suits your needs I can help you with all the details of how to implement it. It is really not complicated at all.

This link points you directly to the 'add entry' form. Since you are not logged in(or registered) you will see the message and the 'register now' link right under it. (Check your private messages)

Ok I am a little short of free time these days, I will get back to you soon.

Take care

kostas,  :)

English     (Français, plus bas)

Hi leven,
I checked the "link" you sent me on PM (why not put it here for everyone?).

Yes, that's exactly the type of action I wanted, with an entry form. It would add the visitors to the MEMBERS LIST and log into SOBI as it's put into the directory.. But, your link, seems to allow posting without email? I suppose this can be changed optionally?
Is this link (on PM) your website?

Please help me to get this on SOBI
We could add the details here for all to share..

Thanks for your help
XiDeXo



Français :

Salut leven

J'ai regardé le lien que tu ma donné en message privé (on devrait le mettre ici pour tousse?).

Cela correspond a ce que je souhait. En ouvrant un formulaire d'inscription, qui pourrait créer le compte membre en même temps que l'inscription a l'annuaire. Seulement, j'ai l'impression que certains champs ne sont pas obligatoire, tel que l'email? Je pense qu'on peut modifier cette option?
Est-ce que ce lien (en message privé) correspond a ton site?

Veux tu m'aider a faire de même pour mon SOBI.
Pourrions-nous mettre le produit de ce travail, ici, pour le partager..

Merci de m'aider
XiDeXo
Country: France France |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Offline leven

  • SOBI Team
  • Moderator
  • Sobi Experte
  • *
  • Posts: 456
  • Reviews:

    What is it?

Re: Make new login automatic ?
« Reply #13 on: 24. February 2009, 15:45:40 »
Ok. Open your language file (ex:english.php) found in components\com_sobi2\languages
 
Look for this line:

DEFINE('_SOBI2_NOT_LOGGED', '<h4>You are not logged in and therefore you cannot add an entry.</h4>');


Simply add the registration link like this

DEFINE('_SOBI2_NOT_LOGGED', '<h4>You are not logged in and therefore you cannot add an entry.</h4><br /><h4><a href="index.php?option=com_user&task=register&lang=en">Register Now</a>.</h4>');

Repeat this for all other language files
You must change only the 'en' at the end of the link. For french for example you will have 'fr' so :
<a href="index.php?option=com_user&task=register&lang=fr">Inscription Maintentant</a>

The link I PM you is very temporary. It may not be there in 5 days from now. Yes it is my site and when it s 100% up and running I will post the link here.
In the meantime, if anyone else needs to see this,they can pm me for the link.

Quote
But, your link, seems to allow posting without email? I suppose this can be changed optionally?

Yes you change this from the sobi backend allow anonymous entries. Since I have allowed this I have entered my 'register now' link in DEFINE('_SOBI2_NOT_LOGGED_CANNOT_EDIT', and not the line DEFINE('_SOBI2_NOT_LOGGED' that I advised for your needs.

Bye for now

{The Difference Between Sobi2 and SobiPRO}

"Everything that irritates us about others can lead us to an understanding of ourselves." Carl Jung
Country: Greece Greece |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile Greek guide to free internet access

Offline XiDeXo

  • Sobi Newbie
  • *
  • Posts: 17
Re: Make new login automatic ?
« Reply #14 on: 25. February 2009, 12:42:54 »
Ok. Open your language file (ex:english.php) found in components\com_sobi2\languages
 
Look for this line:

DEFINE('_SOBI2_NOT_LOGGED', '<h4>You are not logged in and therefore you cannot add an entry.</h4>');


Simply add the registration link like this

DEFINE('_SOBI2_NOT_LOGGED', '<h4>You are not logged in and therefore you cannot add an entry.</h4><br /><h4><a href="index.php?option=com_user&task=register&lang=en">Register Now</a>.</h4>');

Repeat this for all other language files
You must change only the 'en' at the end of the link. For french for example you will have 'fr' so :
<a href="index.php?option=com_user&task=register&lang=fr">Inscription Maintentant</a>

The link I PM you is very temporary. It may not be there in 5 days from now. Yes it is my site and when it s 100% up and running I will post the link here.
In the meantime, if anyone else needs to see this,they can pm me for the link.

Quote
But, your link, seems to allow posting without email? I suppose this can be changed optionally?

Yes you change this from the sobi backend allow anonymous entries. Since I have allowed this I have entered my 'register now' link in DEFINE('_SOBI2_NOT_LOGGED_CANNOT_EDIT', and not the line DEFINE('_SOBI2_NOT_LOGGED' that I advised for your needs.

Bye for now


  English     (Français, plus bas) :

Ok ! Thanks leven ,
You saved me from big problems.
I will be trying this, very simple script, as soon as I finish setting up my joomla (probably in 2 weeks..).

I was sure; this couldn't be so hard to do..  = get an automatic login as we fill in the sobi directory form..
I hope this post will help others too..

I'll be back here, if I'm in trouble or, when I also get things going, to add my links (in a couple of months?)

Bye 
XiDeXo


  Français :

Merci leven,
Tu me rends un grand service avec ta réponse (que je vais traduire en français, plus bas).

Je me doutais, qu'il n'est pas si difficile de créer le compte membre en même temps que l'inscription sur l'annuaire sobi2..

Donc, je traduis en français ta réponse, pour ceux qui ne savent pas de quoi tu parlais.. :

I l faut ouvrir le fichier langage (ex: english.php), que l'on trouve dans les sous répertoires ;     components\com_sobi2\languages
 
Recherchez la ligne correspondant a ceci:

Quote
DEFINE('_SOBI2_NOT_LOGGED', '<h4>You are not logged in and therefore you cannot add an entry.</h4>');


En ajoutant le lien d'inscription ; comme ceci :

Quote
DEFINE('_SOBI2_NOT_LOGGED', '<h4>You are not logged in and therefore you cannot add an entry.</h4><br /><h4><a href="index.php?option=com_user&task=register&lang=en">Register Now</a>.</h4>');


Il suffit de répéter les mêmes opérations dans les autres fichiers de langues utilisés (selon votre installation SOBI), en changeant cette partie 'en' qui est en fin de texte du lien. Par exemple, en français vous aurez 'fr' ; comme ceci :

Quote
DEFINE('_SOBI2_NOT_LOGGED', '<h4>Vous n\'êtes pas connecté donc ne pouvez ajouter une inscription.</h4><br /><h4><a href="index.php?option=com_user&task=register&lang=fr">Inscription Maintenant</a>.</h4>');



Sur le site de "leven", il n'a pas souhaité rendre obligatoire l'inscription de l'adresse email, restant anonyme. En configurant l'administration, en anonyme.
Il a donc utilisé une autre ligne d'instruction dans les mêmes fichiers langage de sobi (ex: english.php),  dont la ligne de texte commence ainsi :

Quote
DEFINE('_SOBI2_NOT_LOGGED_CANNOT_EDIT', 
 

( qui est différent de la ligne que nous venons de modifier :
Quote
DEFINE('_SOBI2_NOT_LOGGED'
)



"leven", promet de venir placer le lien du site, en exemple, aussitôt qu'il l'aura terminé, d'ici quelques petites semaines..

J'en ferais de même pour mon (mes) sites(s), dans quelques mois..

Voila, nous avons terminé, je pense? Je ne manquerais pas de vous informer des éventuelles problèmes ou, remarques..

J'espère que les informations de "leven", pourrons rendre service a de nombreux utilisateurs SOBI.

Salut
XiDeXo

« Last Edit: 25. February 2009, 15:45:51 by XiDeXo »
Country: France France |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Offline thibzh

  • SobiPro Silver Club Member
  • Sobi User
  • *
  • Posts: 64
  • Reviews:

    What is it?

Re: Make new login automatic ?
« Reply #15 on: 08. July 2009, 23:59:17 »
Hello xidexo, leven and charlynancy,

if i understand, you did not implement a single form to add an entry and register the users.
Your solution is to put a link to error message in the language file for the not logged users.

Did you try to implement a single form or is this to difficult?

I used the same solutions than you on my website but i want to improve this process which is still to long for my users.

Thanks,

Thibault

En francais :

Salut xidexo, leven and charlynancy,

Si je comprends bien, vous n'avez pas développé un formulaire unique permettant d'ajouter une entré et d'enregistrer les utilisateurs en même temps.
Votre solution est de mettre un lien sur le message d'erreur dans le fichier de langue pour les utilisateurs non connectés.

Avez vous essayé de développer ce formulaire unique ou c'était trop compliqué?

J'ai utilisé la même solution que vous sur mon site mais je veux améliorer ce processus qui est toujours trop long pour mes utilisateurs.

merci,

Thibault
Thibault
Country: France France |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile Emploi garde enfants

Offline leven

  • SOBI Team
  • Moderator
  • Sobi Experte
  • *
  • Posts: 456
  • Reviews:

    What is it?

Re: Make new login automatic ?
« Reply #16 on: 09. July 2009, 04:11:05 »
Salut Thibault,

No we didn' t develop anything but somebody else did http://www.pelloquin.com/index.php/Register-plugin.html ;)

It is a commercial plugin at a very reasonable price, I believe.

En plus, ce plugin est disponible aussi en francais puisque le developeur est francophone (Suisse)

This thread is way too bilingual!  :P

PS: for the record, here is that link to demonstrate the very simple thing that was done above, better late than never..

http://free-wifi.gr/en/find-free-hotspots/add-new-hotspot.html 

A bientot,

leven
{The Difference Between Sobi2 and SobiPRO}

"Everything that irritates us about others can lead us to an understanding of ourselves." Carl Jung
Country: Greece Greece |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile Greek guide to free internet access

Offline thibzh

  • SobiPro Silver Club Member
  • Sobi User
  • *
  • Posts: 64
  • Reviews:

    What is it?

Re: Make new login automatic ?
« Reply #17 on: 09. July 2009, 14:23:46 »
Great,

I bought the plugin and i immediately going to test it. It seems to be what i look for.

Thank you very much for the information.

Best regards,

Thibault

Génial,

J'ai acheté le plugin et je vais immédiatement le tester. On dirait bien que c'était ce que je cherchais.
Merci beaucoup pour l'info.

Veuillez agréer monsieur mes salutations les meilleures ( :) pour le plaisir de traduction)

Thibault
Thibault
Country: France France |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile Emploi garde enfants

Offline thibzh

  • SobiPro Silver Club Member
  • Sobi User
  • *
  • Posts: 64
  • Reviews:

    What is it?

Re: Make new login automatic ?
« Reply #18 on: 18. July 2009, 00:00:17 »
So i try the plugin and it is exactly what i was looking for.

Only one form to add an entry in sobi2 and to register in joomla. it's just great.

Thanks to leven for the information and to pelloquin for the job.

Thibault
Country: France France |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile Emploi garde enfants

Tags: