Go Back   vb.org Archive > Community Central > Community Lounge

Reply
 
Thread Tools Display Modes
  #11  
Old 07-22-2014, 11:20 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
Just remember that the reason they dont use the lightbox atm is because it opens them in a page where you can add comments. You would lose that.
not if he limits the container division to the album_picturebit template (remember it is only one image in gallery)

--------------- Added 22 Jul 2014 at 12:14 ---------------

For some reasons I could not do it with vB lightbox so I used jQuery.
Let me know if this is what you wanted and I will upload a zip for you. You will no longer be able to move to next image when you click on image. You'll have to click on the next / previous navigation links

http://www.vbcover.com/customdev/use...ttachmentid=36
Reply With Quote
  #12  
Old 07-22-2014, 05:27 PM
K4GAP K4GAP is offline
 
Join Date: Mar 2008
Posts: 1,255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lionel View Post
not if he limits the container division to the album_picturebit template (remember it is only one image in gallery)

--------------- Added 22 Jul 2014 at 12:14 ---------------

For some reasons I could not do it with vB lightbox so I used jQuery.
Let me know if this is what you wanted and I will upload a zip for you. You will no longer be able to move to next image when you click on image. You'll have to click on the next / previous navigation links

http://www.vbcover.com/customdev/use...ttachmentid=36
Yes I like that, that's what I would like to have. And per Paul's comment, I'm not real crazy about comments on photo's anyway. If it becomes a problem later, I'll just ban the complainer j/k
Reply With Quote
  #13  
Old 07-22-2014, 06:35 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry I just came back. I tried to reply via my iphone but for some reason it won't accept my password. Third time it is doing this to me. You do not need to worry about Paul's comment. You won't be affected at all. It is valid only if you were viewing album.php?albumid=XX. In your case you are viewing a single attachment. Upload the folder and all it's content to your forum root.
Replace the entire template with the content of same name text file. That's it. If you think the image is too small simply adjust the size in the style. I had to reduce it since there was no thumb for it

Now that was done for 4.2.2

If it's for a different version let me know and I will post the changes


--------------- Added 22 Jul 2014 at 15:58 ---------------

I removed the zip and will PM you a link so non registered do not have access to it
Reply With Quote
  #14  
Old 07-22-2014, 10:11 PM
K4GAP K4GAP is offline
 
Join Date: Mar 2008
Posts: 1,255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lionel View Post
Sorry I just came back. I tried to reply via my iphone but for some reason it won't accept my password. Third time it is doing this to me. You do not need to worry about Paul's comment. You won't be affected at all. It is valid only if you were viewing album.php?albmid=XX. In your case you are viewing a single attachment. Upload the folder and all it's content to your forum root.
Replace the entire template with the content of same name text file. That's it. If you think the image is too small simply adjust the size in the style. I had to reduce it since there was no thumb for it

Now that was done for 4.2.2

If it's for a different version let me know and I will post the changes


--------------- Added 22 Jul 2014 at 15:58 ---------------

I removed the zip and will PM you a link so non registered do not have access to it
Thanks a bunch!
I'll give it a try when I get back home.

--------------- Added [DATE]1406072985[/DATE] at [TIME]1406072985[/TIME] ---------------

B I N G O !!!

Works perfectly. It does exactly as I wanted.

Thanks sooo much for this.
Reply With Quote
Благодарность от:
Lionel
  #15  
Old 07-22-2014, 11:32 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Jquery is very powerful. In fact I started playing with vB 5.0 using it. In one page entire script will be: e.g. shopping cart, auctions, reviews etc ... Just Ajax and click action, just like you see on original link when you want to see different pages. This way I won't have to attempt playing with all the jumbo mambo of 5.0
Reply With Quote
  #16  
Old 07-23-2014, 01:40 AM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You should post this as a template edit in the modifications area or in the least as an article showing how to change from one to the lightbox, just a suggestion and it would also help others who might want to do similar .
Reply With Quote
  #17  
Old 07-23-2014, 04:43 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't mind helping someone on a one to one basis but I can't deal with entire population. I have no patience to answer silly questions such as How to upload a file or how to do an edit.
Reply With Quote
  #18  
Old 07-23-2014, 06:01 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^ Well you can still place up info then simply say "Not Supported" or "You're on your own" or even "Fend for yuuuurselves" and can actually never visit the thread again ever... that is if you can do that and want to .

Quote:
Originally Posted by YODA
Do or do not. There is no try.
Reply With Quote
  #19  
Old 07-23-2014, 06:48 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have lots of nice scripts I could release here, but due to the fact that I recently got cheated by a member here I will never release anything so that dishonest member never get to enjoy one line of my work. I simply can't deal with dishonests and liers. Last week a customer came back to tell me that after 6 months some work I did for him stopped working and very nicely asked for help. I troubleshooted for him and indicated the solution to that sudden behavior. The guy was so happy he sent me a non requested PayPal to thank me.
Reply With Quote
Reply

Thread Tools
Display Modes

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


All times are GMT. The time now is 08:43 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07656 seconds
  • Memory Usage 2,253KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (9)post_thanks_box
  • (1)post_thanks_box_bit
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete