SMFHacks.com

Ad Seller Pro => Support => Topic started by: slvreagl on June 13, 2011, 01:25:58 pm

Title: SMF 2.0 Gold Failed install
Post by: slvreagl on June 13, 2011, 01:25:58 pm
I am getting errors when trying to install this mod on SMF 2.0 aka Gold

Execute Modification    ./Themes/default/languages/Modifications.english-utf8.php    Test failed
Code: [Select]
Code: (Find) [Select]

?>

Code: (Add Before) [Select]

// Begin Ad Seller Pro Text Strings
$txt['seller_admin'] = 'Ad Seller Pro';
$txt['txt_seller_admin_tab'] = 'Advertise';
$txt['seller_revenue_share_settings'] = 'Revenue Share Settings';
$txt['seller_settings'] = 'Settings';
$txt['seller_txt_manage_ads'] = 'Manage Ads';
$txt['seller_txt_ad_approval'] = 'Ad Approval';
$txt['seller_txt_ad_locations'] = 'Ad Locations';
$txt['seller_txt_ad_packages'] = 'Ad Packages';
$txt['seller_view_transactions'] = 'View Transactions';
$txt['seller_revenue_share'] = 'Revenue Share';

// Permissions
$txt['permissiongroup_seller'] = 'Ad Seller Pro';
$txt['permissiongroup_simple_seller'] = 'Ad Seller Pro';

$txt['permissionname_seller_manage'] = 'Admin Ad Seller Pro';
$txt['permissionhelp_seller_manage'] = 'Allows admin control to the Ad Seller Pro';
$txt['cannot_seller_manage'] = 'You are not allowed to manage Ad Seller Pro.';

// END Ad Seller Pro Text Strings

Execute Modification    ./Themes/default/index.template.php    Test failed
Code: [Select]
Code: (Find) [Select]

echo '
<input type="hidden" name="hash_passwrd" value="" />
</form>';
}

Code: (Add After) [Select]

// Begin Ad Seller Pro Location - Welcome Area/User Information Box

global $sourcedir;
include_once $sourcedir . "/adseller2.php";

$adSellerAdData =  ShowAdLocation(13);
if ($adSellerAdData != false)
{
echo '</td>';
echo '<td class="windowbg">';
echo $adSellerAdData;

}

// End Ad Seller Pro Location - Welcome Area/User Information Box

Execute Modification    ./Themes/default/Display.template.php    Test failed
Code: [Select]
Code: (Find) [Select]

echo '
</div>
<span class="botslice"><span></span></span>
</div>
<hr class="post_separator" />';

Code: (Add After) [Select]

// Begin Ad Seller Pro Location - After First Post
if ($message['id'] == $context['first_message'])
{


global $sourcedir;
include_once $sourcedir . "/adseller2.php";

$adSellerAdData =  ShowAdLocation(4);
if ($adSellerAdData != false)
{
echo '<div class="',  ($message['alternate'] == 0 ? 'windowbg' : 'windowbg2') , '">
<span class="topslice"><span></span></span>

<div class="poster">

</div>

<div class="post">
' . $adSellerAdData . '
</div>

</div>
';
}



}
// End Ad Seller Pro Location - After First Post

Execute Modification    ./Themes/default/MessageIndex.template.php    Test failed
Code: [Select]
Code: (Find) [Select]

echo '
</tbody>
</table>
</div>
<a id="bot"></a>';

Code: (Add Before) [Select]

// Begin Ad Seller Pro Location - Bottom Message Index

global $sourcedir;
include_once $sourcedir . "/adseller2.php";

$adSellerAdData =  ShowAdLocation(7);
if ($adSellerAdData != false)
{
echo '
<tr class="windowbg2">
<td colspan="' , !empty($context['can_quick_mod']) ? '6' : '5' , '">';

echo $adSellerAdData;

echo '</tr>';
}

// End Ad Seller Pro Location - Bottom Message Index
Title: Re: SMF 2.0 Gold Failed install
Post by: SMFHacks on June 13, 2011, 01:29:45 pm
Have you redownloaded AdSeller Pro from
http://www.smfhacks.com/index.php/topic,4271.0.html

Did make some updates to the package so it installs on SMF 2.0
Title: Re: SMF 2.0 Gold Failed install
Post by: slvreagl on June 13, 2011, 01:48:00 pm
Thank you, I did recently download 1.09 however i guess it was a different version of 1.09 cause today's 1.09 installed with only one error...  ;D

Execute Modification    ./Themes/default/languages/Modifications.english-utf8.php    Test failed
Code: [Select]
Code: (Find) [Select]

?>

Code: (Add Before) [Select]

// Begin Ad Seller Pro Text Strings
$txt['seller_admin'] = 'Ad Seller Pro';
$txt['txt_seller_admin_tab'] = 'Advertise';
$txt['seller_revenue_share_settings'] = 'Revenue Share Settings';
$txt['seller_settings'] = 'Settings';
$txt['seller_txt_manage_ads'] = 'Manage Ads';
$txt['seller_txt_ad_approval'] = 'Ad Approval';
$txt['seller_txt_ad_locations'] = 'Ad Locations';
$txt['seller_txt_ad_packages'] = 'Ad Packages';
$txt['seller_view_transactions'] = 'View Transactions';
$txt['seller_revenue_share'] = 'Revenue Share';

// Permissions
$txt['permissiongroup_seller'] = 'Ad Seller Pro';
$txt['permissiongroup_simple_seller'] = 'Ad Seller Pro';

$txt['permissionname_seller_manage'] = 'Admin Ad Seller Pro';
$txt['permissionhelp_seller_manage'] = 'Allows admin control to the Ad Seller Pro';
$txt['cannot_seller_manage'] = 'You are not allowed to manage Ad Seller Pro.';

// END Ad Seller Pro Text Strings
Title: Re: SMF 2.0 Gold Failed install
Post by: SMFHacks on June 13, 2011, 01:52:35 pm
Continue with the install. If you are using english utf8 language on your board make that change to that file manually
/Themes/default/languages/Modifications.english-utf8.php
Title: Re: SMF 2.0 Gold Failed install
Post by: slvreagl on June 13, 2011, 02:01:28 pm
Thanks again,
I dont use UTF8 language, so I let it install, and all my ads are up and running.  :)

GREAT MOD!