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: 0
New Today: 0
Stats
Total Posts: 42793
Total Topics: 7455
Most Online Today: 51
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 55
Total: 56

Author Topic: Ad Seller Pro how do I update  (Read 2529 times)

0 Members and 1 Guest are viewing this topic.

Offline access control forum

  • Member
  • *
  • Posts: 31
    • View Profile
    • accesscontrolforum.com
Ad Seller Pro how do I update
« on: January 22, 2015, 04:10:04 pm »
Do I download the new package and install it over the old. or do I delete the old and then install? If so can I backup my ads?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16234
    • View Profile
Re: Ad Seller Pro how do I update
« Reply #1 on: January 22, 2015, 04:14:06 pm »
You can install it over. Just you would need to make one edit it to your Sources/Display.php which we can do for you or you can do the edit yourself by uploading package to http://www.smfhacks.com/smf-package-parser.html and finding the code to edit.
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 access control forum

  • Member
  • *
  • Posts: 31
    • View Profile
    • accesscontrolforum.com
Re: Ad Seller Pro how do I update
« Reply #2 on: January 22, 2015, 04:53:38 pm »
I looked at the link and wasn't clear on what to do. If it just a matter of copying and pasting into that file I can do that. I'll just comment out the old code in case I screw up. if you could get me the sets:


If not do I upload the file in a link to this post or in a PM?



Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16234
    • View Profile
Re: Ad Seller Pro how do I update
« Reply #3 on: January 22, 2015, 08:34:18 pm »
After you install the new version
Open Sources/Display.php
Find
Code: [Select]
$message['body'] = parse_bbc($message['body'], $message['smileys_enabled'], $message['id_msg']);

Replace with
Code: [Select]
$message['body'] = parse_bbc($message['body'], $message['smileys_enabled'], $message['id_msg']);
// Adseller Pro
global $sourcedir;
if ($modSettings['seller_linkwordscount'] != 0)
{
include_once $sourcedir . "/adseller2.php";
$message['body'] = AdSellerDoLinkWordText($message['body']);
}
// end AdSeller Pro
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 access control forum

  • Member
  • *
  • Posts: 31
    • View Profile
    • accesscontrolforum.com
Re: Ad Seller Pro how do I update
« Reply #4 on: February 07, 2015, 08:10:22 pm »
I commented out this line and pasted the new code


$message['body'] = parse_bbc($message['body'], $message['smileys_enabled'], $message['id_msg'], NULL, (int) $message['id_member'], $posts);


does that look right?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16234
    • View Profile
Re: Ad Seller Pro how do I update
« Reply #5 on: February 08, 2015, 03:15:08 pm »
No don't comment it out. Just replace with that whole code I have above.
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/

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
3553 Views
Last post November 11, 2009, 02:35:50 pm
by SMFHacks
1 Replies
2837 Views
Last post March 16, 2010, 09:09:09 am
by SMFHacks
2 Replies
3388 Views
Last post August 10, 2010, 05:21:07 pm
by Crip
2 Replies
2640 Views
Last post December 28, 2011, 09:49:28 pm
by keyboard
3 Replies
2959 Views
Last post April 07, 2013, 07:49:10 pm
by SMFHacks

+- Recent Topics

Permissions query by davejo
March 26, 2023, 04:43:48 am

prettyurls - TroubleShooting.wiki by SMFHacks
March 25, 2023, 01:49:35 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

Powered by EzPortal