Forum Activity for @paul

paul
@paul
02/01/19 04:53:31AM
4,335 posts

account suspending


Using Jamroom

Go to the profile settings page and disable the Account Active option.
Hth
paul
@paul
01/30/19 07:05:07AM
4,335 posts

adding bank infos admin aprove user mails


Using Jamroom

Hi Resif
Sorry, but not really sure what you are asking. Are you looking to add additional fields to the signup form, or do you want to customise the email that is sent to new users with additional information? Or something else?
Please let us know so that we can help.
Thanks
paul
@paul
01/29/19 06:38:47AM
4,335 posts

Displaying events from one Jamroom site in another Jamroom site?


Using Jamroom

RSS might be a good way to go.
Checkout the Jamroom Feed module - The documentation shows you have to create and read feeds. There is also a 'Feed Widget' in SiteBuilder to make reading feeds easier.

https://www.jamroom.net/the-jamroom-network/documentation/modules/277/rss-feed-and-reader

hth
paul
@paul
01/23/19 02:27:50AM
4,335 posts

What is correct syntax for Event Calendar Event_recurring field? (SOLVED)


Using Jamroom

Not sure why it wasn't working for you before, but it sounds as though its ok now.
Reseting caches and running the Integrity Check is always a good first thing to do if you have any problems, as well as after any module/skin updates -

https://www.jamroom.net/the-jamroom-network/documentation/troubleshooting/114/somethings-wrong-what-do-i-do
paul
@paul
01/23/19 01:33:30AM
4,335 posts

What is correct syntax for Event Calendar Event_recurring field? (SOLVED)


Using Jamroom

Hi - I assume you've enabled recurring events as per this topic - https://www.jamroom.net/backstage/forum/tips-and-tricks/3443/recurring-events-with-jrevent ?
Note the the 'Event End Day' field is not required, only the 'recurring event' and 'recurring end date' fields need to be enabled.
I've just done this on my test site and it worked as expected.
Hope this helps
paul
@paul
01/22/19 09:01:10AM
4,335 posts

Signup verification by SMS


Suggestions

To do this you would need to subscribe to a third party company that provides the SMS service and then a custom Jamroom module would need to be developed that interfaces with that company.
This is not something that we are planning at the moment, but you might want to consider sponsoring its development should it be a requirement for your site.
Help that helps
paul
@paul
01/18/19 07:01:34AM
4,335 posts

Couple of issues using form builder


Jamroom Developers

Radio option still works fine for me -
                <form id="gform" method="POST" onsubmit="jrGuestBook_post_entry('{$_profile_id}','#gform','#guestbooks');return false">
                <input type="hidden" id="profile_id" name="profile_id" value="{$_profile_id}">

                    <br><br>
                    <input type="radio" name="guestbook_profile_connection" value="friend" checked> Friend<br>
                    <input type="radio" name="guestbook_profile_connection" value="associate"> Associate<br>
                    <input type="radio" name="guestbook_profile_connection" value="collegue"> Collegue
                    <br><br>
                    
                <textarea name="guestbook_text" cols="40" rows="5" class="form_textarea"></textarea>
                <br>
                <div style="vertical-align:middle">
                    <img id="form_submit_indicator" src="{$jamroom_url}/skins/{$_conf.jrCore_active_skin}/img/submit.gif" width="24" height="24" alt="{jrCore_lang module="jrCore" id="73" default="working..."}" style="margin:8px 8px 0px 8px;"><input id="guestbook_submit" type="submit" value="{jrCore_lang module="jrGuestBook" id="19" default="sign guest book"}" class="form_button" style="margin-top:8px;">
                </div>
                </form>

If you want send your site url and admin login tp support[at]jamroom[dot]net and I'll take a look.
Thanks
paul
@paul
01/18/19 01:07:33AM
4,335 posts

Couple of issues using form builder


Jamroom Developers

The GuestBook module is a bit different to other modules in that the sign form is in a template and is not a module view as is more common in other modules. However, this does not mean that it cannot be easily customised, the same as other modules.
I have updated the module to make it more flexible in this respect, so to do what you describe, update your site with the latest Guestbook module then modify the module's item_index.tpl and item_list.tpl templates as follows -

item_index.tpl line 25 -
                <form id="gform" method="POST" onsubmit="jrGuestBook_post_entry('{$_profile_id}','#gform','#guestbooks');return false">
                <input type="hidden" id="profile_id" name="profile_id" value="{$_profile_id}">

                    {* These lines added *}
                    Your connection to this profile<br>
                    <input type="text" name="guestbook_profile_connection" value=""><br><br>

                    <textarea name="guestbook_text" cols="40" rows="5" class="form_textarea"></textarea>
                <br>
                <div style="vertical-align:middle">
                    <img id="form_submit_indicator" src="{$jamroom_url}/skins/{$_conf.jrCore_active_skin}/img/submit.gif" width="24" height="24" alt="{jrCore_lang module="jrCore" id="73" default="working..."}" style="margin:8px 8px 0px 8px;"><input id="guestbook_submit" type="submit" value="{jrCore_lang module="jrGuestBook" id="19" default="sign guest book"}" class="form_button" style="margin-top:8px;">
                </div>
                </form>

item_list.tpl line 13
                    <div class="p10">
                        <span class="info"><a href="{$jamroom_url}/{$item.profile_url}">@{$item.user_name}</a></span>, <span class="info_c">{$item._created|jrCore_date_format}</span><br>

                        {* This line added *}
                        <br><b>Connection: </b>{$item.guestbook_profile_connection}<br><br>

                        <span class="normal">{$item.guestbook_text|jrCore_format_string:$item.profile_quota_id}</span>
                    </div>

I've tried this and it works fine :-)

Hope this helps
paul
@paul
01/17/19 12:50:50PM
4,335 posts

Couple of issues using form builder


Jamroom Developers

Quote: {$item.guestbook_text|jrCore_format_string:$item.profile_quota_id}
If its a text field it likely doesn't need the modifier to format the text string so you just use {$item.guestbook_text}, or whatever your field name is.

Quote: So I modified that code to output my new text fields, which works fine, but I don't know what to add or change to that code to call whichever option the user has selected with the radio button.
The radio field name takes the value of the selected option. So, if there is a radio field, 'guestbook_radio' say, with three options with values of 'aaa', 'bbb' and 'ccc', and 'bbb' was selected, then in the template, $item.guestbook_radio = 'bbb'
This means that in your template you can test for this -
{if $item.guestbook_radio == 'aaa'}
    // Do whatever needs to be done if 'aaa'
{elseif $item.guestbook_radio == 'bbb'}
    // Do whatever needs to be done if 'bbb'
{elseif $item.guestbook_radio == 'ccc'}
    // Do whatever needs to be done if 'ccc'
{/if}

Quote: Also, on testing the form, it's letting me submit without entering anything in those fields, so the 'required' is not working.
I've just tried this and its working for me - If a radio option isn't selected upon form submit, a message shows telling the user that it needs to be. So its likely a configuration thing with your Form Designer settings. Post a screenshot maybe?

Just one suggestion though, you are building a custom module so why not just enter the form field code in your module function so that you don't need to use the Form Designer?

hth
paul
@paul
01/17/19 10:39:44AM
4,335 posts

Couple of issues using form builder


Jamroom Developers

Sorry, but I'm a bit confused as to what you are doing. I'm not sure if you are editing a template, or function code (in the module index.php file, say) using the Form Designer, or any combination of these. Can you give more detail, maybe with sample code, if that is what you are doing?
Thanks
  71