Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Lightbox/ThickBox works with Inline Editing Details »
Lightbox/ThickBox works with Inline Editing
Mod Version: 1.00, by redgoals22 (Member) redgoals22 is offline
Developer Last Online: Aug 2012 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.0 Rating: (3 votes - 3.67 average) Installs: 51
Released: 13 Sep 2006 Last Update: Never Downloads: 420
Not Supported  

Hey all,

Just thought id release this mod which is a fix to the previous lightboxes on vb that break the:

inline quick-edit feature
multi quote

Also the prev lightboxes on here were abit heavy on the size front. this one weighs in at 27kb, and i think it looks nicer anyway.

Demo: Here

Step 1: Download the file attached and upload its contents to your forum root or wherever you want (just remember the path)

Step 2: Modify the template headinclude and add this to the bottom,


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Step 3: Modify the template postbit/postbit_legacy and add this to the very top,


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Step 4: Modify the template postbit_attachmentthumbnail and add this to the a href tag,


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

this may work on previous versions of vb but dont quote me on that as its untested on prev versions.

click install if you find this useful

nJoy.

..........

Update: The CSS file in the package was an old one and it was clashing with postbit_legacy, please use the new css file in the package on the right.

Update 2: This is the final update of this hack, i have removed the scrolling annoyance for larger images, they will display fully on the page. If you want the new update use the second attachment on the right.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Mini Mods highslide integration with vB attachments - lightbox alternative - inline too. mini2 Modification Graveyard 381 24 Dec 2007 03:43
vBPicGallery + Lightbox/Thickbox |oR|Greg vBulletin 3.6 Template Modifications 34 21 Oct 2007 23:46
Add-On Releases Lightbox/thickbox for attachment on CMPS module rapidphim vBulletin 3.6 Template Modifications 5 15 Oct 2007 22:04

Comments
  #2  
Old 13 Sep 2006, 14:04
soletrader soletrader is offline
 
Join Date: Jul 2006
I have a problem with the hack... it till take me to the loading page but will not show any image. Any suggestions? Thank you
Reply With Quote
  #3  
Old 13 Sep 2006, 14:15
redgoals22 redgoals22 is offline
 
Join Date: Feb 2005
what is the website?
Reply With Quote
  #4  
Old 13 Sep 2006, 14:27
soletrader soletrader is offline
 
Join Date: Jul 2006
www.TradersLaboratory.com

try loggin in with username redgoals22, pass: redgoals22

visit: http://www.traderslaboratory.com/for...2.html#post788

Thanks
Reply With Quote
  #5  
Old 13 Sep 2006, 14:36
redgoals22 redgoals22 is offline
 
Join Date: Feb 2005
Originally Posted by soletrader
www.TradersLaboratory.com

try loggin in with username redgoals22, pass: redgoals22

visit: http://www.traderslaboratory.com/for...2.html#post788

Thanks
2 problems.

1. the attachment link is pointing to an invalid file http://www.traderslaboratory.com/for...6overnight.jpg
2. you copied the code wrong at step 4,

change:
gallery-thumbs="" class="thickbox"

to:
rel="gallery-thumbs" class="thickbox"
Reply With Quote
  #6  
Old 13 Sep 2006, 14:40
soletrader soletrader is offline
 
Join Date: Jul 2006
Edited

Last edited by soletrader; 13 Sep 2006 at 15:15.
Reply With Quote
  #7  
Old 13 Sep 2006, 14:42
redgoals22 redgoals22 is offline
 
Join Date: Feb 2005
Originally Posted by soletrader
That is the code I used:




Anything wrong with this coding? Thanks
do it like this at step4

<a rel="gallery-thumbs" class="thickbox" href=
Reply With Quote
  #8  
Old 13 Sep 2006, 14:48
soletrader soletrader is offline
 
Join Date: Jul 2006
Thank you very much redgoal.... I managed to get it to work.

Great hack

First to install!
Reply With Quote
  #9  
Old 13 Sep 2006, 14:49
redgoals22 redgoals22 is offline
 
Join Date: Feb 2005
Originally Posted by soletrader
New code but still not working.
seems to be working fine here.. have u refreshed ur page?

ps: can u remove the code above in ur 2posts its stretching ma thread , thanks
Reply With Quote
  #10  
Old 13 Sep 2006, 14:52
soletrader soletrader is offline
 
Join Date: Jul 2006
Is there anyway to expand the lightbox to fit the actual image size?
Reply With Quote
  #11  
Old 13 Sep 2006, 14:55
redgoals22 redgoals22 is offline
 
Join Date: Feb 2005
Originally Posted by soletrader
Is there anyway to expand the lightbox to fit the actual image size?
i dont quite understand, when you click the link for the attachment the lightbox will open up the image to its fullsize or are you looking for something different?
Reply With Quote
  #12  
Old 13 Sep 2006, 15:17
soletrader soletrader is offline
 
Join Date: Jul 2006
My mistake.. i thought the lightbox forced the images into a certain size.
Reply With Quote
  #13  
Old 13 Sep 2006, 16:14
redgoals22 redgoals22 is offline
 
Join Date: Feb 2005
heres another version of the same script, but it will allow for larger sized attachments to be displayed full-size on the page

if u find it useful click install

edit: slight problem with the attachment it has been updated.
edit2: apologies for the attachment, it contained an old css file which was clashing with postbit_legacy, please use the new attached package
Attached Files
File Type: zip thickbox_v2.zip (17.4 KB, 55 views)

Last edited by redgoals22; 13 Sep 2006 at 20:09.
Reply With Quote
  #14  
Old 13 Sep 2006, 17:36
soletrader soletrader is offline
 
Join Date: Jul 2006
Thanks redgoals. Great hack!
Reply With Quote
  #15  
Old 13 Sep 2006, 19:44
nix's Avatar
nix nix is offline
 
Join Date: Mar 2005
had to uninstall. It was messing up the style of postbitlegacy. If I take out the headinclude edit everything is back to normal.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 09:20.

Layout Options | Width: Wide Color: