Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Lightbox/thickbox for attachment on CMPS module Details »
Lightbox/thickbox for attachment on CMPS module
Mod Version: 1.00, by rapidphim (Member) rapidphim is offline
Developer Last Online: Jun 2012 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.8 Rating: (0 vote - 0 average) Installs: 1
Released: 15 Oct 2007 Last Update: Never Downloads: 2
Not Supported Uses Plugins Template Edits Code Changes Additional Files  

This is my first add-on ever for vBulletin. Not sure if anyone ever posted this but here is the purpose of this add-on.

In order to have this add-on, you first need:

1/ vBadvance CMPS
2/ 3.6.x - Attachments with alternating left/right images by Glorify.
3/ Adding Lightbox to Attachment thumbs by imranbaig.

DEMO

Ok, here is how it works

1/ Go to your admincp, select your style, All style options, headinclude and put the below code at the end

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

2/ In the same style, go to Edit Template, vBadvanced CMPS Tempates, adv_portal_newsbits_attach_thumb, add on the red highlight item into your current code
<a rel="lightbox" href="$vboptions[bburl]/attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&amp;d=$attachment[dateline]"<if condition="$show['newwindow']"> target="_blank"</if>><img src="$vboptions[bburl]/attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&amp;stc=1&amp;thumb=1&amp;d=$attachment[thumbnail_dateline]" class="thumbnail" border="0" alt="<phrase 1="$attachment[filename]" 2="$attachment[counter]" 3="$attachment[filesize]" 4="$attachment[attachmentid]">$vbphrase[image_larger_version_x_y_z]</phrase>" /></a> &nbsp;
3/ Download, unzip and upload the files from this link:
http://www.vbulletin.org/forum/showthread.php?t=123235
Please keep the folders intact.

And that's it and thanks for reading this.

Download Now

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

Screenshots

Click image for larger version

Name:	screenshot1.jpg
Views:	182
Size:	125.2 KB
ID:	71105   Click image for larger version

Name:	screenshot2.jpg
Views:	154
Size:	27.6 KB
ID:	71106  

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
Lightbox/ThickBox works with Inline Editing redgoals22 vBulletin 3.6 Template Modifications 104 13 May 2008 23:28
vBPicGallery + Lightbox/Thickbox |oR|Greg vBulletin 3.6 Template Modifications 34 21 Oct 2007 23:46
vBa CMPS: Attachment Stats Module ericgtr vBulletin 3.5 Add-ons 3 21 Mar 2006 11:45
vBa CMPS: Attachment Stats Module ericgtr vBulletin 3.0 Full Releases 10 25 Dec 2004 13:14

Comments
  #2  
Old 15 Oct 2007, 18:50
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
cool idea - thanks for sharing. Would you happen to have a screenshot of such a setup? I can imagine how it might look, but would like to see an example as well.
Reply With Quote
  #3  
Old 15 Oct 2007, 19:41
rapidphim rapidphim is offline
 
Join Date: Feb 2007
What set up that you'd like to see the screenshot?
Reply With Quote
  #4  
Old 15 Oct 2007, 21:02
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
I would like to see a screenshot of an example cmps module
Reply With Quote
  #5  
Old 15 Oct 2007, 21:12
rapidphim rapidphim is offline
 
Join Date: Feb 2007
Set up of how it laid out on my site? sorry, I'm not quite understand the detail of your question.
Reply With Quote
  #6  
Old 15 Oct 2007, 22:04
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
nevermind
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


New To Site? Need Help?

All times are GMT. The time now is 10:49.

Layout Options | Width: Wide Color: