The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
3.5.x vBGarage w/ Lightbox v2.0 Details »» | |||||||||||||||||||||||||
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 Show Your Support
|
Comments |
#32
|
|||
|
|||
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 |
#33
|
||||
|
||||
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! |
#34
|
|||
|
|||
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 |
#35
|
|||
|
|||
Quote:
Code:
<a href="vbgarage.php?do=view&id=$post[userid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/garage.gif" border="0" alt="vBGarage Page" /></a> Here's how to get them to list in order Code:
if (!isset($pagenumber) or ($pagenumber < 1) or ($pagenumber > $numberpages)) $pagenumber = 1; $pos = ($pagenumber - 1) * $perpage; $result_list = $vbulletin->db->query_read("SELECT * FROM " . TABLE_PREFIX . "vbgarage_users ORDER BY lastactivity DESC LIMIT $pos,$perpage"); |
#36
|
|||
|
|||
Quote:
- Justin |
#37
|
|||
|
|||
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)) $pagenumber = 1; $pos = ($pagenumber - 1) * $perpage; $result_list = $vbulletin->db->query_read("SELECT * FROM " . TABLE_PREFIX . "vbgarage_users ORDER BY userid ASC LIMIT $pos,$perpage"); Code:
if (!isset($pagenumber) or ($pagenumber < 1) or ($pagenumber > $numberpages)) $pagenumber = 1; $pos = ($pagenumber - 1) * $perpage; $result_list = $vbulletin->db->query_read("SELECT * FROM " . TABLE_PREFIX . "vbgarage_users ORDER BY lastactivity DESC LIMIT $pos,$perpage"); |
#38
|
|||
|
|||
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 |
#39
|
||||
|
||||
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. |
#40
|
|||
|
|||
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 |
#41
|
||||
|
||||
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 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|