Forum Activity for @paul

paul
@paul
12/07/15 01:17:07PM
4,335 posts

A more Powerfull Event Module


Suggestions

'event_recurring' and 'event_end_date' are pre-configured by the Event module and are part of the Recurring Events feature. Not sure where 'event_end_day' came from but whilst all three are inactive they'll do no harm.

I see you have an events panel on your homepage, so you may want to implement this in your skin index.tpl template. Also on the 'All Events' page which is the module's index.tpl template, then also possible in the module's item_index.tpl template which controls the event listing on profile pages.

Get in touch if you need help with this (I'll need your admin login).
paul
@paul
12/07/15 12:32:09PM
4,335 posts

Embedding Google Calendar


Using Jamroom

Hi Stacy
This should be pretty straightforward, you just need to add the Google embed code to the appropriate Jamroom skin template where you want it to show.
Note that the Google embed is in iframe html tags so you'll likely need to install the Jamroom Framer module and in its settings allow the 'calendar.google.com' domain. Also, in the Core quota settings, make sure that 'iframe' is one of the allowed html tags.
Hope that helps
paul
@paul
12/07/15 12:19:21PM
4,335 posts

A more Powerfull Event Module


Suggestions

To be honest, the recurring events feature was really designed as an aid for bands/artists that might have a 'residency', say, so that, as an example, they could enter all their Friday night gigs at the local club for the rest of the year in one go. I suggested it to you as a possible solution for what you wanted.

How about using the Form Designer to add an 'event_until' date/time field to the create and update forms and then adding a search field to the appropriate event listing call(s) in the template(s) -

{jrCore_list module="jrEvent" order_by="event_date asc" search="event_until >= `$smarty.now`" pagebreak=10 page=$_post.p pager=true}

(You would need to uncheck the 'show past events' box in the event config settings so that doesn't affect anything)
paul
@paul
12/07/15 01:43:41AM
4,335 posts

Grid of Videos


Design and Skin Customization

OK - I see the problem. Its because you have the Combine Video module installed and this changes what we call the module url from 'video' to 'uploaded_video'. In your template code you have the module urls written as absolute values, which is bad practice. Try this code -

<h1>My Site Videos</h1>
<div id="vidwrap">
    <p><a title="Share A YouTube Video" href="http://sayreeagles.net/href="http:/sayreeagles.net/youtube/create" target="_blank"><img style="float: left; margin: 10px;" src="http://sayreeagles.net/upimg/image/upimg_file/74/128" alt="Share A YouTube Video" border="0"></a> <a title="Upload A Video File From Your Device" href="http://sayreeagles.net/uploaded_video/create" target="_blank"><img style="float: left; margin: 10px;" src="http://sayreeagles.net/upimg/image/upimg_file/75/128" alt="Upload A Video From Your Device" border="0"></a></p>
    {capture name="template" assign="tpl"}
    {literal}
        {jrCore_module_url module="jrVideo" assign="vdurl"}
        {jrCore_module_url module="jrVimeo" assign="vmurl"}
        {jrCore_module_url module="jrYouTube" assign="yturl"}
        <div class="container">
            {foreach $_items as $item}
            {if $item@first || ($item@iteration % 3) == 1}
            <div class="row">
                {/if}
                <div class="col4">
                    <div class="img-profile">
                        {if $item.seamless_module_name == "jrYouTube"}
                        <a href="{$jamroom_url}/{$item.profile_url}/{$yturl}/{$item._item_id}/{$item.youtube_title_url}">
                            <img src="{$item.youtube_artwork_url}" class="rank_image" width=320 height=180/></a>
                        {elseif $item.seamless_module_name == "jrVideo"}
                        <a href="{$jamroom_url}/{$item.profile_url}/{$vdurl}/{$item._item_id}/{$item.video_title_url}">{jrCore_module_function function="jrImage_display" module="jrVideo" type="video_image" item_id=$item._item_id size="large" alt=$item.video_title title=
                            $item.video_title class="top_rank" width=320 height=180}</a>
                        {elseif $item.seamless_module_name == "jrVimeo"}
                        <a href="{$jamroom_url}/{$item.profile_url}/{$vmurl}/{$item._item_id}/{$item.vimeo_title_url}">
                    </div>

                    <div class="center mb10">
                        {if $item.seamless_module_name == "jrYouTube"}
                            <a href="{$jamroom_url}/{$item.profile_url}/{$yturl}/{$item._item_id}/{$item.youtube_title_url}">{$item.youtube_title|truncate:24}</a>
                        {elseif $item.seamless_module_name == "jrVideo"}
                            <a href="{$jamroom_url}/{$item.profile_url}/{$vdurl}/{$item._item_id}/{$item.video_title_url}">{$item.video_title|truncate:24}</a>
                        {elseif $item.seamless_module_name == "jrVimeo"}
                            <a href="{$jamroom_url}/{$item.profile_url}/{$vmurl}/{$item._item_id}/{$item.vimeo_title_url}">{$item.vimeo_title|truncate:24}</a>
                        {/if}
                        <br>
                    </div>
                </div>
                {if $item@last || ($item@iteration % 3) == 0}
            </div>
            {/if}
            {/foreach}
        </div>
    {/literal}
    {/capture}
    {jrSeamless_list modules="jrVideo,jrYouTube,jrVimeo" order_by="_created numerical_desc"  pagebreak=30 page=$_post.p pager=true template=$tpl}</div>

Note that I have added {jrCore_module_url . . .} calls to the top of the 'captured' code to assign the actual module urls to smarty variables, then used those variables in the link URLs instead of the absolute values you had.
Hope that makes sense.
Pa
paul
@paul
12/07/15 12:40:14AM
4,335 posts

Grid of Videos


Design and Skin Customization

Hi Michael
The border and aspect ratio can likely be fixed in the CSS - is there a height setting that is squashing the video images?

To make the video titles longer, change the 'truncate' modifier parameter where the titles are in the template - {$item.video_title|truncate:24} so chanhe the 24 to whatever number of characters you want.

To add Vimeo to the grid, first add it to the jrSeamless_list call - {jrSeamless_list modules="jrVideo,jrYouTube,jrVimeo" order_by="_created numerical_desc" pagebreak=30 page=$_post.p pager=true template=$tpl} - then add the appropriate code to the 'captured' code to the two places where it tests for what type of video, the {if . . .}{elseif . . .}{/if} statements -
                    {if $item.seamless_module_name == "jrYouTube"}
                    <a href="{$jamroom_url}/{$item.profile_url}/youtube/{$item._item_id}/{$item.youtube_title_url}">
                        <img src="{$item.youtube_artwork_url}" class="rank_image" width=320 height=180/></a>                  
                    {elseif $item.seamless_module_name == "jrVideo"}
                            <a href="{$jamroom_url}/{$item.profile_url}/video/{$item._item_id}/{$item.video_title_url}">{jrCore_module_function function="jrImage_display" module="jrVideo" type="video_image" item_id=$item._item_id size="large" alt=$item.video_title title=
$item.video_title class="top_rank" width=320 height=180}</a>
                    {elseif $item.seamless_module_name == "jrVimeo"}
                        <a href="{$jamroom_url}/{$item.profile_url}/vimeo/{$item._item_id}/{$item.vimeo_title_url}">
                             <img src="{$item.vimeo_artwork_url}" class="rank_image" width=320 height=180/></a>                  
                        </a>
                    {/if}
and
                    {if $item.seamless_module_name == "jrYouTube"}
                        <a href="{$jamroom_url}/{$item.profile_url}/youtube/{$item._item_id}/{$item.youtube_title_url}">{$item.youtube_title|truncate:24}</a>                   
                    {elseif $item.seamless_module_name == "jrVideo"}   
                        <a href="{$jamroom_url}/{$item.profile_url}/video/{$item._item_id}/{$item.video_title_url}">{$item.video_title|truncate:24}</a>
                    {elseif $item.seamless_module_name == "jrVimeo"}
                        <a href="{$jamroom_url}/{$item.profile_url}/vimeo/{$item._item_id}/{$item.vimeo_title_url}">{$item.vimeo_title|truncate:24}</a>                   
                    {/if}

Can you identify for me a local video that is linking to a non-existant page so that I can check it (save me clicking on the all to find it lol)
Thanks
updated by @paul: 12/07/15 12:41:10AM
paul
@paul
12/06/15 02:05:32AM
4,335 posts

A more Powerfull Event Module


Suggestions

@luis456 - Thanks for the feedback. We'll take it onboard. In fact, I've opened a private ticket for it so that we can discuss it between ourselves.

@strumelia - What actually happens when invoking recurring events is that multiple events are created with all the same information except for the event date, so creating a weekend event, say would mean that three actual event items are created, one each for Friday, Saturday and Sunday. This of course means that when Saturday comes, the Friday one will not be shown (if JR set up to only show coming events). Might this be acceptable? The alternative might be to add an 'event_duration' field to the module (in days, default 1) then do some template code modification to keep showing the event whilst its duration is valid.
paul
@paul
12/05/15 05:45:19AM
4,335 posts

Unwanted HTML gap/space


Using Jamroom

Table html looks ok. It would be quicker and easier to sort this if I could take a quick look at what you are doing in SiteBuilder so please email me the admin login at support [at] jamroom [dot] net
Thanks
paul
@paul
12/05/15 04:11:15AM
4,335 posts

Unwanted HTML gap/space


Using Jamroom

There must be some html that has been pasted in that is causing that. If you want to send your admin login to support[at]jamroom[dot]net I can take a look for you.
paul
@paul
12/05/15 04:08:20AM
4,335 posts

Creating a Forum


Ning To Jamroom

No - problem. Marking this thread as solved.
paul
@paul
12/05/15 04:06:42AM
4,335 posts

Grid of Videos


Design and Skin Customization

Hi Michael
Checkout our SiteBuilder module. It will allow you to layout site pages with pre-configured 'widgets' with drag'n'drop positioning. It is still in beta (but ready for release almost) so from your ACP=> Core=> Marketplace=> Tools=Release Channels page enable the beta channel, then install it from the marketplace as you would any other module.
SiteBuilder docs. here - https://www.jamroom.net/site-builder/documentation
  247