Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 04-05-2011, 11:00 AM   #101
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,377
Quote:
Originally Posted by tonyparra View Post
If you have wordpress blogs/splogs why are you not using this tool? Awesome tool and amazing support. Thanks in advance
Do you mean Video Template? Because I was using other templates for WP tube sites and didn't try this one. Howere I can say it looks very slick.
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-05-2011, 06:51 PM   #102
tonyparra
Confirmed User
 
tonyparra's Avatar
 
Industry Role:
Join Date: Jul 2008
Location: In your back seat with duck tape
Posts: 4,568
Quote:
Originally Posted by cyberxxx View Post
Do you mean Video Template? Because I was using other templates for WP tube sites and didn't try this one. Howere I can say it looks very slick.
Oh i was meaning for people reading this thread if they have wordpress they should use your plugin and yes that theme is slick too many tube designs are so cookie cutter i like that one...
__________________

High Performance Vps $10 Linode
Manage your Digital Ocean, Linode, or Favorite Cloud Server. Simple, fast, and secure Server Pilot
tonyparra is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-06-2011, 07:09 AM   #103
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,377
Just learned the Video template. Unfortunately it's impossible to make it working with CyberSEO Suite directly. The mentioned template uses its own format of posts called "videos".

So without changes in the template itself, it won't work with CyberSEO Suite.
__________________
Obey the Cowgod

Last edited by just a punk; 04-06-2011 at 07:10 AM..
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-06-2011, 10:03 AM   #104
tonyparra
Confirmed User
 
tonyparra's Avatar
 
Industry Role:
Join Date: Jul 2008
Location: In your back seat with duck tape
Posts: 4,568
Hello,

New question, for some reason the images are not being saved to my /uploads or cloaked with the fake images folder. In your last tutorial there was this comment:
Code:
// uncomment the line below to store thumbnails on your server
// cseo_store_image ('thumb', $post ['post_title']);
I actually deleted this line thinking it would allow the image cloaking to work. As of now i have both options enabled, should i only have one? I dont mind storing the images to my server, can you show me what is meant by "uncomment"? Thanks.
__________________

High Performance Vps $10 Linode
Manage your Digital Ocean, Linode, or Favorite Cloud Server. Simple, fast, and secure Server Pilot
tonyparra is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-06-2011, 10:06 AM   #105
d-null
. . .
 
d-null's Avatar
 
Industry Role:
Join Date: Apr 2007
Location: NY
Posts: 13,724
Quote:
Originally Posted by tonyparra View Post
Hello,

New question, for some reason the images are not being saved to my /uploads or cloaked with the fake images folder. In your last tutorial there was this comment:
Code:
// uncomment the line below to store thumbnails on your server
// cseo_store_image ('thumb', $post ['post_title']);
I actually deleted this line thinking it would allow the image cloaking to work. As of now i have both options enabled, should i only have one? I dont mind storing the images to my server, can you show me what is meant by "uncomment"? Thanks.
see those "//"

those tell the server that everything on that line is a comment and is not executed
when he says 'uncomment' he means you delete the "//" at the beginning of that line
d-null is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-06-2011, 10:26 AM   #106
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,377
As d-null said. If you want to store the thumbs on your server, simple remove the comments mark "//". So your code must look like this:
Code:
// uncomment the line below to store thumbnails on your server
cseo_store_image ('thumb', $post ['post_title']);
BTW, there is a support forum launched yesterday at the official site. Feel free to post your questions there.
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-06-2011, 10:27 AM   #107
tonyparra
Confirmed User
 
tonyparra's Avatar
 
Industry Role:
Join Date: Jul 2008
Location: In your back seat with duck tape
Posts: 4,568
Quote:
Originally Posted by d-null View Post
see those "//"

those tell the server that everything on that line is a comment and is not executed
when he says 'uncomment' he means you delete the "//" at the beginning of that line
thanks im still learning all the little nuances of php, first time i did it i got errors
__________________

High Performance Vps $10 Linode
Manage your Digital Ocean, Linode, or Favorite Cloud Server. Simple, fast, and secure Server Pilot
tonyparra is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-06-2011, 12:51 PM   #108
tonyparra
Confirmed User
 
tonyparra's Avatar
 
Industry Role:
Join Date: Jul 2008
Location: In your back seat with duck tape
Posts: 4,568
Quote:
Originally Posted by cyberxxx View Post
As d-null said. If you want to store the thumbs on your server, simple remove the comments mark "//". So your code must look like this:
Code:
// uncomment the line below to store thumbnails on your server
cseo_store_image ('thumb', $post ['post_title']);
BTW, there is a support forum launched yesterday at the official site. Feel free to post your questions there.
cool ill be checking it out this may be a more general question though,its not exactly plugin related with the random time code Im pulling time as low as 02:30- which is shorter than some of the free clip! This would be a simple fix if sponsors simply put as much info as possible in their feeds i.e. full lengths, stars, tags, number of pics etc...but alas all calls that ive seen have fallen on deaf ears.

Anyways here is the php code
Code:
// fake random time from 0:20:00 to 2:00:00
$post ['custom_fields'] ['time'] = date ( 'i:s', rand ( 1200, 72000 ) );
Ive tried making the first set of numbers 72000 and second set 120000 (72000, 120000) but i still get some shorter times like 2,3, or 4 mins. I would like the time range to be at least 20 minutes or higher. Any ideas how to fix that?
__________________

High Performance Vps $10 Linode
Manage your Digital Ocean, Linode, or Favorite Cloud Server. Simple, fast, and secure Server Pilot
tonyparra is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-02-2011, 02:02 AM   #109
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,377
I believe you are doing something wrong. For example, this code will generate random time in range 10..20 minutes:
Code:
$post ['custom_fields'] ['time'] = date ( 'i:s', rand ( 600, 1200 ) );
Here is an example:
Code:
for($i = 0; $i < 10; $i ++) {
	echo date ( 'i:s', rand ( 600, 1200 ) ) . "\n";
}
Its output is the following:
18:43
18:07
10:17
11:04
16:38
11:32
10:55
18:46
17:28
19:25

So everything looks ok to me.
__________________
Obey the Cowgod

Last edited by just a punk; 06-02-2011 at 02:07 AM..
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-09-2011, 11:31 AM   #110
tonyparra
Confirmed User
 
tonyparra's Avatar
 
Industry Role:
Join Date: Jul 2008
Location: In your back seat with duck tape
Posts: 4,568
Quote:
Originally Posted by cyberxxx View Post
This is very easy to do with CyberSEO Suite. Simple place the following code into the "PHP Code <?php .. ?>" box on the feed setting page and apply the changes:

Code:
$post ['guid'] = base64_encode ( $post ['link'] );
$thumb = str_replace ( basename ( $post ['link'] ), "", $post ['link'] ) . "pics/" . rand ( 10, 16 ) . ".jpg";
$post ['post_excerpt'] = "<p align=\"center\"><a href\"" . $post ['link'] . "\"><img style=\"max-width:100%\" src=\"" . $thumb . "\"></a><p>" . $post ['post_excerpt'];
The XML feed you gave above is intended for TGP sites, but not for blogs (it doesn't contain nor picture, nor even GUID which is a must for any RSS feed).

If you open any gallery from that feed (e.g. http://galleries.tease-pics.com/1469....php?id=856489), you will see that each one has exactly 16 pictures which have named as 01.jpg...16.jpg and stored in the "/pics" sub-directory of the gallery path.

Here is an express explanation on what exactly each particular line of the php code above does:
Line 1: Creates GUID of the post depending on the gallery URL.
Line 2: Picks the random image on the given gallery (in range 10.jpg..16.jpg) - hope it will be a bit hotter than first 9 ones
Line 3: Inserts that random picture into your post right above the text description and link it to the actual gallery with your affiliate code. Don't worry about the picture size, because it will be scaled to fit your WordPress theme.

That's it

Please let me know if this worked well for you.

P.S. If you want to insert into your post only a small thumbnail instead of a full-sized picture, simple change the second line of code as show below.

$thumb = str_replace ( basename ( $post ['link'] ), "", $post ['link'] ) . "images/" . rand ( 10, 16 ) . ".jpg";
not getting this to work with the pimproll feed, any advice?
__________________

High Performance Vps $10 Linode
Manage your Digital Ocean, Linode, or Favorite Cloud Server. Simple, fast, and secure Server Pilot
tonyparra is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-09-2011, 02:32 PM   #111
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,377
What's the feed URL?
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-09-2011, 03:09 PM   #112
{Psycho}
Confirmed User
 
{Psycho}'s Avatar
 
Industry Role:
Join Date: Oct 2010
Location: Money
Posts: 612
Awesome
{Psycho} is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-09-2011, 08:02 PM   #113
tonyparra
Confirmed User
 
tonyparra's Avatar
 
Industry Role:
Join Date: Jul 2008
Location: In your back seat with duck tape
Posts: 4,568
Quote:
Originally Posted by cyberxxx View Post
What's the feed URL?
Oh sorry
http://rss.pimproll.com/rss.php?id=M...1&j=29&src=rss
__________________

High Performance Vps $10 Linode
Manage your Digital Ocean, Linode, or Favorite Cloud Server. Simple, fast, and secure Server Pilot
tonyparra is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-10-2011, 03:06 AM   #114
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,377
Quote:
Originally Posted by tonyparra View Post
Actually this feed contains very different content (videos galleries). So this case requires its own code. For example, you can do it like this:

PHP Code:
$base str_replace basename $post ['link'] ), ""$post ['link'] );
$post ['post_content'] .= strip_tags $post ['post_excerpt'] );
$post ['post_content'] .= "<p align=\"center\"><a href=\"" $base "/001.mpg" "\"><img src=\"" $base "/001.jpg" "\"></a><a href=\"" $base "/002.mpg" "\"><img src=\"" $base "/002.jpg" "\"></a><p>\n";
$post ['post_content'] .= "<p align=\"center\"><a href=\"" $base "/001.mpg" "\"><img src=\"" $base "/003.jpg" "\"></a><a href=\"" $base "/004.mpg" "\"><img src=\"" $base "/004.jpg" "\"></a><p>\n";
$post ['post_content'] .= "<p align=\"center\"><a href=\"" $post ['link'] . "\"><strong>Click Here For More!</strong></a></p>\n"
Or somehow else. If you need a different layout the code will be different too.
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-10-2011, 06:28 AM   #115
tonyparra
Confirmed User
 
tonyparra's Avatar
 
Industry Role:
Join Date: Jul 2008
Location: In your back seat with duck tape
Posts: 4,568
Quote:
Originally Posted by cyberxxx View Post
Actually this feed contains very different content (videos galleries). So this case requires its own code. For example, you can do it like this:

PHP Code:
$base str_replace basename $post ['link'] ), ""$post ['link'] );
$post ['post_content'] .= strip_tags $post ['post_excerpt'] );
$post ['post_content'] .= "<p align=\"center\"><a href=\"" $base "/001.mpg" "\"><img src=\"" $base "/001.jpg" "\"></a><a href=\"" $base "/002.mpg" "\"><img src=\"" $base "/002.jpg" "\"></a><p>\n";
$post ['post_content'] .= "<p align=\"center\"><a href=\"" $base "/001.mpg" "\"><img src=\"" $base "/003.jpg" "\"></a><a href=\"" $base "/004.mpg" "\"><img src=\"" $base "/004.jpg" "\"></a><p>\n";
$post ['post_content'] .= "<p align=\"center\"><a href=\"" $post ['link'] . "\"><strong>Click Here For More!</strong></a></p>\n"
Or somehow else. If you need a different layout the code will be different too.
Cool the layout doesnt matter is there a way to post the preview thumb to a custom field like "thumb"?
__________________

High Performance Vps $10 Linode
Manage your Digital Ocean, Linode, or Favorite Cloud Server. Simple, fast, and secure Server Pilot
tonyparra is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-10-2011, 06:58 AM   #116
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,377
Yes it is. Answered to your another question on the support board.

E.g.:

PHP Code:
$post ['custom_fields'] ['thumb'] = preg_replace '/.*?img src="(.*?)".*?$/s'"\\1"$post ['post_excerpt'] );
$base str_replace basename $post ['link'] ), ""$post ['link'] );
$post ['post_content'] .= strip_tags $post ['post_excerpt'] );
$post ['post_content'] .= "<p align=\"center\"><a href=\"" $base "/001.mpg" "\"><img src=\"" $base "/001.jpg" "\"></a><a href=\"" $base "/002.mpg" "\"><img src=\"" $base "/002.jpg" "\"></a><p>\n";
$post ['post_content'] .= "<p align=\"center\"><a href=\"" $base "/001.mpg" "\"><img src=\"" $base "/003.jpg" "\"></a><a href=\"" $base "/004.mpg" "\"><img src=\"" $base "/004.jpg" "\"></a><p>\n";
$post ['post_content'] .= "<p align=\"center\"><a href=\"" $post ['link'] . "\"><strong>Click Here For More!</strong></a></p>\n"
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-11-2011, 12:37 AM   #117
tonyparra
Confirmed User
 
tonyparra's Avatar
 
Industry Role:
Join Date: Jul 2008
Location: In your back seat with duck tape
Posts: 4,568
Quote:
Originally Posted by cyberxxx View Post
Yes it is. Answered to your another question on the support board.

E.g.:

PHP Code:
$post ['custom_fields'] ['thumb'] = preg_replace '/.*?img src="(.*?)".*?$/s'"\\1"$post ['post_excerpt'] );
$base str_replace basename $post ['link'] ), ""$post ['link'] );
$post ['post_content'] .= strip_tags $post ['post_excerpt'] );
$post ['post_content'] .= "<p align=\"center\"><a href=\"" $base "/001.mpg" "\"><img src=\"" $base "/001.jpg" "\"></a><a href=\"" $base "/002.mpg" "\"><img src=\"" $base "/002.jpg" "\"></a><p>\n";
$post ['post_content'] .= "<p align=\"center\"><a href=\"" $base "/001.mpg" "\"><img src=\"" $base "/003.jpg" "\"></a><a href=\"" $base "/004.mpg" "\"><img src=\"" $base "/004.jpg" "\"></a><p>\n";
$post ['post_content'] .= "<p align=\"center\"><a href=\"" $post ['link'] . "\"><strong>Click Here For More!</strong></a></p>\n"

ok thank you sir, i figuired it may help someone here also more awesome support for your awesome tool
__________________

High Performance Vps $10 Linode
Manage your Digital Ocean, Linode, or Favorite Cloud Server. Simple, fast, and secure Server Pilot
tonyparra is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-17-2011, 10:29 AM   #118
tonyparra
Confirmed User
 
tonyparra's Avatar
 
Industry Role:
Join Date: Jul 2008
Location: In your back seat with duck tape
Posts: 4,568
Quote:
Originally Posted by cyberxxx View Post
Yes it is. Answered to your another question on the support board.

E.g.:

PHP Code:
$post ['custom_fields'] ['thumb'] = preg_replace '/.*?img src="(.*?)".*?$/s'"\\1"$post ['post_excerpt'] );
$base str_replace basename $post ['link'] ), ""$post ['link'] );
$post ['post_content'] .= strip_tags $post ['post_excerpt'] );
$post ['post_content'] .= "<p align=\"center\"><a href=\"" $base "/001.mpg" "\"><img src=\"" $base "/001.jpg" "\"></a><a href=\"" $base "/002.mpg" "\"><img src=\"" $base "/002.jpg" "\"></a><p>\n";
$post ['post_content'] .= "<p align=\"center\"><a href=\"" $base "/001.mpg" "\"><img src=\"" $base "/003.jpg" "\"></a><a href=\"" $base "/004.mpg" "\"><img src=\"" $base "/004.jpg" "\"></a><p>\n";
$post ['post_content'] .= "<p align=\"center\"><a href=\"" $post ['link'] . "\"><strong>Click Here For More!</strong></a></p>\n"
I hate to keep asking for things if you charged for extended i would probably pay but actually im doing so much with this plugin, more fun ideas come up. This code works perfectly but a few things i noticed i was wondering if we could change. is it possible to align the first 4 images in a square table?

e.g.
1 2
3 4

Also i pulled 5 post manually from this particular feed from pimproll and i got the same post 5 times with none of the text spun. This strange because all xml feeds syndicate fine and text is being spun. Solutions? Thanks in advance.

*i pulled a 6th post and got a different post so maybe there is a problem with the feed itself http://rss.pimproll.com/rss.php?id=M...1&j=13&src=rss
__________________

High Performance Vps $10 Linode
Manage your Digital Ocean, Linode, or Favorite Cloud Server. Simple, fast, and secure Server Pilot

Last edited by tonyparra; 07-17-2011 at 10:41 AM..
tonyparra is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-17-2011, 04:34 PM   #119
V_RocKs
Damn Right I Kiss Ass!
 
Industry Role:
Join Date: Dec 2003
Location: Cowtown, USA
Posts: 32,349
Perhaps you can make it so we can add a synonym table for categories...

Pretend I have a gay cams blog and it is taking in posts via RSS feed.

If a post has:

Check out Kyle on his free gay cam. This twink loves sticking butt plugs up his tight little ass on web cam! You can tell him to do just about anything and he will do it. Watch him jack his cock and even suck his own huge cock!

Then if I could make a syn table like:

big cocks|big dicks|big dick|huge dick|huge cocks|large dick ...etc...

and this post would end up in the big cocks category because of the match on huge cock.

Or...

Toys|butt plug|butt plugs|dildo|dildos|vibrator|vibrators

And we'd get category of Toys.

Last edited by V_RocKs; 07-17-2011 at 04:37 PM..
V_RocKs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-17-2011, 06:59 PM   #120
d-null
. . .
 
d-null's Avatar
 
Industry Role:
Join Date: Apr 2007
Location: NY
Posts: 13,724
Quote:
Originally Posted by V_RocKs View Post
Perhaps you can make it so we can add a synonym table for categories...

Pretend I have a gay cams blog and it is taking in posts via RSS feed.

If a post has:

Check out Kyle on his free gay cam. This twink loves sticking butt plugs up his tight little ass on web cam! You can tell him to do just about anything and he will do it. Watch him jack his cock and even suck his own huge cock!

Then if I could make a syn table like:

big cocks|big dicks|big dick|huge dick|huge cocks|large dick ...etc...

and this post would end up in the big cocks category because of the match on huge cock.

Or...

Toys|butt plug|butt plugs|dildo|dildos|vibrator|vibrators

And we'd get category of Toys.
that's actually a nice idea, too many categories is no good, so your idea of grouping a bunch of possible tags into less tags that are more general would be useful
d-null is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-19-2011, 02:33 AM   #121
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,377
Quote:
Originally Posted by tonyparra View Post
I hate to keep asking for things if you charged for extended i would probably pay but actually im doing so much with this plugin, more fun ideas come up. This code works perfectly but a few things i noticed i was wondering if we could change. is it possible to align the first 4 images in a square table?

e.g.
1 2
3 4
You can do it this way:

Code:
$post ['custom_fields'] ['thumb'] = preg_replace ( '/.*?img src="(.*?)".*?$/s', "\\1", $post ['post_excerpt'] );
$base = str_replace ( basename ( $post ['link'] ), "", $post ['link'] );
$post ['post_content'] .= strip_tags ( $post ['post_excerpt'] );
$post ['post_content'] .= "<table align=\"center\">\n";
$post ['post_content'] .= "<tr>\n";
$post ['post_content'] .= "<td><a href=\"" . $base . "/001.mpg" . "\"><img src=\"" . $base . "/001.jpg" . "\"></a></td><td><a href=\"" . $base . "/002.mpg" . "\"><img src=\"" . $base . "/002.jpg" . "\"></a></td>\n";
$post ['post_content'] .= "</tr><tr>\n";
$post ['post_content'] .= "<td><a href=\"" . $base . "/001.mpg" . "\"><img src=\"" . $base . "/003.jpg" . "\"></a></td><td><a href=\"" . $base . "/004.mpg" . "\"><img src=\"" . $base . "/004.jpg" . "\"></a></td>\n";
$post ['post_content'] .= "</tr>\n";
$post ['post_content'] .= "</table>\n";
$post ['post_content'] .= "<p align=\"center\"><a href=\"" . $post ['link'] . "\"><strong>Click Here For More!</strong></a></p>\n";
Quote:
Originally Posted by tonyparra View Post
Also i pulled 5 post manually from this particular feed from pimproll and i got the same post 5 times with none of the text spun. This strange because all xml feeds syndicate fine and text is being spun. Solutions? Thanks in advance.

*i pulled a 6th post and got a different post so maybe there is a problem with the feed itself http://rss.pimproll.com/rss.php?id=M...1&j=13&src=rss
Sorry, didn't get this question. Do you mean that you are getting duplicated posts or the they just don't synonymize?
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-19-2011, 03:00 AM   #122
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,377
Quote:
Originally Posted by V_RocKs View Post
Perhaps you can make it so we can add a synonym table for categories...

Pretend I have a gay cams blog and it is taking in posts via RSS feed.

If a post has:

Check out Kyle on his free gay cam. This twink loves sticking butt plugs up his tight little ass on web cam! You can tell him to do just about anything and he will do it. Watch him jack his cock and even suck his own huge cock!

Then if I could make a syn table like:

big cocks|big dicks|big dick|huge dick|huge cocks|large dick ...etc...

and this post would end up in the big cocks category because of the match on huge cock.

Or...

Toys|butt plug|butt plugs|dildo|dildos|vibrator|vibrators

And we'd get category of Toys.
Actually the CyberSEO doesn't need this feature, because you can easily do it with the the following code:

Code:
$cat_file = file ( "CATEGORIS_FILE" );
if ($post ["post_content"] == "") {
	$post ["post_content"] = $post ["post_excerpt"];
}
foreach ( $cat_file as $line ) {
	list ( $cat, $keywords ) = explode ( ":", $line );
	$keywords = explode ( "|", $keywords );
	foreach ( $keywords as $keyword ) {
		if (stripos ( $post ["post_content"], trim ( $keyword ) ) !== false) {
			$post ['categories'] [] = $cat;
			break;
		}
	}
}
Simple put it into the PHP Code <?php .. ?> field and it will take care about category selection. Just make sure to replace "CATEGORIS_FILE" above with the actual server path or URL of the category text file saved in the following format:

Code:
Big cocks:big dicks|big dick|huge dick|huge cocks|large
Toys:butt plug|butt plugs|dildo|dildos|vibrator|vibrators
Note the ":" symbol following each category name.
__________________
Obey the Cowgod

Last edited by just a punk; 07-19-2011 at 03:06 AM..
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-19-2011, 07:20 AM   #123
tonyparra
Confirmed User
 
tonyparra's Avatar
 
Industry Role:
Join Date: Jul 2008
Location: In your back seat with duck tape
Posts: 4,568
Quote:
Originally Posted by cyberxxx View Post
You can do it this way:

Code:
$post ['custom_fields'] ['thumb'] = preg_replace ( '/.*?img src="(.*?)".*?$/s', "\\1", $post ['post_excerpt'] );
$base = str_replace ( basename ( $post ['link'] ), "", $post ['link'] );
$post ['post_content'] .= strip_tags ( $post ['post_excerpt'] );
$post ['post_content'] .= "<table align=\"center\">\n";
$post ['post_content'] .= "<tr>\n";
$post ['post_content'] .= "<td><a href=\"" . $base . "/001.mpg" . "\"><img src=\"" . $base . "/001.jpg" . "\"></a></td><td><a href=\"" . $base . "/002.mpg" . "\"><img src=\"" . $base . "/002.jpg" . "\"></a></td>\n";
$post ['post_content'] .= "</tr><tr>\n";
$post ['post_content'] .= "<td><a href=\"" . $base . "/001.mpg" . "\"><img src=\"" . $base . "/003.jpg" . "\"></a></td><td><a href=\"" . $base . "/004.mpg" . "\"><img src=\"" . $base . "/004.jpg" . "\"></a></td>\n";
$post ['post_content'] .= "</tr>\n";
$post ['post_content'] .= "</table>\n";
$post ['post_content'] .= "<p align=\"center\"><a href=\"" . $post ['link'] . "\"><strong>Click Here For More!</strong></a></p>\n";


Sorry, didn't get this question. Do you mean that you are getting duplicated posts or the they just don't synonymize?
they weren't synonymized and the post were coming back like this:
mysite.com/man-in-hat
mysite.com/man-in-hat2
mysite.com/man-in-hat3
mysite.com/man-in-hat4

With all the post being the same except the title had a number added to it. I was manually pulling the feed, and i changed the check duplicate content settings to title and
guid and also on global i unchecked "Disable Feed Duplication Control" and that seemed to fix it.
__________________

High Performance Vps $10 Linode
Manage your Digital Ocean, Linode, or Favorite Cloud Server. Simple, fast, and secure Server Pilot
tonyparra is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-19-2011, 09:53 AM   #124
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,377
If changing duplicate control to "guid and tittle" helped, then the problem was related to the feed's guids.
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-28-2011, 07:04 AM   #125
schiz
Confirmed User
 
Join Date: Nov 2002
Location: Middle of a cornfield
Posts: 1,103
Would it be possible to have a "shared" synonym table across an entire blog farm? Update one and update them all? Maybe a flat text file to include?

Lots of great tips and code in this thread. Keep it going.
schiz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-28-2011, 07:15 AM   #126
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,377
You can upload the synonym table to your host as a raw text file and use it's server path or URL on all your splogs.

By the way, here is a 20% OFF coupon on CyberSEO Unlimited (both Lite and Suite editions): HOTSUMMER

The coupon will be valid till August 7th. Hurry up
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-28-2011, 07:28 AM   #127
schiz
Confirmed User
 
Join Date: Nov 2002
Location: Middle of a cornfield
Posts: 1,103
Quote:
Originally Posted by cyberxxx View Post
You can upload the synonym table to your host as a raw text file and use it's server path or URL on all your splogs.

By the way, here is a 20% OFF coupon on CyberSEO Unlimited (both Lite and Suite editions): HOTSUMMER

The coupon will be valid till August 7th. Hurry up
Awesome deal! Thanks Cyberxxx. I just bought a copy.
schiz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-01-2011, 03:42 AM   #128
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,377
Using Google Translate with CyberSEO

Ok, here is the manual on how to use Google Translator with the CyberSEO plugin.

1) Syndicate the feed your are going to pull posts from.
2) In the feed options menu post the following code into the "PHP Code <?php .. ?>" box:
Code:
// Set source language, e.g. English
$s = 'en';
// Set destination language, e.g. German
$d = 'de';
if ($post ['post_content'] == '') {
    $post ['post_content'] = $post ['post_excerpt'];
}
$ch = curl_init ();
curl_setopt ( $ch, CURLOPT_URL, 'http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&amp;q=' . urlencode ( $post ['post_content'] ) . '&amp;langpair=' . urlencode ( $s . '|' . $d ) );
curl_setopt ( $ch, CURLOPT_REFERER, 'http://www.yoursite.com/translate.php' );
curl_setopt ( $ch, CURLOPT_RETURNTRANSFER, 1 );
$json = json_decode ( curl_exec ( $ch ), true );
$post ['post_content'] = $json ['responseData'] ['translatedText'];
3) Save the settings and pull the feed.

Done!

The code above has two variables: $s and $d. Use them to set source and destination language for your feed. For example, if you want to translate the Danish feed to Spanish, use the following values:
$s = 'da';
$d = 'es';

Now you can use the Google translator with CyberSEO.

That's very easy. Isn't it?
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-01-2011, 07:23 AM   #129
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,377
Using Yahoo! Babel Fish with CyberSEO

1) Simple syndicate the feed you are going to pull posts from.
2) Put the following code into the “PHP Code <?php .. ?>” box:
Code:
// Set source language, e.g. English
$s = 'en';
// Set destination language, e.g. German
$d = 'de';
if ($post ['post_content'] == '') {
    $post ['post_content'] = $post ['post_excerpt'];
}
$translated = cseo_file_get_contents ( 'http://babelfish.yahoo.com/translate_txt?ei=UTF-8&intl=1&trtext=' . urlencode ( $post ['post_content'] ) . '&lp=' . urlencode ( $s . '_' . $d ) . '&btnTrTxt=Translate' );
$post ['post_content'] = preg_replace ( '/(^.*?<div id="result"><div style="padding:0.6em;">)(.*?)(<\/div>.*?$)/s', "\\2", $translated );
3) Save the settings and pull the feed. Done!

The code above has two variables: $s and $d. Use them to set source and destination language for your feed. For example, if you want to translate the Dutch feed to French, use the following values:

$s = 'nl';
$d = 'fr';

Now you can use the Yahoo! Babel Fish to automatically translate the XML and RSS feeds with the CyberSEO autoblogging plugin.
__________________
Obey the Cowgod

Last edited by just a punk; 08-01-2011 at 07:25 AM..
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-01-2011, 10:15 AM   #130
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,377
Bump for 20% OFF coupon
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-02-2011, 01:54 AM   #131
acrylix
Confirmed User
 
acrylix's Avatar
 
Industry Role:
Join Date: Oct 2006
Posts: 362
Quote:
Originally Posted by cyberxxx View Post
Now you can use the Google translator with CyberSEO.

That's very easy. Isn't it?
Awesome, thanks for this!
acrylix is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-08-2011, 07:16 AM   #132
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,377

CyberSEO 5.14 has been released today. Here is a list of changes:
  • The "Apply These Modifications To All Existing Posts" operation now applies to all types of posts except drafts.
  • Remove links from images only option added.
  • Fixed problem with local storage of images that have the "?" symbol in their names.
  • Fixed false warning message which says: "Your wp-content/uploads folder is not writable".
  • Now you can assign an individual author (an registered WordPress user) to every syndicating thread.
Make sure to update your copy!
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-08-2011, 08:41 AM   #133
My Pimp
Confirmed User
 
Join Date: May 2003
Posts: 1,201
This is a good advice .
My Pimp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-08-2011, 11:20 AM   #134
AmeliaG
Too lazy to set a custom title
 
AmeliaG's Avatar
 
Join Date: Jan 2003
Location: Los Angeles
Posts: 10,408
Quote:
Originally Posted by cyberxxx View Post
CyberSEO 5.14 has been released today. Here is a list of changes:
  • The "Apply These Modifications To All Existing Posts" operation now applies to all types of posts except drafts.
  • Remove links from images only option added.
  • Fixed problem with local storage of images that have the "?" symbol in their names.
  • Fixed false warning message which says: "Your wp-content/uploads folder is not writable".
  • Now you can assign an individual author (an registered WordPress user) to every syndicating thread.
Make sure to update your copy!
Good stuff
AmeliaG is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-14-2011, 07:50 AM   #135
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,377

CyberSEO 5.15 has been released today.

Changes:

Added possibility to display custom fields as XML tags in the blog?s RSS feed. To enable this function, simple add the following variable to your feed?s URL:
custom_tags=custom_field_name1[,custom_field_name1,...]

For example, if your WordPress posts have views and thumb custom fields, you can display them as tags in the RSS feed using this URL:
yourblog.com/feed/?custom_tags=views,thumb

Make sure to update your copy!
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
cyberseo, cybersyn, feed, rss, wordpress



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.