The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi, I am trying to enable Javascript in articles in my CMS. I want to basically place a music player in some of my blog posts, but it doesn't render.
Example: PHP Code:
Thanks |
#2
|
||||
|
||||
![]()
And what is the result of adding that - can we get a link to see it? And, does your usergroup have permission to post html in articles?
|
#3
|
|||
|
|||
![]()
I am an admin and yup the permissions are set.
The result of that code is a media player like here: http://hulkshare.com/l5y5kx6n8nu2 I found other people have placed mp3 players in their forums by adding an mp3 BBcode tag with <embed src="{param}" /> but when I do that it works fine in the BBCODE preview window but when I post on my forums it comes up as: http://www1.hulkshare.com/d/6wg7ekoe5kuss3pdfwbacwrfujhvclx3246ksc7vr4/The%20Game%20-%20No%20Seeds%20(Produced%20by%20dr.dre)%20Studiol eaks.info.mp3" /> So I'm not too sure. I need an MP3 media player |
#4
|
||||
|
||||
![]()
I'm confused by your first statement. You say you want to be able to put javascript in your CMS articles. Then you say you want to put it in your blog posts. The CMS articles and blog posts have nothing to do with each other. Then you talk about making BBCode and told us what the result is, but didn't both to tell us what you used in your bbcode and what the expected result should have been.
Exactly what is it that you want to be able to do? I cannot tell at all what you want from your descriptions. |
#5
|
|||
|
|||
![]()
My apologies for being confusing, I was just trying 100 different things at once and ended up getting confused in what I was trying to say.
I have managed to embed a media player using a custom BBCode on my CMS site but I am getting one peculiar error. On the main page of my CMS, my post with the media player in it shows a big black border around it and I'm not sure why.: ![]() When I go into the physical post, the black border is gone: ![]() Why would the black border show up on my CMS home page but not inside the actual post? I checked the source code of both pages and the html is the exact same. For reference, the code I custom BBCode I am using is: PHP Code:
Disable BB Code Within This BB Code: Yes Disable Smilies Within This BB Code: Yes Disable Word Wrapping Within This BB Code: Yes Thanks for your help. Hopefully I was less confusing this time. |
#6
|
||||
|
||||
![]()
I would need a link to the CMS article in order to see why you are getting a black border. it's probably just some CSS on the page that you would be able to change. You could see it yourself if you have firebug for firefox to look at CSS.
|
#7
|
|||
|
|||
![]()
Yup, my object on the main page was inheriting the .showobjectpreview css style which was giving it a weird size and border. Thanks for your help
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|