View Single Post
  #1  
Old 11-05-2006, 11:08 AM
jahshaka jahshaka is offline
 
Join Date: Jan 2006
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Help with VBCode!

Hi,

I hope someone here can assist me, my board is growing rapidly and I really need help figuring out whats up with VBCode and link-ins. I took over a site a year ago that was running vb3, upgraded it to vb3.5 but there are some inconsistencies between my vbcode feature list and the list on vbulletin.org

here's your list
https://vborg.vbsupport.ru/misc.php?do=bbcode

here is my list
http://www.vfxtalk.com/forum/misc.php?do=bbcode

the first problem i am having has to do with the ALIGN_L tags which are on my site but i cant find in your list? are these a custom hack job? i used to post all news stories with the following:

[ALIGN_L=http://www.vfxtalk.com/newsimages/dmn_pshop_fur.jpg]http://www.adobe.com/products/productionstudio/[/ALIGN_L]

the problem with this was that its link out only and spawns a new window when you click on the image. so for articles on my site i have had to use a html block instead to get the redirect to not spawn a new window and to 'link in'

<a href="http://www.vfxtalk.com/forum/showthread.php?t=5950" target="_self"><img src="http://www.vfxtalk.com/newsimages/lustre_hd_thumb.jpg" align=left border=0 width="160" height="90"></a>Award-winning Los Angeles visual effects and design company etc

(see http://www.vfxtalk.com for how this looks)

the html works fine however the problem is that the raw html text gets eamiled out to the users who have subscribed to the thread as well as is apparent in my RSS feed

http://www.vfxtalk.com/forum/external.php?type=rss2

s0 i tried the following vbcode which works well but the image alignemnet is all screwed up, instead of being left aligned to the text, its left aligned and the story starts after the image

[thread=7298][img]https://vborg.vbsupport.ru/[/img][/thread]Award-winning Los Angeles visual effects and design company etc

Award-winning Los Angeles visual effects and design company etc

i have tried wrapping the code above with [LFT] and [align=left] and even [floatleft] but the code doesnt work - are these not 3.5 vbcode features?

so i guess my question is, is there a way to do what i want to do with pure vbcode in 3.5, which i know will get properly stipped from the email replys and the rss feeds, and do i need to upgrade to vb3.6 in order to do this? and if i upgrade, whats the right code combination to get what i want?

hope its not too much to ask!

heh

ok so a little3 digging and i answered my own question here...

ALIGN_L is a custom bbcode a previous admin made, so i went into the control panel, to the bbcode manager, duplicated it under a new tag and changed the html in it to link to _self and it works like a charm!
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01625 seconds
  • Memory Usage 1,770KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete