It is currently Tue May 26, 2020 4:39 am

All times are UTC + 5:30 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Wed Apr 08, 2015 3:01 am 

Joined :
Thu Feb 12, 2015 3:52 am

Posts : 5
When logged in as a user and clicking on the Settings link, if a user hit enters on the keyboard it inadvertently deactivates their account.

Apptha - please provide solutions to your bugs that have been reported on the support forum.


Report this post
Top
 Profile  
 
PostPosted: Mon Apr 20, 2015 7:17 pm 

Joined :
Mon Mar 09, 2015 10:18 am

Posts : 0
Hi,

Please share the site link to check the error.


Report this post
Top
 Profile  
 
PostPosted: Thu Apr 23, 2015 7:03 pm 

Joined :
Thu Feb 12, 2015 3:52 am

Posts : 5
My site is local development while I am fixing things. Please test on your own demo site. Go to User -> Settings. Click on First Name and hit Enter.

You have your form submit button for delete_account in the default.php for profile page.

<input type="submit" class="delete_account" name="delete_account" id="delete_account" value="<?php echo JText::_('COM_SOCIALPINBOARD_DELETE_ACCOUNT'); ?>"/>


Report this post
Top
 Profile  
 
PostPosted: Wed Jun 03, 2015 11:06 am 
Apptha Team

Joined :
Thu Jan 17, 2013 7:01 pm

Responses Posted : 169
Hi,

Go to the below file path:

../templates/socialpinboard/html/com_socialpinboard/profile/default.php

Find the code:

<div class="delete_acc">
<a href="#" id="delete_user_account" class="Button WhiteButton Button18" name="delete_user_account">
<strong>
<?php echo JText::_('COM_SOCIALPINBOARD_DELETE_ACCOUNT'); ?>
</strong>
<span></span>
</a>
<div id="DeleteForm">
<p>
<span><?php echo JTEXT::_('COM_SOCIALPINBOARD_ACCOUNT_DELETE_SORRY_TO_COME'); ?></span>
<?php echo JTEXT::_('COM_SOCIALPINBOARD_ACCOUNT_DELETE_ALERTS'); ?>
</p>
<input type="submit" class="delete_account" name="delete_account" id="delete_account" value="<?php echo JText::_('COM_SOCIALPINBOARD_DELETE_ACCOUNT'); ?>"/>
<a href="#" id="ChangeOfHeart">
<?php echo JTEXT::_('COM_SOCIALPINBOARD_ACCOUNT_HAVE_CHANGED_MY_MIND'); ?>
</a>
</div>
</div>


Please remove the above code and now find the line

<form action="<?php echo JRoute::_('index.php?option=com_socialpinboard&view=profile'); ?>" method="post" enctype="multipart/form-data" name="uploadphotos">

Before this line paste the below code:

<div class="delete_acc">
<a href="#" id="delete_user_account" class="Button WhiteButton Button18" name="delete_user_account" style="left: -311px;">
<strong>
<?php echo JText::_('COM_SOCIALPINBOARD_DELETE_ACCOUNT'); ?>
</strong>
<span></span>
</a>
<div id="DeleteForm">
<p>
<span><?php echo JTEXT::_('COM_SOCIALPINBOARD_ACCOUNT_DELETE_SORRY_TO_COME'); ?></span>
<?php echo JTEXT::_('COM_SOCIALPINBOARD_ACCOUNT_DELETE_ALERTS'); ?>
</p>
<input type="submit" class="delete_account" name="delete_account" id="delete_account" value="<?php echo JText::_('COM_SOCIALPINBOARD_DELETE_ACCOUNT'); ?>"/>
<a href="#" id="ChangeOfHeart">
<?php echo JTEXT::_('COM_SOCIALPINBOARD_ACCOUNT_HAVE_CHANGED_MY_MIND'); ?>
</a>
</div>
</div>


If you have any queries please feel free to post here.

Regards,
Powya.


Report this post
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 5:30 hours


Who is online

Users browsing this forum: No registered users and 4 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

Search for:
Jump to:  
cron