![]() |
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. |
i actually wrote a plugin like this for stickyfingerz, so he could share an image and post like lolcats.
|
Quote:
Well, not 100% but this is the general idea of it. Can I hit you up on ICQ? |
yep 704-299, if its not, i can prob do something custom for ya or recommend a solution
|
Quote:
|
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. |
Another to the top for fris.
|
704-299 try again cause i rebooted
|
[19:58] *** Error while sending IM: This user is currently not logged on
|
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. |
got the email will look at it tomorow and get back to you
|
Sounds good. Thanks.
|
Bump for big daddy fris.
|
You get around to looking at it yet ?
|
|
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. |
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. |
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.
|
Quote:
|
Using NGGallery, was trying Lazyest Gallery before it went haywire.
|
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.
|
Quote:
|
Quote:
|
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. |
Quote:
|
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"> |
can you hit me up on icq so we can talk in real time?
|
Apparently not. Every time you tell me to, you're offline. Even minutes after you say to lol.
|
Quote:
let me know if this is what you are looking for. i installed nextgen gallery and did a mod. |
bump for twig
|
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.
|
to the top for fris
|
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 |
Quote:
|
All times are GMT -7. The time now is 05:50 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123