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)

brfrankl 07-25-2007 06:29 PM

How would I get this to work for IMG tags? Works so great for the rest, I want to use it there too ;)

Chadi 07-29-2007 08:28 PM

Getting w3 validation errors caused by this mod. Please help me correct them so they are valid w3 standard.
  1. https://vborg.vbsupport.ru/external/2010/10/16.png Line 712, Column 15: ID "highslide-container" already defined.</div><div id="highslide-container"></div>
    An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
  1. https://vborg.vbsupport.ru/external/2010/10/17.png Line 705, Column 9: ID "highslide-container" first defined here.<div id="highslide-container"></div>
  1. https://vborg.vbsupport.ru/external/2010/10/16.png Line 713, Column 9: ID "controlbar2" already defined.<div id="controlbar2" class="highslide-overlay controlbar2">
    An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
  1. https://vborg.vbsupport.ru/external/2010/10/17.png Line 706, Column 9: ID "controlbar2" first defined here.<div id="controlbar2" class="highslide-overlay controlbar2">

TheMilkCarton 07-29-2007 09:41 PM

Quote:

Originally Posted by chadi (Post 1304833)
Getting w3 validation errors caused by this mod. Please help me correct them so they are valid w3 standard.

I'm waiting on the more basic things, like fixing inline attachments which broke in 2.0.

Gaetan 08-06-2007 04:26 PM

thank you for this mod, i really like it :)

iDenis 08-06-2007 07:24 PM

I'm try install this mod on vB 3.6.8 and....

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'xxx'@'localhost' (using password: NO) in /admincp/plugin.php(1970) : 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(1970) : eval()'d code on line 11

john_robot 08-11-2007 07:18 AM

How to do this for IMG tag images ? pls let me know.

Thank you.

Tulsa 08-11-2007 01:46 PM

Quote:

Originally Posted by iDenis (Post 1311368)
I'm try install this mod on vB 3.6.8 and....

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'xxx'@'localhost' (using password: NO) in /admincp/plugin.php(1970) : 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(1970) : eval()'d code on line 11

Did you re-edit your config.php file when you upgraded to 3.6.8?

Elenna 08-16-2007 04:47 PM

Looking at the code from the Photopost add-on: https://vborg.vbsupport.ru/showthread.php?t=139202 I found a way to use BBCodes to show the thumbnail. I just need to figure out how to modify the existing [ img ] tags.

Here are my settings for the BBCode. Note: This is very rudamentary. Customize to your liking. I'll keep searching to see how I can modify the existing [ img ] tag with this.

In AdminCP>Custom BB Codes> BBCode Manager, scroll to bottom and click Add New.

Title: (whatever you want)
Tag: (whatever you want - to test, I'm using 'image')
Replacement:
HTML Code:

<a href="{param}"  class="highslide" onclick="return hs.expand(this,{slideshowGroup:'$post[postid]'})" target="_blank"><img src="{param}" width="100"></a>
Example: (Whatever you want)
Description: (Whatever you want)

Elenna 08-16-2007 05:18 PM

Update to above... looks like if you have the "Tag" portion of your code read 'img' it might just work ;) Testing some more just to make sure!

waller99 08-17-2007 01:43 AM

Quote:

Originally Posted by HDT (Post 1300750)
Installed but got problem.

When click on attachment showing loading but image doesnt come bigger or show on original size.

I have read thread from page 1-26 and make change like suggested,but problem doesnt solve.

I have installed nCode Image Resizer,is this hack should make highslide not working?

I am having the same problem. It worked when I first installed it about 6 hours ago, but now when you click on an attachment, it just stays loading and never enlarges. Do we have a fix for this?


All times are GMT. The time now is 10:07 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.01523 seconds
  • Memory Usage 1,747KB
  • 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_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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