Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Live Topic Details »»
Live Topic
Version: 1.07b, by Coders Shack Coders Shack is offline
Developer Last Online: Sep 2013 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.0 Rating:
Released: 01-09-2009 Last Update: 02-28-2009 Installs: 976
DB Changes Uses Plugins Auto-Templates
Is in Beta Stage  
No support by the author.

. . . . . . . . Brought to you by scriptasy.com

Live Demo:
Live Topic 1.07b Demo (you must be logged in, and the topic must be "live")

Videos: 1.00b 1.06b

watch the damn videos... ^_^
Description:
This product is different from anything you have seen before, it raises the bar for forums. It will make your forums much more interactive, and also reduce server load.

Technical Details:
If a thread has been posted in X seconds then its now Live, if other users are viewing the Live topic and are on the last page they will experience a clean ajax experience while talking to other members. Once the thread is older than X seconds its no longer Live and it will now act like a normal thread. Also if a user edits one of their posts that's inside of the thread, it will be updated too so there is no longer a reason to ever have to refresh.

There is also logic for the viewer, the viewer of the thread has to be in an active state to see responses. An active user state is determined upon the users actions, if no actions were made in X seconds then the user is marked as inactive.

Also you may wonder why this could save your server bandwidth and CPU. If a user is refreshing to talk to another members the queries on a normal thread load are way more intense than the ajax call that this modification makes. So if you have 5 people talking to each other none of them have to refresh the page, all they are doing is simple page requests and one intense request when there has actual change.

You can test Live Topic with two users, you will see how amaizing this is... And probably spontaneously combust.

Found a bug? Want to request a feature?
Live Topic - Project Manager
Installation:
This is take less than 3 minutes to install, takes longer to notice its amazing feature. (you need multiple people to be active in the same topic)

Upgrade:
[1.01b to 1.XXb] Uninstall the product, then reinstall it. Overwrite all old files with new files and you should be fine.

[1.02b to 1.03b] Overwrite files, upgrade product (dont install product)

[1.03b to 1.04b] Uninstall the product, then reinstall it. Overwrite all old files with new files and you should be fine.

[1.04b to 1.05b, 1.05b to 1.06b,1.06b to 1.07b] Upgrade the product. Overwrite all old files with new files and you should be fine.
Works With (FF2, FF3, IE6, IE7, IE8, SF2, SF3, CHROME):
vBulletin [3.8.X]

get the vBulletin [3.7.X] version here

INCOMPATIBLE HACKS:
Versions:
1.01b
1.02b
fixes
safari 2 support
safari 3 support
google chrome sup
port
added live topic icon on new posts page
fixed security issue, strongly suggest upgrading!
changes
added live edit (to avoid a performance hit i had to add two rows to two tables in the database)
added external style sheet
1.03b
fixes
fix double post
phrase notification
fixed an edit bug for people with table prefixes
changes
ability to change interval in ACP
1.04b
fixes
javascript error for guests
fixed live topic activation (first poster to raise a dead topic)
changes
auto quick reply focus after post
1.05b
fixes
css flaw
js error for unsupported browsers (random)

fixed chrome issue
changes
edit notification - thanks to nso
rebuilding some of the original logic to hopefully prevent product conflicts

1.06b
fixes
fixed a little javascript issue that had to do with displaying posts
uses GPC cleaner now
changes
limit the number of ajax posts on the live topic (example 40) and fade them away.
changed the way the hooks are used
tightened up everything a bit

1.07b
fixes
fixed a bug where the live topic notification always making an ajax call
changes
support user ignore list
changed the way the javascript logic worked (hopefully there are less compatibly issues) added support for IE6 and IE8
1.10
hmm

Download Now

File Type: zip LiveTopic107b.zip (15.9 KB, 3950 views)

Screenshots

File Type: png Picture 5.png (33.7 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #722  
Old 04-05-2009, 06:46 PM
Mum Mum is offline
 
Join Date: Jun 2006
Location: New Zealand
Posts: 660
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get this error when i try and put in the xml
Code:
Warning: file_get_contents(http://track.scriptasy.com/livetopic/1.07b/www.mummybrain.com) [function.file-get-contents]: failed to open stream: Connection timed out in [path]/admincp/plugin.php(1995) : eval()'d code on line 4
Reply With Quote
  #723  
Old 04-05-2009, 08:43 PM
starplatinum starplatinum is offline
 
Join Date: Feb 2009
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi
i installed, it worked but no more !
in the meantime i installed a bunch of hack.
I disabled them all, still not working (no ajax update)
i uploaded VBispy but it is not a hack (no installation) it is standalone...

so how the troubleshoot then ?

livetopic.js is called at the end of the body tag :

Code:
<script type="text/javascript" src="http://nichifutsu.fr/forum/clientscript/yui/animation/animation-min.js">
</script>
<script src="http://nichifutsu.fr/forum/clientscript/livetopic.js" type="text/javascript">
1// v1.07b
2var is_chrome=navigator.userAgent.toLowerCase().indexOf('chrome')>-1;var ajax_edits=Array();var livetopic={live:false,phrases:Array(),notification:false,interval:null,interval_time:3000,get:null,old_topic:300,old_user:300,ajax_max_visibleposts:30,user_inactivity:0,init:function(){this.interval=window.setInterval(livetopic.interval_func,livetopic.interval_time);YAHOO.util.Event.addListener(window,"click",function(){livetopic.user_inactivity=0});YAHOO.util.Event.addListener(window,"focus",function(){livetopic.user_inactivity=0});YAHOO.util.Event.addListener(window,"mousemove",function(){livetopic.user_inactivity=0})},get_postcontainer:function(c){var a=livetopic.$("#posts div.page");for(var b=0,f=a.length;b<f;b++){var g=livetopic.$("table[id^='post']",a[b])[0];var e=g.id.match(/post(\d+)/)[1];if(c==e)return a[b].parentNode}},display_posts:function(){YAHOO.util.Connect.asyncRequest('POST','ajax.php?do=shownewresponses',{success:function(c){var a=c.responseXML;var b=a.getElementsByTagName('db_ajax_last_post').item(0).childNodes.item(0)!==null?a.getElementsByTagName('db_ajax_last_post').item(0).childNodes.item(0).nodeValue:null;var f=a.getElementsByTagName('db_ajax_last_edit').item(0).childNodes.item(0)!==null?a.getElementsByTagName('db_ajax_last_edit').item(0).childNodes.item(0).nodeValue:null;if(b!=null||f!=null){var b=parseInt(b);var f=parseInt(f);var g=a.getElementsByTagName('postbit');for(var e=0,o=g.length;e<o;e++){var d=g[e].getAttribute('postid');var s=g[e].getAttribute('dateline');var p=g[e].getAttribute('lastedit');var m=g[e].childNodes.item(0).nodeValue;var n=p>ajax_last_edit?'editpost':'newpost';if(n=='newpost'&&!fetch_object('post'+d)){var h=document.createElement("div");h.innerHTML=m;h.style.display='none';var i=fetch_object("lastpost");var j=i.parentNode;var k=j.insertBefore(h,i);PostBit_Init(k,d);fetch_object('post'+d).style.opacity="0";h.style.display='block';var q={opacity:{from:0,by:1}};var l=new YAHOO.util.Anim('post'+d,q);l.animate();livetopic.fade_posts()}else if(n=='editpost'&&fetch_object('post'+d)&&!ajax_edits[d]){var r=livetopic.$("#postcount"+4+" strong").length>0?livetopic.$("#postcount"+4+" strong")[0].innerHTML:0;var i=livetopic.get_postcontainer(d);var h=document.createElement("div");h.style.display='none';var j=i.parentNode;var k=j.insertBefore(h,i);j.removeChild(i);h.innerHTML=String(m).replace(/___postcount_placeholder___/ig,r);fetch_object('post_message_'+d).innerHTML='<div class="livetopic-editnotice">'+vbphrase['livetopic_edit_message']+'</div>'+fetch_object('post_message_'+d).innerHTML;h.style.display='block';var l=new YAHOO.util.Anim('post'+d,{opacity:{from:0,by:1}});l.animate();PostBit_Init(k,d)}}ajax_last_post=b>ajax_last_post?b:ajax_last_post;ajax_last_edit=f>ajax_last_edit?f:ajax_last_edit}}},'securitytoken='+SECURITYTOKEN+'&threadid='+threadid+'&ajax_lastpost='+ajax_last_post+'&ajax_lastedit='+ajax_last_edit)},display_notification:function(){YAHOO.util.Connect.asyncRequest('POST','ajax.php?do=shownewnotifications',{success:function(c){var a=c.responseXML;var b=parseInt(a.getElementsByTagName('new').item(0).childNodes.item(0).nodeValue);if(b>0&&fetch_object('presence-container')){var f=fetch_object('presence-container').getElementsByTagName('div')[0];f.innerHTML=vbphrase['livetopic_newresponses'].replace(/%1/,b).replace(/%2/,threadid);if(livetopic.notification===false){var g={height:{from:0,by:32,unit:'px'},opacity:{from:0,by:1}};var e=new YAHOO.util.Anim('presence-container',g);e.animate();livetopic.notification=true}}}},'securitytoken='+SECURITYTOKEN+'&threadid='+threadid+'&ajax_lastpost='+ajax_last_post)},fade_posts:function(){P=livetopic.$("#posts div.page table[id^='post']");PC=livetopic.$("#posts div.page");if(P.length>4&&P.length>livetopic.ajax_max_visibleposts){if(!fetch_object("livetopic_maxposts_notice")){var c=document.createElement("div");c.id="livetopic_maxposts_notice";c.innerHTML='<div align="center"><div style="width: 100%; text-align: left;" class="page"><div align="left" style="padding: 1px 25px;"><div class="livetopic-maxpostnotice">'+vbphrase['livetopic_maxpostnotice']+'</div></div></div></div>';fetch_object("posts").insertBefore(c,PC[0].parentNode)}fetch_object("posts").removeChild(PC[0].parentNode);P[1].style.opacity=".30";P[2].style.opacity=".50";P[3].style.opacity=".80"}else if(P.length>livetopic.ajax_max_visibleposts-1){P[0].style.opacity=".30";P[1].style.opacity=".50";P[2].style.opacity=".80"}else if(P.length>livetopic.ajax_max_visibleposts-2){P[0].style.opacity=".50";P[1].style.opacity=".80"}else if(P.length>livetopic.ajax_max_visibleposts-3){P[0].style.opacity=".80"}},interval_func:function(){if(livetopic.user_inactivity<livetopic.old_user){var c=Math.floor(new Date().getTime()/1000);var a=c-ajax_last_post;if((is_moz||is_saf||is_ie7||is_opera||is_chrome)&&is_last_page!==1&&a<livetopic.old_topic){livetopic.display_notification()}else if(a<livetopic.old_topic){livetopic.live=true;livetopic.display_posts()}else{livetopic.live=false}}livetopic.user_inactivity+=livetopic.interval_time/1000}};
3livetopic.$ = function(){var version="2.0.2";var $COMMA=/\s*,\s*/;var dom_query=function($selector,$$from){try{var $match=[];var $useCache=arguments.callee.caching&&!$$from;var $base=($$from)?($$from.constructor==Array)?$$from:[$$from]:[document];var $$selectors=parseSelector($selector).split($COMMA),i;for(i=0;i<$$selectors.length;i++){$selector=_toStream($$selectors[i]);if(isMSIE&&$selector.slice(0,3).join("")==" *#"){$selector=$selector.slice(2);$$from=_msie_selectById([],$base,$selector[1])}else $$from=$base;var j=0,$token,$filter,$arguments,$cacheSelector="";while(j<$selector.length){$token=$selector[j++];$filter=$selector[j++];$cacheSelector+=$token+$filter;$arguments="";if($selector[j]=="("){while($selector[j++]!=")"&&j<$selector.length){$arguments+=$selector[j]}$arguments=$arguments.slice(0,-1);$cacheSelector+="("+$arguments+")"}$$from=($useCache&&cache[$cacheSelector])?cache[$cacheSelector]:select($$from,$token,$filter,$arguments);if($useCache)cache[$cacheSelector]=$$from}$match=$match.concat($$from)}delete dom_query.error;return $match}catch($error){dom_query.error=$error;return[]}};dom_query.toString=function(){return"function dom_query() {\n [version "+version+"]\n}"};var cache={};dom_query.caching=false;dom_query.clearCache=function($selector){if($selector){$selector=_toStream($selector).join("");delete cache[$selector]}else cache={}};var modules={};var loaded=false;dom_query.addModule=function($name,$script){if(loaded)eval("$script="+String($script));modules[$name]=new $script()};dom_query.valueOf=function($code){return $code?eval($code):this};var selectors={};var pseudoClasses={};var AttributeSelector={match:/\[([\w-]+(\|[\w-]+)?)\s*(\W?=)?\s*([^\]]*)\]/};var attributeSelectors=[];selectors[" "]=function($results,$from,$tagName,$namespace){var $element,i,j;for(i=0;i<$from.length;i++){var $subset=getElementsByTagName($from[i],$tagName,$namespace);for(j=0;($element=$subset[j]);j++){if(thisElement($element)&&compareNamespace($element,$namespace))$results.push($element)}}};selectors["#"]=function($results,$from,$id){var $element,j;for(j=0;($element=$from[j]);j++)if($element.id==$id)$results.push($element)};selectors["."]=function($results,$from,$className){$className=new RegExp("(^|\\s)"+$className+"(\\s|$)");var $element,i;for(i=0;($element=$from[i]);i++)if($className.test($element.className))$results.push($element)};selectors[":"]=function($results,$from,$pseudoClass,$arguments){var $test=pseudoClasses[$pseudoClass],$element,i;if($test)for(i=0;($element=$from[i]);i++)if($test($element,$arguments))$results.push($element)};pseudoClasses["link"]=function($element){var $document=getDocument($element);if($document.links)for(var i=0;i<$document.links.length;i++){if($document.links[i]==$element)return true}};pseudoClasses["visited"]=function($element){};var thisElement=function($element){return($element&&$element.nodeType==1&&$element.tagName!="!")?$element:null};var previousElementSibling=function($element){while($element&&($element=$element.previousSibling)&&!thisElement($element))continue;return $element};var nextElementSibling=function($element){while($element&&($element=$element.nextSibling)&&!thisElement($element))continue;return $element};var firstElementChild=function($element){return thisElement($element.firstChild)||nextElementSibling($element.firstChild)};var lastElementChild=function($element){return thisElement($element.lastChild)||previousElementSibling($element.lastChild)};var childElements=function($element){var $childElements=[];$element=firstElementChild($element);while($element){$childElements.push($element);$element=nextElementSibling($element)}return $childElements};var isMSIE=true;var isXML=function($element){var $document=getDocument($element);return(typeof $document.mimeType=="unknown")?/\.xml$/i.test($document.URL):Boolean($document.mimeType=="XML Document")};var getDocument=function($element){return $element.ownerDocument||$element.document};var getElementsByTagName=function($element,$tagName){return($tagName=="*"&&$element.all)?$element.all:$element.getElementsByTagName($tagName)};var compareTagName=function($element,$tagName,$namespace){if($tagName=="*")return thisElement($element);if(!compareNamespace($element,$namespace))return false;if(!isXML($element))$tagName=$tagName.toUpperCase();return $element.tagName==$tagName};var compareNamespace=function($element,$namespace){return!$namespace||($namespace=="*")||($element.scopeName==$namespace)};var getTextContent=function($element){return $element.innerText};function _msie_selectById($results,$from,id){var $match,i,j;for(i=0;i<$from.length;i++){if($match=$from[i].all.item(id)){if($match.id==id)$results.push($match);else if($match.length!=null){for(j=0;j<$match.length;j++){if($match[j].id==id)$results.push($match[j])}}}}return $results};if(![].push)Array.prototype.push=function(){for(var i=0;i<arguments.length;i++){this[this.length]=arguments[i]}return this.length};var $NAMESPACE=/\|/;function select($$from,$token,$filter,$arguments){if($NAMESPACE.test($filter)){$filter=$filter.split($NAMESPACE);$arguments=$filter[0];$filter=$filter[1]}var $results=[];if(selectors[$token]){selectors[$token]($results,$$from,$filter,$arguments)}return $results};var $STANDARD_SELECT=/^[^\s>+~]/;var $$STREAM=/[\s#.:>+~()@]|[^\s#.:>+~()@]+/g;function _toStream($selector){if($STANDARD_SELECT.test($selector))$selector=" "+$selector;return $selector.match($$STREAM)||[]};var $WHITESPACE=/\s*([\s>+~(),]|^|$)\s*/g;var $IMPLIED_ALL=/([\s>+~,]|[^(]\+|^)([#.:@])/g;var parseSelector=function($selector){return $selector.replace($WHITESPACE,"$1").replace($IMPLIED_ALL,"$1*$2")};var Quote={toString:function(){return"'"},match:/^('[^']*')|("[^"]*")$/,test:function($string){return this.match.test($string)},add:function($string){return this.test($string)?$string:this+$string+this},remove:function($string){return this.test($string)?$string.slice(1,-1):$string}};var getText=function($text){return Quote.remove($text)};var $ESCAPE=/([\/()[\]?{}|*+-])/g;function regEscape($string){return $string.replace($ESCAPE,"\\$1")};loaded=true;return dom_query}();
4livetopic.$.addModule("chad",function(){isMSIE=eval("false;/*@cc_on@if(@\x5fwin32)isMSIE=true@end@*/");if(!isMSIE){getElementsByTagName=function(a,b,c){return c?a.getElementsByTagNameNS("*",b):a.getElementsByTagName(b)};compareNamespace=function(a,b){return!b||(b=="*")||(a.prefix==b)};isXML=document.contentType?function(a){return/xml/i.test(getDocument(a).contentType)}:function(a){return getDocument(a).documentElement.tagName!="HTML"};getTextContent=function(a){return a.textContent||a.innerText||e(a)};function e(a){var b="",c,d;for(d=0;(c=a.childNodes[d]);d++){switch(c.nodeType){case 11:case 1:b+=e(c);break;case 3:b+=c.nodeValue;break}}return b}}});
5livetopic.$.addModule("is",function(){selectors[">"]=function(a,b,f,e){var d,c,g;for(c=0;c<b.length;c++){var h=childElements(b[c]);for(g=0;(d=h[g]);g++)if(compareTagName(d,f,e))a.push(d)}};selectors["+"]=function(a,b,f,e){for(var d=0;d<b.length;d++){var c=nextElementSibling(b[d]);if(c&&compareTagName(c,f,e))a.push(c)}};selectors["@"]=function(a,b,f){var e=attributeSelectors[f].test;var d,c;for(c=0;(d=b[c]);c++)if(e(d))a.push(d)};pseudoClasses["first-child"]=function(a){return!previousElementSibling(a)};pseudoClasses["lang"]=function(a,b){b=new RegExp("^"+b,"i");while(a&&!a.getAttribute("lang"))a=a.parentNode;return a&&b.test(a.getAttribute("lang"))};AttributeSelector.NS_IE=/\\:/g;AttributeSelector.PREFIX="@";AttributeSelector.tests={};AttributeSelector.replace=function(a,b,f,e,d){var c=this.PREFIX+a;if(!attributeSelectors[c]){b=this.create(b,e||"",d||"");attributeSelectors[c]=b;attributeSelectors.push(b)}return attributeSelectors[c].id};AttributeSelector.parse=function(a){a=a.replace(this.NS_IE,"|");var b;while(b=a.match(this.match)){var f=this.replace(b[0],b[1],b[2],b[3],b[4]);a=a.replace(this.match,f)}return a};AttributeSelector.create=function(a,b,f){var e={};e.id=this.PREFIX+attributeSelectors.length;e.name=a;b=this.tests[b];b=b?b(this.getAttribute(a),getText(f)):false;e.test=new Function("e","return "+b);return e};AttributeSelector.getAttribute=function(a){switch(a.toLowerCase()){case"id":return"e.id";case"class":return"e.className";case"for":return"e.htmlFor";case"href":if(isMSIE){return"String((e.outerHTML.match(/href=\\x22?([^\\s\\x22]*)\\x22?/)||[])[1]||'')"}}return"e.getAttribute('"+a.replace($NAMESPACE,":")+"')"};AttributeSelector.tests[""]=function(a){return a};AttributeSelector.tests["="]=function(a,b){return a+"=="+Quote.add(b)};AttributeSelector.tests["~="]=function(a,b){return"/(^| )"+regEscape(b)+"( |$)/.test("+a+")"};AttributeSelector.tests["|="]=function(a,b){return"/^"+regEscape(b)+"(-|$)/.test("+a+")"};var i=parseSelector;parseSelector=function(a){return i(AttributeSelector.parse(a))}});
6livetopic.$.addModule("sexy",function(){selectors["~"]=function(a,b,c,d){var e,g;for(g=0;(e=b[g]);g++){while(e=nextElementSibling(e)){if(compareTagName(e,c,d))a.push(e)}}};pseudoClasses["contains"]=function(a,b){b=new RegExp(regEscape(getText(b)));return b.test(getTextContent(a))};pseudoClasses["root"]=function(a){return a==getDocument(a).documentElement};pseudoClasses["empty"]=function(a){var b,c;for(c=0;(b=a.childNodes[c]);c++){if(thisElement(b)||b.nodeType==3)return false}return true};pseudoClasses["last-child"]=function(a){return!nextElementSibling(a)};pseudoClasses["only-child"]=function(a){a=a.parentNode;return firstElementChild(a)==lastElementChild(a)};pseudoClasses["not"]=function(a,b){var c=dom_query(b,getDocument(a));for(var d=0;d<c.length;d++){if(c[d]==a)return false}return true};pseudoClasses["nth-child"]=function(a,b){return j(a,b,previousElementSibling)};pseudoClasses["nth-last-child"]=function(a,b){return j(a,b,nextElementSibling)};pseudoClasses["target"]=function(a){return a.id==location.hash.slice(1)};pseudoClasses["checked"]=function(a){return a.checked};pseudoClasses["enabled"]=function(a){return a.disabled===false};pseudoClasses["disabled"]=function(a){return a.disabled};pseudoClasses["indeterminate"]=function(a){return a.indeterminate};AttributeSelector.tests["^="]=function(a,b){return"/^"+regEscape(b)+"/.test("+a+")"};AttributeSelector.tests["$="]=function(a,b){return"/"+regEscape(b)+"$/.test("+a+")"};AttributeSelector.tests["*="]=function(a,b){return"/"+regEscape(b)+"/.test("+a+")"};function j(b,c,d){switch(c){case"n":return true;case"even":c="2n";break;case"odd":c="2n+1"}var e=childElements(b.parentNode);function g(a){var a=(d==nextElementSibling)?e.length-a:a-1;return e[a]==b};if(!isNaN(c))return g(c);c=c.split("n");var h=parseInt(c[0]);var f=parseInt(c[1]);if((isNaN(h)||h==1)&&f==0)return true;if(h==0&&!isNaN(f))return g(f);if(isNaN(f))f=0;var i=1;while(b=d(b))i++;if(isNaN(h)||h==1)return(d==nextElementSibling)?(i<=f):(f>=i);return(i%h)==f}});
7if(typeof ajax_last_post!='undefined'&&threaded_mode===0){YAHOO.util.Event.onDOMReady(livetopic.init);function qr_do_ajax_post(b){if(b.responseXML){document.body.style.cursor="auto";fetch_object("qr_posting_msg").style.display="none";var a;if(fetch_tag_count(b.responseXML,"postbit")){qr_disable_controls();qr_hide_errors();var c=b.responseXML.getElementsByTagName("postbit");for(a=0;a<c.length;a++){if(livetopic.live===false){ajax_last_post=parseInt(b.responseXML.getElementsByTagName("time")[0].firstChild.nodeValue)}else{livetopic.fade_posts()}if(!fetch_object('post'+c[a].getAttribute("postid"))||livetopic.live==false){var f=document.createElement("div");f.innerHTML=c[a].firstChild.nodeValue;var g=fetch_object("lastpost");var h=g.parentNode;var i=h.insertBefore(f,g);PostBit_Init(i,c[a].getAttribute("postid"))}}if(fetch_object("qr_submit")){fetch_object("qr_submit").blur()}qr_activate();vB_Editor["vB_Editor_QR"].check_focus()}else{if(!is_saf){var d=b.responseXML.getElementsByTagName("error");if(d.length){var e="<ol>";for(a=0;a<d.length;a++){e+="<li>"+d[a].firstChild.nodeValue+"</li>"}e+="</ol>";qr_show_errors("<ol>"+e+"</ol>");return false}}qr_resubmit()}}else{qr_resubmit()}}if(typeof vB_AJAX_QuickEditor!='undefined'){vB_AJAX_QuickEditor.prototype.save=function(b){ajax_edits[vB_QuickEditor.postid]=true;var a=vB_Editor[vB_QuickEditor.editorid].get_editor_contents();var c=vB_Editor[vB_QuickEditor.editorid];if(a==vB_QuickEditor.unchanged&&c==vB_QuickEditor.unchanged_reason){vB_QuickEditor.abort(b)}else{fetch_object(vB_QuickEditor.editorid+"_posting_msg").style.display="";document.body.style.cursor="wait";pc_obj=fetch_object("postcount"+vB_QuickEditor.postid);this.ajax_req=YAHOO.util.Connect.asyncRequest("POST","editpost.php?do=updatepost&postid="+this.postid,{success:vB_QuickEditor.update,failure:vB_QuickEditor.handle_save_error,timeout:vB_Default_Timeout,scope:vB_QuickEditor},SESSIONURL+"securitytoken="+SECURITYTOKEN+"&do=updatepost&ajax=1&postid="+vB_QuickEditor.postid+"&wysiwyg="+vB_Editor[vB_QuickEditor.editorid].wysiwyg_mode+"&message="+PHP.urlencode(a)+"&reason="+PHP.urlencode(fetch_object(vB_QuickEditor.editorid+"_edit_reason").value)+(pc_obj!=null?"&postcount="+PHP.urlencode(pc_obj.name):""));vB_QuickEditor.pending=true}}}}
</script>
<script type="text/javascript">
1
2 var threadid = 10;
3 var ajax_last_edit = 0;
4 livetopic.old_topic = 300;
5 livetopic.interval_time = 3000;
6 livetopic.ajax_max_visibleposts = 30;
7
8 vbphrase["livetopic_maxpostnotice"] = "The maximum amount of posts on this page can display has been reached. Posts will now start to disappear from oldest to newest.";
9 vbphrase["livetopic_edit_message"] = "<img alt=\'live topic\' src=\'images/statusicon/thread_livetopic.gif\' title=\'live topic\'/>&nbsp; <span style=\'font-weight: bold;\'>This post has been added by another user.</span> <br /><br />Since this is an active topic, this post has been automatically added to the thread while you were reading it. If you are replying to this thread you might want to read this post before doing so.";
10 vbphrase["livetopic_newresponses"] = "%1 new responses (<a href=\'showthread.php?t=%2&goto=newpost\'>live topic</a>)";
11
</script>
<script type="text/javascript">
1<!--
2var jsnotice = "";
3if(fetch_object("jshtml_notices"))fetch_object("jshtml_notices").innerHTML = jsnotice;
4//-->
5
</script>
Reply With Quote
  #724  
Old 04-06-2009, 02:22 PM
readjono readjono is offline
 
Join Date: Jan 2006
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Few suggestions:

1.) Not a fan of the faded out posts. Would like to be less transparent.

2.) The problem with your own posts is still there.

3.) Select user groups who can use this feature. Would like guests to be able to experience it too.
Reply With Quote
  #725  
Old 04-06-2009, 03:20 PM
readjono readjono is offline
 
Join Date: Jan 2006
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

4.) It seems like the user activity limit does go very high. I think users last ten minutes before it stops.

5.) Might be useful to look into a way of editing posts without it refreshing and losing the edits.
Reply With Quote
  #726  
Old 04-07-2009, 07:37 PM
Tarfandestan Tarfandestan is offline
 
Join Date: Nov 2008
Location: Iran
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tanx, its great.
but unfortunately, its not compatible with Advanced Quick Reply and its not work when we using Advanced Quick Reply to posting in threads.
Reply With Quote
  #727  
Old 04-11-2009, 04:04 AM
fattony69 fattony69 is offline
 
Join Date: Jun 2007
Location: Philly
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nevermind, figured out my problem.
Reply With Quote
  #728  
Old 04-11-2009, 10:05 PM
Poopdeckpappy Poopdeckpappy is offline
 
Join Date: Dec 2007
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay I just spent forever reading through these pages to see if someone had the same problem as me. There was one person who had the same thing happen, but that was on an early version and I guess some update fixed it for him

Anyways the problem is basic, apparently it works for everyone but me? I've made sure that I was counted as active by posting multiple times, and asking people to post...then when I refresh I see all the new posts. I tried it on Firefox and IE7. All the users are claiming it's cool and they like it, but what's it worth if I(admin) cant use it? :P

Anyone else had this issue?

Edit:
Now I've had users saying it works, some saying it doesn't. And it's not the browsers, because the people who have said it was working, and the people who said it wasn't, are all using FF.
Reply With Quote
  #729  
Old 04-11-2009, 11:15 PM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^^ Perhaps you have a Conflicting Mod that is Activated for you as Admin and the Usegroups of the Users that say it doesn't work for them, and that is Not Activated (Usergroup Permissions set to No) for the Usergroups of the Users that Say it Work for them.

Check the Mods that Act at Postbit Level (that Affect something on the Posts), such as Passive Video and other Mods Reported as Conflicting with this Mod in this Thread as well as on the vB 3.7 Mod's Thread.

That could be the Explanation of Why it's working for some Users and Not for Others, if they're Using the Same Browsers and Browser Versions.

(If it is Please Post what was the Conflicting Mod so that we Admins could also Prevent and/or Control it's Use).

My Best Regards.

Reply With Quote
  #730  
Old 04-12-2009, 03:13 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also, remember to check your error_logs. And, if you have mod_security, check those logs also. I know I had a small problem between this mod and mod_security for only a handful of users and I found out what the problem was by looking at the logs.
Reply With Quote
  #731  
Old 04-12-2009, 06:38 PM
nikosb nikosb is offline
 
Join Date: Dec 2008
Location: Greece
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed !! Thanks
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:40 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06970 seconds
  • Memory Usage 2,387KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete