Forum Activity for @soaringeagle

soaringeagle
@soaringeagle
01/09/15 10:01:14PM
3,304 posts

almost got the seemless ajax pagination right but help me spot the bug in my code


Design and Skin Customization

for a few weeks now ive been working on a seemless list that paginates within the sitebuilder widget
i had a breakthrough tonight (mostly been mentally working through the logic)
i got it partialy working

problem is
at 1st
it listed 4 vids there aere just 4 featrured 1 video 1 youtube 1 vimeo
but using if elseif elseif had them all looiking in vimeo
so i changed the murl to bmurl vmurl ymurl

and removed the elseif enlosing each in an if

that gave me weird output

but
i did get all 3 modules showing.. and then some that arent marked featured

so lets post some code
im soooo close after 3 weeks of trying

seemless list call in widget
{jrSeamless_list modules="jrVimeo,jrVideo,jrYouTube" search1="*_featured = on" order_by="_updated desc" template="my_featured_vids_index.tpl"}

my_featured_videos_index.tpl
<a name="featvids" id="featvids"></a>
<div class="item photosearch">
	{jrSearch_module_form}
    
</div>
<div class="item center" style="margin: 10px;padding-bottom: 10px;">
    <div id="featuredvids">
        {jrCore_include template="my_featured_vids_row.tpl"}
    </div>
</div>


my_featured_videos_row.tpl
<div class="item photosearch">
	{jrSearch_module_form}
    
</div>
<a id="featvids" name="featvids"></a>
<div id="feat_vids">

    {if isset($_items)}

      
            {foreach from=$_items item="item"}
              
       		{if $_items.seamless_module_name="jrVimeo"}
{if isset($_items)}
    {jrCore_module_url module="jrVimeo" assign="vmurl"}
    
    <div class="item">

        <div class="container">
            <div class="row">
                <div class="col2">
                    <div class="block_image">
                        <a href="{$jamroom_url}/{$item.profile_url}/{$vmurl}/{$item._item_id}/{$item.vimeo_title_url}"><img src="{$item.vimeo_artwork_url}" class="iloutline img_scale"></a>
                    </div>
                </div>
                <div class="col6">
                    <div class="p5">
                        <h3><a href="{$jamroom_url}/{$item.profile_url}/{$vmurl}/{$item._item_id}/{$item.vimeo_title_url}">{$item.vimeo_title}</a></h3><br>
                        <span class="info">{jrCore_lang module="jrVimeo" id="35" default="Length"}:</span> <span class="info_c">{$item.vimeo_duration}</span>
                    </div>
                </div>
                <div class="col2">
                    <div class="p5">
                        {jrCore_module_function function="jrRating_form" type="star" module="jrVimeo" index="1" item_id=$item._item_id current=$item.vimeo_rating_1_average_count|default:0 votes=$item.vimeo_rating_1_count|default:0}
                    </div>
                </div>
                <div class="col2 last">
                    <div class="block_config">
                        {jrCore_item_list_buttons module="jrVimeo" item=$item}
                    </div>
                    <div class="clear"></div>
                </div>
            </div>
        </div>

    </div>
    
{/if}
{/if}
{if $_items.seamless_module_name="jrVideo"}
{jrCore_module_url module="jrVideo" assign="dmurl"}
{if isset($_items)}
    

    <div class="item">

        <div class="container">
            <div class="row">
                <div class="col2">
                    <div class="block_image">
                        <a href="{$jamroom_url}/{$item.profile_url}/{$dmurl}/{$item._item_id}/{$item.video_title|jrCore_url_string}">{jrCore_module_function function="jrImage_display" module="jrVideo" type="video_image" item_id=$item._item_id size="large" crop="auto" class="iloutline img_scale" alt=$item.video_title width=false height=false}</a>
                    </div>
                </div>
                <div class="col5">
                    <div class="p5">
                        <h3><a href="{$jamroom_url}/{$item.profile_url}/{$dmurl}/{$item._item_id}/{$item.video_title|jrCore_url_string}">{$item.video_title}</a></h3><br>
                        <span class="info">{jrCore_lang module="jrVideo" id="31" default="album"}:</span> <span class="info_c"><a href="{$jamroom_url}/{$item.profile_url}/{$dmurl}/albums/{$item.video_album_url}">{$item.video_album}</a></span><br>
                        {if isset({$item.video_category}) && strlen({$item.video_category}) > 0}
                            <span class="info">{jrCore_lang module="jrVideo" id="12" default="category"}:</span> <span class="info_c">{$item.video_category}</span><br>
                        {/if}
                        {jrCore_module_function function="jrRating_form" type="star" module="jrVideo" index="1" item_id=$item._item_id current=$item.video_rating_1_average_count|default:0 votes=$item.video_rating_1_count|default:0}
                    </div>
                </div>
                <div class="col5 last">
                    <div class="block_config">
                        {jrCore_item_list_buttons module="jrVideo" field="video_file" item=$item}
                    </div>
                    <div class="clear"></div>
                </div>
            </div>

        </div>

    </div>
    
{/if}
{/if}
{if $_items.seamless_module_name="jrYoutube"}
{if isset($_items)}
{jrCore_module_url module="jrYouTube" assign="ymurl"}

    <div class="item">

        <div class="container">
            <div class="row">
                <div class="col2">
                    <div class="block_image">
                        <a href="{$jamroom_url}/{$item.profile_url}/{$ymurl}/{$item._item_id}/{$item.youtube_title_url}"><img src="{$item.youtube_artwork_url}" alt="{$item.youtube_title|jrCore_entity_string}" class="iloutline img_scale"></a>
                    </div>
                </div>
                <div class="col6">
                    <div class="p5">
                        <h3><a href="{$jamroom_url}/{$item.profile_url}/{$ymurl}/{$item._item_id}/{$item.youtube_title_url}">{$item.youtube_title}</a></h3><br>
                        <span class="info">{jrCore_lang module="jrYouTube" id="14" default="Category"}:</span> <span class="info_c">{$item.youtube_category}</span><br>
                        <span class="info">{jrCore_lang module="jrYouTube" id="35" default="Duration"}:</span> <span class="info_c">{$item.youtube_duration}</span>
                    </div>
                </div>
                <div class="col2">
                    <div class="p5">
                        {jrCore_module_function function="jrRating_form" type="star" module="jrYouTube" index="1" item_id=$item._item_id current=$item.youtube_rating_1_average_count|default:0 votes=$item.youtube_rating_1_count|default:0}
                    </div>
                </div>
                <div class="col2 last">
                    <div class="block_config">
                        {jrCore_item_list_buttons module="jrYouTube" item=$item}
                    </div>
                    <div class="clear"></div>
                </div>
            </div>
        </div>

    </div>

{/if}
{/if}

            {/foreach}
            {if $info.total_pages > 1}
                <div class="block">
                    <table style="width:100%;">
                        <tr>

                            <td style="width:25%;">
                                {if isset($info.prev_page) && $info.prev_page > 0}
                                    <input type="button" value="{jrCore_lang module="jrCore" id=26 default="&lt;"}" class="form_button" onclick="jrLoad('#feat_vids','{$jamroom_url}/index_vids_list/p={$info.prev_page}/pb={$info.pagebreak}');$('html, body').animate({ scrollTop: $('#featvids').offset().top -100 }, 'slow');return false;">
                                {/if}
                            </td>

                            <td style="width:50%;text-align:center;">
                                {if $info.total_pages <= 5}
                                    {$info.page} &nbsp;/ {$info.total_pages}
                                {else}
                                    <form name="form" method="post" action="_self">
                                        <select name="pagenum" class="form_select" style="width:60px;" onchange="var sel=this.form.pagenum.options[this.form.pagenum.selectedIndex].value;jrLoad('#feat_vids','{$jamroom_url}/index_vids_list/p=' +sel+'/pb={$info.pagebreak}');$('html, body').animate({ scrollTop: $('#featvid').offset().top -100 }, 'slow');">
                                            {for $pages=1 to $info.total_pages}
                                                {if $info.page == $pages}
                                                    <option value="{$info.this_page}" selected="selected"> {$info.this_page}</option>
                                                {else}
                                                    <option value="{$pages}"> {$pages}</option>
                                                {/if}
                                            {/for}
                                        </select>&nbsp;/&nbsp;{$info.total_pages}
                                    </form>
                                {/if}
                            </td>

                            <td style="width:25%;text-align:right;">
                                {if isset($info.next_page) && $info.next_page > 1}
                                    <input type="button" value="{jrCore_lang module="jrCore" id=27 default="&gt;"}" class="form_button" onclick="jrLoad('#feat_vids','{$jamroom_url}/index_vids_list/p={$info.next_page}/pb={$info.pagebreak}');$('html, body').animate({ scrollTop: $('#featvids').offset().top -100 }, 'slow');return false;">
                                {/if}
                            </td>

                        </tr>
                    </table>
                </div>
            {/if}
        </div>
    {/if}
</div>

the odd output
http://www.greentechnologyforums.com/videos

note im aware i gave 2 searches and other formatting issues
its only on featured vids not on the highest rasted or newest yet


if you can help me debug this i will be ready to go live in 2 ..maybe 3 days
im so excited to finaly be this close

edit had old code in newest code updated
updated by @soaringeagle: 02/16/15 03:08:26AM
soaringeagle
@soaringeagle
01/09/15 07:59:38PM
3,304 posts

willing to pay someone with last few custimizations on highly customized site


Design and Skin Customization

i dont believe it
just when i had given up i cracked the code

i have a seemless ajax refeshing template
well
1/3 of it im in extreme pain right now so will finish it tomorow ..but i figured it out and it works!

@douglass
i will share with you what i got as soon as i got my site perfected ...
soaringeagle
@soaringeagle
01/09/15 02:38:09PM
3,304 posts

Delete redundant archive media files


Ning To Jamroom

yea
so its safe to do and i do needto save a ton of spsace
soaringeagle
@soaringeagle
01/09/15 01:31:15PM
3,304 posts

Delete redundant archive media files


Ning To Jamroom

Does this do what I think it does? Does this delete like if you have multiple files that are identical? I think I must have 30 gigs of the same file over and over and over again.
If it does delete the redundant files does it change the reference to every copy of the file to point to one file?
updated by @soaringeagle: 03/02/15 02:51:51AM
soaringeagle
@soaringeagle
01/09/15 01:20:15PM
3,304 posts

widget paginate vs list paginate


Using Jamroom

I think something that was solve a big problem is if we can have it so the widget itself paginate's instead of list or content inside it.

That way, any of the content within it can use the Ajax refresh pagination.And it shouldn't matter what was within it, even as seamless listening to set a item count were a length or even paragraph count
updated by @soaringeagle: 12/22/16 11:55:59AM
soaringeagle
@soaringeagle
01/09/15 10:33:39AM
3,304 posts

bug in domain to profile


Ning To Jamroom

its on your server too then
soaringeagle
@soaringeagle
01/09/15 02:11:00AM
3,304 posts

bug in domain to profile


Ning To Jamroom

further testing
testing main page i get
A fatal error occurred when attempting to decode response body from http://www.greentechnologyforums.com/. Either we do not support the content encoding specified ("none"), or an error occurred while decoding it.

The error was: Don't know how to decode Content-Encoding 'none'

when i try www.exposetheabuse.com i get
I got the following unexpected response when trying to retrieve :

500 Can't connect to www.exposetheabuse.com:80 (Bad hostname 'www.exposetheabuse.com')

If you made recent changes to your domain name (DNS) configuration, you may also want to check that your domain records are correct, or ask your hosting company to do so.


greentechnologiesforums i get
I got the following unexpected response when trying to retrieve :

500 Can't connect to www.greentechnologiesforums.com:80 (Bad hostname 'www.greentechnologiesforums.com')

If you made recent changes to your domain name (DNS) configuration, you may also want to check that your domain records are correct, or ask your hosting company to do so.


jamroom.net i get


Error

A fatal error occurred when attempting to decode response body from http://www.jamroom.net/. Either we do not support the content encoding specified ("none"), or an error occurred while decoding it.

The error was: Don't know how to decode Content-Encoding 'none'


not 1 jamroom site validates
soaringeagle
@soaringeagle
01/09/15 02:01:35AM
3,304 posts

willing to pay someone with last few custimizations on highly customized site


Design and Skin Customization

the last couple things i need (and need 2 quickly) are
1 a way to use seemless and paginate in page (ajax paginate)
2 a module search that can function in its own space (using the site builder beta)
3 a module that listens for the maintenence cycle and auto changes quotas after x number of days

1st 2 i need a fast solution for
2nd 1 at your leisure
if someone comes through on these i have 2 other bigger projects in the future we can discuss

price negotiable but be reasonable

updated by @soaringeagle: 02/28/15 05:36:35PM
soaringeagle
@soaringeagle
01/08/15 11:57:00PM
3,304 posts

bug in domain to profile


Ning To Jamroom

and ..the scripts currently removed
  241