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)

da420 04-30-2007 06:41 AM

Thanks for this.

Im not seeing the controls. Any suggestions?

chriswatson 04-30-2007 03:56 PM

I'm having major problems getting this script to run with vbseo turned on. If i turn vbseo off it works fine but with vbseo turned on the image just shows Loading all the time after you've clicked it to enlarge.

anybody running this with vbseo ?

Chris.

phill2003 04-30-2007 04:42 PM

Quote:

Originally Posted by chriswatson (Post 1238305)
I'm having major problems getting this script to run with vbseo turned on. If i turn vbseo off it works fine but with vbseo turned on the image just shows Loading all the time after you've clicked it to enlarge.

anybody running this with vbseo ?

Chris.


Yea I reckon you will need a rewrite rule to stop vbseo from rewriting the urls when you have highslide installed :)

Chadi 05-01-2007 12:15 PM

How do I change the border color from the default grey (around the image that is) to yellow?

mhackl 05-01-2007 02:29 PM

Quote:

Originally Posted by phill2003 (Post 1238328)
Yea I reckon you will need a rewrite rule to stop vbseo from rewriting the urls when you have highslide installed :)

Can anyone shed some light on what that rule might be? I'm working on a project that will use both highslide and vbseo and I'd like to get this one figured out. Unfortunately, I lack the required knowledge to figure this one out myself.

phill2003 05-01-2007 03:05 PM

best bet is to ask at vbseo mate, they should support you with this as it is their software that is causing the problem...

gothicuser 05-01-2007 04:30 PM

Quote:

Originally Posted by mhackl (Post 1238951)
Can anyone shed some light on what that rule might be? I'm working on a project that will use both highslide and vbseo and I'd like to get this one figured out. Unfortunately, I lack the required knowledge to figure this one out myself.

I created an attachment.php rewrite rule, made no difference at all :(

mhackl 05-02-2007 07:00 PM

A support ticket has been submitted with vbseo but there's been no response as of yet.

chriswatson 05-06-2007 03:34 PM

OK i've heard back from vbseo and got it working :)

Step 1)

If you've already made the template changes for the highslide mod you only need to add the part in RED

Edit postbit_attachmentthumbnail template.
Replace:

Code:

<a 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>
With:

Code:

<a rel="novbseo" 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>
Step 2)

Manually enable VBSEO_ALLOW_REL_NOVBSEO option in config_vbseo.php file: (config_vbseo.php is in your includes folder)

Find-

Code:

define('VBSEO_ALLOW_REL_NOVBSEO',  0);
Change to-

Code:

define('VBSEO_ALLOW_REL_NOVBSEO',  1);
And after that the highslide hack will work with vbseo.

Panagioths 05-06-2007 06:24 PM

Thnx a lot for the heads up. You saved me a lot of time! :D


All times are GMT. The time now is 08:49 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.01339 seconds
  • Memory Usage 1,745KB
  • 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
  • (4)bbcode_code_printable
  • (3)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