The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
highslide integration with vB attachments - lightbox alternative - inline too. Details »» | |||||||||||||||||||||||||||
highslide integration with vB attachments - lightbox alternative - inline too.
Developer Last Online: Oct 2010
Gone
Show Your Support
|
Comments |
#272
|
|||
|
|||
Does anyone else have the same issue?
Every attachment jpeg shows up twice on a post Here are a few examples: http://www.valleyscuba.com/forum/sho...05&postcount=1 http://www.valleyscuba.com/forum/sho...50&postcount=2 http://www.valleyscuba.com/forum/sho...11&postcount=5 |
#273
|
|||
|
|||
I just upgraded my forums to 3.6.7 and also updated the highslide install as well. Everything appears to be working perfectly.
Thanks a lot. |
#274
|
||||
|
||||
Sorry m² but I think I screwed up.
I have the newest version of vB installed and the newest version of highslide (yes I was happy to pay for it) Well I followed the directions in the text file and at the start of this thread. When I modify the Highslide Main Function and the Highslide Attachment Thumbnail scripts my thread page does not load at all. No error, just no page is parsed. When I change it back the page generates and loads fine. Just the Image pop up does not work. it just says loading but nothing does. Sorry dude I messed up your good work. Any clue where to send me to find what I did wrong? Thanks |
#275
|
||||
|
||||
Forgot to say, this is running on my dev server so it's a windows 2003 with myphp 5+ installed and the most current php is installed too. I find no other errors because of the windows but that may be the answer.
I assume because the eyeglass image loads that the highslide scripts are being called ok. The page attachment.php does not load at all and no errors are generated either by the script or on the server. I just have not coded in php in to many years. Been doing .NET and c# for way to long now I think I forgot most other languages. |
#276
|
|||
|
|||
Great hack, but I have got two problems:
1. Has anyone been able to figure out what exactly causes the problem of attachments showing up twice? 2. I have installed this hack on both of my Vb forums and I can't get inline attachments to work in either one of them. Please see this example; http://www.aekplanet.com/showthread.php?t=147 It's a post with attachments that appear twice, AND an inline attachment that doesn't work (it simply opens in a new page). Can anyone help on this? |
#277
|
||||
|
||||
ty for great hack *installed*
pls some help! i cant figure out how to set [attcap=135]allegato[/attcap] caption bbcode working. it wont parse anything at all. while [attach] is running as a charm! I have also added - on bb manager - the bb button (image) and set {Use}options = YES on the bb section where the code was already well placed automatically by the hack itself. my forum is vB367pl1 and the hack is highslide integration with vB attachments2.0/ release 01 jun hislide just downloaded (newest) and perfectly working on attachments & with photopost integration. what i messed up? apologises for my terrible itanglish take care ciao p.s. I would love to see this hack also working on 'preview post' situation. |
#278
|
|||
|
|||
installed..thank you
|
#279
|
||||
|
||||
Very Cool ! Going to test it out. Thanks for the hard work on this one! ** clicks installed **
|
#280
|
|||
|
|||
i am gettign
this error on my forum when i add the center code error Code:
Parse error: syntax error, unexpected T_STRING in /home/zonamusi/public_html/tu_zona/global.php(341) : eval()'d code on line 3 Fatal error: Call to undefined function: highslide_attachment_replace() in /home/zonamusi/public_html/tu_zona/includes/class_bbcode.php(345) : eval()'d code on line 3 Code:
$vbulletin->templatecache['postbit_attachmentthumbnail'] = str_replace('href=\"attachment.php','id=\"att_$attachment[attachmentid]\" rel=\"'.$slashurl.'_slash_attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&d=$attachment[dateline]\" class=\"highslide\" onclick=\"return hs.expand(this, { slideshowGroup: \'$post[postid]\', align: \'center\' })\" href=\"attachment.php',$vbulletin->templatecache['postbit_attachmentthumbnail']); Code:
function highslide_attachment_replace($in) { global $post, $attachment; return preg_replace('/<a href="([^"]*)" target="_blank"><img src="([^"]*)" class="thumbnail" border="0"/','<a class="highslide" onclick="return hs.expand(this, { slideshowGroup: '.$post[postid].', align: 'center'} )" href="\\1" id="att_'.$attachment[0].'" target="_blank"><img src="\\2" class="thumbnail" border="0"',$in); } |
#281
|
|||
|
|||
Hi!
The center code also caused that error when I tried it. (vBulletin 3.6.7) Instead, I change the file "highslide.js". Look for: Code:
align : 'auto', // position in the client (overrides anchor) That worked for me. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|