11
CeBepuH
Re: PM constants
  • 2006/8/30 17:16

  • CeBepuH

  • Not too shy to talk

  • Posts: 128

  • Since: 2002/6/10


Without looking at it: might be getting it from xoops.js. Worth a quick try. Although, I might be quite wrong.
Humans need fantasy to be humans. To be the place where the fallen angel meets the rising ape.



12
CeBepuH
Re: google-adsense reliable or not?
  • 2006/8/30 2:17

  • CeBepuH

  • Not too shy to talk

  • Posts: 128

  • Since: 2002/6/10


I don't seem to have any more ideas on the subject.

Is it posssible something in your theme to break it? Some of your javascript or something else in the code? If you try switching to the default theme for a few hours and see whether the ads will show up? Kind of a long shot... but then again all this is quite peculiar.
Humans need fantasy to be humans. To be the place where the fallen angel meets the rising ape.



13
CeBepuH
Re: google-adsense reliable or not?
  • 2006/8/28 21:10

  • CeBepuH

  • Not too shy to talk

  • Posts: 128

  • Since: 2002/6/10


Errmmm... I don't think the register globals is the problem. I have them off.

You have another alternative. You can try getting in touch with Google and if they look into it they might have an idea about it. Although this might be a bit far fetched.
Humans need fantasy to be humans. To be the place where the fallen angel meets the rising ape.



14
CeBepuH
Re: google-adsense reliable or not?
  • 2006/8/28 20:38

  • CeBepuH

  • Not too shy to talk

  • Posts: 128

  • Since: 2002/6/10


Well, right now onhttp://www.jadoogaran.org/d i see ads on every accessible place: homepage, lost password, register, and the profile page.
Humans need fantasy to be humans. To be the place where the fallen angel meets the rising ape.



15
CeBepuH
Re: Kicking some ideas #2: More BB-Codes
  • 2006/8/28 20:32

  • CeBepuH

  • Not too shy to talk

  • Posts: 128

  • Since: 2002/6/10


Quote:

Bender wrote:
Quote:

CeBepuH wrote:
Just tested the undocumented [*] on 2.2.4 and it does not seem to work very good. For examlpe if I have a list of 3 only the first two will receive a bullet and the last one will remain with a [*]. So it would definitely need some improvement.


Can you provide me an example to reproduce this? I just installed 2.2.4 with cbb 3.04 and could not make this happen.


Hmmm... On second test the problem is a bit more elusive. Try doing it in 2 seperate posts.

Post 1:

Some textsTesting enclosing [ * ] in a [ list ] tags:

[list]
[*] 
item 1
[*] item 2
[*] item 3 the bullet won't show here if there aren't any other characters below this line.[/list]



Post 2:
list using only a [ * ]:

[*] 
item 1
[*] item 2
[*] item 3 the bullet won't show here if there aren't any other characters below this line.
Humans need fantasy to be humans. To be the place where the fallen angel meets the rising ape.



16
CeBepuH
Re: Kicking some ideas #2: More BB-Codes
  • 2006/8/27 12:34

  • CeBepuH

  • Not too shy to talk

  • Posts: 128

  • Since: 2002/6/10


Quote:

Bender wrote:

ok - not a lot but the list stuff is in there. It contains the solution for the [*] problem. Great.
Also it includes a tag for ordered lists but without defining the list type (numerical, alphabeticly). We might need to bring this into the game for backwards compatability.


Just tested the undocumented [*] on 2.2.4 and it does not seem to work very good. For examlpe if I have a list of 3 only the first two will receive a bullet and the last one will remain with a [*]. So it would definitely need some improvement.

As for inserting flash, audio and other media - it seems a lot of people need it but due to the various issues with those (including security) I would never let them on my site. Using a manager to upload them on the site is a nice idea but the textsanitizer will have to check that the media is served only from XOOPS_URL/uploads and nowhere else.
Humans need fantasy to be humans. To be the place where the fallen angel meets the rising ape.



17
CeBepuH
Re: google-adsense reliable or not?
  • 2006/8/27 9:47

  • CeBepuH

  • Not too shy to talk

  • Posts: 128

  • Since: 2002/6/10


Hmmm...

I'm not sure what server setting can have that effect on Google ads.

If this can be any help: what the adsense javascript does is to generate an iframe in which to show the ad. But then again that happens on the client browser side and not the server side.
Humans need fantasy to be humans. To be the place where the fallen angel meets the rising ape.



18
CeBepuH
Re: google-adsense reliable or not?
  • 2006/8/27 5:56

  • CeBepuH

  • Not too shy to talk

  • Posts: 128

  • Since: 2002/6/10


I notice you are running EMLH. I don't know its inner workings and I have never used it but I noticed that when I visit a page in your site and then switch from Farsi to English I get and an ad in the new loaded page. If I continue browsing in English I don't see any more ads. When I switch back to Farsi I receive another ad and then no more ads if I continue to browse.

You can try disabling EMLH for test purposes to see what will it happen.
Humans need fantasy to be humans. To be the place where the fallen angel meets the rising ape.



19
CeBepuH
Re: google-adsense reliable or not?
  • 2006/8/26 18:21

  • CeBepuH

  • Not too shy to talk

  • Posts: 128

  • Since: 2002/6/10


Quote:

irmtfan wrote:

3- i change my theme now but no difference


Well, by looking at your theme the code right now is a mess. This is what you have:

<script type="text/javascript"><!--<br />google_ad_client "pub-7587917694686014";<br />google_alternate_color "D0BC8A";<br />google_ad_width 468;<br />google_ad_height 60;<br />google_ad_format "468x60_as";<br />google_ad_type "text";<br />google_ad_channel ="";<br />google_color_border "D0BC8A";<br />google_color_bg "D0BC8A";<br />google_color_link "FF6600";<br />google_color_text "000000";<br />google_color_url "993300";<br />//--></script><br /><script type="text/javascript"<br />  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"><br /></script>


You should not have any linebreaks (br) in your code! You have a linebreak even in the middle of the script tag which will break the code.

Go and generate it again from google ads and careful when you are pasting it. Your editor might do you tricks. Look for example how mine looks:

<script type="text/javascript"><!--
google_ad_client "deleting client number here";
google_alternate_color "000000";
google_ad_width 468;
google_ad_height 60;
google_ad_format "468x60_as";
google_ad_type "text_image";
google_ad_channel ="deleting number here";
google_color_border = ["333333","000000","000000"];
google_color_bg = ["000000","333333","999999"];
google_color_link "FFFFFF";
google_color_url = ["CC0033","FFFFFF","FFFFFF"];
google_color_text = ["CCCCCC","CCCCCC","FFFFFF"];
//--></script>

<script type="text/javascript"
  
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</
script>


See the difference?
Humans need fantasy to be humans. To be the place where the fallen angel meets the rising ape.



20
CeBepuH
Re: google-adsense reliable or not?
  • 2006/8/26 14:13

  • CeBepuH

  • Not too shy to talk

  • Posts: 128

  • Since: 2002/6/10


1. Hmmm. Come to think of it I've managed to show ads when I'm testing changes on a localhost. So that might not really indicate anything. The problem might be that the Adsense bot is not able to crawl your pages. Try checking in your logs if Mediapartners-Google has been around recently.

Also try setting in your preferences in Google Adsense public servicese ads to be showed when there are no other ads to show. Try selecting the 468x68 not only for text but for images as well. I guess those changes would generate you some new code.

2. Sure. I'm running this site with FCH and Adsense for quite a number of months. Notice I have 2 ad areas: the top and the bottom left block. Ads are mostly served in the top area. If any relevant ads are left they'll show in my left area. Thge average number of shows and clicks has remained roughly the same before and after applying FCH.

Just a short explanation why caching won't stop Google ads: your code consist of some parameters (your publisher id, id of channel, type and colour scheme of ads) that are passed to a javascript somewhere on one of Google's servers. What happens is a user loads a page and his (or hers) browser first gets the parameters for the ad and then downloads the significant javscript code from Google and then executes it. I would actually recommend turning on caching for a block with google ads.

3. I see you are running the ads through the XOOPS banners administration. Try pasting your code directly into your theme in place of <{$xoops_banner}>. Come to think of it: do that first before anything else.
Humans need fantasy to be humans. To be the place where the fallen angel meets the rising ape.




TopTop
« 1 (2) 3 4 5 ... 11 »



Login

Who's Online

237 user(s) are online (166 user(s) are browsing Support Forums)


Members: 0


Guests: 237


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits