News:

Wondering if this will always be free?  See why free is better.

Main Menu

System Advertising

Started by ^HeRaCLeS^, August 17, 2011, 04:34:19 PM

Previous topic - Next topic

^HeRaCLeS^

Link to the mod

System Advertising 1.0


Autor/Author:
     ^HeRaCLeS^
     enik
    
Características:
     Esta aplicación nos permitira poner bloques de publicidad tanto en el sitio como en los temas principales.
     Opciones:
          Activar/desactivar bloques en el sitio.
          Dos bloques (Superior e Inferior)..
          Activación independiente de los bloques.
          Visible en: (Todo el sitio - Solo en index).
          Visible para: (Todos - Solo visitantes).
          Modificar tamaño alto: (50, 100, 150 ó 200px).
          Activar/desactivar bloques en los temas principales.
          Tres bloques (Superior - Medio - Inferior).
          Activación independiente de los bloques.
          Visible para: (Todos - Solo visitantes).
          Modificar tamaño: (50, 100, 150 ó 200px)(400 y 600 Para bloque medio).
               
     Nota: El contedido de todos los bloques puede contener códigos html

Las opciones de este mod se encuentran en:
Admin -> Modificaciones

Copyright 2011 by SMF Personal @ visita www.smfpersonal.net para soporte oficial.

Si tu quieres ayudarnos, por favor visita nuestra seccion de contribuciones: Contribuir



Features:
     This application allows you to block advertising in both the site and the main themes.
     Options:
          Enable/Disable blocks in the site.
          Two blocks (top and bottom).
          Independent Activation of the blocks.
          Visible in: (All the site - only in index).
          Visible to: (all - only visitors).
          Resize high: (50, 100, 150 or 200px).
          Enable/disable blocks on the main themes.
          Three blocks (Superior - Middle - Inferior).
          Independent Activation of the blocks.
          Visible to: (all - only visitors).
          Resize: (50, 100, 150 or 200px) (400 and 600 for half block).
               
     Note: The contents of all blocks can contain codes html

The options of this mod are in:
Admin -> Modification Settings

Copyright 2011 by SMF Personal @ visit www.smfpersonal.net for official support.

If you want help, please visit our contributions section: Contribute




Idiomas/Languages:

o English
o English-utf8
o Spanish_es
o Spanish_es-utf8
o Spanish_latin
o Spanish_latin-utf8

Compatibilidad/Compatibility:
     SMF 2.0.x

Desarrollador/Developer:
     Adk-Team
^HeRaCLeS^
*¤×• Ni te molestes en enviarme un Mp porque el soporte lo doy solo por el foro •×¤*


SMFPersonal

enik


TheListener

Quote from: enik on August 18, 2011, 06:53:11 PM
Nice work  ;)

Course you would say this being one of the authors.  ::)

enik

Just show up as an author but all credit is Heracles  :P

mbanusick2


^HeRaCLeS^

^HeRaCLeS^
*¤×• Ni te molestes en enviarme un Mp porque el soporte lo doy solo por el foro •×¤*


SMFPersonal

Bugo

Use hooks please. Changing of index.template.php is a very bad idea.

Adk-Team

Updated to SMF 2.0.1  ;)

Regards enik...

Adk-Team


Eclipse16V

I worked with:
SMF 2 in German

Shop:
SID Giessen

impreza

very nice add-on, useful, and thank you
Portal ToTemat.pl - treści w postaci artykułów i filmów tematycznych.

Kindred

I have some issues

1- hardcoded text -- "ADK System Advertising" is hardcoded as heading text for the sections (subs.php)
2- text String names -- the text strings use non-descriptive names like $txt['SystemA_24']. It would be much more helpful and useful if the strings were labeled descriptively. (SMF had this same problem back with the 1.x series, which was addressed by changing the string labels to be descriptive in 2.x)

3- the ad locations...   The names like "superior" "theme lower" are also non-descriptive.
You either need a marked up screen shot of the locations in the default theme or more descriptive names.
for example,
"Superior" is "in the forum header, above the menubar" (index.template)
"Lower" is "just above the forum footer (index.template)
"advertising greater in themes" is "Above the first message in the thread view (display.template)
"advertising lower in themes" is "Between the first and second message in the thread view (display.template)

I have no clue where "advertising in themes" is supposed to display since I couldn't get it to show....


I suspect some of this is a language issue... so please try to find someone with a good command of English to assist you in producing your English translations.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Apllicmz

Yes good work
When Update dont forget portuguese files





drlowz

When installing this step by step I am getting this error?

Parse error: syntax error, unexpected ',' in /var/www/vhosts/unitedridaz.org/httpdocs/Sources/Subs.php on line 3956

Also I am a little new at this and not sure where to upload the english/install20/package-info/spanish files that came with the downloaded folder. 

Any and all help will be greatly appreciated.

drlowz

The only way I can get my site to work is to reupload the original subs.php folder.

Kindred

did you do a manual installation?

If you used the package manager, all the files would have been loaded to the correct locations.

if you did a manual installation, then follow the instructions in the install XML files, or in the package parser available on the mod download page.

The only reason you would have gotten that error is if you manually, incorrectly, added the code to subs,php
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

drlowz

how do you do the package installation?

drlowz

and if you do the package install, do you still have to mod all them files?

Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

drlowz

Ok so what I have is the folder I downloaded saved to my desktop.
Now what do I do.
Sorry for all the questions.  This is my first SMF site.

Kindred

ummm... rtfm?


Download zip file.
go to package manager on your site
upload zip file via package manager
install package.

no folder on your local drive... don't extract anything

Do note, if you manually installed PART of the package, you will need to remove all those edits.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

drlowz

Ok i reuploaded all the original editted files.

I downloaded it through the package manager.

When installing I get this error now:
You cannot download or install new packages because the Packages directory or one of the files in it are not writable!

I went into server via FTP and cmoded the folder and all in it to 777.  Still wont upload?>

Kindred

does your packages folder also have a temp sub-folder?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

drlowz

No in the packages folder I have:

backups folder
.htaccess
index.php
installed.list

drlowz

Ok I created a Temp file.  Which got me to a next step:

Type    Action    Description
   1.    Execute Code    install.php    
*    2.    Execute Modification    ./index.php    Test successful
*    3.    Execute Modification    ./Sources/Admin.php    Test successful
*    4.    Execute Modification    ./Sources/QueryString.php    Test successful
*    5.    Execute Modification    ./Themes/default/BoardIndex.template.php    Test successful
*    6.    Execute Modification    ./Themes/default/Display.template.php    Test successful
*    7.    Execute Modification    ./Themes/default/MessageIndex.template.php    Test successful
*    8.    Execute Modification    ./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
To use this modification in themes other than the default, the package manager needs to make additional changes to the other themes. If you'd like to install this modification in the other themes, please select these themes below.
      Core Theme
      Execute Modification    ./Themes/core/BoardIndex.template.php    Test failed
      1.    Add Before    ./Themes/core/BoardIndex.template.php    Test successful
      2.    Add After    ./Themes/core/BoardIndex.template.php    Test failed
      Execute Modification    ./Themes/core/Display.template.php    Test failed
      1.    Add After    ./Themes/core/Display.template.php    Test successful
      2.    Replace    ./Themes/core/Display.template.php    Test successful
      3.    Replace    ./Themes/core/Display.template.php    Test failed
      Execute Modification    ./Themes/core/MessageIndex.template.php    Test failed
      1.    Add After    ./Themes/core/MessageIndex.template.php    Test successful
      2.    Replace    ./Themes/core/MessageIndex.template.php    Test failed
      PixelCar
      Execute Modification    ./Themes/PixelCar/BoardIndex.template.php    Test failed
      1.    Add Before    ./Themes/PixelCar/BoardIndex.template.php    Test successful
      2.    Add After    ./Themes/PixelCar/BoardIndex.template.php    Test failed
      Execute Modification    ./Themes/PixelCar/Display.template.php    Test failed
      1.    Add After    ./Themes/PixelCar/Display.template.php    Test successful
      2.    Replace    ./Themes/PixelCar/Display.template.php    Test successful
      3.    Replace    ./Themes/PixelCar/Display.template.php    Test failed
      Minimal
      Execute Modification    ./Themes/min/Display.template.php    Test successful

Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Adk-Team

SMF 2.0.4 updated  ;)

Regards enik...

bosswhite

Very nice mod but biggest trouble for me is that I have to go in to settings every time I want ad to change.

Is it possible for me to alter something so that input boxes will accept php instead of html?
I've been down so long now it's beginning to look like up..

bosswhite

Failing an answer to the above,
Is it possible to include a php file from within a html box so that the php file executes?
I've been down so long now it's beginning to look like up..

^HeRaCLeS^

No, That's not possible with the code mod. Would have to modify all code
^HeRaCLeS^
*¤×• Ni te molestes en enviarme un Mp porque el soporte lo doy solo por el foro •×¤*


SMFPersonal

Advertisement: