Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: Call It Done - elokuu 04, 2013, 11:19:00 AP

Otsikko: How Do I include html codes
Kirjoitti: Call It Done - elokuu 04, 2013, 11:19:00 AP
Please am new to smf and I registered with sitemeter and i was given an html code to put in my forum, please where do i place this html code?
Otsikko: Re: How Do I include html codes
Kirjoitti: Burke ♞ Knight - elokuu 04, 2013, 11:22:20 AP

Are you using the latest version of SMF?
Any Mods installed?
Are you using a custom theme?
Otsikko: Re: How Do I include html codes
Kirjoitti: Call It Done - elokuu 04, 2013, 11:29:51 AP
yes am using the latest with a custom theme
Otsikko: Re: How Do I include html codes
Kirjoitti: Burke ♞ Knight - elokuu 04, 2013, 11:36:01 AP
Okay, lets try this again:

What version of SMF. (There are 2 current latest versions, one for the 1.x line and one for the 2.x line)
What custom theme are you using?

The SiteMeter code.
Is it set for visible or invisible counter?
Otsikko: Re: How Do I include html codes
Kirjoitti: Call It Done - elokuu 04, 2013, 11:40:47 AP
It's smf 2.0.4 that am using with CleanTek theme by Crip and the code is the invisible one
Otsikko: Re: How Do I include html codes
Kirjoitti: Burke ♞ Knight - elokuu 04, 2013, 11:42:37 AP
Not certain if it will work in that theme, but could try this:

StatCounter by BK Modding (http://custom.simplemachines.org/mods/index.php?mod=1550)

Just insert the code in the box.
Otsikko: Re: How Do I include html codes
Kirjoitti: Call It Done - elokuu 04, 2013, 11:44:50 AP
Lainaus käyttäjältä: BurkeKnight - elokuu 04, 2013, 11:42:37 AP
Not certain if it will work in that theme, but could try this:

StatCounter by BK Modding (http://custom.simplemachines.org/mods/index.php?mod=1550)

Just insert the code in the box.

sorry to ask, which box?
Otsikko: Re: How Do I include html codes
Kirjoitti: Burke ♞ Knight - elokuu 04, 2013, 11:46:59 AP
If the mod installs with no errors for your theme, go to Admin > Modifications
There will be a box for the statcounter. Just insert the code there.

Make sure that when installing, that there are no errors when installing into your theme.
Otsikko: Re: How Do I include html codes
Kirjoitti: Call It Done - elokuu 04, 2013, 11:50:57 AP
ok thanks let me do that now and pls wait for me here so i can give you reply
Otsikko: Re: How Do I include html codes
Kirjoitti: Call It Done - elokuu 04, 2013, 11:57:34 AP
installed successfully, but i have a challenge, before now i could visit my admin modification, but now if i click it it will open a blank page, why is this so please?
Otsikko: Re: How Do I include html codes
Kirjoitti: Burke ♞ Knight - elokuu 04, 2013, 12:05:34 IP

What web host are you using?

Do you get the - white screen of death - when accessing Admin or Package Installs? (http://www.simplemachines.org/community/index.php?topic=502354.0)[

Otsikko: Re: How Do I include html codes
Kirjoitti: Call It Done - elokuu 04, 2013, 12:10:51 IP
Lainaus käyttäjältä: BurkeKnight - elokuu 04, 2013, 12:05:34 IP

What web host are you using?

Do you get the - white screen of death - when accessing Admin or Package Installs? (http://www.simplemachines.org/community/index.php?topic=502354.0)[

Yes I get the white screen of death when accessing some of the package install.
Otsikko: Re: How Do I include html codes
Kirjoitti: Burke ♞ Knight - elokuu 04, 2013, 12:12:03 IP
Click the link I gave you.
That will explain why.
Otsikko: Re: How Do I include html codes
Kirjoitti: Call It Done - elokuu 04, 2013, 12:50:09 IP
followed what was said there but did not work out
Otsikko: Re: How Do I include html codes
Kirjoitti: Burke ♞ Knight - elokuu 04, 2013, 01:01:12 IP
Have you tried uninstalling the statcounter mod, and see if can access the modifications page?
Otsikko: Re: How Do I include html codes
Kirjoitti: Call It Done - elokuu 04, 2013, 01:05:03 IP
it's not your mod that caused it, i noticed it before installing it.
Otsikko: Re: How Do I include html codes
Kirjoitti: Burke ♞ Knight - elokuu 04, 2013, 05:24:41 IP
1. Did you manage to get to the page? Maybe after waiting a bit?
2. If so, did my mod work for you as you wanted?
3. What web host do you have?
Otsikko: Re: How Do I include html codes
Kirjoitti: Call It Done - elokuu 05, 2013, 04:16:00 IP
I got this error message, could it be the problem?

Database Error
MySQL server has gone away
File: /home/flyerzde/public_html/Sources/Profile-View.php
Line: 213

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0.4, while your database is at version 2.0.3. The above error might possibly go away if you execute the latest version of upgrade.php.
- See more at: http://flyerzden.com/index.php?action=profile;u=4751#sthash.BpAsEqwv.dpuf