Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.
Question
Feeds Error
Less
More
Posts: 163
Thank you received: 5
16 years 4 months ago #35770
by darksoul
There are different errors.! i get these codes i the source:
Code:
<script type="text/javascript">
if (document.getElementById){
document.write('<style type="text/css">')
document.write('.multiparts, #formnavigation{display:none;}')
document.write('</style>')
}
var curpart=0
function getElementbyClass(classname){
partscollect=new Array()
var inc=0
var alltags=document.all? document.all : document.getElementsByTagName("*")
for (i=0; i<alltags.length; i++){
if (alltags[i].className==classname)
partscollect[inc++]=alltags[i]
}
}
function cycleforward(){
partscollect[curpart].style.display="none"
curpart=(curpart<partscollect.length-1)? curpart+1 : 0
partscollect[curpart].style.display="block"
updatenav()
}
function cycleback(){
partscollect[curpart].style.display="none"
curpart=(curpart>0)? curpart-1 : partscollect.length-1
partscollect[curpart].style.display="block"
updatenav()
}
function updatenav(){
document.getElementById("backbutton").style.visibility=(curpart==0)? "hidden" : "visible"
document.getElementById("forwardbutton").style.visibility=(curpart==partscollect.length-1)? "hidden" : "visible"
}
function onloadfunct(){
getElementbyClass("multiparts")
partscollect[0].style.display="block"
document.getElementById("formnavigation").style.display="block"
updatenav()
}
if (window.addEventListener)
window.addEventListener("load", onloadfunct, false)
else if (window.attachEvent)
window.attachEvent("onload", onloadfunct)
else if (document.getElementById)
window.onload=onloadfunct
</script>
<?xml version="1.0" encoding="utf-8"?>
<!-- generator="Kunena 1.5.8"> -->
<rss version="0.91">
Please Log in or Create an account to join the conversation.
Less
More
Posts: 61
Thank you received: 0
16 years 4 months ago #35785
by tamerax
xillibit wrote: If you look the source code of your rss, you will see that at the top you have javascript code and css which don't need to be here.
Code:
<script type="text/javascript">
/***********************************************
* Textarea Maxlength script- � Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for legal use.
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
function ismaxlength(obj){
var mlength=obj.getAttribute? parseInt(obj.getAttribute("maxlength")) : ""
if (obj.getAttribute && obj.value.length>mlength)
obj.value=obj.value.substring(0,mlength)
}
</script>
<style type="text/css">
<!--
#whatru_main{
margin-bottom: 10px;
}
#whatru_message{
text-align:left;
}
#whatru_button{
text-align:right;
display:inline;
}
#whatru_status{
text-align:left;
}
#whatru_main .inputbox{
width:100%;
margin: 5px 5px 5px 5px;
}
#whatru_status{
font-size:16px
}
#whatru_time_diff{
font-size:10px
}
-->
</style>
ah yes...what how do i stop it from adding that extra code? like what file do I edit? sorry...not so good at this
Please Log in or Create an account to join the conversation.
Less
More
Posts: 10667
Thank you received: 1288
16 years 4 months ago #35789
by xillibit
tamerax wrote: ah yes...what how do i stop it from adding that extra code? like what file do I edit? sorry...not so good at this
I don't know, you need to check in the components/modules/plugins that you have installed or maybe in your joomla! template, if this code appears and remove them.
I don't provide support by PM, because this can be useful for someone else.
Please Log in or Create an account to join the conversation.
Less
More
Posts: 61
Thank you received: 0
16 years 4 months ago #35792
by tamerax
yup..the code is used by Remository. I just gotta figure out why it's showing up in the RSS feed now :S
Please Log in or Create an account to join the conversation.
Less
More
Posts: 163
Thank you received: 5
16 years 4 months ago - 16 years 4 months ago #35845
by darksoul
This problem start from CB. i get:
Code:
--></script>
<script type="text/javascript" src="http://www.samples-share.com/components/com_kunena/template/default/js/kunenaforum.min.js"></script>
<script type="text/javascript" src="http://www.samples-share.com/components/com_comprofiler/js/tabpane.min.js"></script>
<script type="text/javascript"><!--
jQuery(document).ready(function($){
var cbshowtabsArray = new Array();
function showCBTab( sName ) {
if ( typeof(sName) == 'string' ) {
sName = sName.toLowerCase();
}
for (var i=0;i<cbshowtabsArray.length;i++) {
for (var j=0;j<cbshowtabsArray[i][0].length;j++) {
if (cbshowtabsArray[i][0][j] == sName) {
eval(cbshowtabsArray[i][1]);
return;
}
}
}
}});
this is from the source of the forum page.
Last edit: 16 years 4 months ago by
darksoul .
Please Log in or Create an account to join the conversation.
Less
More
Posts: 163
Thank you received: 5
16 years 3 months ago #36504
by darksoul
!!!! the problem come also from: Cb my videos plugin!!!
i unpublished this plugin and now feeds works!!
Please Log in or Create an account to join the conversation.