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 09-08-2009, 04:35 PM   #1
Twig
Confirmed User
 
Twig's Avatar
 
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
How can I make a texbox with the BBCODE to link to current page?

I want to add a textbox on a page, that always has the corresponding BBCODE to link to the page it's on.
i.e. domain.com/index.html textbox shows

[url!=domain.com/index.html]domain.com/index.html[/url!]
(minus !)

I know this can't be too hard, but there's a reason I use WordPress, and it's not because I'm a mastermind with PHP.
__________________
Twig is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-08-2009, 04:40 PM   #2
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,359
i actually wrote a plugin like this for stickyfingerz, so he could share an image and post like lolcats.
__________________
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 09-08-2009, 04:42 PM   #3
Twig
Confirmed User
 
Twig's Avatar
 
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
Quote:
Originally Posted by fris View Post
i actually wrote a plugin like this for stickyfingerz, so he could share an image and post like lolcats.
He told me about that, and this is what I emailed you about.
Well, not 100% but this is the general idea of it.
Can I hit you up on ICQ?
__________________
Twig is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-08-2009, 05:05 PM   #4
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,359
yep 704-299, if its not, i can prob do something custom for ya or recommend a solution
__________________
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 09-08-2009, 05:10 PM   #5
Twig
Confirmed User
 
Twig's Avatar
 
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
Quote:
Originally Posted by fris View Post
yep 704-299, if its not, i can prob do something custom for ya or recommend a solution
You are never online, says my ICQ.
__________________
Twig is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-08-2009, 05:22 PM   #6
Twig
Confirmed User
 
Twig's Avatar
 
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
I think I got the plugin you're talking about but it doesn't work for me because the images in my posts are injected by shortcode, they aren't actually coded into the post.
Plus I want to add this code into a plugin I'm already using (Lazyest Gallery) so it will show the textbox w/code at the bottom of every gallery made by LG.
__________________

Last edited by Twig; 09-08-2009 at 05:23 PM..
Twig is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-08-2009, 05:40 PM   #7
Twig
Confirmed User
 
Twig's Avatar
 
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
Another to the top for fris.
__________________
Twig is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-08-2009, 05:57 PM   #8
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,359
704-299 try again cause i rebooted
__________________
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 09-08-2009, 05:59 PM   #9
Twig
Confirmed User
 
Twig's Avatar
 
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
[19:58] *** Error while sending IM: This user is currently not logged on
__________________
Twig is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-08-2009, 06:52 PM   #10
Twig
Confirmed User
 
Twig's Avatar
 
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
Ok apparently ICQ is not going to work for us, because it's told me you're offline ever since the start of this thread.
I'm going to email you, because I made a little bit of development towards what I'm looking for, but can't get it all to work together.
__________________
Twig is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-08-2009, 08:31 PM   #11
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,359
got the email will look at it tomorow and get back to you
__________________
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 09-09-2009, 03:24 PM   #12
Twig
Confirmed User
 
Twig's Avatar
 
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
Sounds good. Thanks.
__________________
Twig is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-09-2009, 07:41 PM   #13
Twig
Confirmed User
 
Twig's Avatar
 
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
Bump for big daddy fris.
__________________
Twig is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-10-2009, 04:24 PM   #14
Twig
Confirmed User
 
Twig's Avatar
 
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
You get around to looking at it yet ?
__________________
Twig is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-10-2009, 05:12 PM   #15
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
Share and enjoy.
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-10-2009, 05:19 PM   #16
Twig
Confirmed User
 
Twig's Avatar
 
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
I just briefly read over it, but this seems to be for enabling BBCODE as a type of input. I'm trying to show a code box at the bottom of certain pages, that is filled with the BBCODE that would be needed to input the pictures from that page into a forum post.
How most image host sites do. They give you the code to use to input the pictures you just uploaded.
__________________
Twig is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-10-2009, 05:26 PM   #17
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
Oh; I entirely misunderstood.

Something like this, only with the BBCode? (I don't display BBCode for that except on the upload page, so you won't see it; only a cut-and-paste non-bbcode textbox).

I wouldn't condone this method, but it will work.
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-10-2009, 05:27 PM   #18
Twig
Confirmed User
 
Twig's Avatar
 
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
Yea, but not for the current URL. I can accomplish that. I'm looking to have it implemented into a Gallery plugin, and display the BBCODE for all pictures within the gallery if on the Gallery page, or just the code for the pic, if you're viewing the pic directly.
__________________
Twig is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-10-2009, 05:29 PM   #19
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
Quote:
Originally Posted by Twig View Post
Yea, but not for the current URL. I can accomplish that. I'm looking to have it implemented into a Gallery plugin, and display the BBCODE for all pictures within the gallery if on the Gallery page, or just the code for the pic, if you're viewing the pic directly.
Ah. Well, that will depend on your version of Gallery. Gallery1, you're either parsing flatfiles or checking directories and globbing. Gallery2, I have honestly never messed with, so I'm unfamiliar with the tables. I'm not going to swoop in and grab someone else's question/fire here - but I bet this has already been addressed on the Gallery forums.
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-10-2009, 05:34 PM   #20
Twig
Confirmed User
 
Twig's Avatar
 
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
Using NGGallery, was trying Lazyest Gallery before it went haywire.
__________________
Twig is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-10-2009, 05:40 PM   #21
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
Looks like you want $image->href_link for a local ref; no idea if it populates all of $image with data or not. I'd print_r() it and see what it sets, and failing that, audit the code.
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-10-2009, 05:44 PM   #22
stickyfingerz
Doin fine
 
stickyfingerz's Avatar
 
Industry Role:
Join Date: Oct 2005
Posts: 24,983
Quote:
Originally Posted by GrouchyAdmin View Post
Looks like you want $image->href_link for a local ref; no idea if it populates all of $image with data or not. I'd print_r() it and see what it sets, and failing that, audit the code.
After you are done with all your code talk we should go down to that burger joint. I could go for one of those mammoth burgers that asian kid woofed 2 of down. lol
stickyfingerz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-10-2009, 05:45 PM   #23
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
Quote:
Originally Posted by stickyfingerz View Post
After you are done with all your code talk we should go down to that burger joint. I could go for one of those mammoth burgers that asian kid woofed 2 of down. lol
I've been back in the states for years now - It'd be a hell of a long time to wait for dinner. Those were good, though.
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-10-2009, 05:47 PM   #24
Twig
Confirmed User
 
Twig's Avatar
 
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
Quote:
Originally Posted by GrouchyAdmin View Post
Looks like you want $image->href_link for a local ref; no idea if it populates all of $image with data or not. I'd print_r() it and see what it sets, and failing that, audit the code.
See, and now you lost me haha.
Like I said in the OP, I'm no PHP man. I get the overall idea of what you're saying but I wouldn't be able to successfully implement that myself.
__________________
Twig is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-10-2009, 05:54 PM   #25
stickyfingerz
Doin fine
 
stickyfingerz's Avatar
 
Industry Role:
Join Date: Oct 2005
Posts: 24,983
Quote:
Originally Posted by GrouchyAdmin View Post
I've been back in the states for years now - It'd be a hell of a long time to wait for dinner. Those were good, though.
Ya I know where you are now lol, I just like any excuse to think about bein down there again haha. Might be going, well probably will be going down for 4 or 5 days in the next month or two. Need a vaca pretty soon after I get some projects finished up.
stickyfingerz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-11-2009, 05:10 AM   #26
whiskey dick
Confirmed User
 
whiskey dick's Avatar
 
Join Date: Nov 2008
Posts: 106
There's a plugin called SEO Ultimate that automatically inserts a linkbox with the html code in it for the link. The code is directly editable in the plugin options and should be easy to modify for what you want. It looks like this by default:
Code:
<div class="su-linkbox" id="post-{id}-linkbox"><div class="su-linkbox-label">
Link to this post!</div>
<div class="su-linkbox-field">
<input type="text" value="&lt;a href=&quot;{url}&quot;&gt;{title}&lt;/a&gt;" onclick="javascript:this.select()" readonly="readonly" style="width: 100%;" />
</div></div>
I imagine you could just replace the &lt;a href= stuff with bbcode stuff but I'm no coder so I don't really know.
whiskey dick is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-11-2009, 06:40 AM   #27
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,359
can you hit me up on icq so we can talk in real time?
__________________
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 09-11-2009, 06:49 AM   #28
Twig
Confirmed User
 
Twig's Avatar
 
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
Apparently not. Every time you tell me to, you're offline. Even minutes after you say to lol.
__________________
Twig is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-11-2009, 07:20 AM   #29
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,359
Quote:
Originally Posted by Twig View Post
Apparently not. Every time you tell me to, you're offline. Even minutes after you say to lol.
http://www.frisx.com/nggallery/post/lunch-lady/page/3/

let me know if this is what you are looking for.

i installed nextgen gallery and did a mod.
__________________
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 09-11-2009, 08:11 AM   #30
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,359
bump for twig
__________________
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 09-11-2009, 01:51 PM   #31
Twig
Confirmed User
 
Twig's Avatar
 
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
Yep, that's what I was looking for for the single image. I also was hoping to work out something on the gallery page (http://www.frisx.com/nggallery/post/lunch-lady/) that would show the BBCODE for all the images in that gallery.
__________________
Twig is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-11-2009, 03:39 PM   #32
Twig
Confirmed User
 
Twig's Avatar
 
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
to the top for fris
__________________
Twig is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-11-2009, 04:37 PM   #33
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,359
since icq doesnt work, email me [email protected]

and tell me exactly what you want for the single pic and the actual gallery page and i will do it up and mail you the details
__________________
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 09-11-2009, 04:41 PM   #34
Twig
Confirmed User
 
Twig's Avatar
 
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
Quote:
Originally Posted by fris View Post
since icq doesnt work, email me [email protected]

and tell me exactly what you want for the single pic and the actual gallery page and i will do it up and mail you the details
Done
__________________
Twig 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.