Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4253
Latest: Ineedsmfhelp
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43242
Total Topics: 7516
Most Online Today: 126
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 119
Total: 119

Author Topic: Double Store Paypal Address Lines  (Read 4383 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: 16428
    • 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
11957 Views
Last post May 28, 2007, 05:06:15 pm
by SMFHacks
5 Replies
5564 Views
Last post July 13, 2009, 10:44:30 pm
by SMFHacks
5 Replies
8217 Views
Last post January 24, 2010, 05:37:32 pm
by SMFHacks
8 Replies
10696 Views
Last post December 23, 2013, 05:09:47 pm
by SMFHacks
2 Replies
1964 Views
Last post January 13, 2021, 07:24:46 pm
by KKOG

+- Recent Topics

is it possible to add support for odysee.com by SMFHacks
March 13, 2024, 10:53:28 pm

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

User Gallery Feature: move / bulk move images by SMFHacks
January 30, 2024, 05:48:25 pm

In the future it may be for smf 2.1.x? by smithloo
January 30, 2024, 12:55:34 am

Powered by EzPortal