1
Kainaij
Need help modifying registration output page...
  • 2005/3/11 14:28

  • Kainaij

  • Quite a regular

  • Posts: 256

  • Since: 2004/10/5


My confirmation e-mails are getting sent to Yahoo! & others bulk folder beacuse of my Shared IP. What I would like to do is modify the registration confirmation screens' appearance below:

Resized Image

I would like to add text reminding Yahoo! clients to check their "Bulk" folder. I would also like to add some other text as well. Which file do I have to edit to get to it. I've scoured the register.php and registerform.php files and cannot find a place to insert text. As well I've looked at the source output and do not know enough about php to decipher where the tags interconnect within the XOOPS system.

Can someone give me a lead on where I can edit a XOOPS file to add text to the above pictured output page? Or even an alternative.

2
Kainaij
Re: Need help modifying registration output page...
  • 2005/3/12 7:48

  • Kainaij

  • Quite a regular

  • Posts: 256

  • Since: 2004/10/5


I've re-worded my original post to better get an answer to my question.

3
gojoe_gojoe
Re: Need help modifying registration output page...

Open register.php

At the bottom of the page you'll see
include 'header.php';
    
//OpenTable();
    
include 'include/registerform.php';
    
$reg_form->display();
    
//CloseTable();
    
include 'footer.php';


Add a line before include/registerform.php

echo "<div>If you are using Yahoo as your mail account please check your BULK box</div><br />";

include 
'include/registerform.php';


Hope that helps

4
Kainaij
Re: Need help modifying registration output page...
  • 2005/3/13 6:48

  • Kainaij

  • Quite a regular

  • Posts: 256

  • Since: 2004/10/5


I will try it right away and post back my results.

5
Kainaij
Re: Need help modifying registration output page...
  • 2005/3/13 7:05

  • Kainaij

  • Quite a regular

  • Posts: 256

  • Since: 2004/10/5


Nope, the text appeared one registration screen too early. It appeared on the form entry registration page. You gave me a couple leads tho and I am going to try a couple things. I'll post back if I have a resolution.

If you want to suggest another idea, feel free.

Thanks.

6
Kainaij
Re: Need help modifying registration output page...
  • 2005/3/13 7:26

  • Kainaij

  • Quite a regular

  • Posts: 256

  • Since: 2004/10/5


No luck, I can't find where to insert the text. Does anyone know which file I can edit?

Thanks gojoe, I appreciate the try.

7
gojoe_gojoe
Re: Need help modifying registration output page...

OK I see now what you want. Do this
Open Registration.php and find this code about line 299
echo "<form action='register.php' method='post'>
<input type='hidden' name='uname' value='"
.$myts->makeTboxData4PreviewInForm($uname)."' />
<input type=hidden value='"
.$myts->makeTboxData4PreviewInForm($name)."' name=name>
<input type='hidden' name='email' value='"
.$myts->makeTboxData4PreviewInForm($email)."' /> ";


And replace it with this code

echo "<form action='register.php' method='post'>
<input type='hidden' name='uname' value='"
.$myts->makeTboxData4PreviewInForm($uname)."' />
<input type=hidden value='"
.$myts->makeTboxData4PreviewInForm($name)."' name=name>
<input type='hidden' name='email' value='"
.$myts->makeTboxData4PreviewInForm($email)."' />
<div>If you are using Yahoo as your mail account please check your BULK box</div><br />"
;

8
Kainaij
Re: Need help modifying registration output page...
  • 2005/3/13 12:52

  • Kainaij

  • Quite a regular

  • Posts: 256

  • Since: 2004/10/5


Success!!!

The file you told be to look for was incorrect (registration.php), but the code snippet that you gave was exactly right. I looked for it in the register.php file. My guess is that registration.php is a file found in an earlier (pre 2.0.9.2) version.

Anyhow this is what the code looke like after I finished with it.

Beginning on line 138 of register.php:

echo "<h5><strong><p>Please review the following information:</p></strong></h5>";
        echo 
_US_USERNAME.": ".$myts->makeTboxData4Preview($uname)."<br />";
        echo 
_US_EMAIL.": ".$myts->makeTboxData4Preview($email)."<br />";
        
//if ( $user_avatar != '' ) {
        //    echo _US_AVATAR.": <img src='uploads/".$user_avatar."' alt='' /><br />";
        //}
        
if ( isset($url) && $url != '' ) {
            
$url formatURL($myts->makeTboxData4Preview($url));
            echo 
_US_WEBSITE.": $url<br />";
        }
        
$f_timezone = ($timezone_offset 0) ? 'GMT '.$timezone_offset 'GMT +'.$timezone_offset;
        echo 
_US_TIMEZONE.": $f_timezone<br />";
        echo 
"<form action='register.php' method='post'>
        <input type='hidden' name='uname' value='"
.$myts->makeTboxData4PreviewInForm($uname)."' />
        <input type='hidden' name='email' value='"
.$myts->makeTboxData4PreviewInForm($email)."' />";
        echo 
"<h5><strong><p><strong>After you have reviewed the above information to be correct, click the Finish button below to receive your confirmation e-mail.</strong></p>
          <p>IMPORTANT!!! - If you are using an online e-mail provider such as Yahoo! or MSN, you may need to check your BULK folder for your registration e-mail.</p></strong></h5>"
;


and this is how it looks:

Resized Image

Thnak you very much joe, I appreciate your help.

Login

Who's Online

189 user(s) are online (131 user(s) are browsing Support Forums)


Members: 0


Guests: 189


more...

Donat-O-Meter

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

Latest GitHub Commits