Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-25-2007, 06:28 PM
brfrankl's Avatar
brfrankl brfrankl is offline
 
Join Date: Jul 2007
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default highslide for IMG BBCODE

Anyone have a hack for using the highslide stuff with IMG tags?
Reply With Quote
  #2  
Old 07-30-2007, 01:40 PM
soulplayer soulplayer is offline
 
Join Date: Mar 2004
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah this would be cool to
Reply With Quote
  #3  
Old 09-01-2007, 04:53 PM
salata salata is offline
 
Join Date: Nov 2003
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump
Reply With Quote
  #4  
Old 09-02-2007, 03:51 AM
Elenna Elenna is offline
 
Join Date: Jan 2006
Location: St. Charles, MO
Posts: 422
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

From my post in the Highslide thread:
https://vborg.vbsupport.ru/showpost....&postcount=392

You can add an additional [img] tag in BBCode, and it will get parsed in place of your regular img code.

Once you have Highslide installed and working for Attachments, here is what I did (not pretty, very rudamentary, but working!):

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

Title: Image
Tag: img
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)

Note: I added another BBCode called imgsmall which does NOT use highslide. I use this for instructions, etc, where the image itself is smaller than 100px, so it would make no sense to have a thumbnail for it.
I use the following replacement code:
HTML Code:
<img src={param} border=0>
Reply With Quote
  #5  
Old 09-02-2007, 06:10 AM
nix's Avatar
nix nix is offline
 
Join Date: Mar 2005
Posts: 975
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="https://vborg.vbsupport.ru/showthread.php?t=150491&page=47" target="_blank">https://vborg.vbsupport.ru/showt...150491&page=47</a>
Reply With Quote
  #6  
Old 09-02-2007, 05:57 PM
brfrankl's Avatar
brfrankl brfrankl is offline
 
Join Date: Jul 2007
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Elenna View Post
From my post in the Highslide thread:
https://vborg.vbsupport.ru/showpost....&postcount=392

You can add an additional [img] tag in BBCode, and it will get parsed in place of your regular img code.

Once you have Highslide installed and working for Attachments, here is what I did (not pretty, very rudamentary, but working!):

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

Title: Image
Tag: img
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)

Note: I added another BBCode called imgsmall which does NOT use highslide. I use this for instructions, etc, where the image itself is smaller than 100px, so it would make no sense to have a thumbnail for it.
I use the following replacement code:
HTML Code:
<img src={param} border=0>
Only problem is when there ia a [img] in the sig (didn't think of this before).. gonna have to play with this.... thanks fo the idea though...
Reply With Quote
  #7  
Old 09-02-2007, 11:13 PM
salata salata is offline
 
Join Date: Nov 2003
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by brfrankl View Post
Only problem is when there ia a [img] in the sig (didn't think of this before).. gonna have to play with this.... thanks fo the idea though...
please keep me updated if you find away around this, i'd like to know how to do that as well
Reply With Quote
  #8  
Old 09-03-2007, 05:30 AM
nix's Avatar
nix nix is offline
 
Join Date: Mar 2005
Posts: 975
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you guys check that link I sent? The mod I'm working on there does images with highslide also.
Reply With Quote
  #9  
Old 09-03-2007, 02:18 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am following this with much interest. I hope you find a way to make it less rudamentary.
Reply With Quote
  #10  
Old 09-25-2007, 06:38 PM
parabat parabat is offline
 
Join Date: Apr 2006
Location: South Africa
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Elenna, this works like a dream.:up: Thanx for your assistance in this one.

-PB
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04: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.05189 seconds
  • Memory Usage 2,257KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete