SMF Ads Support Forum

Themes/Language => Theme Support => Topic started by: annd on January 27, 2009, 06:19:23 am

Title: Help - ad management on custom theme - smf 2.0.4
Post by: annd on January 27, 2009, 06:19:23 am
Hi
did I missed something or there is no manual on editing themes for smf 2.0.4?
The sticky post is of no use.
The mod installed ok, the ads are visible on default theme, but not on other themes. I am using Anecdota theme. What do I need to change in index.php?

thanx
Title: Re: Help - ad management on custom theme - smf 2.0.4
Post by: zerog12avity on January 30, 2009, 12:31:03 pm
Go to Browse Packages the click Apply Mod; after doing so scroll to the bottom of the page and click on the "Install In Other Themes" button.




Install Actions
Installations actions for "Ad Managment":
Installing this package will perform the following actions:
      Type    Action    Description
   1.    Execute Code    install.php    
*    2.    Execute Modification    ./index.php    Test successful
      1.    Add After    ./index.php    Test successful
      2.    Add After    ./index.php    Test successful
      3.    Add After    ./index.php    Test successful
*    3.    Execute Modification    ./Sources/Admin.php    Test successful
      1.    Add After    ./Sources/Admin.php    Test successful
      2.    Add After    ./Sources/Admin.php    Test successful
*    4.    Execute Modification    ./Themes/default/index.template.php    Test successful
      1.    Add After    ./Themes/default/index.template.php    Test successful
      2.    Replace    ./Themes/default/index.template.php    Test successful
      3.    Add After    ./Themes/default/index.template.php    Test successful
      4.    Add After    ./Themes/default/index.template.php    Test successful
      5.    Add Before    ./Themes/default/index.template.php    Test successful
*    5.    Execute Modification    ./Themes/default/BoardIndex.template.php    Test successful
      1.    Add Before    ./Themes/default/BoardIndex.template.php    Test successful
      2.    Add After    ./Themes/default/BoardIndex.template.php    Test successful
*    6.    Execute Modification    ./Themes/default/Display.template.php    Test successful
      1.    Add After    ./Themes/default/Display.template.php    Test successful
      2.    Replace    ./Themes/default/Display.template.php    Test successful
      3.    Replace    ./Themes/default/Display.template.php    Test successful
*    7.    Execute Modification    ./Themes/default/MessageIndex.template.php    Test successful
      1.    Add After    ./Themes/default/MessageIndex.template.php    Test successful
      2.    Add After    ./Themes/default/MessageIndex.template.php    Test successful
*    8.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
      1.    Add After    ./Sources/ManagePermissions.php    Test successful
   9.    Extract File    ./Sources/Ads.php    
   10.    Extract File    ./Sources/LoadAds.php    
   11.    Extract File    ./Themes/default/Ads.template.php    
   12.    Extract File    ./Themes/default/languages/Ads.english.php    
   13.    Extract File    ./Themes/default/languages/Ads.english-utf8.php    
Install in Other Themes