1 (edited by Lucky Looser 2005-09-20 20:56)

Topic: Redirect graphic

Moin - Moin,

I need a little help to modify my PunBB. I've made a little anim gif (I mean it's verry pretty) and put the follow code into lang/common.php

'Click redirect'        =>    '<p><center><img src="http://www.haresnet.de/forum/img/loader/loader.gif" border="0" width="156" height="37" alt="Loader"></center></p><p>Click here if you do not want to wait any longer (or if your browser does not automatically forward you)</p>',

My graphik is blue like the "Oxygen" style, what I've to to if I want to use a different colored graphic for the "Litium" style?
I want to use for each style I have another graphic.

I hope you understand my stupid English.

If you want to see it and have a look for action: My PunBB Forum

User: test
Pass: test

Sorry for my stupid English, but I'm an old and unteachable man.
Visit My PunBB Forum

2 (edited by Lucky Looser 2005-09-17 13:38)

Re: Redirect graphic

Hi,

I've edited "functions.php" and tryed this code at line 943:

$tpl_temp = $message.'<br /><br />'.'<p><center><img src="http://www.haresnet.de/forum/img/loader/'.$pun_user['style'].'gif" border="0" width="156" height="37" alt="Umleitung"></center></p><p><a href="'.$destination_url.'">'.$lang_common['Click redirect'].'</a></p>';

But by redirecting comes no grafic, whats wrong with the code? sad

Sorry for my stupid English, but I'm an old and unteachable man.
Visit My PunBB Forum

Re: Redirect graphic

Problem away, in my code was missing a dot.

The right code is:

$tpl_temp = $message.'<br /><br />'.'<p><center><img src="http://www.haresnet.de/forum/img/loader/'.$pun_user['style'].'.gif" border="0" width="156" height="37" alt="Umleitung"></center></p><p><a href="'.$destination_url.'">'.$lang_common['Click redirect'].'</a></p>';

I found it's a nice Gimmik! smile

Greetz L.

Sorry for my stupid English, but I'm an old and unteachable man.
Visit My PunBB Forum