Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12356
Latest: how to logo design
New This Month: 7
New This Week: 0
New Today: 0
Stats
Total Posts: 40076
Total Topics: 7055
Most Online Today: 63
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 40
Total: 40

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

0 Members and 1 Guest are viewing this topic.

Offline w5hro

  • Newbie
  • *
  • 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: 15040
    • 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

  • Newbie
  • *
  • 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
10522 Views
Last post May 28, 2007, 05:06:15 pm
by SMFHacks
5 Replies
3875 Views
Last post July 13, 2009, 10:44:30 pm
by SMFHacks
5 Replies
6155 Views
Last post January 24, 2010, 05:37:32 pm
by SMFHacks
6 Replies
4648 Views
Last post August 09, 2011, 05:58:17 am
by NeoX
8 Replies
8635 Views
Last post December 23, 2013, 05:09:47 pm
by SMFHacks

+- Recent Topics

Cannot install Gallery Pro on SMF 2.1 RC2 by Hatshepsut
March 19, 2020, 12:55:00 am

Newbie questions by SMFHacks
March 08, 2020, 09:28:17 am

Update detect mobile mode PHP5 to PHP7 by Plus
March 05, 2020, 11:19:05 am

Just a hello by Plus
March 05, 2020, 11:05:56 am

Enotify Copyright Problem by SMFHacks
March 04, 2020, 09:21:09 pm

Cannot import by shawnb
March 02, 2020, 12:17:00 pm

Error message with latest SMF 2.1 Github build by Hatshepsut
March 01, 2020, 10:06:10 am

[Mod]Avatars Display Integration by SMFHacks
February 15, 2020, 07:30:47 pm

[Mod]BBC Message Boxes 1.0 by SMFHacks
February 15, 2020, 07:26:46 pm

[Mod]Stack Trace by live627 by SMFHacks
February 15, 2020, 07:21:33 pm

Powered by EzPortal