SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 25, 2012, 02:00:03 am

Login with username, password and session length
Members
Total Members: 10071
Latest: cdavidson012
Stats
Total Posts: 28687
Total Topics: 4977
Online Today: 51
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 53
Total: 53
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 2 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: SMF 2.0 Gold Failed install  (Read 1218 times)
slvreagl
Newbie
*
Offline Offline

Posts: 11


View Profile
« 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:
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:
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:
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:
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
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #1 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
Logged
slvreagl
Newbie
*
Offline Offline

Posts: 11


View Profile
« Reply #2 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...  Grin

Execute Modification    ./Themes/default/languages/Modifications.english-utf8.php    Test failed
Code:
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
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #3 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
Logged
slvreagl
Newbie
*
Offline Offline

Posts: 11


View Profile
« Reply #4 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.  Smiley

GREAT MOD!
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[May 24, 2012, 08:02:50 am]

[May 24, 2012, 04:11:41 am]

[May 21, 2012, 08:54:11 am]

[May 20, 2012, 11:06:52 am]

[May 20, 2012, 05:58:11 am]

[May 19, 2012, 06:16:58 pm]

[May 19, 2012, 05:42:37 pm]

[May 18, 2012, 03:08:38 pm]

[May 17, 2012, 06:07:46 pm]

[May 17, 2012, 02:22:07 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.16 | SMF © 2006-2011, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 4.706 seconds with 19 queries.