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)
-   -   anyone using nomoneyinporn chaturbate ? (https://gfy.com/showthread.php?t=1358967)

emmasexytime 11-03-2022 05:02 PM

anyone using nomoneyinporn chaturbate ?
 
we have been testing this :pimp
https://jizzings.com/

Anyone know how to sent number of cams per page?

How to add pagination?

How to speed up the site?

We can share the plugin and theme if anyone would like to test it.

Currently it's too slow but ranks much better than other CB plugins :2 cents:

sarettah 11-03-2022 08:08 PM

Sounds like you are using the WP plugin version. I can't offer much help with that.

There is a stand alone version of the same script. I have copies of both versions up on one of my servers. I also think someone here was updating them and had a git for them.

In this thread: https://gfy.com/fucking-around-and-b...ml-script.html

You can find links to the scripts and discussions regarding them. I am not sure if pagination is addressed in the discussions. Speeding it up is definitely discussed.

Have fun.

.

emmasexytime 11-03-2022 08:39 PM

Quote:

Originally Posted by sarettah (Post 23057957)
Sounds like you are using the WP plugin version. I can't offer much help with that.

There is a stand alone version of the same script. I have copies of both versions up on one of my servers. I also think someone here was updating them and had a git for them.

In this thread: https://gfy.com/fucking-around-and-b...ml-script.html

You can find links to the scripts and discussions regarding them. I am not sure if pagination is addressed in the discussions. Speeding it up is definitely discussed.

Have fun.

.


Thank you :)

Denny 11-04-2022 02:42 AM

------------------------------

DVTimes 11-04-2022 03:29 AM

Quote:

Originally Posted by emmasexytime (Post 23057911)
we have been testing this :pimp
https://jizzings.com/

Anyone know how to sent number of cams per page?

How to add pagination?

How to speed up the site?

We can share the plugin and theme if anyone would like to test it.

Currently it's too slow but ranks much better than other CB plugins :2 cents:

I had a look at your site.

It seems to load very slow.

DVTimes 11-04-2022 03:31 AM

Someone posted a few lines of code a year or so ago.

I use it on a few sites, and it works great.

I can post the code if you cannot find it on this forum.

zijlstravideo 11-04-2022 05:08 AM

Quote:

Originally Posted by emmasexytime (Post 23057911)
How to speed up the site?

I would start by not fetching the API upon every single page visit...

The code obviously isn't production ready, you would still need to code all sorts of necessary features yourself, such as cache, pagination etc.

sarettah 11-04-2022 07:27 AM

Emma, I got your email and have answered just a few minutes ago.

I have a meeting in a little bit. Once I am out of that I will post more detail about what you were asking about.

.

sarettah 11-04-2022 09:45 AM

Emma,

You asked about what you would do with the code from this thread

https://gfy.com/fucking-around-and-b...-api-help.html

Quote:

$flname="/server file path/filename";
$url="xml url";
$data=file_get_contents($url);
if(!empty($data))
{
file_put_contents($flname,$data);
}
else
{
echo "Did not get a file back<br>\n";
}
That is pseudo code for a caching system for the stand alone version of the nmip chaturbate script.

The WP plugin handles the xml feed differently than that. I took a look at the code in the import.php file from the wp plugin. I am not sure how you could speed that up. The caching scheme I wrote about will not work with the WP plugin without a fair amount of modification of the plugin code. I also don't think you would get any speed improvements from it. According to the setup.txt file in the plugin the import already runs imtermittently so it is not being called on every hit.

With that said. If you are using the stand alone script then the code above goes into a separate program that is called periodoically as a cron job on the server. Then you replace the existing call to the chaturbate api with a call to the local file created by the cron.

A simple version of the cron job would be something like:
<?php

if(data=file_get_contents($chatfeedlink='https://chaturbate.com/affiliates/api/onlinerooms/?format=xml&wm=XXXXX'))
{
file_put_contents('home/website/cache/xmlcache.xml',$data);
}
else
{
// do some sort of error routine here
}

?>

You would replace the path and file name in the file_put_contents() call with the
applicable path and file name for your server.

You would set the cron to pull that periodoically. 5 minutes is what I was using originally and it worked pretty good.

In the stand alone version of the nmip script you would change the call to the xml feed with the call to the local file.

On lines 82 and 330 of the functions.php file you would change the code for the xml pull.

the existing line: $xml = 'http://' . CBWL . '/affiliates/api/onlinerooms/?format=xml&wm='.$affid.'';

would be changed to pull from the file you created with your cron:

$xml='home/website/cache/xmlcache.xml';

That is the simplest version of it that I can come up with.

.

emmasexytime 11-04-2022 12:41 PM

Thank you sarettah

NatalieK 11-05-2022 10:15 AM

looks great, loads fast, love how the clickable goes straight to the model online and then when closed, more information on the model from your site, love it :thumbsup

emmasexytime 11-05-2022 08:20 PM

Live cam site has been abandoned. We were hoping to be prepared for when robo breaks :(

Jizzings.com is getting built out a little differently now

sarettah 11-06-2022 04:48 PM

Quote:

Originally Posted by emmasexytime (Post 23058656)
Live cam site has been abandoned. We were hoping to be prepared for when robo breaks :(

Jizzings.com is getting built out a little differently now

https://gfy.com/fucking-around-and-b...avascript.html :thumbsup

.


All times are GMT -7. The time now is 06:00 PM.

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