vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Integration with vBulletin - Photopost gallery highslide vB thumbnail integration. (https://vborg.vbsupport.ru/showthread.php?t=139202)

Sakera 04-14-2007 06:28 PM

Quote:

Originally Posted by chadi (Post 1194244)
Anyone know how to apply this to vbgallery? I'm not a programmer, otherwise I'd help

I've just made this mod.

https://vborg.vbsupport.ru/showthrea...42#post1227642

Gizmo999 04-25-2007 05:18 PM

i'm not certain how to edit the domain link in step 5, can someone help please?. the domain is easy :) but i think the photos are stored in the default photopost path ie forum/photopost/data but then there are folders 1, 2 and 500 so should it be .mysite.com/forum/photopost/data ?

GlitterKill 05-09-2007 11:40 PM

Any idea why this code would not be added to the gallery pages even though it is in every single headinclude template for my forum styles?

Code:

<script type="text/javascript" src="http://pcapex.com/forums/highslide/highslide.js"></script>
<script type="text/javascript">

    // remove the registerOverlay call to disable the controlbar
    hs.registerOverlay(
        {
            thumbnailId: null,
            overlayId: 'controlbar2',
            position: 'bottom left',
            hideOnMouseOut: true,
            opacity: 0.75
        }
    );
   
    hs.graphicsDir = '/highslide/graphics/';
    hs.outlineType = 'rounded-white';
    window.onload = function() {
        hs.preloadImages(5);
    }
</script>
<link rel="stylesheet" href="http://pcapex.com/forums/highslide/highslide.css" type="text/css" media="screen" />


GlitterKill 05-10-2007 03:47 PM

Any help out there? This is such a strange problem... the code is in all headinclude templates in VB that I posted above yet the code is not showing when I do a view source on any of the gallery pages... Has noone else ever ran into something strange like this?

Edit: I have noticed that the code is not shown on the forum index page but is shown on the showthread page. Why would that be?

GlitterKill 05-10-2007 06:36 PM

I figured out a way to get around whatever in the world was going on (guess we'll never know). I simply added the container div and the code from the OP to the showphoto template.

http://gallery.pcapex.com/showphoto....cent?styleid=9

2 FN LOW 06-09-2007 07:04 PM

question for you...where is the option in photopost to display the code for a thumbnail? Also i get is the option to display a full size image, therefore this hack would be no use to me...Seeing how thumbnails would never be posted...I allow IMG tags but like i said, it only gives the tags for full size images.

htscpl 08-02-2007 08:02 PM

This is working great on my site! Thanks ** installs **

Elenna 08-16-2007 02:58 PM

Could we use this code to have it work with [ img ] tags in images?

If so, would it be as easy as ignoring all of the edits except for the global $post and in class_bbcode.php:

Replace
Code:

// standard URL hyperlink
return "<a href=\"$rightlink\" target=\"_blank\">$text</a>";

With:
Code:

return "<a href=\"$rightlink\"  class=\"highslide\" onclick=\"return hs.expand(this,{slideshowGroup:'$post[postid]'})\" target=\"_blank\">$text</a>";
?

Obviously do the other edits if you have Photopost...

AdeptusAstartes 08-24-2007 07:45 AM

u need a thumbnail too, this hack doesnt resize the image, i guess it wont work with img tags according to this

Alfa1 08-31-2007 09:44 PM

does this work for photopost pro?


All times are GMT. The time now is 04:26 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.01144 seconds
  • Memory Usage 1,737KB
  • 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
  • (3)bbcode_code_printable
  • (1)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
  • (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