JoomEXT:Advertisement
From Kb_JMY(晉明夷)
Joomla Extension: Advertisement
Contents |
Advertisement
Noah's Classified Ads
Installation
- For New Installation:
- Install as a normal Joomla component installation -- Only several settings can be seen in Joomla Admin Backend.
- Add Noah to a menu to see it from the front end -- All administration is currently done from the front end, unlike most Joomla!/Mambo components.
- You will need to login to the front end with an account that has administrator or super administrator privileges.
- Check that these 3 directories are created:
- <joomla directory>/noah_pics
- <joomla directory>/noah_pics/cats
- <joomla directory>/noah_pics/listings
- [Remarks: all these directories should have 777 permissions. If these cannot be created on install, an error is displayed and you need to create these directories by hand]
Configuration
Adding a combobox for a selected category
- (2) demo site: http://www.kanubox.de/kanubox/index.php
- (3) noahsclassifieds.org -- Forum discussion
- Here is the method:
AdsManager (JoomProd.com)
Installation
- Files includes the followings:
- com_adsmanager_v2.0.3c.zip -- the main component
- mod_adsmanager_ads_v1.0.3.zip -- display latest or random ads
- mod_adsmanager_menu_v1.0.8.zip -- If you have a problem with the number of Ads (next to All Ads), please use Menu v1.0.7
- mod_adsmanager_menu_v1.0.7_To use with AdsManager2.1.0.zip
- mod_adsmanager_search_v1.0.3.zip
- plugin_adsmanager-tabv2.0.4.zip -------- Cannot install using Joomla's mambots installer
- CB_plugin_adsmanager-tab_v1.1.zip -- plugin for Community Builder (CB) and installed using CB's installer
- com_adsmanager_plugin_forJoomSEF.php -- AdsManager SEF extension for Artio JoomSef (404SEFx). Add this file in directory "<joomla directory>/components/com_sef/sef_ext/"
phpAdsNew
Installation
- Ref:
- Assumes:
- target installation directory: "public_html/adserver"
- To start the installer, enter:
- Or if the installer don't start, try:
- http://www.mywebsite.com/adserver/admin/index.php.
http://www.mosct.com/ads/www/admin https://www.mosct.com/ads/www/admin (if purchased SSL) https://www.siteground132.com/~mosct/ads/www/admin (if Shared-SSL)
http://www.mosct.com/ads/www/delivery https://www.mosct.com/ads/www/delivery (if purchased SSL) https://www.siteground132.com/~mosct/ads/www/delivery (if Shared-SSL)
http://www.mosct.com/ads/www/images https://www.mosct.com/ads/www/images (if purchased SSL) https://www.siteground132.com/~mosct/ads/www/images (if Shared-SSL) |
- In order for Max Media Manager to function correctly you also need to make sure the maintenance file is run every hour.
- Proceed to go the configuration page, where you can modify more settings. Please do not forget to set the permission of the max.conf.ini file to read only after completion.
Make your first trial
- After installation, create clients and campaigns and upload banners to phpAdsNew
Placing banners on module positions (user1/user3/etc)
- Module to use: mod_kl_evalphp
- The module is made by Konlong (John Long)
- The module parses PHP script stored in the modules php parameter and install with the auto installer to your site module section (installer/module/browse/upload/done)
- Copy this module and rename the copy to Advert1 (or equivalent)
- Create a banner invocation code in phpAdsNew (PHP!!! and not Javascript or text or whatsoever: this comes below) and remove the php-tags, the final codes may look like:
|
if ( @include(getenv(DOCUMENT_ROOT)./adserver/phpadsnew.inc.php) )
|
- Goto Joomla > admin > modules > Advert1 and insert the invocation code where parameter states "PHP-script" (Use Notepad or Dreamweaver or so but not Word because of its hidden tags) define the position where the module should show, the pages etc, and save. see this image as clarification of the module:
- Here is your first working phpAdsNew banner in Joomla which can be tracked, capped, (geo) targeted etc. You can now click the banner and you will see when you login to phpAdsNew that the respective banner has 1 page-view with the precise date and time of viewing and clicking etc. Please note that phpAdsNew creates the invocation code fully automatically for you so you don not need any knowledge in PHP (?), Javascript, DHTML or whatever invocation you want to use.
Placing Ads into a Content Page
- mambots to use: kl_php
- The bot is also made by Konlong (John Long)
- The bot allows for embedded PHP in Content and install with the auto installer to your site Mambot section. (installer/mambots/browse/upload/done). Publish the bot if not auto published.
- Create a banner invocation code in phpAdsNew (PHP!!! and not Javascript or text or whatsoever: this comes below) and place this code on the place where you want the banner to show up in your Content. The code needs to be placed in HTML-mode of your editor and looks similar to this example after adding the kl_php statements:
|
{kl_php} if (@include(getenv(DOCUMENT_ROOT)./adserver/phpadsnew.inc.php))
|
- Now up to place banners or ads based on Javascript invocation -- DONT Use it !!! Interesting isnt it? Technically no big deal. the software automatically generates the code for you. Two reasons why not....
- If you have loads of ads the loading time of your opages become catastrophic since the javasscript code for each ad is rather heavy but this is not the main issue.
- Many companies have switched off the option in the browser to allow Javascript for security reasons...... So your ad will not be visible.......This is the main reason not to use Javascript enabled banners!

