. .
pragmaMx Support Forum 23 Mai 2013, 07:01:43 *
Willkommen Gast. Bitte einloggen oder registrieren.


Einloggen mit Benutzername und Passwort
News:
Brauchen Sie Hilfe? Bitte nutzen Sie unsere Suchfunktion bevor Sie Beiträge oder Fragen ins Board schreiben! Viele Fragen wurden bereits gestellt und beantwortet. Danke!
 
Übersicht Hilfe Forenregeln / Boardrules
 
Suche
Seiten: [1]   Nach unten
Drucken
Autor Thema: Block Schnelle Anmeldung / Block fast register  (Gelesen 5250 mal)
0 Mitglieder und 1 Gast betrachten dieses Thema.
shorty
weiss was
***
Offline Offline

Beiträge: 110


WWW
« am: 10 Oktober 2010, 23:03:37 »

 Hello @ all PragmaMX.org community and thanks for this great CMS

I come back for ask you if you know how do a simple register block possible to put on my homepage into a block.

I just wanna the 3 basic options like

pseudo :

Pass :

Birthdate :

                  I Button ok I

 
 Thanks for you support.
Enjoy to use PragmaMX.

 Regards,
Shorty
Gespeichert

anmShinichi
weiss mehr
****
Offline Offline

Geschlecht: Männlich
Beiträge: 386


WWW
« Antworten #1 am: 11 Oktober 2010, 16:16:49 »

Hi there ^^

what about alternative options, cause I guess a mail-address is important, too.

Alt. option 1
pseudo, pass, mailaddress (without birthday)

Alt. option 2 (if bd is imp.)
pseudo, mailaddress, birthday (pw will be mailed by system)

Alt. option 3
pdeudo, pass, mail, birthday

~~~ Which option do you prefer?

greets
Shin

PS: sry my english is ... yes ^^...
Gespeichert

animenmore e.V. - der Verein: Mit PMX 1.12 auf www.myanm.de
GeeLoo
weiss mehr
****
Offline Offline

Geschlecht: Männlich
Beiträge: 392


WWW
« Antworten #2 am: 11 Oktober 2010, 17:52:02 »

Hello =)

you Search for this one :
http://www.viyoo.de/register-me.html

But with Birthday and in a Block right ?
Gespeichert

www.Pragma-Themes.de | Themes - Module - Blöcke für pragmaMx
anmShinichi
weiss mehr
****
Offline Offline

Geschlecht: Männlich
Beiträge: 386


WWW
« Antworten #3 am: 11 Oktober 2010, 19:32:55 »

Ich glaub, er sucht einen Block direkt auf seiner Seite zum Registrieren, so eine Art block-register.php, die man auf der Hauptseite links oder rechts einbinden kann.

// I guess he's looking for a block (block-register.php), which you put on left or right side of your mainpage.

Gruß/greets
Shin
Gespeichert

animenmore e.V. - der Verein: Mit PMX 1.12 auf www.myanm.de
GeeLoo
weiss mehr
****
Offline Offline

Geschlecht: Männlich
Beiträge: 392


WWW
« Antworten #4 am: 11 Oktober 2010, 20:03:47 »

Mein ich ja mit name passwort und geb datum =) im block
Gespeichert

www.Pragma-Themes.de | Themes - Module - Blöcke für pragmaMx
anmShinichi
weiss mehr
****
Offline Offline

Geschlecht: Männlich
Beiträge: 386


WWW
« Antworten #5 am: 11 Oktober 2010, 20:21:24 »

ha, klar, wir verstehen uns ^^

ich dachte, du bietest schon was fertiges an... aber jetzt versteh ich's...

// you're right. Geeloo, Do U want to do this? If not, I could try to release this block-wish.
Gespeichert

animenmore e.V. - der Verein: Mit PMX 1.12 auf www.myanm.de
GeeLoo
weiss mehr
****
Offline Offline

Geschlecht: Männlich
Beiträge: 392


WWW
« Antworten #6 am: 11 Oktober 2010, 20:28:11 »

=) No i have not this block yet the problem that i see is no captcha no AGB and so on. I think its easy to Spam the Website without any Security Operations.

Sorry my English is Very baaaaaaaaad =)

Also ich denke das der Block ein großes Problem mit sich bringt.
Kein Captcha keine AGB oder Nutzungsbedingungen bestätigen.
Leichtes Anmelden bietet auch Leuten die möglichkeiten die Webseite leichter zu Spamen =)
Macht es also Sinn auf kosten von Bequemlichkeit die Sicherheit aufs Spiel zu setzen ?

MFG
Andre
Gespeichert

www.Pragma-Themes.de | Themes - Module - Blöcke für pragmaMx
anmShinichi
weiss mehr
****
Offline Offline

Geschlecht: Männlich
Beiträge: 386


WWW
« Antworten #7 am: 11 Oktober 2010, 20:36:23 »

Jetzt mal ganz hart... *g*

wie wärs, wenn man die wenigen daten eingeben kann... und mit klick auf den button wird noch net gesendet, sondern ein versteckter div angezeigt, wo CAPTCHA und AGB hervor kommen und dann der echte BUTTON zum Senden dabei ist.

Wer seine Community zugespamt haben möchte, könnte das ja deaktivieren, oder so *g*

// Sorry because of that GERMAN (esp. missing translation), but it's brainstorming only Wink
Gespeichert

animenmore e.V. - der Verein: Mit PMX 1.12 auf www.myanm.de
GeeLoo
weiss mehr
****
Offline Offline

Geschlecht: Männlich
Beiträge: 392


WWW
« Antworten #8 am: 11 Oktober 2010, 20:45:51 »

dann könnte man auch gleich auf die register seite zugreifen oder? meine ist ja auch sehr Simpel =)
Gespeichert

www.Pragma-Themes.de | Themes - Module - Blöcke für pragmaMx
shorty
weiss was
***
Offline Offline

Beiträge: 110


WWW
« Antworten #9 am: 12 Oktober 2010, 02:00:38 »

 Thanks @ all for you support.

 I wan't do the option 3, it's perfect like on http://www.viyoo.de/register-me.html but with the birthdate.
(because the website is restricted under 13 years). And i wanna put it in block i can put on my homepage.

it's perfect pseudo/pass/mail/birthday and the two cases for newsletter and rules

Thanks very much for help me !  thumbup
Gespeichert

algebre
weiss was
***
Offline Offline

Geschlecht: Männlich
Beiträge: 155

algebre


WWW
« Antworten #10 am: 12 Oktober 2010, 17:20:42 »

salut shorty
Code: [Select]  
<?php
/**
 * This file is part of 
 * pragmaMx - Web Content Management System.
 * Copyright by pragmaMx Developer Team - http://www.pragmamx.org
 *
 * pragmaMx is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * $Revision: 1.5 $
 * $Author: tora60 $
 * $Date: 2007/12/22 14:15:56 $
 */

defined('mxMainFileLoaded') or die('access denied');

$mxblockcache false;
$module_name "User_Registration";
mxGetLangfile("Your_Account");
$blockfiletitle _QUICKREGISTER ;
$content "";
include_once(
PMX_SYSTEM_DIR DS "mx_userfunctions.php");


$userconfig load_class('Userconfig');
$pvs['uid'] = (empty($pvs['uid'])) ? $pvs['uid'];
    
$pvs['uname'] = (empty($pvs['uname'])) ? '' $pvs['uname'];
    
$pvs['user_bday'] = (empty($pvs['user_bday'])) ? '0000-00-00' $pvs['user_bday'];

    if (
function_exists("vkpUserform_option")) {
        return 
vkpUserform_option($pvs);
    }
    
$cbday vkpBdaySelect($pvs['user_bday']);
    if (
$userconfig->yaproofdate) {
        
$cbday .= ' ' _REQUIRED '<br />' _APPROVEDATE1 "&nbsp;<strong>" $userconfig->yaproofdate "</strong>&nbsp;" _APPROVEDATE2;
    }
if (!
mxIsUser() && (mxModuleAllowed('User_Registration')) ) {
  
##############################################################  
$content =  "<form name=\"Register\" action=\"modules.php?name=" $module_name "\"  method=\"post\">\n"

          
"<table cellspacing=\"1\" cellpadding=\"3\" class=\"bgcolor1\">"
          
"<tr valign=\"top\"><th colspan=\"4\" class=\"bgcolor2 bigger\">" _YA_ACCOUNTDATA "</th></tr>"
          
"<tr valign=\"top\"><td width=\"20%\" class=\"bgcolor2\"><b>" _NICKNAME ":</b></td><td colspan=\"3\" class=\"bgcolor3\">\n"
          
"<input type=\"text\" name=\"uname\" size=\"50\" maxlength=\"25\" value=\"" . ((isset($oldvals['uname'])) ? mxentityquotes($oldvals['uname']) : "") . "\" />&nbsp;&nbsp;<font class=\"tiny\">" _REQUIRED "</font></td></tr>\n";

$content .= "<tr valign=\"top\"><td class=\"bgcolor2\"><b>" _UREALEMAIL ":</b></td><td colspan=\"3\" class=\"bgcolor3\">\n"
     
"<input type=\"text\" name=\"email\" size=\"50\" maxlength=\"100\" value=\"" . ((isset($oldvals['email'])) ? mxentityquotes($oldvals['email']) : "") . "\" />&nbsp;&nbsp;<font class=\"tiny\">" _REQUIRED "</font><br /><span class=\"tiny\">" _EMAILNOTPUBLIC "</span></td></tr>\n"
          
"<tr valign=\"top\"><td width=\"20%\" class=\"bgcolor2\"><b>" _YA_UBDAY ":</b></td><td colspan=\"3\" width=\"80%\" class=\"bgcolor3\">\n" $cbday "</td></tr>\n";
    
    switch (
$userconfig->register_option) {
        case 
1:
        case 
3:
        case 
4:
            
$xpass makepass();
            
$msg _PASSWILLSEND;
            
$content .=  "<tr valign=\"top\"><td class=\"bgcolor2\">
        <b>" 
_DESIREDPASS ":</b>
        <input type=\"hidden\" name=\"xpass\" value=\"" 
$xpass "\" />
        </td><td colspan=\"3\" class=\"bgcolor3\">\n
        <input type=\"password\" name=\"pass\" size=\"22\" maxlength=\"20\" value=\"\" />&nbsp;
        <input type=\"password\" name=\"vpass\" size=\"22\" maxlength=\"20\" value=\"\" />&nbsp; " 
sprintf(_OPTIONAL1$userconfig->minpass) . "\n<br />
        <span class=\"tiny\">" 
_OPTIONAL2 " " _YA_PWVORSCHLAG ":&nbsp;" $xpass "</span>
        </td></tr>\n"
;
            break;
        case 
2:
            
$msg _YA_REG_MAILMSG2;
            break;
    }

   
// echo vkpUserform($oldvals);
    /**
     * START Benutzer muessen den AGB zustimmen - 2005-18-05  (RtR)
     */
    
if ($userconfig->agb_content) {
        
$content .=  "<tr valign=\"top\"><td width=\"20%\" class=\"bgcolor2\"><strong>" _EULA ":</strong></td><td colspan=\"3\" class=\"bgcolor3\">\n";
        switch (
$userconfig->agb_content) {
            case 
"1":
                
$agb_out $userconfig->agb_content_sub1;
                
$moduleslist sql_query("SELECT DISTINCT artid FROM " $prefix "_seccont WHERE artid='$agb_out'");
                list(
$linkartid) = sql_fetch_row($moduleslist);
                if (!empty(
$linkartid)) {
                    
$linkout "modules.php?name=Sections&amp;op=viewarticle&amp;artid=$linkartid";
                } else {
                    
$linkout "#>";
                }
                break;
            case 
"2":
                
$agb_out $userconfig->agb_content_sub2;
                
$moduleslist sql_query("SELECT DISTINCT pid FROM " $prefix "_pages WHERE pid='$agb_out'");
                list(
$linkpid) = sql_fetch_row($moduleslist);
                if (!empty(
$linkpid)) {
                    
$linkout "modules.php?name=Content&amp;pid=$linkpid";
                } else {
                    
$linkout "#>";
                }
                break;
            case 
"3":
                
$agb_out $userconfig->agb_content_sub3;
                
$moduleslist sql_query("SELECT DISTINCT title FROM " $prefix "_modules WHERE mid='$agb_out'");
                list(
$linktitle) = sql_fetch_row($moduleslist);
                if (!empty(
$linktitle)) {
                    
$linkout "modules.php?name=$linktitle";
                } else {
                    
$linkout "#>";
                }
                break;
            default:
                
$linkout "#>";
        }
        
$content .= "<input type=\"checkbox\" name=\"readrules\" value=\"1\" /> " _IHAVE " <a href=\"{$linkout}\" target=\"_blank\" title=\"" _EULA " " _SHOWIT "\"><strong>" _EULA "</strong></a> " _READDONE " " _REQUIRED "</font></td></tr>\n";
    }
    
/**
     * ENDE Benutzer muessen den AGB zustimmen
     */
    
$content .= "<tr class=\"bgcolor2\"><td>\n<input type=\"submit\" value=\"" _NEWUSER "\" />&nbsp;&nbsp;";
    
$content .= "</td>"
     
"<td colspan=\"3\">" $msg "\n"
     
"<input type=\"hidden\" name=\"op\" value=\"confirm\" />\n"
     
"<input type=\"hidden\" name=\"name\" value=\"" $module_name "\" />\n"
     
"<input type=\"hidden\" name=\"check\" value=\"" md5(mxsessiongetvar("newusercheck")) . "\" />\n"
     
"</td></tr></table>\n"
     
"</form>";
    
$content .= '</div>'// tabs-panel
    
    
  ##############################################################  
    
}

switch (
$GLOBALS['currentlang']){ 
    case 
"french":
    
define("_QUICKREGISTER""Eenregistrement rapide");
    break;

    case 
"german":
    
define("_QUICKREGISTER""Eenregistrement rapide");
    break;

    case 
"turkish":
    
define("_QUICKREGISTER""Eenregistrement rapide");
    break;

    default :
    
define("_QUICKREGISTER""Quick Register");
}
?>
Gespeichert
algebre
weiss was
***
Offline Offline

Geschlecht: Männlich
Beiträge: 155

algebre


WWW
« Antworten #11 am: 12 Oktober 2010, 18:18:31 »

hi
I forget one thing
this block must be in " Center top " or " Center bottom "
I hope this block is what you want
Gespeichert
shorty
weiss was
***
Offline Offline

Beiträge: 110


WWW
« Antworten #12 am: 12 Oktober 2010, 19:19:25 »

 biggrin

Merci Algebre !
je vais éssayer sa !

Thanks Algebre !
I will try this !
Gespeichert

shorty
weiss was
***
Offline Offline

Beiträge: 110


WWW
« Antworten #13 am: 12 Oktober 2010, 23:06:32 »

i've :
Fatal error: Call to undefined function load_class() in .../blocks/block-fast_register.php on line 27

if i can help run on 1.10

Thanks @ all for your support
Gespeichert

algebre
weiss was
***
Offline Offline

Geschlecht: Männlich
Beiträge: 155

algebre


WWW
« Antworten #14 am: 13 Oktober 2010, 00:42:35 »

hi
excuse me, I do not coded anything, I just used the classes and functions that already exist.
And I did not pay attention to the version of PMx.
This block is compatible PMx => 0.1.12
Gespeichert
shorty
weiss was
***
Offline Offline

Beiträge: 110


WWW
« Antworten #15 am: 13 Oktober 2010, 21:57:27 »

 Thanks very much Algebre, but i can't use 1.12 on my servers (see here http://www.pragmamx.org/Forum-topic-31543.html) for this time, and i can't try or use it on my website.
 Is it possible to modify it for works with lower version ?

 Thanks @ all PragmaMx.org community for your support
Gespeichert

shorty
weiss was
***
Offline Offline

Beiträge: 110


WWW
« Antworten #16 am: 15 Oktober 2010, 16:08:29 »

 Thanks for your help Algebre  biggrin

Do you think it's possible to adapt this block for pmx 1.11 ?
 Because Diabolo from PragmaMx.fr tell us do not use pmx 1.12 on working websites because it's a RC-1 version.
I've the same error than on 1.10, but the block works perfect on 1.12,
 i just wanna put newsletter and rules button under the block.


Fatal error: Call to undefined function load_class() in /home/.../blocks/block-fast_register.php on line 27

Thanks @ all community for your support

Regards.
shorty


Gespeichert

algebre
weiss was
***
Offline Offline

Geschlecht: Männlich
Beiträge: 155

algebre


WWW
« Antworten #17 am: 15 Oktober 2010, 19:25:21 »

hi
Here is a block compatible with "PMx  0.1.10 & 0.1.11 "

* block-quick-register.php (7.46 KB - runtergeladen 145 Mal.)
Gespeichert
shorty
weiss was
***
Offline Offline

Beiträge: 110


WWW
« Antworten #18 am: 18 Oktober 2010, 02:12:05 »

 Thank's it's perfect !  thumbup
Gespeichert

shorty
weiss was
***
Offline Offline

Beiträge: 110


WWW
« Antworten #19 am: 01 November 2010, 22:03:13 »

Hello @ all.

I come back for ask you about this block.

is it possible to create a right or left quick register block ?

How i can add  the website link ?

How i can automatically redirect users to register page like viyoo.de or display the actual center block if access is denied for guest ?

 Thanks @ all pragmamx community & Team for your support
Gespeichert

Seiten: [1]   Nach oben
Drucken
 
Gehe zu:  

Powered by SMF 1.1.18 | SMF © 2011, Simple Machines
design by hENNE, layout based on YAML