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)

ryancooper 05-16-2006 12:27 PM

It opens the images in the same window.

see here:

http://www.talkdisney.com/forums/sho...416#post339416

Dr.Viggy 05-16-2006 01:11 PM

you don't have guests set to view attachments so i get a login screen...

ryancooper 05-16-2006 01:54 PM

Duh. Sorry about that. Changed. . . ;)

Ntfu2 05-16-2006 01:56 PM

still working good in firefox for me on your site.

Try pressing CTRL+F5

Dr.Viggy 05-16-2006 02:06 PM

and i tested in ie7 with no problems

Impreza04 05-16-2006 02:15 PM

Working for me.. and strangly I was planning to request this soon but this does exactly what I wanted.

[high]* Impreza04 Nominates for HOTM[/high]

Anyway you can reduce the size of the JS files & get thumbnails shown via BBCode to display like this :)

Good Job

sensimilla 05-16-2006 02:20 PM

Does it work with your previous hack https://vborg.vbsupport.ru/showthread.php?t=115076 ?

TIA

Ntfu2 05-16-2006 02:27 PM

Yes it should, but i dont have both installed at the same time right now

ryancooper 05-16-2006 02:41 PM

Quote:

Originally Posted by Ntfu2
still working good in firefox for me on your site.


Try pressing CTRL+F5


I will have to take your word. for the life of me i cant get it to work on firefox at work. I deleted cache, cookies, did the F5.

Must be something with my borwser at work.


THanks!!

TeddyKGB 05-16-2006 02:46 PM

Hopefully someone can kindly assist me. I followed the steps on the first post of the thread (instead of the attached txt file), then uploaded the files to the appropriate folders. I then attached a sample thumbnail but when I click on it all it does is open the image on a white page, no cool effects.

Here is the sample

Sample thumbnail

Thank you in advance for any help.

bashy 05-16-2006 02:53 PM

This is brill and works well in FF 1.5 and IE 7 beta :)
Well done m8, if i see it it will be voted for :)

bashy 05-16-2006 02:55 PM

Your jpg is not showing as a thumbnail, also i cannot see the image as a guest...so i cant look to see whats happened sorry!!


Quote:

Originally Posted by TeddyKGB
Hopefully someone can kindly assist me. I followed the steps on the first post of the thread (instead of the attached txt file), then uploaded the files to the appropriate folders. I then attached a sample thumbnail but when I click on it all it does is open the image on a white page, no cool effects.

Here is the sample

Sample thumbnail

Thank you in advance for any help.


TeddyKGB 05-16-2006 03:07 PM

Guests now should be able to see what I see.

Here is a screen shot of what I see.
Attachment 47599

Thanks

Ntfu2 05-16-2006 03:20 PM

Its not set up to parse directly from the post like that yet, did you use the [attach] code for that?

Works good here: http://www.theclemsonboard.com/showt...1485#post11485

I'm going to investigate the [attach] bbcode and see what i can add to it :D

Gizmo5h1t3 05-16-2006 03:22 PM

got mine working in IE6 with seemingly no problems.....

but its weird...some work, and some just open as normal...lol

Ntfu2 05-16-2006 03:25 PM

gotta give it some time to load the first few times.

After that you'll be good to go :D

TeddyKGB 05-16-2006 03:27 PM

Yeah I uploaded a file from the desktop and then used the paperclip bbcode icon which uses the [attach] code. But your post worked beautifully.

What did you do?

Thanks!

Ntfu2 05-16-2006 03:32 PM

i used the manage attachments button, then simply uploaded thru the popup window and dont use the [attach] code to put it in the post.

Soon though you'll be able to use the attach code ;)

Gizmo5h1t3 05-16-2006 03:33 PM

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

Hack Is Excellent Btw...

TeddyKGB 05-16-2006 03:36 PM

NtFU - thank you for your hard work I really appreciate it.

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

bashy 05-16-2006 05:51 PM

ooo...just notice Ntfu2 is in there again, best leave it alone...

I have just clicked the image and it automatically goes to the next image
but it aint showing the buttons :)

EDIT: ok Ntfu2, cheers for all ya help m8, its much appreciated :)

bashy 05-16-2006 06:03 PM

Does anyone else find this in Firefox...
When you 1st view the image its just normal (as it was before)
then when you refresh the page it shows it as its meant with this hack?

This only applies to Firefox and is 100% in IE
Also the page is still pretty slow to load for me Ntfu2 (that thread you started)

babynino 05-16-2006 06:11 PM

This is awesome! perfect for a mac discussion forum with aqua-soft theme... It's just perfect! Will vote for hack of the year! ;) Thanks for porting this to vB.

Installed.

Dr.Viggy 05-16-2006 06:21 PM

Quote:

Originally Posted by bashy
Does anyone else find this in Firefox...
When you 1st view the image its just normal (as it was before)
then when you refresh the page it shows it as its meant with this hack?

This only applies to Firefox and is 100% in IE
Also the page is still pretty slow to load for me Ntfu2 (that thread you started)

i have this issue. it's just that the js files take a second to load. if you wait (give it like 10 seconds to be generous) and THEN click, it should load the hack properly immediately

bashy 05-16-2006 06:45 PM

Ah so i see, me just being impatient :o
Cheers for that m8 :)

Quote:

Originally Posted by Dr.Viggy
i have this issue. it's just that the js files take a second to load. if you wait (give it like 10 seconds to be generous) and THEN click, it should load the hack properly immediately


Lady Divus 05-16-2006 06:52 PM

Quote:

Originally Posted by bashy
Does anyone else find this in Firefox...
When you 1st view the image its just normal (as it was before)
then when you refresh the page it shows it as its meant with this hack?

This only applies to Firefox and is 100% in IE
Also the page is still pretty slow to load for me Ntfu2 (that thread you started)

It also does it in IE bashy. But it is a matter of being patient to allow the js to load...Be well -

Lady Divus <----Isnt patient either ;)

LincolnForums 05-16-2006 07:47 PM

Installed, thanks

Oddjob 05-16-2006 07:56 PM

Im kinda confused on how to update this from the one released yesterday.

Which template edits do i re-do?

The instructions are rather vague.

Dr.Viggy 05-16-2006 08:07 PM

Ntfu2 will be updating the instructions this evening to make everything clear and concise. hang in there for his update

Ntfu2 05-16-2006 08:51 PM

Working on the right now,

expect the neat and formated post in 30 minutes


All times are GMT. The time now is 12:53 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.01425 seconds
  • Memory Usage 1,820KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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