Welcome, Guest
Please Login or Register.  Lost Password?

request email address as well as name on welcome
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: request email address as well as name on welcome
#1228
request email address as well as name on welcome 1 Year, 5 Months ago Karma: 0
is it possible to request email address as well as name on welcome screen?
jay418
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1277
Re: request email address as well as name on welcome 1 Year, 5 Months ago Karma: 0
I would very much like to know this as well
webmaster66
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1299
Re: request email address as well as name on welcome 1 Year, 4 Months ago Karma: 0
Wow! 3 week 6 days, and no answer to this yet. This forum is useless so far.
webmaster66
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1301
Re: request email address as well as name on welcome 1 Year, 4 Months ago Karma: 1
Actually this forum is monitored 24/7/365... so don't be rude or we will be forced to ban you from our entire network! If you didn't get an answer... it's either because we are busy or what you are requesting is out of the question. Adding an email field is something we will definitely NOT be doing.
admin
Administrator
Posts: 650
graph
User Offline Click here to see the profile of this user
Location: California
The CMS Fruit Team
The administrator has disabled public write access.
 
#1304
Re: request email address as well as name on welcome 1 Year, 4 Months ago Karma: 0
Just getting frustrated here. 4 weeks is a long time, and it would have been nice for you to say that this request was out of the question then. But hey no hard feelings

And I finally figured it out. so here is the answer for any one who was wondering the same thing.

Added another field to the pop up window. go to components/com_livechat/views/popup/tmpl/default.php and find the following
<div class="jlc-clr">&nbsp;</div>
<form id="start_chat_form" action="" method="get" onsubmit="return startChatSession();">
<span class="jlc-name-wrapper">
<?php echo JText::_('ENTER_YOUR_NAME_BELOW'); ?>
<br />
<input type="text" id="chat_name" name="chat_name" value="<?php echo $this->default_name; ?>" maxlength="50" />
<br />
</span>
<div class="jlc-clr jlc-margbot5">&nbsp;</div>
<div class="jlc-clr">&nbsp;</div>

Duplicate it and change the names to what you need it to say.
For Expample:

<form id="start_chat_form" action="" method="get" onsubmit="return startChatSession();">
<span class="jlc-name-wrapper">
<?php echo JText::_('your email'); ?>
<br />
<input type="text" id="chat_email" name="chat_email" value="<?php echo $this->default_email; ?>" maxlength="50" />
<br />
</span>
<div class="jlc-clr jlc-margbot5">&nbsp;</div>

I am running into another problem though. When i add this field the most of the submit button gets cut off. Now i have to figure out how to change that.

Okay fond a solution to the submit "start button" being cut off
Find the following code in the components/com_livechat/views/popup/tmpl/default.php

<span class="jlc-right start-btn-wrapper">
<button id="start_button" name="start_button"><?php echo JText::_('START'); ?></button>
</span>

Then cut and past that code above the this section of code
<span class="jlc-name-wrapper">
<?php echo JText::_('ENTER_YOUR_NAME_BELOW'); ?>

that will move the start button above the other fields. i think it looks better but there anyway.

check out the example at
residential.veracitynetworks.com/
webmaster66
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/09/13 08:28 By webmaster66.
The administrator has disabled public write access.
 
#1306
Re: request email address as well as name on welcome 1 Year, 4 Months ago Karma: 0
Well that added a field, but it presents another problem. Getting the info typed in the new field to show up when the chat session starts.

If anyone figures that out please let me know.
webmaster66
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1