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.

JavaScript Stopped Working

5 posters

Go down

In progress JavaScript Stopped Working

Post by Ace 1 2/3/2016, 14:12

my javascript isnt working in my forum http://pb2genocide.forumotion.com/

I've looked and tried almost everything but it still fails to work. I've learned a lot about js in the past 4 months and now I cant use my newfound knowledge to maximize my forum appearance
Ace 1
Ace 1
Helper
Helper

Male Posts : 843
Reputation : 64
Language : English - French?
Location : Druid Hill Park

https://help.forumotion.com

Back to top Go down

In progress Re: JavaScript Stopped Working

Post by Take Notes 2/3/2016, 14:29

What are the codes you are typing to add?
Take Notes
Take Notes
Helper
Helper

Male Posts : 2337
Reputation : 324
Language : English
Location : Forumountain

Back to top Go down

In progress Re: JavaScript Stopped Working

Post by SLGray 2/3/2016, 14:30

Did you activate it at the top:  [] yes   [] no?


JavaScript Stopped Working Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51489
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: JavaScript Stopped Working

Post by Ace 1 2/3/2016, 14:40

@forumedic I want to add a code using Velocity.js

@slgray yes sir I clicked Enable Javascript code management and activated the code in all the pages
Ace 1
Ace 1
Helper
Helper

Male Posts : 843
Reputation : 64
Language : English - French?
Location : Druid Hill Park

https://help.forumotion.com

Back to top Go down

In progress Re: JavaScript Stopped Working

Post by SLGray 2/3/2016, 14:54

Please post the link where you see the code.


JavaScript Stopped Working Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51489
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: JavaScript Stopped Working

Post by Ace 1 2/3/2016, 15:04

I have A code
Code:
$(function() {
    $('a.icon-home').text('Index');
});
activated in all of the pages and it just doesnt work...

(look at the bottom left corner of my forum)
Ace 1
Ace 1
Helper
Helper

Male Posts : 843
Reputation : 64
Language : English - French?
Location : Druid Hill Park

https://help.forumotion.com

Back to top Go down

In progress Re: JavaScript Stopped Working

Post by SLGray 2/3/2016, 15:21

Where did you get it?


JavaScript Stopped Working Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51489
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: JavaScript Stopped Working

Post by SLGray 2/3/2016, 15:22

Are you trying to add an image?


JavaScript Stopped Working Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51489
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: JavaScript Stopped Working

Post by Ace 1 3/3/2016, 20:56

The code above is supposed to change the word "Home" at the bottom right corner of the forum to the word"Index"
Ace 1
Ace 1
Helper
Helper

Male Posts : 843
Reputation : 64
Language : English - French?
Location : Druid Hill Park

https://help.forumotion.com

Back to top Go down

In progress Re: JavaScript Stopped Working

Post by SLGray 3/3/2016, 21:38

SLGray wrote:Where did you get it?


JavaScript Stopped Working Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51489
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: JavaScript Stopped Working

Post by Ace 1 5/3/2016, 17:14

ange tuteur gave it to me a while ago. It's worked fine up until all my js codes stopped working.
Ace 1
Ace 1
Helper
Helper

Male Posts : 843
Reputation : 64
Language : English - French?
Location : Druid Hill Park

https://help.forumotion.com

Back to top Go down

In progress Re: JavaScript Stopped Working

Post by SLGray 5/3/2016, 17:16

Please change the title of your topic to something that is related to your question/issue, so that other users will be able to find their question/issue using the search engine.


JavaScript Stopped Working Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51489
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: JavaScript Stopped Working

Post by Ace 1 5/3/2016, 18:11

I hope that helps Smile
Ace 1
Ace 1
Helper
Helper

Male Posts : 843
Reputation : 64
Language : English - French?
Location : Druid Hill Park

https://help.forumotion.com

Back to top Go down

In progress Re: JavaScript Stopped Working

Post by Ape 5/3/2016, 20:05

have you added any more codes in the last 2 or 3 days ?

If yes you need to turn off each code one by one until you see your code work again.
It maybe that one or more codes are messing that one up.

Sadly ange tuteur has left the team and will be in much less then he was before and he is moving on with he's life outside of FM. so the chance of him helping is really low

You also have 2 errors on your site
JavaScript Stopped Working Captur28


JavaScript Stopped Working Left1212JavaScript Stopped Working Center11JavaScript Stopped Working Right112
JavaScript Stopped Working Ape_b110
JavaScript Stopped Working Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19122
Reputation : 1993
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

In progress Re: JavaScript Stopped Working

Post by An 6/3/2016, 10:20

Chrome is pointing to the following script in regards to a syntax error.
Code:
/\/u\d+/.test(window.location.href)&&$(function(){var users={'maxydude0':'<span style="color: #7931df">maxydude0</span>'User A':'<i>A</i>','User B':'<b>B</b>'},i,nodes=[$('h1.page-title')[0],$('.h3')[0],$('#cp-main h1')[0]];for(i in users){$(nodes).html($(nodes).html().replace(new RegExp(i),users[i]))}});

The error occurs at
Code:
User A'
, change it into
Code:
,'User A'
. It'll probably display differently in your admin panel as the above script is minimized.

@APE The ones circled are security warnings. The one that's highlighted with a red background and a yellow "X" is a Javascript error. Click on the link to the very right and it'll take you to where the error occurred. If it doesn't, reload the page with the console open and THEN click the link. Sometimes chrome can be buggy about that, but that's the only workaround I know. Hope that helps you.
An
An
Forumember

Posts : 44
Reputation : 24
Language : English

https://help.forumotion.com

Back to top Go down

Back to top

- Similar topics

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