Forum Activity for @softdesigns

SoftDesigns
@softdesigns
10/20/17 01:54:14PM
242 posts

PayPal Module Setup


Using Jamroom

@paul - We heard PayPal was in BETA, but thanks for letting us know it's stable...
--
Can the new PayPal module do everything Foxy used to do?
Where are the docs to help get it setup and accepting payments?
SoftDesigns
@softdesigns
10/20/17 01:01:00PM
242 posts

PayPal Module Setup


Using Jamroom

We waited on the new PayPal module for long time, now we need to go live...
Is this new PayPal module ready for production?
--
We need some docs to help get it setup and accepting payments.
--
Also, does this now totally replace any need for Foxy?
Can the new PayPal module do everything Foxy used to do?
updated by @softdesigns: 01/21/18 02:15:57PM
SoftDesigns
@softdesigns
10/14/17 06:36:46AM
242 posts

Smarty Function for HTML


Jamroom Developers

Thanks guys - Our first custom Smarty function now seems working :)

Great Support - Solved...
updated by @softdesigns: 10/14/17 06:36:59AM
SoftDesigns
@softdesigns
10/14/17 06:31:58AM
242 posts

Module Category and URL


Jamroom Developers

Thanks - Yes, you are right. Now all is working...
--
view_yourModule_default
--
This function gets called by default at : yoursite.com/yourModule
--
Great Support. - Solved...
SoftDesigns
@softdesigns
10/13/17 09:50:33AM
242 posts

Module Category and URL


Jamroom Developers

We added the index.php - almost working...
--
If you type URL = yoursite.com/test
--
We want it to call this function:
function view_test()
{
}
--
What php function do we need to define - so that our function is called at:
yoursite.com/test ?
updated by @softdesigns: 10/13/17 09:53:54AM
SoftDesigns
@softdesigns
10/13/17 09:35:29AM
242 posts

Module Category and URL


Jamroom Developers

Hi - Thanks
--
We had the module working when show on Profile.
--
Now we try move it to ROOT : yoursite.com/test
But it fails :(
--
Does "index.tpl" - go in ROOT module folder, or under "templates"?
--
Still it fails, when we move to ROOT
Does it also need index.php ?
updated by @softdesigns: 10/13/17 09:40:36AM
SoftDesigns
@softdesigns
10/13/17 08:29:46AM
242 posts

Module Category and URL


Jamroom Developers

Hi : Creating a module, that we want the URL to be directly after the ROOT of Site, not on profile...

	$_tmp = array(
			'name'        => 'TEST',
			'url'         => 'test',
			'version'     => '1.0.0',
			'developer'   => 'SoftDesigns',
			'description' => 'TEST Module',
			'category'    => '???',
			'priority'	  =>  25
	);
	return $_tmp;
--
'category' => '???'
--
What do we put for value of Category in META ?
updated by @softdesigns: 01/14/18 03:58:45PM
SoftDesigns
@softdesigns
10/11/17 03:25:01PM
242 posts

Smarty Function for HTML


Jamroom Developers

Ok - Cool - mostly this makes sense
--
One Question: It seems like this module is like all our other custom modules? From your code, the key point to make it a smarty function is this code function:
function smarty_function_xxHTMLSmarty_get_html($param)

Since we have created many custom modules before, could we say - this is similar to our other custom modules except :
To add any new smarty functions, create this type of new function:
function smarty_function_xxMyFuncName

Does this sound correct?
SoftDesigns
@softdesigns
10/11/17 08:30:52AM
242 posts

Smarty Function for HTML


Jamroom Developers

Hi - We have a block of HTML that we may need to paste in several locations, maybe across JR sites.
--
We prefer isolate the code into one reusable function, instead of having the same code copied over and over. In WordPress we would simply create a quick plugin. How to achieve this in JR?
--
Is smarty function the correct way? If so, any docs to explain how to get started, and specifically where exactly does the code go? Is this done thru ACP or must use FTP?
--
Can we "wrap" the HTML in a Smarty Function, and just paste short code in the site markup?
updated by @softdesigns: 01/13/18 01:24:20PM
SoftDesigns
@softdesigns
10/10/17 10:47:11AM
242 posts

User List with Random Audio


Jamroom Developers

@Paul - Actually, when we test closer, it does seem to be working.
--
Some users have a small pool of audio, so we thought it was not pulling random audio, but at closer look, it is randomizing.
--
Great Support - Solved :)
  12