Some quick observations on new site builder
Using Jamroom
My image slideshows quit working after updating- how do i get them back or recreate them? I am not understanding how to make the image slideshow with this new system
jqcc(document).ready(function () {
if(jqcc.cookie('cc_hidebar')==null){
jqcc('#cometchat_hide').click();
}
setTimeout(function() {
var img_src = jqcc('.img_scale').attr('src').split("/");
var userid;
var username = jqcc('.online_status_user > h2 > a').html();
if(img_src.indexOf('gravatar')<0) {
var div_class = jqcc('.comment_page_section').attr('id').split("_");
userid = div_class;
userid = userid[1];
} else {
userid = img_src[6];
}
jqcc.ajax({
url: '/cometchat/js/check_user_present_in_table.php',
type: 'post',
data: {
userid: userid,
username: username
},
success: function(data) {
console.log(data);
if(data == 'present') {
jqcc('.row-not > .col-sm-3 .panel-default:eq(1)').append('<p><a class="btn btn-info btn-sm" role="button" style="margin-left:40px;" id="chat_with" href="javascript:void(0)" onclick="javascript:jqcc.cometchat.chatWith('+userid+');">Chat with me</a></p>');
jqcc(".row-not > .col-sm-3 .panel-default:eq(1) p:eq(0)").insertAfter(".row-not > .col-sm-3 .panel-default:eq(1) p:eq(1)");
}
}
});
}, 3000);
});
{if isset($jrFeed.feed)}
<div class="title"><h2>{$jrFeed.feed.Newest Members}</h2></div>
<div class="block_content">
<div class="item" style="height:462px;overflow:auto;">
{if isset($jrFeed.feed.item)}
{foreach from=$jrFeed.feed.item item="item"}
<div class="normal">
<a href="{$item.link}">{$item.title}</a><br>
<br>
{$item.image}<br>
</div>
<hr>
{/foreach}
{/if}
</div>
</div>
{/if}
Leave A Comment For {$profile_url}