![]() |
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: |
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. . |
Quote:
Thank you :) |
------------------------------
|
Quote:
It seems to load very slow. |
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. |
Quote:
The code obviously isn't production ready, you would still need to code all sorts of necessary features yourself, such as cache, pagination etc. |
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. . |
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:
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. . |
Thank you sarettah
|
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
|
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 |
Quote:
. |
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