Techdirt Stream - Your Source for Social News and Networking
function checkForm() { answer = true; if (siw && siw.selectingSomething) answer = false; return answer; }//

Welcome to Techdirt Stream

It looks like you've just set up your website. Now would be a good time to submit your first article and then publish it to the Home or the New page depending on your settings in Dashboard -> Settings -> Voting -> Votes to publish

Submit Your First Story!

var some_search='Search..'; $( document ).ready(function() { /* I used [`~!@#$%^&*()|+=?;:'",.<>\{\}\[\]\\\/] versus [^\w\s-_] because JavaScript does not work well with UTF-8 and does not recognize the word boundaries in utf8. */ $(function(){ $('#searchsite').keyup(function() { var yourInput = $(this).val(); re = /[`~!@#$%^&*()|+=?;:'",.<>\{\}\[\]\\\/]/gi; var isSplChar = re.test(yourInput); if(isSplChar) { var no_spl_char = yourInput.replace(re, ''); $(this).val(no_spl_char); } }); $('#searchsite').bind("paste", function() { setTimeout(function() { //get the value of the input text var data= $( '#searchsite' ).val() ; //replace the special characters to '' var dataFull = data.replace(/[`~!@#$%^&*()|+=?;:'",.<>\{\}\[\]\\\/]/gi, ''); //set the new value of the input text without special characters $( '#searchsite' ).val(dataFull); }); }); }); });
What is Plikli?

Plikli is an open source content management system that lets you easily create your own user-powered website.

Latest Comments



function show_hide_user_links(thediv) { if(window.Effect){ if(thediv.style.display == 'none') {Effect.Appear(thediv); return false;} else {Effect.Fade(thediv); return false;} }else{ var replydisplay=thediv.style.display ? '' : 'none'; thediv.style.display = replydisplay; } } // Redwine: Roles and permissions and Groups fixes. This script is needed to change the display to the corresponding status whe a group story status is changed. It works well, however, the page is cached and needs refreshing to load the new version. window.location.reload(true) is not working in Firefox. function switch_group_links_tabs(status) { var address = window.location.href; if (status != 'discard') { if (address.indexOf("published") != -1){ var redirect = address.replace('published', 'new'); }else if (address.indexOf("new") != -1) { var redirect = address.replace('new', 'published'); } window.location.assign(redirect); }else{ window.location.href = address; } } var my_base_url='https://techdirt.stream'; var my_plikli_base=''; var anonymous_vote = false; var Voting_Method = '1'; var PLIKLI_Visual_Vote_Cast = "Voted"; var PLIKLI_Visual_Vote_Report = "Buried"; var PLIKLI_Visual_Vote_For_It = "Vote"; var PLIKLI_Visual_Comment_ThankYou_Rating = "Thank you for rating this comment."; function vote (user, id, htmlid, md5, value) { var anchor = $('#xvote-'+htmlid+' > a:'+(value>0 ? 'first' : 'last')); anchor.attr('disabled','disabled'); var url = my_plikli_base + "/vote_total.php"; var mycontent = "id=" + id + "&user=" + user + "&md5=" + md5 + "&value=" + value; dynamic_class=".linkVote_"+id; var link_title=$(dynamic_class).attr("title"); if (!anonymous_vote && user=="") { window.location= my_base_url + my_plikli_base + "/login.php?return="+location.href; } else { $.post(url, mycontent, function (data) { if (data.match (new RegExp ("^ERROR:"))) { var tag = $("<div></div>"); tag.html(data).dialog({modal: true}).dialog('open'); } else { var anchor = $('#xvote-'+htmlid+' > .'+(value>0 ? 'btn-danger' : 'btn-success')); if (anchor.length) anchor.removeClass(value>0 ? 'btn-danger' : 'btn-success') .attr('href', anchor.attr('href').replace(/unvote/,'vote')) .removeAttr('disabled') .children('i').removeClass('fa-white'); var anchor = $('#xvote-'+htmlid+' > a:'+(value>0 ? 'first' : 'last')); anchor.addClass(value>0 ? 'btn-success' : 'btn-danger') .attr('href', anchor.attr('href').replace(/vote/,'unvote')) .removeAttr('disabled') .children('i').addClass('fa-white'); if(value==10){ like_dislike_text='You like'; notify_icon = 'fa fa-thumbs-up' } else if(value==-10){ like_dislike_text='You dislike'; notify_icon = 'fa fa-thumbs-down'; } $.pnotify({ pnotify_text: like_dislike_text+' "'+link_title+'"', pnotify_sticker: false, pnotify_history: false, pnotify_notice_icon: notify_icon }); if (Voting_Method == 2){ } else { $('#xnews-'+htmlid+' .votenumber').html(data.split('~')[0]); } } }, "text"); } } function unvote (user, id, htmlid, md5, value) { var anchor = $('#xvote-'+htmlid+' > a:'+(value>0 ? 'first' : 'last')); anchor.attr('disabled','disabled'); var url = my_plikli_base + "/vote_total.php"; var mycontent = "unvote=true&id=" + id + "&user=" + user + "&md5=" + md5 + "&value=" + value; dynamic_class = ".linkVote_"+id; var link_title = $(dynamic_class).attr("title"); //user = 2; //alert("from unvote"+user); //alert(anonymous_vote); if (!anonymous_vote && user== "") { window.location= my_base_url + my_plikli_base + "/login.php?return="+location.href; } else { $.post(url, mycontent, function (data) { if (data.match (new RegExp ("^ERROR:"))) { alert(data.substring (6, data.length)); } else { var anchor = $('#xvote-'+htmlid+' > a:'+(value>0 ? 'first' : 'last')); anchor.removeClass(value>0 ? 'btn-success' : 'btn-danger') .attr('href', anchor.attr('href').replace(/unvote/,'vote')) .removeAttr('disabled') .children('i').removeClass('fa-white'); if(value==10) like_dislike_text='You removed like'; else if(value==-10) like_dislike_text='You removed dislike'; $.pnotify({ pnotify_text: like_dislike_text+' "'+link_title+'"', pnotify_sticker: false, pnotify_history: false, pnotify_notice_icon: 'fa fa-thumbs-down' }); if (Voting_Method == 2){ } else { $('#xnews-'+htmlid+' .votenumber').html(data.split('~')[0]); } } }, "text"); } } $(document).ready(function() { var my_plikli_url="https://techdirt.stream"; var total_row=""; var Pager_setting="1"; var page_name="index"; var pageSize=""; var count; count=parseInt(pageSize); function last_msg_funtion() { var data=""; var url = ""; if(page_name=="index" || page_name=="new" || page_name=="published"){ var catID=""; var part=""; var searchorder=""; data="&catID="+catID+"&part="+part+"&sorder="+searchorder; url = my_plikli_url+"/load_data.php"; } else if(page_name=="group_story"){ var groupID=""; var viewtype=""; var group_vote=""; var catID=""; data="&groupid="+groupID+"&view="+viewtype+"&group_vote="+group_vote+"&catID="+catID; url = my_plikli_url+"/load_data.php"; } else if(page_name=="user"){ var viewtype=""; var userid=""; var curuserid=""; data="&view="+viewtype+"&userid="+userid+"&curuserid="+curuserid; url = my_plikli_url+"/load_data.php"; } var dataString = "pname="+page_name+"&start_up="+count+"&pagesize="+pageSize+data; $.ajax({ type: "POST", url:url, data: dataString, beforeSend: function() { $(".stories:last").addClass("loader"); }, cache: false, success: function(html) { if ($.trim(html) != "") { $(".stories:last").after(html); $(".stories").removeClass("loader"); count=count+parseInt(pageSize); } else{ $(".stories").removeClass("loader"); } } }); }; if(Pager_setting==2){ $(window).scroll(function(){ if ($(window).scrollTop() == $(document).height() - $(window).height()){ if(parseInt(total_row)>=count) last_msg_funtion(); } }); }else if(Pager_setting==3){ if(parseInt(total_row)>count) $(".stories:last").after("<div class='btn btn-default contine_read_story'>Continue Reading</div>"); $(".contine_read_story").live("click", function(){ if(parseInt(total_row) > count){ last_msg_funtion(); }else{ $(this).hide(); $(".stories:last").after("<div class='btn btn-default no_stories_left'>No More Articles Found</div>"); } }); } }); $('.avatar-tooltip').tooltip()
x server