Joomla! Discussion Forums



It is currently Wed Nov 25, 2009 7:26 am (All times are UTC )

 




Post new topic Reply to topic  [ 4 posts ] 
Author Message
Posted: Sat May 23, 2009 11:14 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Apr 09, 2009 2:59 am
Posts: 15
I need to find a hack on the system registration emails. My requirements are rather simply but I cannot seem to figure out how to get it to work. I need to change the email subject of the registration email.

At the moment it calls SITENAME - USER REGISTRATION

I can change USER REGISTRATION to what I need to produce but I cannot figure out how to remove "SITENAME -"

If I leave SITE NAME blank in the GLOBAL CONFIGURATION control panel I get

" - USER REGISTRATION"

I am using CB registration but I think this is part of joomla core... any one ever done a hack like this?


Top
  E-mail  
 
Posted: Sun May 24, 2009 10:03 pm 
User avatar
Joomla! Exemplar
Joomla! Exemplar
Offline

Joined: Thu Jul 17, 2008 3:10 pm
Posts: 7669
Location: Europe
Hi,

which Joomla version do you have?
In Joomla 1.0 you can set Subject of the Registration in the following file:
Code:
./language/english.php

in th following line:
Code:
DEFINE('_SEND_SUB','Account details for %s at %s');


In Joomla 1.5 you can see it in this file:
Code:
./language/en-GB/en-GB.com_user.ini

in this line:
Code:
ACCOUNT DETAILS FOR=Account Details for %s at %s


So it looks like your problem is more related to CB registration.

Olaf

_________________
Olaf Offick
Learn Skills - a world of learning at your fingertips
http://learn-skills.org


Top
   
 
Posted: Mon May 25, 2009 3:37 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Apr 09, 2009 2:59 am
Posts: 15
I am using Joomla 1.5.9 with CB 1.2

I affected the default_language.php file for CB and was able to change "User Registration" to what I needed but I still cannot get rid of the initial subject. Can anyone guide me to the right file and line?

It was not in user.ini...


Top
  E-mail  
 
Posted: Mon Jun 01, 2009 5:16 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Apr 09, 2009 2:59 am
Posts: 15
I have been able to solve my problem with the SUBJECT message of the emails coming in - it was related to Community Builder and part of the comprofiler.class.php code had to be hacked.

To remove the SITENAME from the subject of email address you go to:

comprofiler.class.php

in function sendFromSystem

cb_html_entity_decode_all($_CB_framework->getCfg( 'sitename' )).' - '.$sub

I removed that line and then set the subject in the default_language.php file.


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 28 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group