Language: 
To browser these website, it's necessary to store cookies on your computer.
The cookies contain no personal information, they are required for program control.
  the storage of cookies while browsing this website, on Login and Register.
Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Select language:

Community



Donate

Donate for PortaMx !
Your donation is safe and helps support the issues and causes you care most about.

Stats

  • *Total Members: 4319
  • *Latest: thygrim

  • *Total Posts: 15775
  • *Total Topics: 2381
  • *Online Today: 2
  • *Most Online: 157
(27.08.09, 03:54:53)
  • *Users: 0
  • *Guests: 1
  • *Total: 1

Author Topic: Font size for guest ?  (Read 1435 times)

0 Members and 0 Guests are viewing this topic.

Offline edi67

  • Italian do it Better
  • Jr. Member
  • **
  • Posts: 52
  • Gender: Male
    • CrazyZone
Font size for guest ?
« on: 02.11.08, 23:31:54 »
I having this problem FELINE:

http://www.simplemachines.org/community/index.php?topic=270553.new#new

my guest have font size bigger that normal user, there is one way for add one block for guest as one user staff os smf suggested me ?

may be change something, but is strange because here nothing happened only in my site happen so must not be one portal error problem.

Offline feline

  • CO PortaMx corp.
  • Administrator
  • *
  • Posts: 5584
  • Gender: Female
Re: Font size for guest ?
« Reply #1 on: 02.11.08, 23:44:01 »
I have look at you site and I found (as guest) this code BEFORE the html tag:
Code: [Select]
       <script language=JavaScript>
<!--

//Disable right mouse click Script
//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com
var message="Spiacente non sei abilitato ad usare il tasto Destro del mouse ";

///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("alert(message);return false")

// -->
</script><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="description" content="CrazyZone" />

After logged in, above code is'n exist:
Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="description" content="CrazyZone" />

Also you have to check any mod and the theme index.template.

Fel
Many are stubborn in relation to the path, a few in relation to the target.

Offline edi67

  • Italian do it Better
  • Jr. Member
  • **
  • Posts: 52
  • Gender: Male
    • CrazyZone
Re: Font size for guest ?
« Reply #2 on: 03.11.08, 09:55:01 »
yes you are right, i removed that code temporanely and problem is solved  ;)