F
Floris
Guest
I would love to have an option in admin.php to switch between route spy/ and live/
I'd love to just have the page open while I am working on the site, it connects people a lot faster.
Just made the edit and I'm still seeing nothing appearing. I can't link to the page because I'm testing it on off-line localhost install.
Edit: Just tried the same with /feed added on path and same as others happens. It shows it with no formatting.
var spyHighestId=0,spyItems=[],spyTiming=1E3;function getSpyItems(){$.ajax({url:window.location+"/feed"+(window.location.href.indexOf("?")>0?"&":"?")+"last="+spyHighestId+"&r="+Math.random(),type:"GET",success:function(a){a=$.makeArray($.parseJSON(a));$.each(a,function(a,c){$.each(c,function(a,b){b.length>0&&(spyItems.push(b),spyHighestId=Math.max(parseInt(a),spyHighestId))})});spyInsert()}})}
function spyInsert(){if(spyItems.length>0){var a=spyItems.shift();$("#spyContents .discussionListItems").prepend('<div class="itemWrapper">'+a+"</div>");$("#spyContents .itemWrapper:first-child").slideDown(spyTiming/2);$("#spyContents .itemWrapper").length>25&&$("#spyContents .itemWrapper:last-child").slideUp(spyTiming/2,function(){$("#spyContents .itemWrapper:last-child").remove()})}spyItems.length>0?setTimeout("spyInsert()",spyTiming):(spyTiming=2E3,setTimeout("getSpyItems()",5E3))};
Errr... I'm seriously about to stab someone with these URLs. lol
Can you change your js/digitalpoint/spy.js file to this:
Code:var spyHighestId=0,spyItems=[],spyTiming=1E3;function getSpyItems(){$.ajax({url:window.location+"/feed"+(window.location.href.indexOf("?")>0?"&":"?")+"last="+spyHighestId+"&r="+Math.random(),type:"GET",success:function(a){a=$.makeArray($.parseJSON(a));$.each(a,function(a,c){$.each(c,function(a,b){b.length>0&&(spyItems.push(b),spyHighestId=Math.max(parseInt(a),spyHighestId))})});spyInsert()}})} function spyInsert(){if(spyItems.length>0){var a=spyItems.shift();$("#spyContents .discussionListItems").prepend('<div class="itemWrapper">'+a+"</div>");$("#spyContents .itemWrapper:first-child").slideDown(spyTiming/2);$("#spyContents .itemWrapper").length>25&&$("#spyContents .itemWrapper:last-child").slideUp(spyTiming/2,function(){$("#spyContents .itemWrapper:last-child").remove()})}spyItems.length>0?setTimeout("spyInsert()",spyTiming):(spyTiming=2E3,setTimeout("getSpyItems()",5E3))};
Let me know if it works please so I can get the source package updated.
Errr... I'm seriously about to stab someone with these URLs. lol
Can you change your js/digitalpoint/spy.js file to this:
Let me know if it works please so I can get the source package updated.
I'll probably do it someday if someone doesn't beat me to it... but like I mentioned earlier in the thread, I really need to be working on getting all the custom stuff I've done rewritten for XF before I start doing too many little side projects.i have been looking forward to this for over a year now
hopefully somebody will turn this into a a xenporta widget soon hey
{size} is hide or really error output?Timing: 0.0148 seconds Memory: {size} MB DB Queries: 2
I think this phrase is outdated.Floris,
{size} is hide or really error output?
I too so think, but was ashamed to tell directly it.I think this phrase is outdated.
Floris,
{size} is hide or really error output?
We use essential cookies to make this site work, and optional cookies to enhance your experience.