-

Advertisement Management 1.0.10 released

Advertisement Management 1.0.10 released

Postby EXreaction » Fri Jun 25, 2010 9:01 pm

Advertisement Management has been updated to 1.0.10.

  • Changing ad_views/clicks fields to big ints to prevent errors when over 16.7m (limit of medium int on mysql)
  • Prevent duplicate advertisements from showing on multiple positions on the same page if others are available
  • Ability to enable/disable advertisements from the list page #83
  • Ability to copy advertisements #81
  • Display the advertisement owner on the list page #82
  • Display the link to advertisement owners even if no ads were displayed on the page #102
  • Center the credits/My Advertisements link
  • Update ModX
  • Update UMIL

Release Topic

Download
Grateful for the mods I've built? Then donate!
User avatar
EXreaction
Site Owner
Site Owner
 
Posts: 4996
Joined: Wed Jun 28, 2006 5:08 pm
Blog: View Blog (53)

Re: Advertisement Management 1.0.10 released

Postby zach » Fri Aug 20, 2010 11:31 am

Thanks a lot for this release,

If it's possible to make suggestion, i would request this for next release

Some ads could have time out, or take several seconds loadind, then most adverts are in header, so the entire website don't display before ads :?

So i think would be a very very fine feature, to call php functions to displays advertisments by script (at the end of body load, with "onload" ) then all the advertisements will displays afer body full loadind,

the priority for user is to see the website, in my point of view advertissement would never charging time loading and spend time to user, thez will never appreciate

Don't know if it could be technical to add this feature, there is one exemple here (-http://forum.webrankinfo.com/bannieres-pub-fin-chargement-page-t88614.html)

Thanks a lot
zach
Member
Member
 
Posts: 8
Joined: Sun Oct 11, 2009 10:38 pm
Blog: View Blog (0)

Re: Advertisement Management 1.0.10 released

Postby EXreaction » Fri Aug 20, 2010 7:55 pm

It would be possible to do something like that, but I believe it would require that you use javascript to load the advertisements, which is much less efficient than loading them directly on the page.

How long exactly are these advertisements taking to display that this is a problem?
Grateful for the mods I've built? Then donate!
User avatar
EXreaction
Site Owner
Site Owner
 
Posts: 4996
Joined: Wed Jun 28, 2006 5:08 pm
Blog: View Blog (53)

Re: Advertisement Management 1.0.10 released

Postby zach » Fri Aug 20, 2010 9:22 pm

EXreaction wrote:How long exactly are these advertisements taking to display that this is a problem?


It's not very régular but sometimes, adverts servers have time out, so it could be 3sec as it could be 30sec or more, an then at this moment the user see only the top of the header (before ads) and stay waiting (with adress of ads visible loading at bottom of browser) with all the website is waiting in timeout without loading the rest of the page (no forum wrap appears so)

It's not very important but when you have regular member, there is many chance to have the website no loading fine several time in a month cause to this timeout, so it could be with disapointing for users and have bad effect to reject the wish to clic on ad in the future (sorry for my bad english so)

EXreaction wrote:It would be possible to do something like that, but I believe it would require that you use javascript to load the advertisements, which is much less efficient than loading them directly on the page.


Yes you are right, i search how it could be more efficiant, it's just a way, don't know if it's the better

But could it be an option feature, for example lot of adverts are insert with script code so it already use javascript too,

and then if javascript is not activated, "onload" will no work, so coud be a div (hidden") with script inside (so don't display), but reinject the advert outside this div just after betwenn <noscript>,

So it coul be take care of the 2 situations, and display ads with onload if javascript is activate, or display the same ads in noscript if javascript is desactivate

sorry for my bad english so

Thanks
zach
Member
Member
 
Posts: 8
Joined: Sun Oct 11, 2009 10:38 pm
Blog: View Blog (0)

Re: Advertisement Management 1.0.10 released

Postby zach » Fri Aug 20, 2010 9:37 pm

Don't know if it's very clear so what i mean, it could be like this

<body onload="ads()">

with script to control the display of ads :

<script type="text/javascript">
function ads() {
document.getElementById(ads ).style.display= block
}
</script>

In the header (or in the page) we could insert ad like this :

<div id="ads" style="display:none;">{ADS_1}</div> (display onload if javascript is activated)
<noscript>{ADS_1}</noscript> (display if javascript is désactivated)

some thing like this, but don't sure that will be stop the timeout

Another solution, could be use script to write directly in document after onload

<div id="ads"></div> (display onload if javascript is activated)
<noscript>{ADS_1}</noscript> (display if javascript is désactivated)

And inject {ADS_1} in the div "ads" after onload (instead of display none)

Another way would be to detect with php if script is activated, and activate {ADS_1} after onload

<div id="ads">{ADS_1}</div> (display onload if javascript is activated)
<noscript>{ADS_2}</noscript> (display if javascript is désactivated)

like this detection -http://www.inspirationbit.com/php-js-detection-of-javascript-browser-settings/

Another way could be to use css

put the part of code of advert at the end of body, and diplay by css at the top in header, would be not easier with phpbb structure

I continue searching in these way, it really could be a great feature, and finally display the adverts regardless of if javascript is activated or no, but if it's activated it would be after onload
zach
Member
Member
 
Posts: 8
Joined: Sun Oct 11, 2009 10:38 pm
Blog: View Blog (0)

Re: Advertisement Management 1.0.10 released

Postby EXreaction » Sat Aug 21, 2010 3:28 pm

Yes, I do understand what you mean.

What kinds of files are you loading in ads that are sometimes causing the page to wait for that file to load?

If you are using remote flash or image files you could upload them to your own server and host them if it is the cause of third party servers.

You could also change the html you use to serve the files to use javascript to load the slow loading remote files as well.

I believe what you are looking for would be much more efficient if you take one of those two methods and would be much more difficult to implement in the modification itself.
Grateful for the mods I've built? Then donate!
User avatar
EXreaction
Site Owner
Site Owner
 
Posts: 4996
Joined: Wed Jun 28, 2006 5:08 pm
Blog: View Blog (53)

Re: Advertisement Management 1.0.10 released

Postby zach » Sat Aug 21, 2010 4:36 pm

EXreaction wrote:Yes, I do understand what you mean.

What kinds of files are you loading in ads that are sometimes causing the page to wait for that file to load?

If you are using remote flash or image files you could upload them to your own server and host them if it is the cause of third party servers.


The code of lot of advert is given between script tag, in fact could be gif or flash inside who are displays by the script, but it's not host on my server, and then it's forbiden to modify this code by the advert agreement, so it can't be upload on my own website,

EXreaction wrote:I believe what you are looking for would be much more efficient if you take one of those two methods and would be much more difficult to implement in the modification itself.


I will make some test to see the différents ways, but don't know if i have one of them more efficient from your point of view, it is possible that many users of your excellent mod could have some timeout with advert like me, so if could be a new usefull feature to plan if it could be implement, because of this mod is already verry efficient itself and seems have reached a end of development (many features ...)
zach
Member
Member
 
Posts: 8
Joined: Sun Oct 11, 2009 10:38 pm
Blog: View Blog (0)

Re: Advertisement Management 1.0.10 released

Postby EXreaction » Sun Aug 22, 2010 9:10 am

If it happens to frequently I would contact your advertiser and see if they are able to do something about it.
Grateful for the mods I've built? Then donate!
User avatar
EXreaction
Site Owner
Site Owner
 
Posts: 4996
Joined: Wed Jun 28, 2006 5:08 pm
Blog: View Blog (53)

Re: Advertisement Management 1.0.10 released

Postby zach » Mon Aug 23, 2010 3:05 am

EXreaction wrote:If it happens to frequently I would contact your advertiser and see if they are able to do something about it.


Yes of course, but i really have a doubt on the fact of it will be change something better,

Finally i have found another simple way to implement this feature in your mod, with this trick by css :

Code: Select all
<div class="ads">{ADS_1}</div>


And get the size in CSS :

Code: Select all
.ads {
width:468px;
height:60px;
}


Or add the div with size directly in the code of adverts

In this way the browser, don't need to wait the full loading of the script advert, to get his size, and not stop loading the entire page, very usefull ;)
zach
Member
Member
 
Posts: 8
Joined: Sun Oct 11, 2009 10:38 pm
Blog: View Blog (0)

Re: Advertisement Management 1.0.10 released

Postby solomidget » Tue Oct 19, 2010 2:29 pm

Hi, thanks for de MOD. I have an issue when I display ads between the messages. I want to show differents ads (after first post and after each post). All I could get is show one ad after first post and another ad (different of the first) between each message. Then, for the same post, the user see 2 differents ads (instead of view differents ads after each post).
Then, if i have a topic with 4 replies (total: 5 messages), is there any way that the users see 5 differents ads?

Thank you in advance!
solomidget
Member
Member
 
Posts: 1
Joined: Tue Oct 19, 2010 2:14 pm
Blog: View Blog (0)

Next

Return to News and Announcements



Who is online

Users browsing this forum: No registered users and 0 guests

cron