Jump to content
You are viewing a curated collection of the most significant posts in this topic with an estimated read time of 3 minutes. The full topic contains 127 posts with an estimated read time of 51 minutes.

Featured Replies

Posted

You might be aware of this already, but it is a request that would be highly appreciated by myself and I think by the rest of the community as well.

On my forums, I have specific forums which are not accessible for guests and also not for the google search crawler, because I prefer this forums not to be searchable through google.

However, it would be great if we could set separate access (f.i. as a separate user group) for the AdSense crawler, because irrespective of whether you can google these private forums, I want the ads on these forums to be as relevant as possible. The login feature of the adsense crawler doesn't work with IPB, as far as I know.

Please IPS, could you include code that recognizes the AdSense crawler and assign it to a specific user group? Thanks!

  • 1 year later...
  • Replies 126
  • Views 32.2k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Nathan Explosion
    Nathan Explosion

    I've put together a plugin which handles this in a different location, making it hookable - have sent a new copy of it to @Mopar1973Man to try it out. If anyone would like a copy then please PM me dir

  • You can already give Adsense login credentials for your forum to account for forums that can't be accessed by a guest. 4.0 will also allow you to restrict where ads show, which can be used to disa

  • We use a CSFR key to prevent bots attempting to log in as you. Which is specifically what AdSense are trying to do. I'll speak to the team to see if there's something we can do, but we'd be lo

Posted Images

You can already give Adsense login credentials for your forum to account for forums that can't be accessed by a guest.

4.0 will also allow you to restrict where ads show, which can be used to disable ads in non-guest forums if you prefer.

  • 4 years later...
  • 1 month later...

It would be ideal given Adsense has to be one of the most popular revenue generators for forums. 

  • 1 month later...

As far as I can tell it's working on our forum.

360074987_adsensecrawler.thumb.png.5a73642d4ad6eac8aa00ce1fc092f1c9.png

http:// is our domain (domain.com) Might not be necessary, stems from before we used https. But as long as it's working I do not dare to remove it...
https:// is our forum folder (domain.com/forums)

  • 1 month later...
 

I'd rather have a true fix instead of a band-aid that might fail...

Fully agree, but I with given absence of ture fix and no promisses of it, I would rather not loose money)))

  • 2 months later...

Coming to this topic late.

Has anyone got the solution to get this working?

We would really like to add adverts on the messenger pages.

Thanks

Nope...:( 

  • 2 weeks later...

I've done a "dirty" hack to allow a crawler to login into my community. Attention: This changes core login functionality for one user and will be overwritten when you update:

  1. Create a user with name "Crawler" and give him access to the areas the crawler should have access to.
  2. Open file system/Login/Login.php and edit a method authenticate():
    public function authenticate( \IPS\Login\Handler $onlyCheck = NULL )
    {
    	try
    	{
    		if ( isset( \IPS\Request::i()->_processLogin ) )
    		{
    			// Allow access for the AdSense bot
    			if (\IPS\Request::i()->auth != 'Crawler') {
    				\IPS\Session::i()->csrfCheck();
    			}
    	.....
    }

     

  3. Go to your Adsense account and add credentials:
    Untitled-1.png.19624a788f5fab9f7c261b6e1dd7f898.png
    Be aware of the additional field _processLogin to be added to login credentials.

Again, it works, but this is a very dirty solution that works till next update. I hope that IPS can add a setting so that we can exclude bot user from checking csrf in the future, so that we do not need so dirty hacks.

Edited by Sonya*

  • 6 years later...

Magic this thread comes back from the dead.

I would like to find out if this mod is still available to the version 5 incision? I ran the last mod right up to the change over and it work great... Now to fix my current version 5.0.5...

Simpele mod but it worked great for YEARS!

Recently Browsing 0

  • No registered users viewing this page.