Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4214
Latest: thatsjustit
New This Month: 5
New This Week: 3
New Today: 1
Stats
Total Posts: 42791
Total Topics: 7455
Most Online Today: 60
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 72
Total: 73

Author Topic: Double Store Paypal Address Lines  (Read 3393 times)

0 Members and 1 Guest are viewing this topic.

Offline w5hro

  • Member
  • *
  • Posts: 39
    • View Profile
Double Store Paypal Address Lines
« on: December 18, 2014, 04:32:40 pm »
Hi,

I recently updated to the newest Store version, but it gave me double "Store Paypal Address:" lines again within the Profile panel. I fixed this problem the last time it happened, but I cannot remember where the duplicate lines are that need to be removed. Which lines and in what file?

Attached below is a screenshot of what I am getting.

Thanks
« Last Edit: December 18, 2014, 04:36:37 pm by w5hro »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16233
    • View Profile
Re: Double Store Paypal Address Lines
« Reply #1 on: December 18, 2014, 09:43:08 pm »
In themes/default/profile.template

Find before
Code: [Select]
// Are there any custom profile fields - if so print them!
And remove
Code: [Select]
if (allowedTo('smfstore_userstore') == true || allowedTo('smfstore_manage') == true)
    {
echo '
<dl>';


echo '
<dt>
<strong>', $txt['smfstore_paypal_address'], '</strong><br />
<span class="smalltext"></span>
</dt>
<dd>
<input type="text" name="default_options[store_storepaypal]" size="50" value="', $context['member']['options']['store_storepaypal'], '" />
</dd>';


echo '
</dl>';
}

Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline w5hro

  • Member
  • *
  • Posts: 39
    • View Profile
Re: Double Store Paypal Address Lines
« Reply #2 on: December 19, 2014, 10:33:23 am »
Thanks, that worked...

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
11559 Views
Last post May 28, 2007, 05:06:15 pm
by SMFHacks
5 Replies
4657 Views
Last post July 13, 2009, 10:44:30 pm
by SMFHacks
5 Replies
7195 Views
Last post January 24, 2010, 05:37:32 pm
by SMFHacks
8 Replies
9296 Views
Last post December 23, 2013, 05:09:47 pm
by SMFHacks
2 Replies
665 Views
Last post January 13, 2021, 07:24:46 pm
by KKOG

+- Recent Topics

prettyurls - TroubleShooting.wiki by thatsjustit
March 24, 2023, 07:56:39 pm

Download Gallery Option by SMFHacks
March 23, 2023, 09:34:02 am

Lost attachments by pete
March 22, 2023, 10:24:17 am

Additional Permissions by mickjav
March 18, 2023, 05:21:23 am

[Mod]Discord Web Hooks by SMFHacks
March 17, 2023, 08:48:30 am

Site upgrade to 2.1 by SMFHacks
March 12, 2023, 08:51:19 am

Theme/CSS design wanted by mickjav
March 11, 2023, 12:10:11 pm

Category Images by Anmer
March 10, 2023, 06:20:04 am

DownloadsPro - Topic Link by Anmer
March 08, 2023, 03:18:05 pm

Bulk File Import by SMFHacks
March 08, 2023, 07:56:23 am

Powered by EzPortal