The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

JavaScript Stopped Working

View previous topic View next topic Go down

In progress JavaScript Stopped Working

Post by Ace 1 on 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
Helper
Helper

Male Posts : 767
Reputation : 51
Language : English - French?
Location : Druid Hill Park

http://help.forumotion.com

Back to top Go down

In progress Re: JavaScript Stopped Working

Post by Genesis on March 2nd 2016, 9:29 pm

What are the codes you are typing to add?

Genesis
Helper
Helper

Male Posts : 2331
Reputation : 322
Language : English
Location : Forumountain

http://forumpromocean.com

Back to top Go down

In progress Re: JavaScript Stopped Working

Post by SLGray on March 2nd 2016, 9:30 pm

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


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


SLGray
Administrator
Administrator

Male Posts : 36639
Reputation : 2441
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

In progress Re: JavaScript Stopped Working

Post by Ace 1 on 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
Helper
Helper

Male Posts : 767
Reputation : 51
Language : English - French?
Location : Druid Hill Park

http://help.forumotion.com

Back to top Go down

In progress Re: JavaScript Stopped Working

Post by SLGray on March 2nd 2016, 9:54 pm

Please post the link where you see the code.


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


SLGray
Administrator
Administrator

Male Posts : 36639
Reputation : 2441
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

In progress Re: JavaScript Stopped Working

Post by Ace 1 on 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
Helper
Helper

Male Posts : 767
Reputation : 51
Language : English - French?
Location : Druid Hill Park

http://help.forumotion.com

Back to top Go down

In progress Re: JavaScript Stopped Working

Post by SLGray on March 2nd 2016, 10:21 pm

Where did you get it?


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


SLGray
Administrator
Administrator

Male Posts : 36639
Reputation : 2441
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

In progress Re: JavaScript Stopped Working

Post by SLGray on March 2nd 2016, 10:22 pm

Are you trying to add an image?


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


SLGray
Administrator
Administrator

Male Posts : 36639
Reputation : 2441
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

In progress Re: JavaScript Stopped Working

Post by Ace 1 on 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
Helper
Helper

Male Posts : 767
Reputation : 51
Language : English - French?
Location : Druid Hill Park

http://help.forumotion.com

Back to top Go down

In progress Re: JavaScript Stopped Working

Post by SLGray on March 4th 2016, 4:38 am

@SLGray wrote:Where did you get it?


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


SLGray
Administrator
Administrator

Male Posts : 36639
Reputation : 2441
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

In progress Re: JavaScript Stopped Working

Post by Ace 1 on 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
Helper
Helper

Male Posts : 767
Reputation : 51
Language : English - French?
Location : Druid Hill Park

http://help.forumotion.com

Back to top Go down

In progress Re: JavaScript Stopped Working

Post by SLGray on 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.


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


SLGray
Administrator
Administrator

Male Posts : 36639
Reputation : 2441
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

In progress Re: JavaScript Stopped Working

Post by Ace 1 on March 6th 2016, 1:11 am

I hope that helps Smile

Ace 1
Helper
Helper

Male Posts : 767
Reputation : 51
Language : English - French?
Location : Druid Hill Park

http://help.forumotion.com

Back to top Go down

In progress Re: JavaScript Stopped Working

Post by APE on 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




APE
Manager
Manager

Male Posts : 8608
Reputation : 748
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

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

Back to top Go down

In progress Re: JavaScript Stopped Working

Post by An on 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
Forumember

Posts : 42
Reputation : 23
Language : English

http://help.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


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