Ads addon
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Ads addon
Hi!
You can add Javascript/HTML code to your template files (index.tpl or entries.tpl) to add that stuff.
Or you can use the "Include entries/blocks" plugin from Spartaucs that allows you to include specific code snippets after X entries.
Best regards,
Garvin
You can add Javascript/HTML code to your template files (index.tpl or entries.tpl) to add that stuff.
Or you can use the "Include entries/blocks" plugin from Spartaucs that allows you to include specific code snippets after X entries.
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
bdconnolly
- Regular
- Posts: 140
- Joined: Tue Apr 04, 2006 9:37 pm
Not quite sure I am following you Garvin.
I imagine an iteration of serendipity_event_kubrickheader, where one would indicate:
1. what folder the ads are in
2. what position a particular ad would occupy (tag <ad1>, <ad2>, etc.)
3. how often to rotate them.
Any takers? I'd be interested in funding it possibly?
Brian
connolly AT wepublishing DOT com
I imagine an iteration of serendipity_event_kubrickheader, where one would indicate:
1. what folder the ads are in
2. what position a particular ad would occupy (tag <ad1>, <ad2>, etc.)
3. how often to rotate them.
Any takers? I'd be interested in funding it possibly?
Brian
connolly AT wepublishing DOT com
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
What do you mean with the positioning? Event plugins cannot add ads anywhere in the template, only within the <head> section and as the footer of the page, or inside a sidebar plugin. So I'm not sure what you mean with tags <ad1> etc. Can you elaborate?
About the "how often", what options to you imagine? "Every 15 minutes, every half an hour, every hour, every half a day, every day, every odd day, every week, every month, every half a year, every year"?
Best regards,
Garvin
What do you mean with the positioning? Event plugins cannot add ads anywhere in the template, only within the <head> section and as the footer of the page, or inside a sidebar plugin. So I'm not sure what you mean with tags <ad1> etc. Can you elaborate?
About the "how often", what options to you imagine? "Every 15 minutes, every half an hour, every hour, every half a day, every day, every odd day, every week, every month, every half a year, every year"?
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
bdconnolly
- Regular
- Posts: 140
- Joined: Tue Apr 04, 2006 9:37 pm
Now this is for brainstorming purposed, so please be patient with me.
1. Could we modify smarty to interpret a <ad1>, <ad2>, etc. tag a certain way so that it inserts whatever the ad event plugin indicates? As such, a user could edit his template accordingly to ad the <ad> tags.
2. With regard to the frequency for ad rotation, I'd give that option to the user in the plugin.
Does that make sense?
1. Could we modify smarty to interpret a <ad1>, <ad2>, etc. tag a certain way so that it inserts whatever the ad event plugin indicates? As such, a user could edit his template accordingly to ad the <ad> tags.
2. With regard to the frequency for ad rotation, I'd give that option to the user in the plugin.
Does that make sense?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
{place_ad rotation='45'}
(the number could be minutes? Or even "random"?
But which frequency ranges? They would need to be based on something. Minutes, fixed ranges...we'd have to pick ranges. 
Best regards,
Garvin
Not really, we could only create a custom smarty function like {place_ad}, how about that? You could even put the whole rotation syntax into that smarty function:1. Could we modify smarty to interpret a <ad1>, <ad2>, etc. tag a certain way so that it inserts whatever the ad event plugin indicates? As such, a user could edit his template accordingly to ad the <ad> tags.
{place_ad rotation='45'}
(the number could be minutes? Or even "random"?
Yes, sure2. With regard to the frequency for ad rotation, I'd give that option to the user in the plugin.
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Well Getting back to me
Ok so I need to put a rating for children as it has adult content in all pages that are made. I want to put an add that rotates with the ad script. There should be a place in a template to add the html or java. Wouldn't that be simple.
There should also be way to say this catagory not on first page when you log in. I saw something like that but it wants to make it password. I don't want pass word, just not to see adult on when you go to site. So simple things why so hard to do.
There should also be way to say this catagory not on first page when you log in. I saw something like that but it wants to make it password. I don't want pass word, just not to see adult on when you go to site. So simple things why so hard to do.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Well Getting back to me
Hi!
About the ad-stuff, what do you think about bdconnolys and my solution approach?
About your second thing:
Regards,
Garvin
About the ad-stuff, what do you think about bdconnolys and my solution approach?
About your second thing:
Please tell me what it is, I don't understand what simple thing you mean. If you want to hide an entry from the frontpage you can use the 'extended options for entries' plugin and check the option 'Hide from frontpage'. No passwords are involved unless you enter password protection into the extended-options for entries plugin section.There should also be way to say this catagory not on first page when you log in. I saw something like that but it wants to make it password. I don't want pass word, just not to see adult on when you go to site. So simple things why so hard to do.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: Well Getting back to me
I guess for the ad so lets say you have 5 sites or more each with a banners. ONe site wants the top space of site One on right add space and one bottom of page. Now 3 want right side ad how do you rotate them. I have an ad program from smarterscripts which will even allow me to have pay gateway to charge for them. But would be nice also if we built in to script an ad thing.garvinhicking wrote:Hi!
About the ad-stuff, what do you think about bdconnolys and my solution approach?
About your second thing:
Please tell me what it is, I don't understand what simple thing you mean. If you want to hide an entry from the frontpage you can use the 'extended options for entries' plugin and check the option 'Hide from frontpage'. No passwords are involved unless you enter password protection into the extended-options for entries plugin section.There should also be way to say this catagory not on first page when you log in. I saw something like that but it wants to make it password. I don't want pass word, just not to see adult on when you go to site. So simple things why so hard to do.
Regards,
Garvin
Well it is still going on
I don't know and am not a programmer to check scripts or anything like that well my site is down for a few again becasue it has some kind of problem trying to access the Spartacus event plugins to check for new Once I click on that the site goes into a freeze or something and then nothing is accessable for 5 min or so. Well ftp I can get and mail just not the site. I said this before and well not getting much in an answer other than it is my server why aren't the other sites doing this then. It is like the script is using all of its thinking just to keep trying to access one thing and then can't do anything until it times out or something. I need to do updates, keep checking to make the site have good things for users etc but don't want things that dont work. WHat to do please???
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Well it is still going on
Hi!
You sound very confusing, could you try to explain your ideas about ad solution in proper, full sentences? Then it will be easier for us and bdconolly to find a team solution.
As for your problem, I also don't understand much. What kind of problem do you have exactly?
Best regards,
Garvin
You sound very confusing, could you try to explain your ideas about ad solution in proper, full sentences? Then it will be easier for us and bdconolly to find a team solution.
As for your problem, I also don't understand much. What kind of problem do you have exactly?
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: Well it is still going on
I have added ads to the site now thanks for that.garvinhicking wrote:Hi!
You sound very confusing, could you try to explain your ideas about ad solution in proper, full sentences? Then it will be easier for us and bdconolly to find a team solution.
As for your problem, I also don't understand much. What kind of problem do you have exactly?
Best regards,
Garvin
The problems are when you use the addon feature by that 3rd party for the plugins. Going to checkfor new plugins gets you the browser to just time out. And if I just close the browser after waiting for a few min. it casue the serendipity script to hang and you can't get back into the site for a few min?????
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Well it is still going on
Hi!
Hm, even though I stil ldon'T full get your explanation, it sounds like you mean that when the Spartacus plugin fetches plugins for you it often times out?
Which mirror did you configure in the spartacus plugin? Try to use netmirror.org, that should usually work. If your site NEVER is able to download plugins from Spartacus it can mean that your server is firewalled, and you cannot use Spartacus on that server.
HTH,
Garvin
Hm, even though I stil ldon'T full get your explanation, it sounds like you mean that when the Spartacus plugin fetches plugins for you it often times out?
Which mirror did you configure in the spartacus plugin? Try to use netmirror.org, that should usually work. If your site NEVER is able to download plugins from Spartacus it can mean that your server is firewalled, and you cannot use Spartacus on that server.
HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
bdconnolly
- Regular
- Posts: 140
- Joined: Tue Apr 04, 2006 9:37 pm
Re: Well it is still going on
It seemed that this started to happen after I added some feature addon from them. As for my site firewall causing not sure why it would only affect this site as I have many other sites that use scripts to do things. I have a whole hosting company cpwebhosting.net and am in control of the whole nok, etc. I think it is more something got screwed up when installing an addon. Now maybe I have to delete the whole thing and start from scratch guess.garvinhicking wrote:Hi!
Hm, even though I stil ldon'T full get your explanation, it sounds like you mean that when the Spartacus plugin fetches plugins for you it often times out?
Which mirror did you configure in the spartacus plugin? Try to use netmirror.org, that should usually work. If your site NEVER is able to download plugins from Spartacus it can mean that your server is firewalled, and you cannot use Spartacus on that server.
HTH,
Garvin