| hi there.. i just try to install JSMF joomla 1.0.12 smf 1.1.3 here is my problem i didnt understand the jsmf_user_guide_2_0.pdf in this part Quote 3. Developers Guide So you want to interface with the bridge? I have written it to be easily accessible and through our patch to the Joomla! index the bridge functionality can be accessed from any bot or module. I am eager to improve the bridge so if you have feature requests or ideas to improve the interface to the bridge please post them in our forum or email me directly at joshualross@gmail.com. 3.1. Retrieving JSMF Parameters JSMF stores its parameters in the Joomla! database table prefix_jsmf_config. To retrieve the JSMF parameters make a direct call to the loadParams function. This will retrieve the params from cache if it has not expired or directly from the database and return an object. The file smf.class.php needs to be included in order to make the call to the function loadParam. This should have occurred in the Joomla! index however using the statement include_once you can safely make sure the file has been included. The following code example shows how to retrieve the parameter object. Code: include_once($mosConfig_absolute_path.'/components/com_smf/smf.class.php'); $jsmfConfig = jsmfFrontend::loadParams(); After retrieving the parameter object access the parameters like any PHP object. For example Code: $jsmfConfig->smf_prefix Code: $jsmfConfig->cb_profile can someone teach me how to do that? then.. mayb this problem because the installation part above didnt complete (i didnt know though) but - when i login and go to forum (SMF), i need to login again at joomla. but my usrname was there at who's online.. login using CB module. maybe there are some other problems but i hope my installation problem solved first.. p/s: i didnt know much about these things. my friend ask me to build a website and i try to do what i can. |
Forum 





Author



Logged





