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.

need to add a code in the html body of the forum

2 posters

Go down

Solved need to add a code in the html body of the forum

Post by juliet November 27th 2011, 2:36 pm

Hello, I want to add a service that monitors, the problem is that I need to paste their code in the html body of the forum but I have no idea where to insert it, I tried the javascript module and it did not work, the thing is that I am not this brave with codes and I am afraid to experiment, therefore I need some help to tell me if it can be added and if yes, then how?

my forum is

http://vampireknight.all-up.com/

and the board its invision, any ideas?

for any help, thanks in advance...
avatar
juliet
New Member

Posts : 9
Reputation : 0
Language : greek

Back to top Go down

Solved Re: need to add a code in the html body of the forum

Post by Guest November 27th 2011, 2:50 pm

Add in your JavaScript management:
Code:
function changeText(){
   document.getElementByTagName('body').innerHTML = 'HTML HERE';
}
avatar
Guest
Guest


Back to top Go down

Solved Re: need to add a code in the html body of the forum

Post by juliet November 27th 2011, 2:55 pm

do I add this after the code? or before? sorry I am very slow with these things ...

the code that I need to insert goes like this

<!-- Start of StatCounter Code for Default Guide -->
<script type="text/javascript">
var sc_project=7440120;
var sc_invisible=1;
var sc_security="050b1b69";
var sc_https=1;
var scJsHost = (("https:" == document.location.protocol) ?
"https://secure." : "http://www.");
document.write("<sc"+"ript type='text/javascript' src='" +
scJsHost +
"statcounter.com/counter/counter.js'></"+"script>");</script>
<noscript><div class="statcounter"><a title="tumblr visit
counter" href="http://statcounter.com/tumblr/"
target="_blank"><img class="statcounter"
src="https://c.statcounter.com/7440120/0/050b1b69/1/"
alt="tumblr visit counter"></a></div></noscript>
<!-- End of StatCounter Code for Default Guide -->

and I tried adding both codes together but still does not work...
avatar
juliet
New Member

Posts : 9
Reputation : 0
Language : greek

Back to top Go down

Solved Re: need to add a code in the html body of the forum

Post by Guest November 27th 2011, 7:37 pm

In this case, add your code in Administration Panel => Display => Homepage => Generalities. Wink
avatar
Guest
Guest


Back to top Go down

Solved Re: need to add a code in the html body of the forum

Post by juliet November 28th 2011, 7:21 am

thank you, I inserted it at the message field, seemed weird at the beginning but it really worked like a charm, thanks all for all the great help!!
avatar
juliet
New Member

Posts : 9
Reputation : 0
Language : greek

Back to top Go down

Solved Re: need to add a code in the html body of the forum

Post by Sanket November 28th 2011, 7:49 am

Topic Solved & Locked
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Back to top

- Similar topics

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