1
Anonymous
Quick Registration Block
  • 2005/6/14 16:14

  • Anonymous

  • Posts: 0

  • Since:


Hi,

How i can make quick reg. block with one filed for email only, so visitors can add emails and admin can send newsletters via : modules/system/admin.php?fct=mailusers


2
pegasus00321
Re: Quick Registration Block

You can't do that, but you can use a Newsletter Module to allow people to subscribe to something and then you can use that module to email them.

Try Evennews http://dev.xoops.org/modules/xfmod/project/?evennews

3
Anonymous
Re: Quick Registration Block
  • 2005/6/14 20:07

  • Anonymous

  • Posts: 0

  • Since:


Yes, evennews is good newsletter module but it create another members list, so if i want to send mail to all users, must be send to all users at evennews and all users at XOOPS site.


4
Anonymous
Re: Quick Registration Block
  • 2005/10/10 13:56

  • Anonymous

  • Posts: 0

  • Since:


Any idea ?

Now i installing PP-News and i want to use pp-news block to add new members into XOOPS users list directly.

this is block of pp-news:
/modules/PP_News/blocks/pp-news.php

/*$blocks['ppnews'] = array(
    'func_display' => 'blocks_ppnews_block',
    'text_type' => 'PP-News',
    'text_type_long' => "PP-News",
    'allow_multiple' => false,
    'form_content' => false,
    'form_refresh' => false,
    'show_preview' => false
);*/
function blocks_ppnews_block($row) {
global 
$xoopsConfig;

    
//{

     
$boxstuff "
";
     
$boxstuff .= ""._WEPPLETTER."";
       
$boxstuff .= "POST" action="".XOOPS_URL."/modules/PP_News/index.php">";
       
$boxstuff .= ""._PPMAIL."
text" name="mail_user" size="18">";
       
$boxstuff .= "
"
._FORMAT." ";
       
$boxstuff .= "1" name="format_mail">";
       
$boxstuff .= "html">HTML";
       
$boxstuff .= "txt">TXT";
       
$boxstuff .= "";
       
$boxstuff .= "
"
;
       
$boxstuff .= "HIDDEN" name="choix" value="ok">";
       
$boxstuff .= "HIDDEN" name="rapide" value="1">";
       
$boxstuff .= "submit" value="._ISCRIZ.">";
       
$boxstuff .= "
/modules/PP_News/index.php?choix=inscription_user">"._INSCRIPTIONAVANCE2."";
       
$boxstuff .= "
"
;
       
        
$block = array();
        
$block['title'] = _PPLETTER;
        
$block['content'] = $boxstuff;

    
//}
    
    
return $block;
}

?>

5
Anonymous
Re: Quick Registration Block
  • 2005/10/10 15:14

  • Anonymous

  • Posts: 0

  • Since:


Hi again,

I'm try to make quick reg. block as following :
<form action="<{$xoops_url}>/'register.php" method="post">User Name: <input type='text' name='uname' size=12><p>
    
Password: <input class="boite" type="password" size="12" name="pass"p>
    
Email: <input type='text' name='email' size=12><p>
                <
input type='hidden' name='op' value='finish' /><input type='submit' value='ok' />form>
form>


but it's not working

Login

Who's Online

326 user(s) are online (262 user(s) are browsing Support Forums)


Members: 0


Guests: 326


more...

Donat-O-Meter

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

Latest GitHub Commits