The procedure below is the same you would follow to install any Product for vBulletin.
-
Sign into your vBulletin Admin control panel
-
Scroll down the navigation menu on the left, and expand the
# 2x2 matrix multiplication | |
# [a b] [e f] [a*e+b*g a*f+b*h] | |
# [c d] * [g h] = [c*e+d*g c*f+d*h] | |
def mult m1, m2 | |
a, b, c, d = m1 | |
e, f, g, h = m2 | |
[a*e+b*g, a*f+b*h, c*e+d*g, c*f+d*h] | |
end | |
# quick exponentiation |
<?php | |
/** | |
* Feeligo | |
* | |
* class FeeligoCommunityApiUserToken | |
* Encapsulates the logic to generate and validate authentication tokens. | |
* | |
* // generation: | |
* $token = FeeligoCommunityApiUserToken::make(array( | |
* 'user_id' => '123', |
<% | |
' | |
' VBS JSON 2.0.3 | |
' Copyright (c) 2009 Tuðrul Topuz | |
' Under the MIT (MIT-LICENSE.txt) license. | |
' | |
Const JSON_OBJECT = 0 | |
Const JSON_ARRAY = 1 | |
<?php | |
/** | |
* Feeligo_Mysite_User_Friends_Selector | |
* | |
* this class implements methods to find friends of a given user in | |
* the database and pass them as Adapters to the Feeligo API. | |
*/ | |
require_once(str_replace('//','/',dirname(__FILE__).'/').'sdk/interfaces/users_selector.php'); | |
require_once(str_replace('//','/',dirname(__FILE__).'/').'mysite_user_adapter.php'); |
<?php | |
[...] | |
// require the source file containing the Feeligo_Mysite_User_Friends_Selector class | |
require_once(str_replace('//','/',dirname(__FILE__).'/').'mysite_user_friends_selector.php'); | |
[...] | |
class Feeligo_Mysite_User_Adapter implements FeeligoUserAdapter { | |
<?php | |
/** | |
* Feeligo_Mysite_Api | |
* | |
* this file provides a skeleton implementation of the Api adaptation class. | |
*/ | |
/** | |
* Feeligo configuration settings | |
*/ |
<?php | |
/** | |
* Api endpoint controller | |
* | |
* this file is provided as a skeleton implementation of a Feeligo API Endpoint. | |
*/ | |
/** | |
* require the SDK's built-in FeeligoController |