The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Code changes and addons when saving in editor

2 posters

Go down

Solved Code changes and addons when saving in editor

Post by Pete21 February 17th 2015, 6:21 pm

Hi,
I was wondering what I am doing wrong here or if a bug has appeared lately.
I have been running on www.nortexsimracing  forum since 2008

Lately some weird things are happening and I have not made any changes in the section:
Display/Generalities/Homepage Message

When I change the url link to an image and save, the editor adds all kinds of gibberish to the code and a lot of "/"
All looks good and when I click save, the editor has added a bunch of useless code. Don't know if I am making myself clear here. LOL
Not sure if it is the browser (Firefox) doing this or the editor. I was able to finally get it going again but am afraid of making changes.
Problem just started this Sunday. Did not do any changes to PC, browser, page, etc...
I do not have the editor in WYSYWYG mode either.
Is there a way that all that is typed in this section stays the original way? 
Thanks
Pete


Last edited by Pete21 on February 20th 2015, 5:58 pm; edited 1 time in total
avatar
Pete21
Forumember

Posts : 39
Reputation : 0
Language : English

Back to top Go down

Solved Re: Code changes and addons when saving in editor

Post by _Twisted_Mods_ February 17th 2015, 6:26 pm

its the editor it does it with some code .. it done it to me multiple time ... the good thin is as long as your code is good when you click save it will work fine .. bad news you have to keep a backup in notepad of your code for when you want to edit it because it does not display back correctly ... im unsure of what causes this error  but i also wish that they would solve this issue
_Twisted_Mods_
_Twisted_Mods_
Helper
Helper

Male Posts : 2108
Reputation : 336
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Code changes and addons when saving in editor

Post by Pete21 February 17th 2015, 6:35 pm

Thanks for the answer. At least I do not feel all alone anymore! LOL
This is what I am doing right now. Saving in Notepad and constantly making backups.
I make the changes in Notepad and then copy and paste the whole thing hoping the dreaded editor saves it correctly. Seems to work but it is added work for nothing. Even if it works, lines get all messed up and the original neat appearance of the original code ends up looking like a real mess.
Won't rehash an old story but how I miss the old text editor. LOL
avatar
Pete21
Forumember

Posts : 39
Reputation : 0
Language : English

Back to top Go down

Solved Re: Code changes and addons when saving in editor

Post by _Twisted_Mods_ February 17th 2015, 6:39 pm

can you post the code you using perhaps we can change it a bit and make it work
_Twisted_Mods_
_Twisted_Mods_
Helper
Helper

Male Posts : 2108
Reputation : 336
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Code changes and addons when saving in editor

Post by Pete21 February 17th 2015, 6:51 pm

It is working right now and always did somewhat before last weekend. 
Here it is in sort of a messy state.



<br /><span style="color: rgb(214, 214, 231);"><strong>Sign up now and enjoy one of  the friendliest Sim Racing Leagues around where there is nothing to win or lose but  friendship!</strong></span><br /><br />
<marquee direction="left" behavior="scroll" scroll="continuous" scrollamount="4" style="font-size: 16px; color: rgb(248, 128, 23); font-family: verdana; font-weight:
bold; width: 800px; height: 20px; margin-top: 5px; margin-bottom: 5px;">ASRX Trucks Early Birds Sunday mornings 10:30 a.m., ASRX Cup Late Birds Wednesdays 10:00 p.m. </marquee><br /><br />

<iframe style="width: 800px; height: 300px;" id="schedule_iframe" src="http://simracingleaguemanager.net/communities/tsf/schedule/weekly.php?League=10" frameborder="0" scrolling="no"></iframe><br /><br />

<script type="text/javascript">
var x=0;
function rotate(num){
fs=document.ff.slide;
x=num%fs.length;
if(x<0) x=fs.length-1;
document.images.show.src=fs.options[x].value;
fs.selectedIndex=x;}
function auto() {
if(document.ff.fa.value == "Stop"){
rotate(++x);setTimeout("auto()", 10000);}}
window.onload=function(){document.ff.fa.value="Stop";auto();}
</script>
<form name="ff">
                      
    <table style="border:1px black solid;border-collapse:collapse;" cellpadding="3">
                          
        <tbody>
                              
            <tr>
                                  
                <th align="center">
                              NSR HIGHLIGHTS         
                </th>
                                  
            </tr>
                                
            <tr>
                                  
                <td align="center">
                             <img id="show" src="https://i.servimg.com/u/f38/11/18/44/31/bk_new11.jpg" />         
                </td>
                                  
            </tr>
                                
            <tr>
                                  
                <td style="border:1px black solid;" align="center">
                             <select name="slide" onchange="rotate(this.selectedIndex);">
<option value="https://i.servimg.com/u/f38/11/18/44/31/bk_new11.jpg">ASRX Cup</option>
<option value="https://i.servimg.com/u/f38/11/18/44/31/jspeed10.jpg">Jspeed Daytona</option>
<option value="https://i.servimg.com/u/f38/11/18/44/31/rob12.jpg">Partridge Richmond</option>
<option value="https://i.servimg.com/u/f38/11/18/44/31/johnr11.jpg">John Vegas</option>
<option value="https://i.servimg.com/u/f38/11/18/44/31/chicag13.jpg">Chicagoland</option>
<option value="https://i.servimg.com/u/f38/11/18/44/31/rob13.jpg">Rob P</option>
<option value="https://i.servimg.com/u/f68/11/18/44/31/3wide10.jpg">3 Wide</option>
<option value="https://i.servimg.com/u/f74/11/18/44/31/arp10.jpg">ARP</option>
<option value="https://i.servimg.com/u/f38/11/18/44/31/atlant11.jpg">Atlanta</option>
<option value="https://i.servimg.com/u/f48/11/18/44/31/atlant10.jpg">Hotlanta</option>

</select>         
                </td>
                                  
            </tr>
                                
            <tr>
                                  
                <td style="border:1px black solid;" align="center">
                             <input onclick="rotate(0);" value="ll<<" title="Jump to beginning" type="button" /><input onclick="rotate(x-1);" value="<<" title="Last Picture" type="button" /><input name="fa" onclick="this.value=((this.value=='Stop')?'Start':'Stop');auto();" value="Start" title="Autoplay" style="width:75px;" type="button" /><input onclick="rotate(x+1);" value=">>" title="Next Picture" type="button" /><input onclick="rotate(this.form.slide.length-1);" value=">>ll" title="Jump to end" type="button" />         
                </td>
                                  
            </tr>
                              
        </tbody>
                          
    </table>
</form>
avatar
Pete21
Forumember

Posts : 39
Reputation : 0
Language : English

Back to top Go down

Solved Re: Code changes and addons when saving in editor

Post by _Twisted_Mods_ February 17th 2015, 7:10 pm

if you would be so kind to edit your post and put the html inside code tags  10th button on the editor.... and can you post the html you have in notepad not the messed up one
_Twisted_Mods_
_Twisted_Mods_
Helper
Helper

Male Posts : 2108
Reputation : 336
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Code changes and addons when saving in editor

Post by Pete21 February 17th 2015, 7:18 pm

Code:
<br /><span style="color: rgb(214, 214, 231);"><strong>Sign up now and enjoy one of  the friendliest Sim Racing Leagues around where there is nothing to win or lose but  friendship!</strong></span><br /><br />
<marquee direction="left" behavior="scroll" scroll="continuous" scrollamount="4" style="font-size: 16px; color: rgb(248, 128, 23); font-family: verdana; font-weight:
bold; width: 800px; height: 20px; margin-top: 5px; margin-bottom: 5px;">ASRX Trucks Early Birds Sunday mornings 10:30 a.m., ASRX Cup Late Birds Wednesdays 10:00 p.m. </marquee><br /><br />

<iframe style="width: 800px; height: 300px;" id="schedule_iframe" src="http://simracingleaguemanager.net/communities/tsf/schedule/weekly.php?League=10" frameborder="0" scrolling="no"></iframe><br /><br />

<script type="text/javascript">
var x=0;
function rotate(num){
fs=document.ff.slide;
x=num%fs.length;
if(x<0) x=fs.length-1;
document.images.show.src=fs.options[x].value;
fs.selectedIndex=x;}
function auto() {
if(document.ff.fa.value == "Stop"){
rotate(++x);setTimeout("auto()", 10000);}}
window.onload=function(){document.ff.fa.value="Stop";auto();}
</script>
<form name="ff">
                     
   <table style="border:1px black solid;border-collapse:collapse;" cellpadding="3">
                        
      <tbody>
                           
         <tr>
                              
            <th align="center">
                         NSR HIGHLIGHTS          
            </th>
                              
         </tr>
                             
         <tr>
                              
            <td align="center">
                        <img id="show" src="http://i38.servimg.com/u/f38/11/18/44/31/bk_new11.jpg" />          
            </td>
                              
         </tr>
                             
         <tr>
                              
            <td style="border:1px black solid;" align="center">
                        <select name="slide" onchange="rotate(this.selectedIndex);">
<option value="http://i38.servimg.com/u/f38/11/18/44/31/bk_new11.jpg">ASRX Cup</option>
<option value="http://i38.servimg.com/u/f38/11/18/44/31/jspeed10.jpg">Jspeed Daytona</option>
<option value="http://i38.servimg.com/u/f38/11/18/44/31/rob12.jpg">Partridge Richmond</option>
<option value="http://i38.servimg.com/u/f38/11/18/44/31/johnr11.jpg">John Vegas</option>
<option value="http://i38.servimg.com/u/f38/11/18/44/31/chicag13.jpg">Chicagoland</option>
<option value="http://i38.servimg.com/u/f38/11/18/44/31/rob13.jpg">Rob P</option>
<option value="http://i68.servimg.com/u/f68/11/18/44/31/3wide10.jpg">3 Wide</option>
<option value="http://i74.servimg.com/u/f74/11/18/44/31/arp10.jpg">ARP</option>
<option value="http://i38.servimg.com/u/f38/11/18/44/31/atlant11.jpg">Atlanta</option>
<option value="http://i48.servimg.com/u/f48/11/18/44/31/atlant10.jpg">Hotlanta</option>

</select>          
            </td>
                              
         </tr>
                             
         <tr>
                              
            <td style="border:1px black solid;" align="center">
                        <input onclick="rotate(0);" value="ll<<" title="Jump to beginning" type="button" /><input onclick="rotate(x-1);" value="<<" title="Last Picture" type="button" /><input name="fa" onclick="this.value=((this.value=='Stop')?'Start':'Stop');auto();" value="Start" title="Autoplay" style="width:75px;" type="button" /><input onclick="rotate(x+1);" value=">>" title="Next Picture" type="button" /><input onclick="rotate(this.form.slide.length-1);" value=">>ll" title="Jump to end" type="button" />          
            </td>
                              
         </tr>
                           
      </tbody>
                        
   </table>
</form>
 
avatar
Pete21
Forumember

Posts : 39
Reputation : 0
Language : English

Back to top Go down

Solved Re: Code changes and addons when saving in editor

Post by _Twisted_Mods_ February 17th 2015, 8:02 pm

well something else you could do would be to put the code in a html page and put it in a iframe in the homepage message


Code:
<iframe src="urltothehtmlpage" style="border:none;width:100%;height:800px;"></iframe>
_Twisted_Mods_
_Twisted_Mods_
Helper
Helper

Male Posts : 2108
Reputation : 336
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Code changes and addons when saving in editor

Post by Pete21 February 18th 2015, 12:02 am

Thanks. I will try this later after I finish work and will let you know the result.
Pete
avatar
Pete21
Forumember

Posts : 39
Reputation : 0
Language : English

Back to top Go down

Solved Re: Code changes and addons when saving in editor

Post by Pete21 February 20th 2015, 5:56 pm

Thanks. Problem solved for now.
Pete
avatar
Pete21
Forumember

Posts : 39
Reputation : 0
Language : English

Back to top Go down

Solved Re: Code changes and addons when saving in editor

Post by _Twisted_Mods_ February 20th 2015, 6:49 pm

Topic solved and archived
_Twisted_Mods_
_Twisted_Mods_
Helper
Helper

Male Posts : 2108
Reputation : 336
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum