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)
-   -   Free 28 WordPress Adult Tube and Photo Gallery Themes (https://gfy.com/showthread.php?t=1065302)

just a punk 09-21-2012 06:18 AM

Which site?

just a punk 10-18-2012 07:19 AM

YouTube XML + CyberSEO + AdultSiteSkins:

1) Add the YouTube feed (e.g. http://gdata.youtube.com/feeds/base/videos?q=Music).

2) Assign the feed title and set the "Post thumbnail" option to "Generate from the 'thumb' custom field".

3) Put the PHP code below into the "PHP code <?php .. ?>" box:
Code:

if (!cseo_post_exists($post)) {
    if ($post ['post_content'] == '') {
        $post ['post_content'] = $post ['post_excerpt'];
    }
    preg_match("/<img(.*?)src=[\'\"](.+?)[\'\"](.*?)>/s", $post ['post_content'], $matches);
    $post ['custom_fields'] ['thumb'] = $matches [2];
    preg_match("/www.youtube.com\/watch\?v=(.*?)[&|\"]/s", $post ['post_content'], $matches);
    $clip_id = $matches [1];
    $video = "<iframe width=\"750\" height=\"564\" src=\"https://youtube.com/embed/$clip_id\" frameborder=\"0\" allowfullscreen></iframe>";
    preg_match("/<span>(.*?)<\/span>/s", $post ['post_content'], $matches);
    $post ['post_content'] = "<p>" . $video . "</p>\n<p>" . $matches [1] . "</p>\n";
} else {
    $post = false;
}

4) Click "Syndicate This Feed".

fris 10-18-2012 07:46 AM

Quote:

Originally Posted by CyberSEO (Post 19259525)
YouTube XML + CyberSEO + AdultSiteSkins:

1) Add the YouTube feed (e.g. http://gdata.youtube.com/feeds/base/videos?q=Music).

2) Assign the feed title and set the "Post thumbnail" option to "Generate from the 'thumb' custom field".

3) Put the PHP code below into the "PHP code <?php .. ?>" box:
Code:

if (!cseo_post_exists($post)) {
    if ($post ['post_content'] == '') {
        $post ['post_content'] = $post ['post_excerpt'];
    }
    preg_match("/<img(.*?)src=[\'\"](.+?)[\'\"](.*?)>/s", $post ['post_content'], $matches);
    $post ['custom_fields'] ['thumb'] = $matches [2];
    preg_match("/www.youtube.com\/watch\?v=(.*?)[&|\"]/s", $post ['post_content'], $matches);
    $clip_id = $matches [1];
    $video = "<iframe width=\"750\" height=\"564\" src=\"https://youtube.com/embed/$clip_id\" frameborder=\"0\" allowfullscreen></iframe>";
    preg_match("/<span>(.*?)<\/span>/s", $post ['post_content'], $matches);
    $post ['post_content'] = "<p>" . $video . "</p>\n<p>" . $matches [1] . "</p>\n";
} else {
    $post = false;
}

4) Click "Syndicate This Feed".

why not use the oembed feature instead of echoing the iframe?

just a punk 10-18-2012 08:20 AM

Quote:

Originally Posted by fris (Post 19259594)
why not use the oembed feature instead of echoing the iframe?

Because the YouTube loves to change their embedding format. Try to make this embedded video to play full-screen:



You can't because GFY admins forgot tho change their youtube macros to make it generate the new iframe code.

Now check this out: http://www.cyberseo.net/demo/tube-autoblog/ - every video can be played full-screen w/o problems.

just a punk 10-23-2012 04:05 PM

PornHub XML parser + CyberSEO + AdultSiteSkins:

1) Add the feed.

2) Assign the feed title and set the "Post thumbnail" option to "Generate from the 'thumb' custom field".

3) Put the PHP code below into the "PHP code <?php .. ?>" box:
PHP Code:

if (!cseo_post_exists($post)) {
    
$embed '<p><iframe src="http://www.pornhub.com/embed/[ID]" frameborder=0 height="564" width="750" scrolling="no"></iframe></p>';
    
preg_match("/Duration : (.*?) seconds.*?<A HREF=\"http:\/\/www\.pornhub\.com\/view_video\.php\?viewkey=(.*?)\".*?<IMG.*?src=\"(.*?)\".*?Keywords: (.*?)$/is"html_entity_decode($post['post_excerpt'], ENT_QUOTES), $matches);
    
$post['custom_fields']['duration'] = date('i:s'$matches[1]);
    
$post['post_content'] = $post['post_excerpt'] = str_replace('[ID]'$matches[2], $embed) . '<p>' trim($post['post_title']) . '.</p>';
    
$post['custom_fields']['thumb'] = str_replace('160x120''240x180'$matches[3]);
    
$post['tags_input'] = explode(','$matches[4]);
} else {
    
$post false;


4) Click "Syndicate This Feed".

fris 10-23-2012 04:31 PM

neat, you can also alter the html output the oembed does as well, i do that for html5 validation, cause youtube ads some stuff that doesnt validate.

Va2k 10-23-2012 04:38 PM

Awesome fucking clean looking script hell I just downloaded one for a site im doing saved me a lot of trouble looking for a good script :)

Supz 10-23-2012 05:48 PM

Quote:

Originally Posted by fris (Post 18898151)
nothing wrong with the themes at all. i went through every file, and no encoded links, nothing of the sort, even the footer links dont have to be kept.

all clean code.

jquery.tools.js is just a js library to handle the menus.

http://jquerytools.org/

just cause peopole have anon whois info, doesnt mean anything.

you sound a bit bitter for some reason.

She sounds like an idiot actually. And an racist.

Hey you fucking whore. How about actually testing something and looking into it before judging it by who makes it. Have you ever heard of "Judging a book by its cover". Well thats what you are doing. Thats like me saying since you are a female on gfy, you either suck dick for money, or are a fat slob. Are you either?

Edit,

Also. this is a direct insult to my friend Fris. Who doesn't need to post the stuff he does to help people. but does it anyway. And you think he is not smart enough to download and test stuff before he posts it? I think he is smarter then that, knowing things can be coded in and doesnt want to make himself look like a moron.

ImLarge 10-23-2012 06:04 PM

thanks so much or bumping this

tfs 10-23-2012 06:46 PM

WTF? Really?

just a punk 10-24-2012 02:08 AM

Have the same question actually.


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

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