Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
3.5.x vBGarage w/ Lightbox v2.0 Details »»
3.5.x vBGarage w/ Lightbox v2.0
Version: 1.00, by Xoxideforums Xoxideforums is offline
Developer Last Online: Mar 2010 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 06-08-2006 Last Update: 06-08-2006 Installs: 24
Uses Plugins Template Edits
Code Changes Additional Files Is in Beta Stage  
No support by the author.

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 12-15-2006, 09:05 PM
Tru2Chevy Tru2Chevy is offline
 
Join Date: Sep 2005
Location: New Jersey
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by smoknz28 View Post
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
If you can upload yours with no problem, the first thing I would check is the size of the images they are uploading vs. the limit that you set in the adminCP.

- Justin
Reply With Quote
  #43  
Old 12-15-2006, 10:58 PM
smoknz28's Avatar
smoknz28 smoknz28 is offline
 
Join Date: Sep 2005
Location: SoCal
Posts: 257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could have been it...it was left at the default. I changed it to 3145728 for 3mb. Hopefully that will remedy this.

Thanks again...
Reply With Quote
  #44  
Old 01-22-2007, 11:58 AM
ArgylePhoto ArgylePhoto is offline
 
Join Date: Jan 2007
Location: Scotland
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi guys,

To get the Lightbox to work I had to edit the links to the css and js folders from relative links to full links ie from "/js" to "http://www.mysite.co.uk/js", this isn't a problem it works fine but the button images don't show up at all, where can I alter those links to get them to show up? I think that would work anyway.

Oddly it works perfectly on my development forum without altering any links...

Thanks in advance

EDIT: I'm using 3.6.4 in both the main forum and development forum
Reply With Quote
  #45  
Old 01-22-2007, 10:19 PM
ArgylePhoto ArgylePhoto is offline
 
Join Date: Jan 2007
Location: Scotland
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A wee update I found the links in the JS file and sorted them, it now works in IE but still not in Firefox
Reply With Quote
  #46  
Old 01-23-2007, 07:47 AM
toLTcaboLT toLTcaboLT is offline
 
Join Date: Nov 2001
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ArgylePhoto View Post
A wee update I found the links in the JS file and sorted them, it now works in IE but still not in Firefox

It works in FireFox too. You must wait all pictures and all data to load. And then click on pictures :up:
Reply With Quote
  #47  
Old 01-27-2007, 11:16 AM
caz!no caz!no is offline
 
Join Date: Jan 2007
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how can i use bouncer18´s code for the vb attachments?
Reply With Quote
  #48  
Old 04-01-2007, 07:57 AM
aido aido is offline
 
Join Date: Mar 2007
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, this seems to work fine on 3.6.5, thanks guys, but I have a couple of odd quirks.

Is it supposed to give any feedback when you hit Submit from the User CP area as it doesn't appear to do anything - even though it is saved?

Also some pics don't seem to save - no errors are given, just nothing comes back.

I have raised the limit in the Admin CP to 5MB but as an example I upload a 2MB image and it just doesn't appear anywhere.

Does anyone have a copy of the 4.x code lying around they could send me to try please - currently I'm using the archive as attached to this thread.

I've made a few changes so that the subfolders for this can be located within the forum root as opposed to the root of the webspace, just so that everything is contained, but that is all I've done in terms of changing the code - I've only got a few days experience with PHP and vB so bringing myself up to speed quickly!
Reply With Quote
  #49  
Old 04-05-2007, 01:12 PM
ghost323f ghost323f is offline
 
Join Date: Apr 2003
Location: High Point, NC
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

for some reason, I had a problem with the whole page going blank when clicking on page 2 or any other page than the first. Anybody else have this problem??
Reply With Quote
  #50  
Old 04-20-2007, 06:56 PM
ExciterNL ExciterNL is offline
 
Join Date: Sep 2006
Location: NL
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tru2Chevy View Post
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;
Replace:
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");
With:
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");
- Justin

Ok, thanks, this works for me too.

Well, i would like to be able to sort in alphabetical order on usernames. Is that hard to do?
Someone knows?

(The best way it will make me happy, that the members get the choice how to sort by clicking the table description above (change sorting between username OR last activity) by them own. Maybe its something, you guys here can figure out?

Thanks allready,

Exciter
Reply With Quote
  #51  
Old 04-20-2007, 08:57 PM
BushyTea BushyTea is offline
 
Join Date: Jul 2006
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey, great mod and easy to install!

Right now on mine everything is working great except one small issue.

When I go to a member and click the "delete" link to get rid of that garage I get an error. Basically a page can't be displayed type error.

This is what gets put into the middle of the web address when I get the error.

Quote:
/Array[bburl]/
If I manually go up and delete that out then it works and deletes the garage.

Any ideas?

Thanks,
Mike
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:24 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
  • Page Generation 0.04343 seconds
  • Memory Usage 2,311KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete