View Single Post
  #2  
Old 05-26-2017, 04:50 PM
Dinocanid's Avatar
Dinocanid Dinocanid is offline
Member
 
Join Date: Aug 2016
Location: Maryland, USA
Posts: 516
Gender: Unknown/Other
Credits: 65,290
Dinocanid is on a distinguished road
Default

Inside registerview.php, you could change public function index() to this (assuming it is unedited):
PHP Code:
    public function index(){
        
$mysidia Registry::get("mysidia");
        
$document $this->document;        
        if(
$mysidia->input->post("submit")){
    
$document->setTitle($this->lang->success_title);
    
$document->addLangvar($this->lang->success.$mysidia->input->post("username").$this->lang->success2);

      
$document->add(new Comment("<meta http-equiv='refresh' content='1;url=YOURURL' />"));
    
    return;

I think changing the '1' to a higher number changes the amount of seconds before the redirect happens, just in case you want to show a message or something first.
__________________

Last edited by Dinocanid; 05-26-2017 at 04:55 PM. Reason: WOOPS I messed up. it needs to be in an if statement
Reply With Quote