View Full Version : URL, BB code & Embed code information under album images
C.Birch
24 Dec 2007, 13:21
Please note as of vb3.7 beta 6 this mod is no longer needed as its now supported by vb right out the box.
The below template edit will add information boxs under images from the user photo albums for the images URL along with BB Codes and Embed Codes.
This is something i feel VB should add out of the box as its very easy to do.
How To:
In the template 'album_pictureview'
Find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
and add below:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
and add below:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Added vmacedonia's select all the text on mouse click code and updated to beta 4 code edits.
If you would like this to be part of the stock VB install, Jason (Jase2) as made a topic on the VB forums so please vote for it here: http://www.vbulletin.com/forum/showthread.php?p=1498764#post1498764
Dude that is sooo Kick #@#!!!! Thanks much.
C.Birch
24 Dec 2007, 15:40
Add READONLY to the text boxs, its something i over looked. to made it read only just add READONLY after size="50" so it will read size="50" READONLY
I have updated the first post with the update.
SwollenCranium
24 Dec 2007, 15:50
This is something i feel VB should add out of the box as its very easy to do.
You could fill an entire forum with a list of what Vbulletin should have done, or done differently.
Anyway ...
Awesome addition, thanks !
Traxdata
24 Dec 2007, 17:02
Good job :) Thanks.
just waiting for "how to allow to post images in user profile messages" mod :)
SwollenCranium
24 Dec 2007, 20:23
Doesn't seem to work.
And yeah, I edited the forum address.
C.Birch
24 Dec 2007, 21:06
MY full template 'album_pictureview'
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
replace everything with that and just edit the yourdomain.com parts to your address, its in 3 places.
SwollenCranium
24 Dec 2007, 21:18
Thanks works now .. looks identical ( except for url info) to the one I did myself, Not sure what happened.
Gray Matter
24 Dec 2007, 22:18
Nice, but you should add class="bginput" to the input boxes, otherwise they won't conform to the style if custom CSS is applied.
C.Birch
24 Dec 2007, 22:44
Yeps your right, have updated the first post. It was only a fast done thing to be forward, if i get time over xmas and new year im going add copy to clipboard buttons.
UncoderMom
25 Dec 2007, 00:01
WOW WOW WOW WOW
Did I say WOW?
Thank you soooo much!!!!!
If you use $vboptions[bburl] instead of the domain name people won't have to change it.
And the image url needs to be:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
If you want it to link back to the image page and not just the image.
C.Birch
27 Dec 2007, 09:19
If you use $vboptions[bburl] instead of the domain name people won't have to change it.
And the image url needs to be:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
If you want it to link back to the image page and not just the image.
Thank i was trying to find $vboptions[bburl] i knew there was a code for it but its been removed from most templates in vb now.
Has for the link its right the way it is, as you don't want to be linking to the image page but the image itself. If people want to link to the image page then they just copy there address bar ;)
Ohiosweetheart
29 Dec 2007, 05:17
Very kewl add-on, thank you.
vmacedonia
29 Dec 2007, 20:55
How to select all the text on mouse click for easy coping.
At the beginning of the template find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
after that code add this one:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
And then replace the original code with this alternated:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
If you want all the text to be select on double mouse click just change the event "onClick=" to "ondblClick=".
Forum Lover
29 Dec 2007, 21:10
bombastic hack!! i only imagine if we can put watermark too in the image. how can we?
glorify
30 Dec 2007, 23:26
How to select all the text on mouse click for easy coping.
At the beginning of the template find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
after that code add this one:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
And then replace the original code with this alternated:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
If you want all the text to be select on double mouse click just change the event "onClick=" to "ondblClick=".
Installed :)
slmoney
31 Dec 2007, 23:05
ok..this is odd... it seems that the [bburl] is adding a slash (/) automatically. I had to delete the / that is in the code for this to work.
TomJames
02 Jan 2008, 09:58
bombastic hack!! i only imagine if we can put watermark too in the image. how can we?
That would be awesome... :up:
MustangLisa
06 Jan 2008, 02:50
Thanks, I am going to install this now! I was surprised it wasn't part of the vB package, so thanks for making this!
Good job :) Thanks.
just waiting for "how to allow to post images in user profile messages" mod :)
Yes, me too!!!
MustangLisa
06 Jan 2008, 02:56
Worked like a charm, thanks!!
Jenkins
06 Jan 2008, 08:27
Works great!!! I was SO Disapointed when I realized that this wasn't a standard feature!
Thanks!!!
safakuygur
06 Jan 2008, 11:04
PERFECT!
Thanks.
sinistergaming
08 Jan 2008, 03:13
thanks
VeeDubZ
08 Jan 2008, 18:02
fantastic addition. thanks
Jenkins
16 Jan 2008, 07:20
I just noticed these have to be accessed through the database, which doesn't allow you to hotlink on other forums sites. :( Guess I'm gonna have to find a hack or product to do that.
good work :)
beatifull, thanx u man.....
BoredOutOfMyMin
20 Jan 2008, 23:55
Excellent!
I changed BBCode to the bottom like Photobucket.
Very good work- yes I agree this would be a welcomed add to VBulletin Photos. Allows sharing them very easy.
Thank you!
therogueforums
25 Jan 2008, 10:39
awesome hack! thank you!
Collussus
25 Jan 2008, 13:07
nice one, installed.
OrionsMom
29 Jan 2008, 17:54
WOOHOO this is EXACTLY what I wanted! Thank you so much! The only thing that could be a better addition for albums is the ability to just click ont he photos to add them to posts! This is definately a much needed addition!
therogueforums
29 Jan 2008, 18:55
Yeah, I must say, this is very practical, and IMO should've been a part of the original coding.
Wow.. Thanks...
Now, is there a way we can have Thumbnail Code (which clicked takes us to the original image?).
Excellent idea. Note that since vb 3.7 B4 the code is different than explained above.
Thanks a lot.
This is something vB should include and I will be requesting it. ;)
Regards Jason :)
Please vote for it here - http://www.vbulletin.com/forum/showthread.php?p=1498764#post1498764
The more we get, the more chance it will be put in the vB core code.
Regards Jason :)
How to select all the text on mouse click for easy coping.
At the beginning of the template find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
after that code add this one:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
And then replace the original code with this alternated:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
If you want all the text to be select on double mouse click just change the event "onClick=" to "ondblClick=".
Installed! :up:
I love you people! :D
C.Birch
02 Feb 2008, 21:41
Updated the first post so its now all right for editing in beta 4 plus added vmacedonia's code in to it.
Thanks for the update...but it has a weird purple background that doesn't match my style at all now. See: http://www.puretalkforum.com/album.php?albumid=4&pictureid=8
Is there a way to fix?
Thanks. :)
It's close to what I think is needed, but not quite.
I'd love to see an icon in the WYSIWYG editor that allows you to insert an image from your Vbulletin Albums. A little popup window opens some small thumbnails to all of your images where you can select from the images in your gallery and automatically links it.
The popup window might look like this.
http://www.vbulletin.com/forum/attachment.php?attachmentid=24526&stc=1&d=1196650527
Working on BETA 5 :)
Looks like this didn't make it for this years vB version ... So C.Birch, I hope you can keep it going. :)
Taking any future versions? Could you add the possibility for what usergroups this works for :p
Regards Jason :)
rolandogomez
16 Feb 2008, 03:05
WOOHOO this is EXACTLY what I wanted! Thank you so much! The only thing that could be a better addition for albums is the ability to just click ont he photos to add them to posts! This is definately a much needed addition!
I agree 100%, like we have for PhotoPost and PhotoPlog on the quick reply and reply boxes in the smilie links area with a link [images] Thanks, rg.
rolandogomez
16 Feb 2008, 03:52
Post deleted, wrong area. Thanks, rg.
pipedreams
01 Mar 2008, 14:51
Nice hack, but it seems part of the upcoming VB 3.7 beta 6 now?
can anyone make a button just next to links to copy them easily by clicking button
choccyclaire
01 Mar 2008, 18:39
Cool, thanks. :D
Nice hack, but it seems part of the upcoming VB 3.7 beta 6 now?
I believe BETA 5 is meant to be the last BETA ... they are not adding any more features as far as I'm aware. Should be RC next.
Regards Jason :)
reddog64
05 Mar 2008, 20:24
watermark would be AWSOME!!!
Syria BoY
05 Mar 2008, 21:11
Good job
Looks like it's in BETA 6 now :) But two options only:
Picture Url
BBcode
Regards Jason :)
C.Birch
07 Mar 2008, 23:02
I just want to say many thanks to everyone for there nice words on here and on vb.com and mainly Jase2 for making the topic on vb.com and pushing for this to be in vb out of the box.
Its now made it in to vb3.7 beta6 whats great to see so again many thanks to you all.
My pleasure C.Birch. But here's a "thanks" to you for creating the mod! :)
Regards Jason :)
Bilderback
09 Mar 2008, 05:41
awesome addition to beta6. -congrats
May want to inform people that beta 6 runs the code off the following condition
<if condition="$show['picture_owner']">
so only the photo album owner can see the embed options.
But you can change that to whatever you wish:
example:
<if condition="$show['member']"> to allow all members to see
or remove the conditional for all to see
Yes, but I think it's best to have it <if condition="$show['picture_owner']">. If you put it to <if condition="$show['member']"> then users can "hotlink" unless you prevent hotlinking via .htaccess.
Regards Jason :)
ArbStar
05 Apr 2008, 15:57
This Modification is already in the default template for vBulletin version 3.7.0 RC2
Nice Hack.
Agree must have for default VB.
Thanks
I just noticed these have to be accessed through the database, which doesn't allow you to hotlink on other forums sites. :( Guess I'm gonna have to find a hack or product to do that.
Has anyone found a way around this?
In addition, I would like to make it so the images link back to my site, kinda how imageshack does it. If anyone knows how this can be does please speak up.
vBulletin® v3.6.12, Copyright ©2000-2009, Jelsoft Enterprises Ltd.