SMFHacks.com
Ad Seller Pro => Support => Topic started by: access control forum 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?
-
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.
-
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?
-
After you install the new version
Open Sources/Display.php
Find
$message['body'] = parse_bbc($message['body'], $message['smileys_enabled'], $message['id_msg']);
Replace with
$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
-
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?
-
No don't comment it out. Just replace with that whole code I have above.