vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   vBulletin Attachment Lightbox (https://vborg.vbsupport.ru/showthread.php?t=115701)

JohnBee 05-18-2006 12:45 AM

Success!

I dropped the imageload.gif /forum/ dir and remove the external paths from the script and it now works just like the demo!

Looks great!
Hope this helps someone else gat passed the lost navigation buttons :D

The last itty bitty thing I noticed is that your demo has the image name and some attributes :)
How did you get this?

Ntfu2 05-18-2006 03:10 AM

Check the second post, it has tons of extra features you can implement :D

hope that helps as well

JohnBee 05-18-2006 12:53 PM

Thats awesome Ntfu2, I did the mod and its perfect!
I totally love this hack.. can't say it enough

Heres a few small performance tips for all you fans out there.
  1. The biggest single performance hit you can receive with this MOD is if "show similar threads" is enabled in the same forum as this mod. Turning it off for the assigned forum will greatly increase performance.
  2. Additionally if you have a dedicated forum for images and media, you can create a child template, reserve the template changes to that template and assign it to your specified forum.

Hope this helps and good luck with this great hack!

grains 05-18-2006 02:25 PM

I've been looking for something like this for about a year now.....HOTM

Kanustep 05-18-2006 04:13 PM

Any change to make this working with inserting images and not just for attach images?!

Ntfu2 05-18-2006 04:28 PM

not yet, it does work with [attach] tags now though check the second post.

SkyCatcher 05-18-2006 05:31 PM

hmmmmm

When I add

Code:

<!--LightBox By Dave At FightRice -->
<if condition="$show['thumbnailattachment']">
<script type="text/javascript" src="clientscript/prototype.js"></script>
<script type="text/javascript" src="clientscript/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="clientscript/lightbox.js"></script>
<!-- / Light Box -->
<else />
<!-- Nothing To Load Here-->
</if>
<!-- /LightBox -->

to the top of my postbit_legacy template I can't quick edit posts anymore.

I click edit (the little quick edit box pops up) and both save and cancel (abort) buttons don't function anymore.... this only happens in threads where there's an attachment...

When I remove the code from postbit_legacy the quick edit buttons function again, regardless of attachments or not so it's got to do with the javascript.

Any ideas before I spend hours troubleshooting this?

Ntfu2 05-18-2006 06:07 PM

I have no clue, I havent experienced that on my own forums yet :-\

vibe 05-18-2006 06:21 PM

Danggggggggggg installed!!!

Ntfu2 05-18-2006 06:22 PM

dont forget to click it ;)


Thanks
-Dave


All times are GMT. The time now is 03:40 AM.

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.01318 seconds
  • Memory Usage 1,733KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete