![]() |
![]() |
![]() |
||||
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 |
Confirmed User
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.
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Too lazy to set a custom title
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Confirmed User
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
|
Quote:
Well, not 100% but this is the general idea of it. Can I hit you up on ICQ?
__________________
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Too lazy to set a custom title
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
|
You are never online, says my ICQ.
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
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.
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
|
Another to the top for fris.
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
|
[19:58] *** Error while sending IM: This user is currently not logged on
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
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.
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Confirmed User
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
|
Sounds good. Thanks.
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Confirmed User
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
|
Bump for big daddy fris.
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Confirmed User
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
|
You get around to looking at it yet ?
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
Now choke yourself!
Industry Role:
Join Date: Apr 2006
Posts: 12,085
|
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
Confirmed User
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.
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
Now choke yourself!
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.
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 |
Confirmed User
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.
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 |
Now choke yourself!
Industry Role:
Join Date: Apr 2006
Posts: 12,085
|
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.
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 |
Confirmed User
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
|
Using NGGallery, was trying Lazyest Gallery before it went haywire.
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#21 |
Now choke yourself!
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.
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#22 | |
Doin fine
Industry Role:
Join Date: Oct 2005
Posts: 24,983
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#23 | |
Now choke yourself!
Industry Role:
Join Date: Apr 2006
Posts: 12,085
|
Quote:
![]() ![]()
__________________
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#24 | |
Confirmed User
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
|
Quote:
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.
__________________
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#25 | |
Doin fine
Industry Role:
Join Date: Oct 2005
Posts: 24,983
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#26 |
Confirmed User
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="<a href="{url}">{title}</a>" onclick="javascript:this.select()" readonly="readonly" style="width: 100%;" /> </div></div>
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#28 |
Confirmed User
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.
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#29 | |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,359
|
Quote:
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 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#31 |
Confirmed User
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.
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#32 |
Confirmed User
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
|
to the top for fris
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#33 |
Too lazy to set a custom title
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#34 | |
Confirmed User
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
|
Quote:
![]()
__________________
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |