vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Show Thread Enhancements - Resize IMG tag with Highslide! (https://vborg.vbsupport.ru/showthread.php?t=172024)

MissKalunji 03-29-2008 04:56 AM

no biggie thanks for letting me know i never noticed the error since i don't use IE

Quote:

Originally Posted by Tom_S (Post 1477373)
Was that the old js or the one I uploaded?

the old i didnt upload anything

Tom_S 03-29-2008 05:08 AM

Cool. I don't use IE either. I use Firefox. My members pointed it out.

extremesanity 03-29-2008 05:36 PM

Code:

<a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&amp;
d=$attachment[dateline]" class="highslide" onclick="return hs.expand(this)" id="attachment$attachment[attachmentid]">

<img class="thumbnail" src="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&amp;stc=1&amp;thumb=1&amp;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>" style="width: expression(this.width > 140 ? 80 : true);" />

</a>

&nbsp;<if condition="$show['br']"><br /><br /></if>

What elements of this do I need to add to my picture album templates in order to get the same functionality in user albums?

I already added
Code:

class="highslide" onclick="return hs.expand(this)"
but that is not enough to get it to work...

MissKalunji 03-30-2008 12:25 AM

i think you would need the pluging to be activated in the album area (cause righ tnow the plugin is only in showthread)

extremesanity 03-30-2008 05:21 AM

Quote:

Originally Posted by MissKalunji (Post 1477999)
i think you would need the pluging to be activated in the album area (cause righ tnow the plugin is only in showthread)

I tried to add the following to the xml file:

Code:

<plugin active="1" executionorder="5">
                        <title>HS IMG Tag Resize - HS 2</title>
                        <hookname>album_album_picturebit</hookname>
                        <phpcode><![CDATA[ // ThaiNgoc MyTu @ GiaiTriViet.De
                        $hs_resize_controlbar = '<!-- / start content table -->';
                        $vbulletin->templatecache['album_picturebit'] = str_replace($hs_resize_controlbar,$hs_resize_controlbar.fetch_template('hs_resize_controlbar'),$vbulletin->templatecache['album_picturebit']);
                        ]]></phpcode>
                </plugin>

But it didn't work.

I am starting to have the sneaking suspicion that I have no clue what I am doing. :D

furst 03-31-2008 02:14 AM

I don't think there's any point to use highslide in the albums. It's good for when there's more than one photo to browse through but the albums aren't arranged that way.

The albums need a simple resize mechanism like the one DeviantArt uses. Hopefully once we're into gold we'll see something like that be released.

macc 04-01-2008 11:03 AM

hello!

have one problem in user albums pictures... depent which style is used...

http://belaplay.com/vb/libar/album.p...id=5&styleid=8

have you some sugestion or help to use and get picture inside in style ...


have not this hack .. just ask for help

regards

macc

ten1nch 04-02-2008 04:22 AM

I installed, and everything is working flawlessly in firefox. I can't say the same for ie, though.

My only problem is the text color is yellow, and nearly transparent. How can I change it to a darker color? Thanks.

Oh, and is there any way to make the original image launch in a new window when resize is clicked?

TRABZONLUKAPLAN 04-02-2008 03:34 PM

Its just working with firefox well but it has some slowing problems with other browsers...

yathyo 04-03-2008 10:33 PM

I installed the plugin but it doesnt add the script required in the header :(


All times are GMT. The time now is 02:15 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.01444 seconds
  • Memory Usage 1,742KB
  • 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
  • (2)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