Skip to content

Symphony extensions that allows you to block certain user agents from accessing the site

License

Notifications You must be signed in to change notification settings

cedricmarteau/block_user_agent

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Block User Agent

Version: 1.0

XSL template and regexp combined to help fight old browsers.

REQUIREMENTS

  • Symphony CMS version 2.2 and up (as of the day of the last release of this extension)

INSTALLATION

  • Unzip the block_user_agent.zip file
  • (re)Name the folder block_user_agent
  • Put into the extension directory
  • Enable/install just like any other extension
  • Go to the Preferences page to customize the regular expression
  • Include the xsl file located in extensions/block_user_agent/utilities
    • <xsl:import href="../../extensions/block_user_agent/utilities/block_user_agent.xsl" />
  • Call the block-user-agent template. Parameters are optional
    • <xsl:call-template name="block-user-agent" />

Voila !

http://www.deuxhuithuit.com

History

  • 1.0 - 2012-08-29
    First release: Param value and XSL template

About

Symphony extensions that allows you to block certain user agents from accessing the site

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%