Forum Activity for @paul

paul
@paul
07/09/18 12:16:50PM
4,335 posts

Change Language for ($profile_location) Label


Design and Skin Customization

Its one of the fields inserted by the skin, and unfortunately, at this time, the labels are hard coded.
We'll look into changing that but in the meantime, if you are running a cloned or custom skin, edit its include.php file and look for this code -
        $_tmp = array(
            'name'          => 'profile_location',
            'type'          => 'text',
            'label'         => 'Location',
            'sublabel'      => 'City, State',
            'help'          => 'Enter the home location for this profile',
            'form_designer' => true
        );

Change the label(s) there.
hth
paul
@paul
07/09/18 12:15:27AM
4,335 posts

How do I add a check box in a module ?


Using Jamroom

Quote: This is what I have in"item_index.tpl" I am not sure what to do with all this code the way it is explained, can you hive a more detailed instruction ? I just want to be able to inter the data EG. "limit="500",profile_quota_id = 2 .......
Not too sure what you mean by this, but Michael's code above needs to go into your module's view_xxRadio_create and view_xxRadio_update functions as described. Then, in your templates you'll get the 'radio_checkbox' value for the created item, so that can be tested -
{if $item.radio_checkbox == 'on'}
    {jrCore_media_player type="jrAudio_player_dark" module="jrAudio" field="audio_file" search="profile_quota_id = 1" autoplay="true" order_by="_item_id random" limit="500" }
{else}
    // Do something else ??
{/if}

Also, I'd suggest the its the module's item_list.tpl or item_detail.tpl templates that you need to do this in as the radio items' data will not be available to templates until after the {jrCore_list module="xxRadio" . . . } call that I would expect to be in the item_index.tpl template.

hth
paul
@paul
07/09/18 12:04:50AM
4,335 posts

Affiliate Module?


Jamroom Developers

ukdenny:
Actuall it wasn't working, I will look at it again
Paul could I email support for you to look at the software intergration guide? Then if you are able to fix it I don't mind paying for the one-to one support. It's driving me nuts.

You could do, and we'll take a look, but be aware that we are very stacked up with other custom work atm.
paul
@paul
07/08/18 10:51:55AM
4,335 posts

Affiliate Module?


Jamroom Developers

Are you referring to additional quotas in the test to add the script? If so, try this for the test code -

{if $profile_quota_id IN x,y,z}

Alteratively -

{if $profile_quota_id == 'x' || $profile_quota_id == 'y' || $profile_quota_id == 'z'}

hth
paul
@paul
07/08/18 05:00:13AM
4,335 posts

How do I add a check box in a module ?


Using Jamroom

You'll need to post your module index.php create and create_save functions in order for us to advise further.
paul
@paul
07/08/18 01:45:30AM
4,335 posts

How do I add a check box in a module ?


Using Jamroom

OK - So your module is creating (player) items?
In that case, add the fields to the module create form and then use the entered parameters in the template jrCore_media_player call. Eg. your create form fields might be -

mymodule_quotas
mymodule_autoplay
mymodule_limit

so then in the template -

{jrCore_media_player type="jrAudio_player_dark" module="jrAudio" field="audio_file" search="profile_quota_id = $item.mymodule_quotas" autoplay=$item.mymodule_autoplay order_by="_item_id random" limit=$item.mymodule_limit }

hth
paul
@paul
07/06/18 11:49:29AM
4,335 posts

How do I add a check box in a module ?


Using Jamroom

Sorry, but I'm not understanding what you want to do.
You say you've created a module? What does that module do?
You want to add a checkbox to the module such that if checked limit and quota_id are automatically added to the smarty call to create a station?
Please explain more.
Thanks
paul
@paul
07/03/18 09:36:53PM
4,335 posts

Which Template has the thank you page - subscriptions


Design and Skin Customization

Your code has been stripped out. Put it inside BBCode code tags (see help below).
But whatever your code is, try putting it in the header.tpl template as described above.
paul
@paul
07/03/18 05:09:42PM
4,335 posts

Which Template has the thank you page - subscriptions


Design and Skin Customization

Not a good idea to modify core module files as your work will be overwritten should the file be updated.
Let us know what code you’ve added/changed and we will try to advise how it should be done using templates or a custom module.
updated by @paul: 07/03/18 06:43:29PM
paul
@paul
07/02/18 05:29:41PM
4,335 posts

Which Template has the thank you page - subscriptions


Design and Skin Customization

Something like -
{if $_post.module_url == 'subscribe' && $_post.option == 'success'}
    // Your script here
{/if}
  92