api

sp_DeviceStats

By Ken Wilson / June 7, 2014

Description sp_DeviceStats() – On a mobile device display the types and quantities of devices using the forum. Usage sp_DeviceStats($args=”, $statLabel=”, $phoneLabel=”, $tabletLabel=”, $desktopLabel=”); Arguments $args – List of arguments for controlling display. Type: (string) (optional) Default: ‘tagClass’ => ‘spDeviceStats’ ‘echo’ => 1 ‘get’ => 0 ‘tagClass’: CSS Class for Device Stats Div. ‘echo’: Flag to…

Read More

sp_get_auth

By Mr Papa / September 24, 2011

Description This function is used to check the authorisation of a user, including guests, for a given permission.  The function returns 1 if auth is allowed or 0 if not allowed. Usage sp_get_auth($check, $id, $userid) Arguments $check (string) (required) permission to check Default: None $id (integer) (optional) forum id to check the permission against Default:…

Read More

Template Control

By Mr Papa / September 24, 2011
Read More

Data Classes

By Mr Papa / September 24, 2011

Welcome to the Simple:Press API Class Codex, a repository for Simple:Press information and documentation on our available classes. Simple:Press has predefined some standard classes that plugin and theme developers are able to use to customize or extend the appearance and functionality of their forum. Simple:Press Classes User Class Database Class Group View Class Forum View…

Read More

API Helper Functions

By Mr Papa / July 1, 2011

Welcome to the Simple:Press API Functions Codex, a repository for Simple:Press information and documentation on our available functions. API Functions are used within your Simple:Press theme or plugin to customize and tailor the functionality of your Simple:Press forum. The API functions differ from Template Tags in that template tags are used to output Forum display…

Read More

Display Template Functions

By Mr Papa / July 1, 2011

Welcome to the Simple:Press API Display Template Tag Codex, a repository for Simple:Press information and documentation on our Display Template Tags. Template tags are used within your Simple:Press theme to display information from your Simple:Press install. They provide the means for you to completely customize and tailor the appearance of your Simple:Press forum. Below is…

Read More

Filters

By Mr Papa / July 1, 2011

Welcome to the Simple:Press API Filters Codex, a repository for Simple:Press information and documentation on our available filters. Filters are the hooks that Simple:Press fires that allows plugins and themes to modify some element (text, object, etc) of the forum before its displayed or used. Your plugin or theme can specify that one or more…

Read More