/** * Class for managing overlapping helper plugins. This ensures that we use the latest versions of common code. * * Usage: include this file on any plugin that may have shared code BEFORE the 'plugins_loaded' action is completed. * After including this file, register the helper files using the TribeCommonLibraries::register() instead of including the files directly. * * @version 1.1 */ // Don't load directly if ( ! defined('ABSPATH') ) { die('-1'); } if ( ! class_exists( 'TribeCommonLibraries' ) ) { class TribeCommonLibraries { private static $tribe_registered_plugins; /** * Enforce Singleton Pattern */ private static $instance; public static function getInstance() { if ( null == self::$instance ) { $className = __CLASS__; self::$instance = new $className; } return self::$instance; } private function __construct() { self::$tribe_registered_plugins = array(); add_action( 'plugins_loaded', array( $this, 'activate_plugins' ), 999 ); } /** * Register a plugin / helper class * * @param string $slug - slug specific to the helper class / plugin * @param string $version - version of the helper class / plugin * @param string $path - absolute path of the helper class / plugin file */ public static function register( $slug, $version, $path ) { if ( ! isset( self::$tribe_registered_plugins[$slug] ) || version_compare( self::$tribe_registered_plugins[$slug]['version'], $version, '<' ) ) { self::$tribe_registered_plugins[$slug] = array( 'version' => $version, 'path' => $path, ); } } /** * Activate all plugins. */ public function activate_plugins() { foreach ( self::$tribe_registered_plugins as $k => $v ) { require_once( $v['path'] ); do_action( 'tribe_helper_activate_' . $k ); } do_action( 'tribe_helper_activation_complete' ); } } } TribeCommonLibraries::getInstance(); Book History & Print Culture |  Web Resources

Home » Currently Reading:

Web Resources

Web Sites

Archbook: Architectures of the Book

Association québécoise pour l’étude de l’imprimé

Bibliographical Society

Bibliographical Society of America

Bibliographical Society of Australia and New Zealand

Bibliographical Society of Canada/Société Bibliographique du Canada

Bibliographical Society of the University of Virginia

Book History Online

Book and Media Studies Program at St. Michael’s College in the
University of Toronto

British Armorial Bindings

British Book Trade Index

Cambridge Centre for Material Texts

Canadian Association for the Study of Book Culture

Centre for the History of Print and Digital Culture, University of Wisconsin-Madison

Centre for the History of the Book, University of Edinburgh

Centre for the Study of the Book, Bodleian Libraries, Oxford

Eighteenth-Century Book Tracker

Groupe de recherches et d’études sur le livre au Québec

History of the Book at Harvard

History of the Book in Canada/Histoire du livre et de l’imprimé au Canada


Institute for the Future of the Book

Interacting with Print: Cultural Practices of Intermediality, 1700-1900

London Rare Books School, Institute for English Studies, University of London

Oxford Bibliographical Society

Penn State Center for the History of the Book

Primary Sources on Copyright (1450-1900)

Print Culture Program, Simon Fraser University

Rare Book School, University of Virginia

Reading Experience Database

Scottish Book Trade Index

SHARP: Society for the History of Authorship, Reading, and Publishing

Society for Textual Scholarship and Textual Cultures

Text Technologies Blog

Textual Studies Program, University of Washington

Workshop in the History of Material Texts, University of Pennsylvania

Yale Program in the History of the Book

Fellowship Announcements

Patricia Fleming Visiting Fellowship

Online Discussion Groups



Upcoming Events

  1. Annual General Meeting

    Wednesday, April 11 @ 4:00 PM - 6:00 PM

Like us on Facebook

Instagram Slider

No images found!
Try some other hashtag or username

BHPC flickr feed