News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Reflection Avatar

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

Previous topic - Next topic

xrunner

#20
Quote from: M-DVD on September 16, 2008, 08:33:54 AMTry deleting: onload = "PreloadFlag = true;" I think you will work.

I'd love to try that if you would please be more specific as to where that is located. I have no idea where to find that line of code. Please specify the filename where it is located.

M-DVD

#21
Excuse me, that recommendation was for BOS4O, in the theme Aa new damage, the file index.template.php XD.
   
In your case, let me investigate a little to find the cause (the script).

Edit:
   
The cause of the fault seems to me this (index.template.php, I suppose):

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

Try deleting

If removing it works, then ... I will seek an alternative

Ryan

Yes conflict with ajax shoutbox...
window.onload=function(){loadChat();LOADREFLECTION()};

Somone needs to find out what the other onload statement is.. and needs to add it together..

Thats my theory.. i think the creator of the mod will use this idea and give you fix soon.

MultiformeIngegno

It works perfectly for me!!
FF 3.0.1! :)

Thanks for this MOD, is fantastic! ;)
RockCiclopedia (wiki - forum), Tutta la storia del rock, scritta da voi ...
Rimanere aggiornati sul mondo della musica grazie al nuovo feed "RockCiclopedia Music News"!

Ryan

Thats becuase you dont have neeones shoutbox installed ;) i advise you not to install that mod if you wish to have reflections hehe

BOS4O

yea it works perfectly now tnx  ;D

it loud be nice to add gif support  :P

feelingshehides

Possible to make this work with Neeones Shoutbox ?

M-DVD

Quote from: M3THOD on September 16, 2008, 04:49:34 PM
Yes conflict with ajax shoutbox...
window.onload=function(){loadChat();LOADREFLECTION()};

Somone needs to find out what the other onload statement is.. and needs to add it together..

Thats my theory.. i think the creator of the mod will use this idea and give you fix soon.

True, there is a pattern.

When there is another statement onload, missed the first declared (Reflect).

--

So you can try this:

1 .- Clear one of the two.

2 .- put together (as M3THOD say)

In the latter case, you can try to put together well:

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

Green: Other MODs (in this case: nneonneo)
Blue: MOD Reflect


Guittenk

XD...el primero respondiendo en español, mi pregunta es que debo modificar para que funcione con mi theme, este el silent wave, pues lo instale y nada de nada,

saludos

xrunner

Quote from: M-DVD on September 17, 2008, 12:00:51 PM
   window.onload=function(){ loadChat(); if(previousOnload) previousOnload(); addReflections(); };

Would you kindly tell me where to find that line of code - what file is it in?

M-DVD

Quote from: Guittenk on September 17, 2008, 04:14:39 PM
XD...el primero respondiendo en español, mi pregunta es que debo modificar para que funcione con mi theme, este el silent wave, pues lo instale y nada de nada,

saludos

Si, al fin alguien XD.

Es bastante simple, solo debes abrir el index.template.php de tu theme y buscar:

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

Y le añades:

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

Quote from: xrunner on September 17, 2008, 04:53:22 PM
Quote from: M-DVD on September 17, 2008, 12:00:51 PM
   window.onload=function(){ loadChat(); if(previousOnload) previousOnload(); addReflections(); };

Would you kindly tell me where to find that line of code - what file is it in?

No problem.

Search in index.template.php:

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

Replace with:

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

feelingshehides


MultiformeIngegno


WITH IE 7 ON WIN XP SP3!!!

Is there any fix?? :(
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

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


xrunner

Quote from: M-DVD on September 17, 2008, 05:05:38 PM
Replace with:

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


Yes thanks this did solve the issue. Appreciate it!

Gmans

Doesn't  work in google Chrome  :)
Можно по-русски! :Р
"Not so big the universe, as its source code ..." ^^

ALL4MOBIL

Very good! Oh man, nice designing mod...;-)

e.g.: hxxp:www.porno.mystiq4ever.sk/index.php?action=profile;u=1 [nonactive]

M-DVD

#37
Quote from: Rafferty on September 15, 2008, 08:45:14 PM
FF 3.0.1 here xrunner and it worked fine immediately on install. Nice effect

Quote from: fangweile on September 15, 2008, 10:04:55 PM
Great mod.  Works fine in my site using Firefox 3 ^_^.  Thank a lot  for this.

Quote from: manfred on September 15, 2008, 11:28:06 PM
hi

the mod works Perfectly in Firefox 3.x for windows and linux (tested in ubuntu and debian) thanks M-DVD  ;)

Quote from: Sabre™ on September 16, 2008, 04:15:50 AM
That maybe the answer to my questions.

Nice mod M-DVD.
Keep up the good work

Quote from: lorenzone92 on September 16, 2008, 05:10:49 PM
It works perfectly for me!!
FF 3.0.1! :)

Thanks for this MOD, is fantastic! ;)

Quote from: BOS4O on September 16, 2008, 05:51:09 PM
yea it works perfectly now tnx  ;D

it loud be nice to add gif support  :P
Quote from: feelingshehides on September 17, 2008, 05:16:33 PM
Thanks it works now

Quote from: xrunner on September 19, 2008, 04:45:49 PM
Yes thanks this did solve the issue. Appreciate it!

Quote from: ALL4MOBIL on September 20, 2008, 11:13:18 AM
Very good! Oh man, nice designing mod...;-)

e.g.: http://www.porno.mystiq4ever.sk/index.php?action=profile;u=1

Thank you very much for using the MOD and I am glad they have liked.  :D

I will continue doing things :D

Zk5

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?

Zk5

 Actualy the avatar I'm talking about thats not showing the reflection is not related to ajax but is the users avatar located in the main header which is also where the shoutbox is located. Any suggestions?

Advertisement: