GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Chaturbate popup code error (https://gfy.com/showthread.php?t=1360966)

jscott 01-14-2023 09:14 AM

Chaturbate popup code error
 
I noticed a big decrease in Chaturbate traffic a few days ago, now I figured out the popup pops with this:

Quote:

HTTP 404 - Page Not Found
It's probably just a broken link, or perhaps a cancelled broadcaster.

Try going directly to chaturbate.com.
Anyone else seeing this problem? Had a friend check and he seeing the same thing.

What's a reliable Chaturbate contact?


Thanks

sarettah 01-14-2023 09:28 AM

Quote:

Originally Posted by jscott (Post 23084724)
I noticed a big decrease in Chaturbate traffic a few days ago, now I figured out the popup pops with this:



Anyone else seeing this problem? Had a friend check and he seeing the same thing.

What's a reliable Chaturbate contact?


Thanks

it is being discussed in the big chaturbate thread.

https://m.gfy.com/fucking-around-and...erage-133.html

.

Emil 01-14-2023 09:57 AM

Why not compile stats from the URL people enter and show average stats?

edit:
drunk. wrong thread

Shoplifter 01-14-2023 12:47 PM

It's been down for some time now. I've either pulled the code or moved on to another strategy.

jscott 01-14-2023 01:01 PM

Quote:

Originally Posted by Shoplifter (Post 23084802)
It's been down for some time now. I've either pulled the code or moved on to another strategy.

I think they'll fix it, it's a popunder must be tons of affiliates using it. But if not fixed have to pull after some time, ughhhhhh
c'mon CB!

Quote:

Originally Posted by Emil (Post 23084734)
Why not compile stats from the URL people enter and show average stats?
edit:
drunk. wrong thread

I was confused as fck from your post :1orglaugh

emmasexytime 01-15-2023 03:44 PM

hopefully it is fixed soon :(

jscott 01-19-2023 06:49 AM

They responded about it, said the devs will look at it, still seeing the error, but they are fully aware. Lets hope fixed sooner rather than later :)

sarettah 01-19-2023 08:00 AM

meanwhile, in the thread i referenced, colmike posted a fix 6 days ago

https://gfy.com/fucking-around-and-b...erage-133.html

https://gfy.com/23084411-post6636.html

.

jscott 01-19-2023 08:10 AM

Quote:

Originally Posted by sarettah (Post 23086883)
meanwhile, in the thread i referenced, colmike posted a fix 6 days ago

https://gfy.com/fucking-around-and-b...erage-133.html

https://gfy.com/23084411-post6636.html

.

There's a million CB topics in that thread, sucks to weed thru looking for this one specificly, so big THANK YOU for posting here, the exact colmike post to fix :thumbsup

Appreciated.

sarettah 01-19-2023 09:19 AM

Quote:

Originally Posted by jscott (Post 23086889)
There's a million CB topics in that thread, sucks to weed thru looking for this one specificly, so big THANK YOU for posting here, the exact colmike post to fix :thumbsup

Appreciated.

i had posted the url to the page of the thread in the earlier post

so you would have only had to go thru one page of posts

.

Shoplifter 01-20-2023 02:07 PM

Weird this is not fixed yet.

dUbster 01-20-2023 02:20 PM

Quote:

Originally Posted by Shoplifter (Post 23087434)
Weird this is not fixed yet.

Have you tried to reach out to chaturbate support?

Colmike9 01-20-2023 07:32 PM

Quote:

Originally Posted by Shoplifter (Post 23087434)
Weird this is not fixed yet.

If you do my fix that I suggested, then you don't need to wait on support to fix it.
If anyone needs help, I can explain it differently.

emmasexytime 01-20-2023 11:05 PM

try a popup code but I think most browsers block these?





<script>

//Pop-under window- By X Rated University
//Credit notice must stay intact for use
//Visit https://xrateduniversity.com for this script

//specify page to pop-under
var popunder=" https://chaturbate.com/in/?tour=43Qk&campaign=6qw7X&track=default"

//specify popunder window features
//set 1 to enable a particular feature, 0 to disable
var winfeatures="width=800,height=510,scrollbars=1,res izable=1,toolbar=1,location=1,menubar=1,status=1,d irectories=0"

//Pop-under only once per browser session? (0=no, 1=yes)
//Specifying 0 will cause popunder to load every time page is loaded
var once_per_session=0

///No editing beyond here required/////

function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) { // if cookie exists
offset += search.length
// set index of beginning of value
end = document.cookie.indexOf(";", offset);
// set index of end of cookie value
if (end == -1)
end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(off set, end))
}
}
return returnvalue;
}

function loadornot(){
if (get_cookie('popunder')==''){
loadpopunder()
document.cookie="popunder=yes"
}
}

function loadpopunder(){
win2=window.open(popunder,"",winfeatures)
win2.blur()
window.focus()
}

if (once_per_session==0)
loadpopunder()
else
loadornot()

</script>

jscott 01-22-2023 01:57 AM

Quote:

Originally Posted by Colmike9 (Post 23087561)
If you do my fix that I suggested, then you don't need to wait on support to fix it.
If anyone needs help, I can explain it differently.

Thanks Colmike! For the code you posted here, can you please put the full code, including brackets <> for us to copy/paste onto our sites, so we only have to add our affiliate id's and tracking infos.

Thanks man.

sarettah 01-22-2023 09:04 AM

Quote:

Originally Posted by jscott (Post 23087985)
Thanks Colmike! For the code you posted here, can you please put the full code, including brackets <> for us to copy/paste onto our sites, so we only have to add our affiliate id's and tracking infos.

Thanks man.

yeah, because putting <script> in front of it and </script> after it is so fucking hard.

.

jscott 01-22-2023 09:20 AM

Quote:

Originally Posted by sarettah (Post 23088043)
yeah, because putting <script> in front of it and </script> after it is so fucking hard.

.

Would hate to be this kinda angry all day for no reason, but anyways, I was talking to Colmike.

Be well dude.

Colmike9 01-22-2023 10:31 AM

<script></script> should work, but also this:

take YOURTOURCODE and replace it with the tour code that you want. To find this, go to your CB links, find the link that you want the popup to go, then replace YOURTOURCODE with the tour code in the link. YOURCAMPAIGNCODE should be the same for all links, replace that with yours too.

You can also save that code as it is without <script></script> then save it on your server and use <script src="js/popcodefilename.js"></script>

jscott 01-22-2023 11:04 AM

Quote:

Originally Posted by Colmike9 (Post 23088066)
<script></script> should work, but also this:

take YOURTOURCODE and replace it with the tour code that you want. To find this, go to your CB links, find the link that you want the popup to go, then replace YOURTOURCODE with the tour code in the link. YOURCAMPAIGNCODE should be the same for all links, replace that with yours too.

You can also save that code as it is without <script></script> then save it on your server and use <script src="js/popcodefilename.js"></script>

Thanks a lot Mike
Will give it a try in a min
:thumbsup

sarettah 01-22-2023 12:53 PM

Quote:

Originally Posted by jscott (Post 23088049)
Would hate to be this kinda angry all day for no reason, but anyways, I was talking to Colmike.

Be well dude.

don't mistake sarcasm for anger, i am not angry at all just kind of amazed at either the laziness or cluelessness, not sure which it is

i mean, you have been doing the web for a long ass time, it would seem to me that by now you would know how to add a piece of javascript to a site

and it doesn't matter that you were talking to mike, it is a forum and anybody can join the discussion, if you didn't want other people to chime in then you should have taken it private

.

jscott 01-22-2023 12:56 PM

Quote:

Originally Posted by sarettah (Post 23088132)
not angry at all, kind of amazed at either the laziness or cluelessness, not sure which it is

i mean, you have been doing the web for a long ass time, it would seem to me that by now you would know how to add a piece of javascript to a site

and it doesn't matter that you were talking to mike, it is a forum and anybody can join the discussion, if you didn't want other people to chime in then you should have taken it private

.

You're right. Thankfully for me Colmike helped out.

Be well dude.

Shoplifter 01-22-2023 01:54 PM

Quote:

Originally Posted by Colmike9 (Post 23087561)
If you do my fix that I suggested, then you don't need to wait on support to fix it.
If anyone needs help, I can explain it differently.

Yeah I have already taken steps but it just seems odd that this is going on for so long.

As well I had a couple of sites that ranked well with the CB popunder and I didn't want to change anything.

If you look at the Chaturbate js code the problem seems to be URL encoding.

Colmike9 01-22-2023 02:32 PM

Quote:

Originally Posted by Shoplifter (Post 23088147)
Yeah I have already taken steps but it just seems odd that this is going on for so long.

As well I had a couple of sites that ranked well with the CB popunder and I didn't want to change anything.

If you look at the Chaturbate js code the problem seems to be URL encoding.

Yeah, but do you think that SEO is going to change if you do the fix? It's the same exact code that CB uses, the only issue here just seems to be the tour codes being incorrect. If anything, it might help SEO because it's less XSS.

I'd just keep watch on their popup code and see if anything changes.

jscott 01-23-2023 01:39 PM

Hey Mike, I used your pop code (which links to this - https://chaturbate.com/in/?tour=YOUR...mp;track=popup)
and it's doing the same thing.

Quote:

HTTP 404 - Page Not Found
It's probably just a broken link, or perhaps a cancelled broadcaster.
Try going directly to chaturbate.com.
I think the only way to display something is by getting a link code, like female top room, to pop, will try that tonight.

Shoplifter 01-23-2023 01:55 PM

Quote:

Originally Posted by jscott (Post 23088495)
Hey Mike, I used your pop code (which links to this - https://chaturbate.com/in/?tour=YOUR...mp;track=popup)
and it's doing the same thing.



I think the only way to display something is by getting a link code, like female top room, to pop, will try that tonight.

Try switching the URL line to an unencoded version:

var url = "https://chaturbate.com/in/?tour=XXXX&campaign=XXXX&track=jscott";

Colmike9 01-23-2023 04:22 PM

Quote:

Originally Posted by jscott (Post 23088495)
Hey Mike, I used your pop code (which links to this - https://chaturbate.com/in/?tour=YOUR...mp;track=popup)
and it's doing the same thing.



I think the only way to display something is by getting a link code, like female top room, to pop, will try that tonight.

Hey sorry, I'll get on here tonight and try to get a working solution, changing the tours worked for me like a week ago.

Or yeah, it could be the encoding. If it pops, though, the fix shouldn't be hard.

Colmike9 01-23-2023 08:38 PM

How about this:?

Code:

function doMyStuff($) {
  $(document).ready(function(){
    var ran_yet = false;
    $("a,body,input").click(function() {
      if (ran_yet) {
        return;
      }
      ran_yet = true;
      var cookiename = 'nopopchaturbate';
      var val = getCookie(cookiename);
      if (!val) {
        val = 1;
      } else {
        val = parseInt(val);
      }
      setCookie(cookiename, val + 1, 1);     
      if (val != 1) {
        return;
      }
      var windowprops = "width=1024,height=768,location=yes,toolbar=yes,menubar=yes,status=yes,scrollbars=yes,resizable=yes,top=1,left=1";
      var url = "https://chaturbate.com/in/?tour=YOURTOUR&campaign=YOURCAMPAIGN&track=default";
      var myWin = window.open(url, "", windowprops);
      myWin.blur();
      window.focus();
    });
  });
}

function setCookie(c_name,value,exdays)
{
var exdate=new Date();
exdate.setDate(exdate.getDate() + exdays);
var c_value=escape(value) + ((exdays==null) ? "" : "; expires="+exdate.toUTCString());
document.cookie=c_name + "=" + c_value;
}

function getCookie(c_name)
{
var i,x,y,ARRcookies=document.cookie.split(";");
for (i=0; i < ARRcookies.length; i++)
{
  x=ARRcookies[i].substr(0,ARRcookies[i].indexOf("="));
  y=ARRcookies[i].substr(ARRcookies[i].indexOf("=")+1);
  x=x.replace(/^\s+|\s+$/g,"");
  if (x==c_name)
    {
    return unescape(y);
    }
  }
}


function check() {
  if (window.jQuery && jQuery.fn) {
    var arr = jQuery.fn.jquery.split('.');
    if (arr.length >= 2) {
      //jquery version 1.3 and up
      if (arr[0] > 1 || (arr[0] == 1 && arr[1] >= 3)) {
        return true;
      }
    }
  }
  return false;
}

if (check()) {
  doMyStuff(jQuery);
} else {
  var script = document.createElement('script');
  script.src = 'https://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js';
  window.addEventListener('load', function () {
    document.body.insertBefore(script, document.body.firstChild);
    var timer = setInterval(function () {
      if (check()) {
        clearInterval(timer);
        document.body.removeChild(script);
        doMyStuff(jQuery.noConflict(true));
      }
    }, 30);
  });
}

Shoplifter is right, the encoding is making it messed up, as well as the tour codes being ones that I don't see in my regular link codes. So I think you can just fix it by deleting the amp; parts of the URL. Or use the code above and put <script></script> in there.

jscott 01-24-2023 01:39 AM

Got it working, thanks guys!!!!

It's been too long already, don't think CB is prioritizing their pop fix. :Oh crap

Colmike9 01-24-2023 08:27 AM

Quote:

Originally Posted by jscott (Post 23088714)
Got it working, thanks guys!!!!

It's been too long already, don't think CB is prioritizing their pop fix. :Oh crap

Nice!
I'm not sure why they haven't fixed it yet, should take like 5 minutes.

jscott 03-06-2024 10:26 PM

Anyone know if that CB popup code is fixed yet?

Also, I'm seeing all my CB iframe adverts showing: "chaturbate.com refused to connect."

Anyone else having issues?

czarina 03-07-2024 06:02 AM

Lots of reports of Chaturbate errors and ISSUES lately

jscott 03-07-2024 07:16 AM

Iframe is fixed :)

Still unsure about the CB popups fixed or not.


All times are GMT -7. The time now is 03:27 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc