The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Need support for an idea ...
I am seeking support for an idea I have pertaining to an official add on for all versions of vb back to about 3.8.x
Preface: This post is NOT for those who may think this is a stupid or bad idea. If there is a reason that you can explain as to why the idea will not work, please share with your explanation why. If you agree that this is a good idea, please make a favorable comment. My suggestion for the add on: When viewing photos in vb's Gallery, have the photo open up with lightbox effect when clicked on. Do I need to explain further or is this enough information? Thanks' Gary |
#2
|
|||
|
|||
Every time I click on an attachment and it opens up using that lightbox effect I ask myself, how hard would that be to set up when viewing photos from the vb albums.
Does anyone have any idea how this could be done? |
#3
|
|||
|
|||
If you are familiar with Jquery use the jquery lightbox. It's very easy
click on userpages http://www.vbcover.com/customdev/use...r.php?1-Lionel |
Благодарность от: | ||
K4GAP |
#4
|
|||
|
|||
Quote:
I've been waiting for soooo long! |
#5
|
|||
|
|||
Do a view source or Google for jquery prettyphoto. They have good documentation and is even better than previous link (with like for facebook)
|
#6
|
|||
|
|||
But what I'm trying to achieve is having it to work with vbulletins album photos. Is that possible using jquery ?
|
#7
|
|||
|
|||
Sure it is possible. As long as you have the javascript in there. You could also do it with vB lightbox. The trick is to include the javascript and in your picture you add <img rel ="gallery" href="bigimage" src="smallimage"
if you want he lightbox to display more than one image you would do rel="gallery" for each image --------------- Added 22 Jul 2014 at 01:48 --------------- to use vB light box, look in showthread template for javascript, css, and the container and in template album_pictureview you would put those 3 items Quote:
and in template album_picturebit you put the rel |
Благодарность от: | ||
TheLastSuperman |
#8
|
|||
|
|||
Quote:
But before I do try it I'm going to set up a test version of vb to try it on. Thanks soooo much for the info. I'll report back tomorrow on how it does or does not. Right now It's so late I'm afraid I might make mistakes on it. |
#9
|
|||
|
|||
Use vB if you feel more comfortable. Me although I love vB, I will never trade jQuery
|
#10
|
||||
|
||||
Just remember that the reason they dont use the lightbox atm is because it opens them in a page where you can add comments. You would lose that.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|