Author Topic: [MOD] - Banners Ads - Fully configurable from ACP  (Read 75272 times)

0 Members and 1 Guest are viewing this topic.

Offline Loda

  • Sr. Member
  • ****
  • Posts: 353
    • View Profile
    • Fotosucht Schweiz
Re: [MOD] - Banners Ads - Fully configurable from ACP
« Reply #30 on: January 27, 2006, 09:06:34 PM »
hello!
in v2.0 the part in step 2
Quote
/*-- Setting-Group X --*/
$setting_group[X] = "Banner Ads Activation Options";
$set_ads_banner_header_optionlist = array(
  "1" => "yes",
  "2" => "no",
);
$setting['ads_banner_header'] = "<span class=\"smalltext\">Would you like to activate your Banners Ads on your album's site header page (top) ?</span>";
$set_ads_banner_footer_optionlist = array(
  "1" => "yes",
  "2" => "no",
change to:
Code: [Select]
/*-- Setting-Group xx --*/
$setting_group[xx] = "Banner Ads Activation Options";
$set_ads_banner_header_header_optionlist = array(
  "1" => "yes",
  "2" => "no",
);
$setting['ads_banner_header'] = "<span class=\"smalltext\">Would you like to activate your Banners Ads on your album's site header page (top) ?</span>";
$set_ads_banner_header_footer_optionlist = array(
  "1" => "yes",
  "2" => "no",

here is a screenshoot:

Offline JensF

  • Addicted member
  • ******
  • Posts: 1.028
    • View Profile
    • http://www.terraristik-galerie.de
Re: [MOD] - Banners Ads - Fully configurable from ACP
« Reply #31 on: January 27, 2006, 11:29:46 PM »
OK,

i have install the V2 and must say something :)

1. You must say the Users that they must create a folder called banner into /templates/theStyle/images/
2. I can´t select Yes and No to activate the Banners  *EDIT* It works, thanks to Loda ;)
3. Is there a way to include the V1??

I have this code

Code: [Select]
<script src="http://www.sponsor4cash.de/script/b_script.php?id=1302&pixel=468x60"></script> <noscript><a href="http://www.sponsor4cash.de/script/b_klick.php?id=1302&pixel=468x60&url=noscript" target="_blank"> <img src="http://www.sponsor4cash.de/script/b_banner.php?id=1302&pixel=468x60&url=noscript" border=0></a></noscript>
With V1 i can insert this not with V2.

Mit freundlichem Gruß
Jens Funk



-> Sorry for my bad English <-

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: [MOD] - Banners Ads - Fully configurable from ACP
« Reply #32 on: January 28, 2006, 12:04:06 AM »
Let's remain calm ... yesterday was just a dream !!! 8O

You're absolutely right. I forgot some steps and will be instantly corrected.

As for :

Quote

1. You must say the Users that they must create a folder called banner into /templates/theStyle/images/


Actually, it's templates/<your_template>/images/banner you have to create since the new general function from includes/functions.php file gathers the path and banner name from there. ;)

Quote

2. I can´t select Yes and No to activate the Banners  *EDIT* It works, thanks to Loda


I don't see the correction from here . . .

[ EDIT ]

Please note that, between the first version and the second version, the SELECT Form from the settings page has been adapted into one function rather than two seperated ones (since it was useless to do so). That said, I have just updated my bolded message from my first post regarding the v1.0 and v2.0 status. ;)

Quote

3. Is there a way to include the V1??


Please read the footer of my first post (last line). The reason has been mentionned already.

Quote

With V1 i can insert this not with V2.


Because it is gathered from JS statement and this version does not have this functionnality (yet). However, this has been thought before releasing the v2.0. The good news is, I intend to make this available within the next release of v2.01. ;)

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: [MOD] - Banners Ads - Fully configurable from ACP
« Reply #33 on: January 28, 2006, 12:20:51 AM »
Update :

First topic has now been theoricly and technically updated. ;)

Additional note : I just realized the reason why your screenshot involves empty "yes / no" SELECT form question. It is for the fact that I have only stated the "setting_name" but I did NOT forget to mention the "setting_value" (but I had a blank  :mrgreen:). Althought, what I forgot to do was to get back to the topic once the information was discovered from my SETTINGS_TABLE.  :mrgreen:

My apologize for this missing information. I will make the update right away in the mean time. ;)

Offline JensF

  • Addicted member
  • ******
  • Posts: 1.028
    • View Profile
    • http://www.terraristik-galerie.de
Re: [MOD] - Banners Ads - Fully configurable from ACP
« Reply #34 on: January 28, 2006, 12:26:18 AM »
Quote
Because it is gathered from JS statement and this version does not have this functionnality (yet). However, this has been thought before releasing the v2.0. The good news is, I intend to make this available within the next release of v2.01.

This where Great. In V1 i can insert a JS function. In V2 not :(

But the Mod is very good. 2 seperate Banner and Urls i can show...

Another Question: Where is the Homepage from TheOracle ??? Can i visit it???
Mit freundlichem Gruß
Jens Funk



-> Sorry for my bad English <-

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: [MOD] - Banners Ads - Fully configurable from ACP
« Reply #35 on: January 28, 2006, 12:28:35 AM »
Update :

The SETTING_TABLE instructions has just been updated. Again, my apologize for the mis-information. ;)

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: [MOD] - Banners Ads - Fully configurable from ACP
« Reply #36 on: January 28, 2006, 12:33:22 AM »
Quote

This where Great. In V1 i can insert a JS function. In V2 not


I admit that, by expanding the MOD, it also brought a certain limitation at the same time. However, more ideas has been developped as I intend, like I said, to implement it in the future release. ;)

Quote

But the Mod is very good. 2 seperate Banner and Urls i can show...


I'm glad you approved. Two different functions operating from the header and footer of your site. Isn't that amazing ? ! ;)

Quote

Another Question: Where is the Homepage from TheOracle ??? Can i visit it???


:oops: Arg, I've been hit !!  :mrgreen:

The homepage is now gone since about 2 months (web hosting company issues). Right now, I'm operating 4images under my local test server tower and it's still working great (under Linux rather Windows now). ;)

However, V@no used to post me a link where I could of post some screenshots but, even by searching for it, I can't seem to find it on the forum so ... right now - it is all theoricly speaking.  :(

[ EDIT ]

Found it : http://imageshack.us ;)

Offline fgallery

  • Newbie
  • *
  • Posts: 46
    • View Profile
    • ::: F-Gallery :: Photobank :::
Re: [MOD] - Banners Ads - Fully configurable from ACP
« Reply #37 on: February 13, 2006, 03:36:57 AM »
TheOracle could you please write an auto-install script for db-fields like V@no did?
I can't use PhpMyAdmin on my host and I really don't know how to add info to DB in another way =(
http://f-gallery.com.ua
Artistic Photography, Fashion Photography, Cities and Streets of The World, Personal Photos of Livejournal Users.

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: [MOD] - Banners Ads - Fully configurable from ACP
« Reply #38 on: February 13, 2006, 04:23:57 AM »
TheOracle could you please write an auto-install script for db-fields like V@no did?
I can't use PhpMyAdmin on my host and I really don't know how to add info to DB in another way =(

I thought about that lately and I'm beginning to consider this idea. In fact, I even thought of creating a full detailed installation presentation (parsed into your template folder with temporary HTML files - which only ADMIN level will have access to). This way, users won't have to worry about leaving any installation files behind as all new SQL fields should be initialized before the end of the installation from now on. ;)

This planification is currently under process as I'm thinking, graphicly, how the interface could be improved.

[ EDIT ]

In the mean time, since you asked nicely, I have also modified step 5, from my first post, as an alternative solution in order, for you, (and others) to install these SQL fields in a more efficient way. ;)
« Last Edit: February 13, 2006, 04:38:17 AM by TheOracle »

Offline TomYork

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: [MOD] - Banners Ads - Fully configurable from ACP
« Reply #39 on: February 16, 2006, 06:18:40 AM »
TheOracle: Can u put the SQL code of version 2 of this mod in phpmyadmin version, because the install script don't work...


Thnks
* La prueba más clara de la sabiduría es una alegría continua...*

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: [MOD] - Banners Ads - Fully configurable from ACP
« Reply #40 on: February 16, 2006, 04:21:52 PM »
It ... is in version 2 actually. :?

Quote

because the install script don't work...


What's the don't work ? :roll:

Offline TomYork

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: [MOD] - Banners Ads - Fully configurable from ACP
« Reply #41 on: February 16, 2006, 05:13:45 PM »
I fix the SQL problem, so when put my banners on the folder and put all the values in ACP, I don't see any banner...

I put all the steps on the template but don't work

It ... is in version 2 actually. :?

Quote

because the install script don't work...


What's the don't work ? :roll:
* La prueba más clara de la sabiduría es una alegría continua...*

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: [MOD] - Banners Ads - Fully configurable from ACP
« Reply #42 on: February 16, 2006, 05:14:56 PM »
Quote

I put all the steps on the template but don't work


So, the question still remains. What exacly, in details, the "don't work" ?

Offline TomYork

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: [MOD] - Banners Ads - Fully configurable from ACP
« Reply #43 on: February 16, 2006, 06:28:31 PM »
Quote

I put all the steps on the template but don't work


So, the question still remains. What exacly, in details, the "don't work" ?


Show the banner
* La prueba más clara de la sabiduría es una alegría continua...*

Offline TheOracle

  • Hero Member
  • *****
  • Posts: 875
    • View Profile
Re: [MOD] - Banners Ads - Fully configurable from ACP
« Reply #44 on: February 16, 2006, 06:32:08 PM »
ok