![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Doin fine
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 ?
![]() ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
♦ Web Developer ♦
Industry Role:
Join Date: May 2005
Location: Full-Stack Developer
Posts: 12,468
|
That could be done with custom fields mate.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Doin fine
Industry Role:
Join Date: Oct 2005
Posts: 24,983
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Doin fine
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?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Too lazy to set a custom title
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! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,242
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,242
|
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="'.$home.'"><img src="'.$image.'" border="0" alt="funny pics"></a>">'; return $content; } add_shortcode('sharelink','sharelink_shortcode'); ?>
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,242
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Doin fine
Industry Role:
Join Date: Oct 2005
Posts: 24,983
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Playa
Industry Role:
Join Date: Dec 2005
Location: Somewhere on the Earth
Posts: 8,439
|
fris is the man for wp
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,242
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
Doin fine
Industry Role:
Join Date: Oct 2005
Posts: 24,983
|
Quote:
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. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Registered User
Industry Role:
Join Date: Jul 2003
Location: Encrypted. Access denied.
Posts: 31,779
|
Fris rocks.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
RIP Dodger. BEST.CAT.EVER
Industry Role:
Join Date: Dec 2002
Location: NYC Area
Posts: 18,450
|
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! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 | |
RIP Dodger. BEST.CAT.EVER
Industry Role:
Join Date: Dec 2002
Location: NYC Area
Posts: 18,450
|
Quote:
__________________
-uno icq: 111-914 CrazyBabe.com - porn art MojoHost - For all your hosting needs, present and future. Tell them I sent ya! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
Confirmed User
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). |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 |
Doin fine
Industry Role:
Join Date: Oct 2005
Posts: 24,983
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 |
Doin fine
Industry Role:
Join Date: Oct 2005
Posts: 24,983
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#22 | |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,242
|
Quote:
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 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#23 | |
Doin fine
Industry Role:
Join Date: Oct 2005
Posts: 24,983
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |