OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Booklibrary settings backend multiple emails (0 viewing) 
BookLibary Component Support
Go to bottom Favoured: 0
TOPIC: Booklibrary settings backend multiple emails
#2918
scooksley (User)
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Booklibrary settings backend multiple emails 4 Years, 10 Months ago Karma: 0  
On the Settings Backend page in the admin section, I want to enter more than two email addresses for the notifications. However, it seems that the string length is limited to less than 50 characters and is impossible to add more.

I managed to enter these in the admin.booklibrary.class.conf.php file, but will need other people to maintain this from the admin section in time instead of doing this.

Where would I be able to increase the string length of these?
 
Logged Logged  
  The administrator has disabled public write access.
#2925
admin (Admin)
Admin
Posts: 4856
graph
User Offline Click here to see the profile of this user
Re:Booklibrary settings backend multiple emails 4 Years, 10 Months ago Karma: 61  
Hello,

In yours file:
{yours site}/administrator/components/com_booklibrary/admin.booklibrary.php


you need find rows look like:
Code:

       $lists['review_email']['address'] = '<input type="text" name="review_email_address" value="'.$booklibrary_configuration['review_email']['address'].'" class="inputbox" size="50" maxlength="50" title="" />';//back--1
        $lists['suggest_email']['address'] = '<input type="text" name="suggest_email_address" value="'.$booklibrary_configuration['suggest_email']['address'].'" class="inputbox" size="50" maxlength="50" title="" />';
        $lists['lendrequest_email']['address'] = '<input type="text" name="lendrequest_email_address" value="'.$booklibrary_configuration['lendrequest_email']['address'].'" class="inputbox" size="50" maxlength="50" title="" />';
        $lists['addbook_email']['address'] = '<input type="text" name="addbook_email_address" value="'.$booklibrary_configuration['addbook_email']['address'].'" class="inputbox" size="50" maxlength="50" title="" />';



and replace it to
Code:

       $lists['review_email']['address'] = '<input type="text" name="review_email_address" value="'.$booklibrary_configuration['review_email']['address'].'" class="inputbox" size="50" maxlength="250" title="" />';//back--1
        $lists['suggest_email']['address'] = '<input type="text" name="suggest_email_address" value="'.$booklibrary_configuration['suggest_email']['address'].'" class="inputbox" size="50" maxlength="250" title="" />';
        $lists['lendrequest_email']['address'] = '<input type="text" name="lendrequest_email_address" value="'.$booklibrary_configuration['lendrequest_email']['address'].'" class="inputbox" size="50" maxlength="250" title="" />';
        $lists['addbook_email']['address'] = '<input type="text" name="addbook_email_address" value="'.$booklibrary_configuration['addbook_email']['address'].'" class="inputbox" size="50" maxlength="250" title="" />';




Thanks,
Ordasoft team
 
Logged Logged  
  The administrator has disabled public write access.
#2932
scooksley (User)
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Re:Booklibrary settings backend multiple emails 4 Years, 10 Months ago Karma: 0  
Perfect - thank you!
 
Logged Logged  
  The administrator has disabled public write access.
Go to top
What are you looking for?
Anti-spam question: How many eyes has a typical person?