![]() |
3.5.x vBGarage w/ Lightbox v2.0
This is something myself and another guy at work put together this morning.
Lightbox is a cool JS that is based off of scriptaculous & prototype. It slides an image onto a faded background without leaving the page and then you can go through the vbGarage with tabs within the image. It really takes vbGarage to the next level and I'm getting lots of request to release this as a hack. I'm not sure if i have the time to support this 100% as I feel there will be lots of questions. But I'll do my best to help you guys out. This is my first hack and I hope you guys enjoy it. Refer to THIS POST for the simple install version of this hack NOTE: I'm being told that you MUST have vbSEO installed for this to run automatically. All the forums we run have this so I have not spent any time making this run with .htaccess rewrite rule. If anyone wants to update this and let me know if they got it to work I will update this for them. Thanks Click install if you use it. here's a link to where it's being used. http://www.thirdgen.org/techboard/vb...ber-42479.html |
:woot: Look what i started, pretty soon, vBulletin is going to be one big lightbox :)
|
Lightbox is pretty exciting.
I just checked out your mod. that's way cool. my friend and I were just talking about that idea after we did the vbgarage. Thanks for the inspiration and letting us know it was done before we wasted our time putting it together. Maybe you can help me modify it so that non SEO users could use this. |
Should work on SEO and non SEO boards the same.
I dont have garage to test it on though so i can not be of to much assitance Good job on it though :yesway: Edit: Just downloaded your package, you may want to make sure you are allowed to redistrbute the vBGarage code |
love it thanks toooo much
|
your making it more difficult then it really is...
all you need to do is add the PHP Code:
and change the imagebits template to PHP Code:
p.s i dont have vbseo |
Like I said it's my first hack I just put in everything that I knew was needed to install it fully
but it's good to see that it works without vbseo |
hey bouncer, I did what you said, and when I click on the images everything pops up, but it doesn't have teh prev/next and close X buttons visible. You can tell they are there when you scroll over, but you cannot actually see them... any idea why?
http://forums.probe-enthusiast.com/v...p?do=view&id=5 there is the link to my personal vbGarage site... you can see what it is doing there... |
Quote:
|
cool idea...but when I go to your site as an example you can't see the next and prev buttons by default..you can see the close. The only way I found the other buttons was moving my mouse around and somehow came across them and then they popped up. This was tested with both IE and Firefox. That is a must fix.
|
hmm does it on my website too...
never noticed it it has to do with the .css file i am pretty sure.... http://www.codingforums.com/showthread.php?t=85876 there is a discussion there about it and then they sorta went crazy on the things you can do with the .css itself..... give it a read |
Hmm. Didnt work for me for some reason. Opens the pic in the same window.
I'll have to mess with it.... |
any idea where i can download vbgarage 3.5? thanks in advance :)
nevermind its included! :P |
Quote:
The 'next' and 'previous' buttons should not appear by default. That is how it is hardcoded in the JS to only show when you mouse over. I think it's a pretty cool feature. because you should not always have the next and previous if there is only one picture to display. |
i am having same problems, i wanted the nice javascript images to apear, except all i get is the image in the same window...
have added all the lines to the template files, but still no joy.... sandman u get it sorted??? GOT IT WORKING... missing dots in viewgarage template.... HOWEVER, how can i move the images down etc.... take a look http://c-cuk.com/forums/vbgarage.php?do=view&id=3 |
Anyone try this with vB 3.6?
|
Does this hack work with 3.6? If not, is there a garage-like hack for 3.6? I cant find anything. :(
|
The garage isn't officially released for 3.6, however several members have tested the 3.5 port on 3.6 and say that it works fine.
https://vborg.vbsupport.ru/showthrea...109924&page=21 - Justin |
yeah it's working just fine on our 3.6
|
Good to see it works with 3.6!
|
Quote:
Only thing I noticed was that there is an extra open bracket '[' in the beginning of the code for the imagebits template. It was making a bracket appear before all of my photos in the garage view. I removed that and it works fine. - Justin |
Call me stupid, where is that imagebit template located at!?
|
I have it almost working in 3.62
I just don't know what to do with this? Since I dont have VBSEO. Code:
// vbGarage |
Quote:
https://vborg.vbsupport.ru/showpost....89&postcount=6 - Justin |
Hey Xoxideforums....
I was just wondering if you would post up the code that you ended up using on TGO to put a link to the member's garage in the postbit? I saw you asking about it in the other vBGarage thread, but never saw what you ended up coming up with. Also, what changes did you make to get your list of garages to appear in the order that they had been modified? Thanks! - Justin |
Where is the imagebits template located under??
|
Quote:
- Justin |
Okay I did that but some thing just isn't right!
Excuse the appearence, it is not finished and the site is still under construction. This is I get: (No options what so ever!) http://www.girlstreetracing.com/forums/ |
Looks to me like you have installed it ok....
Have you tried to create a garage yet to see if it appears? - Justin |
That's the thing, where do I create a garage?
I see no options for that what so ever! When I go to edit Garage in my Usercp, there is no drop down box or anything. I upload an image and it isnt viewable, plus I doesnt look like anything like the ones I have seen. |
When you go to the UserCP and click on Edit vBGarage, you should get a page that looks like this:
http://www.njfboa.org/JustinImages/vBGarage.jpg If not, let us know what you do get. Give us a screenshot, or create a test account on your site for us to use..... - Justin |
OKay I got that, and I do fill out all the fields then submit.
But then when I go to the VBGarage link, it just shows my name, no car image and so on. Can you show me what yours looks like after the info is submitted! |
Quote:
Have you tried viewing it on more than one computer? Not sure if it would help, but you might want to try clearing out you cache and reloading the page. It's a possibility (though I don't know how likely) that your browser is just showing a stored copy of the page). - Justin |
Quote:
Code:
Here's how to get them to list in order Code:
if (!isset($pagenumber) or ($pagenumber < 1) or ($pagenumber > $numberpages)) |
Quote:
- Justin |
Nevermind.....I figured out what line to edit in vBGarage.php to do it. Thanks!
For others: Seach your vBGarage.php file for the following line: Code:
$pos = ($pagenumber - 1) * $perpage; Code:
if (!isset($pagenumber) or ($pagenumber < 1) or ($pagenumber > $numberpages)) Code:
if (!isset($pagenumber) or ($pagenumber < 1) or ($pagenumber > $numberpages)) |
Has anyone figured out how to set usergroup permission with any of these vBGarage installs?
That is the only thing holding me back from installing...I only want paid members to be able to create garages |
Installed on vB 3.6.4 and is working well however, the Light Box of this hack is not working on my site. I dunno....any help on this would be appreciate though. Going to this link will bring you to my vBGarage entry as you can see the Light Box isn't working: http://www.f-bodyhideout.com/forums/...p?do=view&id=1
Thinking the reason Light Box is not working is due to the fact that there may be a directory tree difference from vB 3.5.4 to vB 3.6.4. I uploaded the directories: css, images, and js to the root of my forums. Though it appears that with vB 3.6.x the js codes are found under the clientscript directory. Someone who has got this working with vB 3.6.x...if you could shed some light on this one for me...I'd appreciate it. Another issue I'm having is that none of my other users can upload photos. I was able to upload (6) as is set in the options....but for some reason they can't. How can I fix this? Thank you for sharing this code with us. |
Quote:
I have the lightbox working on my 3.6.4 install (that I just finished upgrading from 3.6.2), however I'm not getting the pictures to show up for some reason. They are still in the database, so I'm not sure what the issues is. - Justin |
Justin...yes, that was the problem...I needed to move those directories under the root of my website. ;)
The other issue I'm still having is that my members cannot upload their images to the site. Really though...I don't like the fact that the images are saved in the database...but I guess I gotta live with that if I want to use this hack... At any rate, I still cannot figure out why they can't upload their images. I was able to upload all 6 of my images to my profile in the hack. Any thoughts why this is happening? Thanks |
All times are GMT. The time now is 04:53 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|