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)

Ntfu2 05-16-2006 03:55 PM

Quote:

Originally Posted by Gizmo5h1t3
Shame The Prev And Next Buttons Cant Be Got To Work Properly, That Would Just Set It Off Nicely....


Hack Is Excellent Btw...


check the second post

bashy 05-16-2006 04:31 PM

Hi

Since installing this, when i submit a quick reply it posts the reply but gives a blank screen, I have to click back then refresh to see it :(

Any ideas please?

bashy 05-16-2006 04:57 PM

Hi again...

Its deffo this hack, As soon as i removed
Code:

<!--Light Box By Dave At FightRice -->
<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 -->

From the postbit_ip the quick reply is perfect again, is this 100% correct postbit_ip and not just postbit?

Ntfu2 05-16-2006 04:58 PM

Bashy,

Do you have any other mods that do a template edit to the postbit?

Lady Divus 05-16-2006 05:01 PM

Quote:

Originally Posted by Barakat
this is the same hack with a small changes....
to resize the picture to a small view and after pressing on it it will open in its original size >

u can increase or decrease the size pic code

PHP Code:

if($NLP[0] > 500

make it 800 or 400 and it will work perfect .

and about the picture u can do like it and write inside it


press here to view the picture in its original size or what ever u want to wirte inside it <>

you will save you style in a nice way

Interesting, i was going to ask how to make the image open in a smaller size. I need to know, exactly where does this little piece of code go?
PHP Code:

if($NLP[0] > 500

Which template and where? Also, i need to know if you are referring to resizing the image, not the thumbnail?

For instance: My thumbnails are set at 100x100, this is just how i want them, but when i click the thumb, the hack works perfectly, but the image is showing in its original size of 1024x740. I want the image to show as 624x340 and then have an option inside there to view original size. Is this what your code change does? Please inform, and if not, how can i make it do the way i want? Thank you for your help.

Ntfu2, this is indeed the best hack thus far i have seen. I will be voting for it. Thank you -

Lady Divus

Ntfu2 05-16-2006 05:23 PM

Quote:

Originally Posted by bashy
Hi

Since installing this, when i submit a quick reply it posts the reply but gives a blank screen, I have to click back then refresh to see it :(

Any ideas please?

You should be all fixed up right now.

I've found small bug in instructions, and will be updating them tonight when i get home :D

bashy 05-16-2006 05:43 PM

Thank you very much for ya help m8...

Just a small note, I did do the instructions in the 2nd post yet in that admin thread in my place your images did not show the other buttons?

Is this actually not working yet?

Dr.Viggy 05-16-2006 05:46 PM

i have the prev and next buttons working fine

bashy 05-16-2006 05:48 PM

oh...perhaps me missed sommat then...best go check me thinks :o

Ntfu2 05-16-2006 05:49 PM

I have to update the first post and install instructions, This became a mess when it got some what popular.

If you cant get it working, check back later tonight when i have time i'm going to tidy everything up


All times are GMT. The time now is 10:58 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.01275 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)bbcode_php_printable
  • (3)bbcode_quote_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