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 March 2nd 2016, 9:12 pm

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 March 2nd 2016, 9:29 pm

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 March 2nd 2016, 9:30 pm

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 : 51572
Reputation : 3525
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 March 2nd 2016, 9:40 pm

@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 March 2nd 2016, 9:54 pm

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 : 51572
Reputation : 3525
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 March 2nd 2016, 10:04 pm

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 March 2nd 2016, 10:21 pm

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 : 51572
Reputation : 3525
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 March 2nd 2016, 10:22 pm

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 : 51572
Reputation : 3525
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 March 4th 2016, 3:56 am

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 March 4th 2016, 4:38 am

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 : 51572
Reputation : 3525
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 March 6th 2016, 12:14 am

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 March 6th 2016, 12:16 am

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 : 51572
Reputation : 3525
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 March 6th 2016, 1:11 am

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 March 6th 2016, 3:05 am

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 : 19452
Reputation : 2012
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 March 6th 2016, 5:20 pm

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