Script codes in the forums
4 posters
Page 1 of 1
Script codes in the forums
Just curious here, but I've added some script codes in my forum (before anyone asks, YES; HTML's are authorized on the forums), now the funny thing is, is that they look really great in the post preview mode but when I send the post, all I see is the code itself. Any ideas as to why it works in preview but not once it's sent?
vikingdriver- Forumember
- Posts : 75
Reputation : 0
Language : english
Re: Script codes in the forums
Hi Vikingdriver,I'm not to sure about why this is happening to you right now. But I have heard other members say they had similar problems with there embed youtube video codes on there forums, that happened the same way. I wonder if it is a temporary glitch at this time due to the recent server issue this passed week. Like the system is resettling, so to speak. Does it happen on and off for you or does it just not work at all?
Nessa- Energetic
- Posts : 6203
Reputation : 128
Language : English
Re: Script codes in the forums
It actually happens everytime when I'm trying an "object embed." Regular HTML coding works just fine as in bold, center, table, and such. but not with embedding for some obscene reason.
This is what it's supposed to look like (works on the sister site but only through scripting in the footer) and this is what it looks like on the forumotion site:
**NOTE** The tables work yet only the coding for the object appears and the neat thing about that is... each script appears neatly into it's own table window as it should be.
<span id="postscript" style="display:none;">
<table width="600" height="300" cellpadding="4" cellspacing="1" border="0">
<tr>
<td width="150" height="100%" class="windowbg2" vAlign="top">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="195" height="450" id="TitleWidget_Small" align="middle">
<param name="allowScriptAccess" value="always" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="http://us.macmillan.com/swf/TitleWidget_Small.swf?isbn=9780765301475&srcdomain=us.macmillan.com" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="http://us.macmillan.com/swf/TitleWidget_Small.swf?isbn=9780765301475&srcdomain=us.macmillan.com" quality="high" bgcolor="#ffffff" width="195" height="450" name="TitleWidget_Small" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>
</td><td width="150" height="100%" class="windowbg2" vAlign="top">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="195" height="450" id="TitleWidget_Small" align="middle">
<param name="allowScriptAccess" value="always" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="http://us.macmillan.com/swf/TitleWidget_Small.swf?isbn=9780765315014&srcdomain=us.macmillan.com" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="http://us.macmillan.com/swf/TitleWidget_Small.swf?isbn=9780765315014&srcdomain=us.macmillan.com" quality="high" bgcolor="#ffffff" width="195" height="450" name="TitleWidget_Small" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>
</td><td width="150" height="100%" class="windowbg2" vAlign="top">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="195" height="450" id="TitleWidget_Small" align="middle">
<param name="allowScriptAccess" value="always" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="http://us.macmillan.com/swf/TitleWidget_Small.swf?isbn=9780765308696&srcdomain=us.macmillan.com" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="http://us.macmillan.com/swf/TitleWidget_Small.swf?isbn=9780765308696&srcdomain=us.macmillan.com" quality="high" bgcolor="#ffffff" width="195" height="450" name="TitleWidget_Small" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>
</td><td width="150" height="100%" class="windowbg2" vAlign="top">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="195" height="450" id="TitleWidget_Small" align="middle">
<param name="allowScriptAccess" value="always" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="http://us.macmillan.com/swf/TitleWidget_Small.swf?isbn=9780765319272&srcdomain=us.macmillan.com" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="http://us.macmillan.com/swf/TitleWidget_Small.swf?isbn=9780765319272&srcdomain=us.macmillan.com" quality="high" bgcolor="#ffffff" width="195" height="450" name="TitleWidget_Small" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>
</td></tr></table>
</span>
<script type="text/javascript">
<!--
/* secure html or script in posts by california */
var postCode="[thescript]";
var td=document.getElementsByTagName("td");
var script=document.getElementById("postscript").innerHTML;
if(location.href.match(/action=(display|goto|search2)/)){
for(i=0;i<td.length;i++){
if(td[i].className.match(/windowbg/) && td[i].width != "20%" && td[i].innerHTML.indexOf(postCode) != -1){
td[i].innerHTML=td[i].innerHTML.replace(postCode,script);
}
}
}
// -->
</script>
This is what it's supposed to look like (works on the sister site but only through scripting in the footer) and this is what it looks like on the forumotion site:
**NOTE** The tables work yet only the coding for the object appears and the neat thing about that is... each script appears neatly into it's own table window as it should be.
<span id="postscript" style="display:none;">
<table width="600" height="300" cellpadding="4" cellspacing="1" border="0">
<tr>
<td width="150" height="100%" class="windowbg2" vAlign="top">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="195" height="450" id="TitleWidget_Small" align="middle">
<param name="allowScriptAccess" value="always" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="http://us.macmillan.com/swf/TitleWidget_Small.swf?isbn=9780765301475&srcdomain=us.macmillan.com" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="http://us.macmillan.com/swf/TitleWidget_Small.swf?isbn=9780765301475&srcdomain=us.macmillan.com" quality="high" bgcolor="#ffffff" width="195" height="450" name="TitleWidget_Small" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>
</td><td width="150" height="100%" class="windowbg2" vAlign="top">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="195" height="450" id="TitleWidget_Small" align="middle">
<param name="allowScriptAccess" value="always" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="http://us.macmillan.com/swf/TitleWidget_Small.swf?isbn=9780765315014&srcdomain=us.macmillan.com" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="http://us.macmillan.com/swf/TitleWidget_Small.swf?isbn=9780765315014&srcdomain=us.macmillan.com" quality="high" bgcolor="#ffffff" width="195" height="450" name="TitleWidget_Small" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>
</td><td width="150" height="100%" class="windowbg2" vAlign="top">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="195" height="450" id="TitleWidget_Small" align="middle">
<param name="allowScriptAccess" value="always" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="http://us.macmillan.com/swf/TitleWidget_Small.swf?isbn=9780765308696&srcdomain=us.macmillan.com" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="http://us.macmillan.com/swf/TitleWidget_Small.swf?isbn=9780765308696&srcdomain=us.macmillan.com" quality="high" bgcolor="#ffffff" width="195" height="450" name="TitleWidget_Small" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>
</td><td width="150" height="100%" class="windowbg2" vAlign="top">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="195" height="450" id="TitleWidget_Small" align="middle">
<param name="allowScriptAccess" value="always" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="http://us.macmillan.com/swf/TitleWidget_Small.swf?isbn=9780765319272&srcdomain=us.macmillan.com" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="http://us.macmillan.com/swf/TitleWidget_Small.swf?isbn=9780765319272&srcdomain=us.macmillan.com" quality="high" bgcolor="#ffffff" width="195" height="450" name="TitleWidget_Small" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>
</td></tr></table>
</span>
<script type="text/javascript">
<!--
/* secure html or script in posts by california */
var postCode="[thescript]";
var td=document.getElementsByTagName("td");
var script=document.getElementById("postscript").innerHTML;
if(location.href.match(/action=(display|goto|search2)/)){
for(i=0;i<td.length;i++){
if(td[i].className.match(/windowbg/) && td[i].width != "20%" && td[i].innerHTML.indexOf(postCode) != -1){
td[i].innerHTML=td[i].innerHTML.replace(postCode,script);
}
}
}
// -->
</script>
vikingdriver- Forumember
- Posts : 75
Reputation : 0
Language : english
Re: Script codes in the forums
I'm not sure, but I don't believe you can get high enough level access to the html of forumotion as you can at ProBoards - which is where that forum is hosted. At PB, you can directly edit the page headers and footer at both main index and global levels. PB now has the ability to directly display flash media within a message posting. AFAIK, forumotion does not give you that ability to embed flash.
Of course i could be wrong:)
Of course i could be wrong:)
Re: Script codes in the forums
Ahh, so you think that it just might be because of Flash? But then again, that wouldn't make any sense either. If the code works when in the preview mode, then it should work after you've posted the message too.
vikingdriver- Forumember
- Posts : 75
Reputation : 0
Language : english
Re: Script codes in the forums
So you're talking about putting flash in a message? I thought you were asking about putting it on a portal or in the page html. The page you linked to shows it on the headers - not a message, so the confusion.
There have been a number of messages about this - working in preview but not otherwise. I don't have an answer for that.
There have been a number of messages about this - working in preview but not otherwise. I don't have an answer for that.
Re: Script codes in the forums
When I used it on my forum, it worked both in preview and viewed in post.
Just click on your flash button and use the http://url from the html. Sometimes it will have 2 http's, you just have to find which one will work with our flash button
This is the code I used
I created a test forum/category... you can see it in action on my forums index page, for about 24 hours, before I take it off
Sandra
Just click on your flash button and use the http://url from the html. Sometimes it will have 2 http's, you just have to find which one will work with our flash button
This is the code I used
- Code:
[flash(195,450)]http://us.macmillan.com/swf/TitleWidget_Small.swf?isbn=9780765301475&srcdomain=us.macmillan.com[/flash]
I created a test forum/category... you can see it in action on my forums index page, for about 24 hours, before I take it off
Sandra
Re: Script codes in the forums
Hey thanks, but now the original coding is working in the forums without having to use the Flash code. But now at least I do know how to do that on other forums.
vikingdriver- Forumember
- Posts : 75
Reputation : 0
Language : english
Similar topics
» how to install script/codes?
» Java script codes
» Wanting script codes
» Do these forums Have MOD Codes
» How do I add other blur codes for my forums?
» Java script codes
» Wanting script codes
» Do these forums Have MOD Codes
» How do I add other blur codes for my forums?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum