• Welcome to Simple Machines Community Forum. Please login or sign up.
November 27, 2021, 04:57:29 AM

News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord


Reflection Avatar

Started by M-DVD, September 15, 2008, 07:23:57 PM

Previous topic - Next topic

MultiformeIngegno

Quote from: M-DVD on September 18, 2008, 02:44:24 PM
Is because avatars are very large and because IE bet XD

Solutions:
1 .- Reduce the size of avatars.
Or
2 .- Edit the style.css and add to final .avatar { overflow: hidden; }

O:)

Quote from: feelingshehides on September 17, 2008, 05:16:33 PM
Thanks it works now

Ahhhhh, i am glad, i thought that this problem would be my Nemesis XD
Will you add this fix to the next version? :)
RockCiclopedia (wiki - forum), Tutta la storia del rock, scritta da voi ...
Rimanere aggiornati sul mondo della musica grazie al nuovo feed "RockCiclopedia Music News"!

M-DVD

Hi

Quote from: Zk5 on September 21, 2008, 09:37:18 PM
I got it to work for my forum, but the reflections do not seem to work for the avatar shown in the shoutbox itself. How can I fix this?

URL?
   
Some of these ways:

1.-  Search in index.template.php:

   window.onload=function(){loadChat();};

(or similar)

Replace with:

window.onload=function(){ loadChat(); if(previousOnload) previousOnload(); addReflections(); };

2.-  Search:

<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/reflection.js?fin11"></script>

Move to, before:

</head>

Example:

<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/reflection.js?fin11"></script>
</head>



Quote from: lorenzone92 on September 22, 2008, 08:56:25 AM
Quote from: M-DVD on September 18, 2008, 02:44:24 PM
Is because avatars are very large and because IE bet XD

Solutions:
1 .- Reduce the size of avatars.
Or
2 .- Edit the style.css and add to final .avatar { overflow: hidden; }

O:)

Quote from: feelingshehides on September 17, 2008, 05:16:33 PM
Thanks it works now

Ahhhhh, i am glad, i thought that this problem would be my Nemesis XD
Will you add this fix to the next version? :)

Possibly. It's a minor change, and easy to do manually. Furthermore, only operate in the default theme.

:D

Zk5

That didn't seem to do the trick...

M-DVD

Thanks.

Which is the URL of your forum?

To check which may be the script that cancels reflect.

hcar

i've tried to install this, but it installs straight to the default theme, and i'm using a custom one. what do i need to edit in my theme to get this to work?

M-DVD

October 16, 2008, 10:10:06 PM #45 Last Edit: October 16, 2008, 10:12:02 PM by M-DVD
Quote from: haley on October 16, 2008, 05:47:55 PM
i've tried to install this, but it installs straight to the default theme, and i'm using a custom one. what do i need to edit in my theme to get this to work?

Hi
   
Is very easy

You must edit the "index.template.php"

Find

</head>

and put before


<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/reflection.js?fin11"></script>


or in SMf beta 2


<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/scripts/reflection.js?b4"></script>




dimdom

Works perfect on FF, Opera, Safari and IE.

But not in Chrome (it just duplicates the avatar).

Just to let you know... ;)

M-DVD

Quote from: dimdom on October 19, 2008, 02:32:56 AM
Works perfect on FF, Opera, Safari and IE.

But not in Chrome (it just duplicates the avatar).

Just to let you know... ;)

Hi, Monday or Wednesday I will make an update,  I will also whin the Reflection Img BBC



Dave P

Whey hey! Installed it, edited the theme, works like a charm.

Cheers. :)

Pho3niX90

Hey there, this doest work for ME :( Im using smf 1.6 with ironwow theme, t worked perfectly on 2.0 beta 4, but not this.. Im only using neos shoutbox with this, but did use that code that you supplied but stil nothing..

Please help M-DVD?

Final60

works fine for me and i have alot of other js scripts working and alot of other mods installed. Give it a few seconds to load won't always show the reflection instantly.

great job! :)

Pho3niX90

im permanently on the site, so it isnt load time.

jayc7176

Thanks for this nice tweek works great :)
I cannot teach anybody anything, I can only make them think -  Socrates™ 469 BC

SMF- 1.1.5

klonico

Una duda, en mi foro, hay gente que le gusta y gente que no le gusta como queda su avatar ???

Se podría hacer que cada uno eligiera si quiere que se haga el reflejo en su avatar o no ??

sombra

tengo darkbreak instalado en mi foro y lo instale normalmente luego fui a index.temple.php y puse

<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/scripts/reflection.js?b4"></script>

antes de <head>  y entre ala carpeta de themes darkbreak y puse el script de reflecciones y no funciona en ke me perdi ke debo hacer para ke funcione bien?

M-DVD

Update Reflection Avatar v1.1:
====================


New features:

  • Includes reflection.js v2.0
  • Work in Google Chrome
  • Fixes IE's bug with large Avatars
  • Eliminates problems with other MOD that have js (as nneonneo's shout box)

How do I upgrade?

  • Uninstall the previous version
  • Install the new

=======================================

Características Nuevas:

  • Incluye el reflection.js v2.0
  • Trabaja en Google Chrome
  • Corrige un Bug de IE con Avatares grandes
  • Elimina la colisión con otros MOD que incluyen js (como nneonneo's shoutbox)

¿Como actualizar?

  • Desintalar la anterior versión
  • Instalar la nueva

M-DVD

November 10, 2008, 10:03:54 PM #56 Last Edit: November 25, 2008, 09:53:44 PM by M-DVD
Known Issues:
==========


Problem:
1.- I have a theme (for example: Theme Cargo) the avatar have align center, then using the MOD Reflect Avatar the avatar is aligned to the left.
2.- I want to put the avatar in the center

Answer: Edit the style.css and added to the end:
.avatar { margin: auto }

and Refresh your site with: Ctrl+F5





Problemas Conocidos:
===============


Problema:
1.- Tengo un theme (por ejemplo: Theme Cargo) donde el Avatar está en el centro, y luego de usar el MOD Avatar Reflect, el avatar se alinea a la izquierda
2.- Quiero poner el avatar en el centro

Respuesta: Edita el style.css y añade al final:
.avatar { margin: auto }

Refresca la página con Ctrl+F5

M-DVD

Quote from: lorenzone92 on September 22, 2008, 08:56:25 AM
Will you add this fix to the next version? :)

Done, thank for idea 8)

Quote from: dimdom on October 19, 2008, 02:32:56 AM
Works perfect on FF, Opera, Safari and IE.

But not in Chrome (it just duplicates the avatar).

Just to let you know... ;)

Solved  :D

Quote from: Dave P on October 25, 2008, 03:29:56 PM
Whey hey! Installed it, edited the theme, works like a charm.

Cheers. :)

Quote from: Final60 on October 29, 2008, 11:47:28 AM
works fine for me and i have alot of other js scripts working and alot of other mods installed. Give it a few seconds to load won't always show the reflection instantly.

great job! :)

Thanks for yours comments  :D

Quote from: Pho3niX90 on October 29, 2008, 08:26:10 AM
Hey there, this doest work for ME :( Im using smf 1.6 with ironwow theme, t worked perfectly on 2.0 beta 4, but not this.. Im only using neos shoutbox with this, but did use that code that you supplied but stil nothing..

Please help M-DVD?


Sorry for the delay.

Try the new version  :D

Quote from: klonico on November 07, 2008, 06:12:11 PM
Una duda, en mi foro, hay gente que le gusta y gente que no le gusta como queda su avatar ???

Se podría hacer que cada uno eligiera si quiere que se haga el reflejo en su avatar o no ??

Poooosiblemente para otra versión  :'(

Quote from: sombra on November 07, 2008, 06:30:27 PM
tengo darkbreak instalado en mi foro y lo instale normalmente luego fui a index.temple.php y puse

<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/scripts/reflection.js?b4"></script>

antes de <head>  y entre ala carpeta de themes darkbreak y puse el script de reflecciones y no funciona en ke me perdi ke debo hacer para ke funcione bien?

Prueba con la nueva versión  :D

lax.slash

Looks great - I will try it live as soon as I install SMF again. :) Suggestion - there should be an option available to the users to disable the reflection.

M-DVD

Possibly, in the next version.

Advertisement: