vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Custom BBCode help (https://vborg.vbsupport.ru/showthread.php?t=213428)

soundbarrierpro 05-11-2009 07:18 PM

Custom BBCode help
 
I have a video section on my site which many of my members use the links from the videos to discuss a topic in the forum.

In my forum, I'm able to automatically embed urls from sites like youtube, veoh etc. with custom BBCodes found here at vbulletin.org.

I'd like to have my member base to be able to automatically embed the videos in the forum from my video section with a custom BBCode for my own site urls.

Is this possible? I'm using vbtubepro which is a video viewing portal sold as a vbulletin add-on script similar to phpmotion.

I tried re-configuring one of the youtube BBCodes here as a test but fail miseerably.

Any help is greatly appreciated.

Thank you

1Unreal 05-11-2009 09:51 PM

Post the embed HTML code here so we can try to help

chick 06-17-2009 09:49 PM

Here is the code, I tried modeling it after youtube code but no luck. I too use vbtubepro too and all videos are uploaded and hosted on my server (note I have my site blanked out my site per rules and porn)

Code:


<object type="application/x-shockwave-flash" data="http://mysite.net/mediaplayer/player.swf" width="425" height="362"><param name="movie" value="http://mysite.net/mediaplayer/player.swf" /><param name="bgcolor" value="#000000" /><param name="FlashVars" value="file=http://mysite.net/vbtube/upload/flv/24294059.flv&autoplay=false&width=425&height=362&volume=80&site=0&vorschau=http://mysite.net/vbtube/upload/thumb/24294059.jpg"/></object>

and the html link for the above object code is

http://mysite.net/vbtube_show.php?do=tube&tubeid=908

and using [vbtube]24294059[/vbtube]

I did manage to get this to work... only problem is tube bbcode example of [vbtube]2144705[/vbtube] plays the object code example ...... never the new bbcode numbers to another video.

Any help?


All times are GMT. The time now is 09:01 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.01002 seconds
  • Memory Usage 1,713KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete