phpBB2Refugees.com Logo
Not affiliated with or endorsed by the phpBB Group

Register •  Login 

Continue the legacy...

Welcome to all phpBB2 Refugees!Wave Smilie

This site is intended to continue support for the legacy 2.x line of the phpBB2 bulletin board package. If you are a fan of phpBB2, please, by all means register, post, and help us out by offering your suggestions. We are primarily a community and support network. Our secondary goal is to provide a phpBB2 MOD Author and Styles area.

Adding board URL to registration emails


 
Search this topic... | Search MOD Requests... | Search Box
Register or Login to Post    Index » MOD Requests  Previous TopicPrint TopicNext Topic
Author Message
Red Dog
Board Member



Joined: 06 Mar 2009

Posts: 41


flag
PostPosted: Sat Mar 07, 2009 9:24 pm 
Post subject: Adding board URL to registration emails

In phpBB3 if we put {U_BOARD} we have board URL, but this is not working in phpBB2. I also tryed {BOARDURL}, {BOARD_URL}, {SITEURL}, {SITE_URL}... and others. Nothing worked. icon_sad.gif Probably a value for site URL will have to be added somewhere... In the same place where {SITENAME}, {USERNAME}, {WELCOME_MSG} and all others are. But where, oh my, where? icon_rolleyes.gif

This is good because some people just forget board URL. icon_mrgreen.gif
Back to top
~Cowboy~
Board Member



Joined: 08 Dec 2008

Posts: 297
Location: Chicago


flag
PostPosted: Sun Mar 08, 2009 12:59 am 
Post subject: Re: Adding board URL to registration emails

Try {U_INDEX}
_________________
Image link
We are not refugees we are trail blazers. icon_wink.gif
Back to top
Red Dog
Board Member



Joined: 06 Mar 2009

Posts: 41


flag
PostPosted: Sun Mar 08, 2009 11:05 am 
Post subject: Re: Adding board URL to registration emails

Nope, not working.
Back to top
~Cowboy~
Board Member



Joined: 08 Dec 2008

Posts: 297
Location: Chicago


flag
PostPosted: Sun Mar 08, 2009 11:08 am 
Post subject: Re: Adding board URL to registration emails

Now that is strange.. I pulled that from the link back for the board logo.. It should work. icon_eek.gif
Code:
<a href="{U_INDEX}"><img src="templates/subSilver/images/logo_phpBB.gif" border="0" alt="{L_INDEX}" vspace="1" /></a>

_________________
Image link
We are not refugees we are trail blazers. icon_wink.gif
Back to top
Jim_UK
Board Member



Joined: 19 Nov 2008

Posts: 548
Location: North West UK


flag
PostPosted: Sun Mar 08, 2009 12:52 pm 
Post subject: Re: Adding board URL to registration emails

Have you tried the obvious?
Just enter the boards URL into the mail template.


Jim
Back to top
Dog Cow
Board Member



Joined: 18 Nov 2008

Posts: 378


flag
PostPosted: Sun Mar 08, 2009 5:33 pm 
Post subject: Re: Adding board URL to registration emails

Jim_UK wrote:
Have you tried the obvious?
Just enter the boards URL into the mail template.

icon_eek.gif Sacrilege! Don't you know it is against our most ancient and holy laws to take the easy route?! We must use the most complicated method possible.


OPEN includes/usercp_register.php

FIND
Code:

                  'U_ACTIVATE' => $server_url . '?mode=activate&' . POST_USERS_URL . '=' . $user_id . '&act_key=' . $user_actkey)
               );


BEFORE, ADD

Code:

                  'U_INDEX' => 'http://example.com/forums/',

Put your board's URL in there if you want.

_________________
Moof!
Lincoln's Tomb, Oak Ridge Cemetery, Springfield IL Mac 512K Blog Mac GUI
Back to top
~Cowboy~
Board Member



Joined: 08 Dec 2008

Posts: 297
Location: Chicago


flag
PostPosted: Sun Mar 08, 2009 5:50 pm 
Post subject: Re: Adding board URL to registration emails

weee... brownie points for me today Image link
_________________
Image link
We are not refugees we are trail blazers. icon_wink.gif
Back to top
Red Dog
Board Member



Joined: 06 Mar 2009

Posts: 41


flag
PostPosted: Wed Mar 11, 2009 2:33 pm 
Post subject: Re: Adding board URL to registration emails

Dog Cow wrote:
OPEN includes/usercp_register.php

FIND
Code:

                  'U_ACTIVATE' => $server_url . '?mode=activate&' . POST_USERS_URL . '=' . $user_id . '&act_key=' . $user_actkey)
               );


BEFORE, ADD

Code:

                  'U_INDEX' => 'http://example.com/forums/',

Put your board's URL in there if you want.

Thanks, but unfortunatelly it's no good for me. I want to use more then one domain... I want every user to receive the URL of the domain where he registered.
Back to top
lumpy burgertushie
Board Member



Joined: 19 Nov 2008

Posts: 217


flag
PostPosted: Wed Mar 11, 2009 4:15 pm 
Post subject: Re: Adding board URL to registration emails

I assume this must mean that you are trying to run a free forum service.

robert
Back to top
Dog Cow
Board Member



Joined: 18 Nov 2008

Posts: 378


flag
PostPosted: Wed Mar 11, 2009 5:02 pm 
Post subject: Re: Adding board URL to registration emails

Red Dog wrote:

Thanks, but unfortunatelly it's no good for me. I want to use more then one domain... I want every user to receive the URL of the domain where he registered.


Then use $_SERVER['SERVER_NAME'] instead.

_________________
Moof!
Lincoln's Tomb, Oak Ridge Cemetery, Springfield IL Mac 512K Blog Mac GUI
Back to top
Display posts from previous:   
Register or Login to Post    Index » MOD Requests  Previous TopicPrint TopicNext Topic
Page 1 of 1 All times are GMT
 
Jump to:  

Index • About • FAQ • Rules • Privacy • Search •  Register •  Login 
Not affiliated with or endorsed by the phpBB Group
Powered by phpBB2 © phpBB Group
Generated in 0.0291 seconds using 15 queries. (SQL 0.0026 Parse 0.0009 Other 0.0255)
phpBB Customizations by the phpBBDoctor.com
Template Design by DeLFlo and MomentsOfLight.com Moments of Light Logo