Jump to content

(DP42) Bot Group


DawPi

Recommended Posts

Posted

This modification allows to change group of search bots from guests to another.

It's do not affect logged in members (even if they change the useragent with a switcher or anything else). Works only for a guests recognized as a spider crawlers.

  • 4 months later...
  • 2 years later...
  • 1 month later...
  • 5 months later...
Posted
7 hours ago, balazsp said:

Can I assign a dedicated group to bots

Yes, this is what this mod doing.

7 hours ago, balazsp said:

with the group assigned to a single barebone theme

Explain.

Posted
7 hours ago, balazsp said:

with the group assigned to a single barebone theme

Edit all your themes except the 'barebone' one and disallow your group from using them. The edit that one theme, make sure your group is allowed to use it. Result: only allowed to use one theme.

Posted
20 hours ago, DawPi said:

Yes, this is what this mod doing.

Explain.

I want googlebot (and maybe other SE crawlers) to use a plain, almost text-only like theme so indexing is fast and efficient, while giving users a more heavy, feature and js rich theme for UX. 

19 hours ago, Nathan Explosion said:

Edit all your themes except the 'barebone' one and disallow your group from using them. The edit that one theme, make sure your group is allowed to use it. Result: only allowed to use one theme.

So you can confirm it is feasible? Thank you! 🙂 

Posted
16 hours ago, DawPi said:

It's standard feature of IPS4.

May I ask how? I don't want all guest visitors to have the plain theme, only the bots. 

Thank you in advance. 

 

Posted
9 hours ago, balazsp said:

May I ask how?

?

On 1/29/2021 at 3:29 AM, balazsp said:

So you can confirm it is feasible? Thank you!

I have literally told you what you need to do...

  1. Edit each of your themes
  2. Remove your chosen group from the 'Available for' field for those themes that you don't want your chosen group to use
  3. Add your chosen group to the 'Available for' field for the theme that you do want your chosen group to use
Posted
14 hours ago, Nathan Explosion said:

?

I have literally told you what you need to do...

  1. Edit each of your themes
  2. Remove your chosen group from the 'Available for' field for those themes that you don't want your chosen group to use
  3. Add your chosen group to the 'Available for' field for the theme that you do want your chosen group to use

 

15 hours ago, DawPi said:

Edit choosen template to be used by group X. Then using my mod assign 'bots' to that group. That's all.

 

Thank you both. Have a great day!

 

  • 2 weeks later...
Posted

Quick question: 

will the 'Default Front-end Theme' setting override the group selection? 

 

I assigned the group bot in the plugin:

image.png.425df4f6504b457517bc6793f4b46f48.png

 
edited the theme Bot to use for it for the Bot group
image.thumb.png.ea91b1a43e87c6d349cdcb11e42ac004.png
 
 
excluded the Bot group from my default theme
image.png.1808648a10f404e48871f4454a5123de.png
and when I try to save it, I have to set my default theme as default, otherwise I get this error:
image.png.6719effc3c31ed34558de33c99bf8f04.png
 
and google insight still shows the default theme instead of the Bot theme:
 
What did I miss? Or how I can test that the plugin is working as intended? 
Thanks in advance!
 
 
Posted

Thanks and I get it is a built-in IPS4 requirement.

My issue is that for example Google Insight still shows the default theme instead of the Bot theme - so I am not sure how I can even verify that the plugin is working.

Posted
8 hours ago, balazsp said:

so I am not sure how I can even verify that the plugin is working.

Use any of the browser extension to emulate your useragent as a spider and then check.

See forum permissions:

obraz.thumb.png.ac030b1009ec3ea7253e491e0999c0ed.png

 

Plugin settings:

obraz.png.5ba020806b6ef1c93844c3541994486e.png

 

Result:

obraz.thumb.png.3956b2a3849b9c1af30aef0437dc4338.png

 

When I disable mod:

obraz.thumb.png.0cc73ceea2d3cc78d265f29f58be96ca.png

 

It's working fine.

Posted

I did change the useragent in the browser, but the still the default skin came up, not the one I assigned to the Bot group.
I am using (DP44) Bot Group 2.0.0. 

 
Posted

I can't tell you more than what this mod doing - changing spider group grom guest to another. That's all. Everything beyond this isn't included in support for this mod. 

Posted

Thank you.
So.. when I described what I want to achieve with the mod, Nathan told me it was possible, you did not correct him and even confirmed it:
"Edit choosen template to be used by group X. Then using my mod assign 'bots' to that group. That's all." 
it actually meant that I can only assign a specific theme to bots if it is already the default theme? 
Or did I misread something? 

Don't get me wrong, I still think is a good plugin (learned a few things from reading the source), but I'd greatly appreciate if you could demo your statement above on your demo board with any cloned skin. Thank you in advance. 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...