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 05-16-2009, 05:57 PM   #1
stickyfingerz
Doin fine
 
stickyfingerz's Avatar
 
Industry Role:
Join Date: Oct 2005
Posts: 24,983
Looking for a wordpress plugin

Need a wordpress plugin that generates an embed code for users to post pics that are included in posts. Similar to Lol cats etc. Anyone... anyone.... Buller Buller ?
stickyfingerz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-16-2009, 05:59 PM   #2
Miguel T
♦ Web Developer ♦
 
Miguel T's Avatar
 
Industry Role:
Join Date: May 2005
Location: Full-Stack Developer
Posts: 12,468
That could be done with custom fields mate.
__________________

Full Stack Webdeveloper: HTML5/CSS3, jQuery, AJAX, ElevatedX, NATS, MechBunny, Wordpress
Miguel T is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-16-2009, 06:04 PM   #3
stickyfingerz
Doin fine
 
stickyfingerz's Avatar
 
Industry Role:
Join Date: Oct 2005
Posts: 24,983
Quote:
Originally Posted by AbsolutePorn View Post
That could be done with custom fields mate.
I don't want to have to do it by hand for each post though. Custom fields won't be able to do it automatically when I make a post with an image will it?
stickyfingerz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-16-2009, 06:38 PM   #4
stickyfingerz
Doin fine
 
stickyfingerz's Avatar
 
Industry Role:
Join Date: Oct 2005
Posts: 24,983
Found one that will do what I want, which is make the embed code the user gets auto link back to the site they are linking the image from if they post it somewhere, but the dl link isn't working doh! Any more input?
stickyfingerz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-16-2009, 06:49 PM   #5
pornguy
Too lazy to set a custom title
 
pornguy's Avatar
 
Industry Role:
Join Date: Mar 2003
Location: Homeless
Posts: 62,912
Post what you found. Lets take a look at it.
__________________
PornGuy skype me pornguy_epic

AmateurDough The Hottes Shemales online!
TChicks.com | Angeles Cid | Mariana Cordoba | MAILERS WELCOME!
pornguy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-16-2009, 07:32 PM   #6
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,241
Quote:
Originally Posted by stickyfingerz View Post
I don't want to have to do it by hand for each post though. Custom fields won't be able to do it automatically when I make a post with an image will it?
just write a small function and put it in functions.php and insert it into your theme template.
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-16-2009, 08:06 PM   #7
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,241
im in a giving mood today.

[sharelink] in your post or page will create the share link(s) like on lolcats, and it will take use the attached image, so no need for custom fields.

Code:
<?php

function sharelink_shortcode($content)
{
    $attachments = get_children(array('post_parent' => get_the_ID(), 'post_type' => 'attachment', 'post_mime_type' => 'image', 'orderby' => 'menu_order'));
    $img = array_shift($attachments);
    $imagelink = wp_get_attachment_image_src($img->ID,'full');
    $image = $imagelink[0];
    $permalink = get_permalink();
    $home = get_bloginfo('home');
    $content = 'Link: <input type="text" value="'.$permalink.'" size="30"><br/><br/>';
    $content .= 'Image Code: <input type="text" size="45" value="<a href=&quot;'.$home.'&quot;><img src=&quot;'.$image.'&quot; border=&quot;0&quot; alt=&quot;funny pics&quot;></a>">'; 
    return $content;
}

add_shortcode('sharelink','sharelink_shortcode');

?>
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-16-2009, 08:09 PM   #8
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,241
http://www.blogdojo.com/share.phps

if you want the source, make sure to put in your functions.php in your theme
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-16-2009, 10:43 PM   #9
stickyfingerz
Doin fine
 
stickyfingerz's Avatar
 
Industry Role:
Join Date: Oct 2005
Posts: 24,983
Quote:
Originally Posted by fris View Post
http://www.blogdojo.com/share.phps

if you want the source, make sure to put in your functions.php in your theme
Much thanks Fris. Ill take a look at this in the morning when I am more sober. hehe.
stickyfingerz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-17-2009, 12:22 AM   #10
CaptainWolfy
Playa
 
CaptainWolfy's Avatar
 
Industry Role:
Join Date: Dec 2005
Location: Somewhere on the Earth
Posts: 8,439
fris is the man for wp
CaptainWolfy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-17-2009, 09:31 AM   #11
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,241
let me know if you have any issues i tried it on a 2.7 site of mine, worked fine
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-17-2009, 10:09 AM   #12
stickyfingerz
Doin fine
 
stickyfingerz's Avatar
 
Industry Role:
Join Date: Oct 2005
Posts: 24,983
Quote:
Originally Posted by fris View Post
let me know if you have any issues i tried it on a 2.7 site of mine, worked fine
Its working, but I am getting this error.

Warning: array_shift() [function.array-shift]: The argument should be an array in /web/sites/myaccount/mydomain.com/wp-content/themes/TweetMeBlue/functions.php on line 254

and yes I am using the tweetmeblue theme hehe.

<a href="http://mydomain.com"><img src="" border="0" alt="funny pics"></a>

And it doesn't auto generate the actual image url, just shows up blank. I am using the wordpress upload function for my pics as I have a plugin to auto watermark all the images that get uploaded, so may be that is why its not working. Hit me up if you want to look at the site itself. Its a mainstream site so Id rather not post it here.
stickyfingerz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-17-2009, 10:21 AM   #13
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,241
gonna hit you up in a few
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-17-2009, 01:21 PM   #14
DWB
Registered User
 
Industry Role:
Join Date: Jul 2003
Location: Encrypted. Access denied.
Posts: 31,779
Fris rocks.
DWB is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-17-2009, 11:29 PM   #15
uno
RIP Dodger. BEST.CAT.EVER
 
uno's Avatar
 
Industry Role:
Join Date: Dec 2002
Location: NYC Area
Posts: 18,450
Quote:
Originally Posted by stickyfingerz View Post
Much thanks Fris. Ill take a look at this in the morning when I am more sober. hehe.
Fris is the man with helpful tips.
__________________
-uno
icq: 111-914
CrazyBabe.com - porn art
MojoHost - For all your hosting needs, present and future. Tell them I sent ya!
uno is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-17-2009, 11:30 PM   #16
uno
RIP Dodger. BEST.CAT.EVER
 
uno's Avatar
 
Industry Role:
Join Date: Dec 2002
Location: NYC Area
Posts: 18,450
Quote:
Originally Posted by stickyfingerz View Post
Its working, but I am getting this error.

Warning: array_shift() [function.array-shift]: The argument should be an array in /web/sites/myaccount/mydomain.com/wp-content/themes/TweetMeBlue/functions.php on line 254

and yes I am using the tweetmeblue theme hehe.

<a href="http://mydomain.com"><img src="" border="0" alt="funny pics"></a>

And it doesn't auto generate the actual image url, just shows up blank. I am using the wordpress upload function for my pics as I have a plugin to auto watermark all the images that get uploaded, so may be that is why its not working. Hit me up if you want to look at the site itself. Its a mainstream site so Id rather not post it here.
Send me a link to the WP watermark plugin por favor.
__________________
-uno
icq: 111-914
CrazyBabe.com - porn art
MojoHost - For all your hosting needs, present and future. Tell them I sent ya!
uno is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-17-2009, 11:37 PM   #17
AAB
Confirmed User
 
AAB's Avatar
 
Join Date: Apr 2009
Location: Alberta
Posts: 874
I'm working on mine and will be releasing it soon, but need to tweak out a few issues. It's already used on a few blogs, for example Beer Steak - let me know if you'd like to beta test before it's officially released.

The way it works right now is that it automatically recognizes whether there is a picture embedded in the post and if it is, it will generate both HTML and BBCode codes at the bottom of the post. Text to go with it is customizeable. It also automatically posts generated links on attachment pages (so each image in the gallery has its own code).

All codes are SEO friendly, which is the purpose (to help you build up links with relevant anchor keywords).
AAB is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-18-2009, 06:41 AM   #18
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,241
I wrote a plugin to do this after helping ryan with this.
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-18-2009, 06:42 AM   #19
stickyfingerz
Doin fine
 
stickyfingerz's Avatar
 
Industry Role:
Join Date: Oct 2005
Posts: 24,983
Quote:
Originally Posted by uno View Post
Send me a link to the WP watermark plugin por favor.
I shall. I found it easier to batch images offline thought to be honest even though it was working.
stickyfingerz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-18-2009, 06:43 AM   #20
stickyfingerz
Doin fine
 
stickyfingerz's Avatar
 
Industry Role:
Join Date: Oct 2005
Posts: 24,983
Quote:
Originally Posted by fris View Post
I wrote a plugin to do this after helping ryan with this.
Yes you rock man. New plugin works great.
stickyfingerz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-18-2009, 06:16 PM   #21
HowlingWulf
Confirmed User
 
HowlingWulf's Avatar
 
Join Date: Nov 2001
Posts: 1,662
I've been using TDO Mini Forms but I'd like to see this plugin as well. Are you going to publish it anywhere Fris?
__________________
WP Porn directory/review theme Maddos $35.

webmaster AT howling-wulf.com
HowlingWulf is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-19-2009, 06:32 AM   #22
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,241
Quote:
Originally Posted by HowlingWulf View Post
I've been using TDO Mini Forms but I'd like to see this plugin as well. Are you going to publish it anywhere Fris?
what it basically does is when making a post you attach an image, and in your post you enter [shareit] and it will display the image, plus the linking codes to embed, link, etc

no need to insert image into the post, [shareit] displays it so you dont have to put <img src html codes in your post.

also you can style the way its outputted via the shareit.css file.
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-21-2009, 08:09 AM   #23
stickyfingerz
Doin fine
 
stickyfingerz's Avatar
 
Industry Role:
Join Date: Oct 2005
Posts: 24,983
Quote:
Originally Posted by fris View Post
what it basically does is when making a post you attach an image, and in your post you enter [shareit] and it will display the image, plus the linking codes to embed, link, etc

no need to insert image into the post, [shareit] displays it so you dont have to put <img src html codes in your post.

also you can style the way its outputted via the shareit.css file.
Its a great plugin. Super easy and handy.
stickyfingerz 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



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.