nicholasalipaz wrote:you could search the code for "sound" in all the files and extract those parts where they differ from yours. then add the sound files I included in your root. That would be all you need. I think there are additions in shouts.php, chat.php, <templates>/chat_body.html and two sound files in root.
*I wrote the above from memory, so don't take it for granted*
Using something like winmerge is really useful for viewing the differences between the two files. If you have issues let me know and I will try to help, but I am leaving in a few hours for a trip and won't be back for about 4-5 days.
shahinavthal wrote:I have tried to figure out the changes so that i need not replace the entire chat.php file or the shout.php file..
Please correct if i am wrong,
But the difference for the sound etc are
- Code: Select all
$template->assign_block_vars('soundrow', array(
'SOUND' => '<div style="visibility: hidden; position: absolute;"><object data="sound.swf" type="application/x-shockwave-flash"><param name="movie" value="sound.swf" /></object></div>',
));
Twice in chat.php,
- Code: Select all
$template->assign_block_vars('soundrow', array(
'SOUND' => '<object data="sound.swf" type="application/x-shockwave-flash" width="0" height="0"><param name="movie" value="sound.swf" /></object>',
));
once in shout.php and,
- Code: Select all
<!-- BEGIN soundrow -->{soundrow.SOUND}<!-- END soundrow -->
once in chat_body.html ... as well as the 2 swf sound files within the mod
Anything more if you remember please???
Will be of great help...thanks
Hello there! I have found many tips up to here, usefull, and managed to have my forum running, using BBCodes, smilies, Arcade room, and some small customizations, to use with AERO Styles. (
http://www.antikerkida.net )
I always try everything on prosilver o subsilver styles, and then make the apropriate edits for the AERO style too...
Since i can't go back again, i tried using the above posts, to
just add sound in my prosilver template...
I've done the edits --->2 in chat.php, 1 in shout.php, 1 in chat_body.html (in prosilver style) but i have no sound. I've added the 2 sound files in the root!
I've cleaned cache, refreshed template, even tried login from 2 browsers with 2 usernames, to hear the sound in the other...
NO LUCK!
Any ideas? I would apreciate every help...
Cheers!