vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Mini Mods - highslide integration with vB attachments - lightbox alternative - inline too. (https://vborg.vbsupport.ru/showthread.php?t=139167)

kevcj 06-08-2007 11:54 AM

Mini2 - can this be made to work with VBpicgallery from http://www.cpurigs.com

kevcj 06-08-2007 06:22 PM

Yea their site has been down all day. I was hoping that it would be back up before you saw my post.

Redlgoals has a lightbox mod - https://vborg.vbsupport.ru/showthread.php?p=1264281

That has been ported to work with VBPicgallery - https://vborg.vbsupport.ru/showthread.php?t=126917

But, the lightbox by redgoals breaks the "attach" option to put the pictures in the middle of the post instead of at the bottom.

Yours does both, at the bottom and in the post. Plus I like how your mod keeps all the pictures the same size.

The ONLY reason I installed redgoals is to have the highslide in the VBPicgallery. Now my in the post pictures are broken, plus the VBpicgallery lighbox mod is not working. The lightbox picture appears a mile down the page in the bottom left hand corner.

So I have come here to ask for HELP!!!!

The vBPicGallery + Lightbox/Thickbox is three template edits. Can these PLEASE be tweaked to point towards your highslide feature??

kevcj 06-08-2007 08:22 PM

Thank you for looking at this.

Sorry, but now the image opens in a new browser window.

Steps I took:
Reinstalled the old version of your highslide lightbox (VB 3.6.5), even downloaded the newest version from http://vikjavev.no/highslide/

Removed all the code for redgoals lightbox and the VBpicgallery + redgoals mod code.

So I am back to your lightbox and its working with the inline line attachments as well. Which is where I am going to stay. Even if this does not work with VBPicgallery, I am going to stick with your lightbox.

Audentio 06-08-2007 09:20 PM

If it is set so that guests cannot view attachments, this doesnt override that, correct? Just making sure :p. Awesome work.

kevcj 06-08-2007 09:34 PM

Still a no go, the picture opens in a new browser window

kevcj 06-08-2007 10:22 PM

Thank you for your time. If you get a chance later, please give me a yell.

Smoothie 06-11-2007 02:00 AM

Are there instructions included in the zip file for what needs to be removed/undone from the previous version before installing the new product? Cause I forgot exactly what I added/edited when I first installed this. :p

IR15H 06-11-2007 04:31 PM

Quote:

Originally Posted by Smoothie (Post 1265907)
Are there instructions included in the zip file for what needs to be removed/undone from the previous version before installing the new product? Cause I forgot exactly what I added/edited when I first installed this.

Yes. The old install instructions are there, so you just work from that.


Having just updated from version 1 to 2, I get the following error when installing the product;
Quote:

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'ODBC'@'localhost' (using password: NO) in \admincp\plugin.php(1964) : eval()'d code on line 11

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in \admincp\plugin.php(1964) : eval()'d code on line 11
It still appears to work fine however.

Shazz 06-11-2007 05:17 PM

Complex mod, hard adding on to it

Mike-D 06-11-2007 06:34 PM

Quote:

Originally Posted by Shazz (Post 1266359)
Complex mod, hard adding on to it

Exactly! Sat almost 2 hours to make all template changes. Rechecked all files, Product, Templates. Nothing. It does not work. I'm really annoyed about all the time I have spend in it.

[Edited]
Quote:

Originally Posted by bjhuang (Post 1231789)
to simplify the installation:

1. download highslide js from http://vikjavev.no/highslide/
2. download this: Attachment 63395
3. put highslide files under your forumroot/highslide/
4. put highslide.css under forumroot/highslide/
5. import product-highslideattach.xml as a product
6. modify template "postbit_attachmentthumbnail",
insert this line to the top:
PHP Code:

<if condition="!$vboptions[highslide_active]"

insert this line to the end:
PHP Code:

<else />
<
a id="att_$attachment[attachmentid]class="highslide" onclick="return hs.expand(this, { slideshowGroup: '$post[postid]' })" href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&d=$attachment[dateline]"<if condition="$show['newwindow']"target="_blank"</if>><img class="thumbnail" src="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&stc=1&thumb=1&d=$attachment[thumbnail_dateline]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>
</if> 



Strange is: This posted way works excellent for me!!! Thank you so much, bjhuang!!! https://vborg.vbsupport.ru/external/2011/02/1.gif

I paid 30 bucks via Paypal to use it in my forum. I thinks it's worth all the effort for such a great Coder called Torstein H?nsi https://vborg.vbsupport.ru/external/2011/02/1.gif :)


All times are GMT. The time now is 04:02 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.04087 seconds
  • Memory Usage 1,761KB
  • 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
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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