The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Forum main logo

View previous topic View next topic Go down

In progress Forum main logo

Post by SF1NX on May 31st 2013, 9:20 pm

Hi !

Can somebody help me pls ?

I want to use a video/flash with music in my Forum main logo, but it doesn't allow it.
How can i fix it ?

http://sfinxsplace.forumclan.com/forum

Thanks


Sfinx !






SF1NX
Forumember

Male Posts : 48
Reputation : 1
Language : English
Location : Belgium

http://sfinxsplace.forumclan.com/

Back to top Go down

In progress Re: Forum main logo

Post by Ultron's Vision on May 31st 2013, 9:48 pm

Use this JavaScript code (add it under Administration Panel -> Modules -> HTML & JavaScript -> JavaScript pages management -> Create a new JavaScript; choose any title and select "In all the pages").

Code:
$(document).ready(function(){

$('img#i_logo').prepend('<div id="embed_id"><embed src="your flash video here" width="your width in numbers" height="your height in numbers"></div>');

$('img#i_logo').css('display','none');

});

Use this with care, not all people are fans of Flash animations...

Ultron's Vision
Forumember

Male Posts : 634
Reputation : 45
Language : English | German | HTML | JavaScript | PHP | C++ | Perl | Java
Location : Vienna, Austria

http://duelacademy.net

Back to top Go down

In progress Re: Forum main logo

Post by SF1NX on June 1st 2013, 2:06 pm

@Ultron's Vision wrote:Use this JavaScript code (add it under Administration Panel -> Modules -> HTML & JavaScript -> JavaScript pages management -> Create a new JavaScript; choose any title and select "In all the pages").

Code:
$(document).ready(function(){

$('img#i_logo').prepend('<div id="embed_id"><embed src="your flash video here" width="your width in numbers" height="your height in numbers"></div>');

$('img#i_logo').css('display','none');

});

Use this with care, not all people are fans of Flash animations...


Sorry, it isn't working.

I'm using fotobucket and i have these options :

*Email & IM : http://smg.photobucket.com/user/sfinx/media/MAQ50002_zpse7e17ca8.mp4.html

*Direct : http://smg.photobucket.com/user/sfinx/media/MAQ50002_zpse7e17ca8.mp4.html

*HTML : <embed width="600" height="361" type="application/x-shockwave-flash" allowFullscreen="true" allowNetworking="all" wmode="transparent" src="http://static.photobucket.com/player.swf" flashvars="file=http%3A%2F%2Fvidmg.photobucket.com%2Falbums%2Fv107%2Fsfinx%2FMAQ50002_zpse7e17ca8.mp4">

*IMG:


I tried every one in your code but there's nothing to see on my main pg.

Kind regards
Sfinx




SF1NX
Forumember

Male Posts : 48
Reputation : 1
Language : English
Location : Belgium

http://sfinxsplace.forumclan.com/

Back to top Go down

In progress Re: Forum main logo

Post by Sanket on June 1st 2013, 2:15 pm


Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

In progress Re: Forum main logo

Post by SF1NX on June 5th 2013, 9:13 pm



Hello, ok the flash is working, but i can make it a little bigger .

<embed src="http://www.go2album.com/album2/S/F/1/N/X/SF1NX/51af85632f4/YmxhMQ%3D%3D.swf?fs_path=http://www.go2album.com/album2/S/F/1/N/X/SF1NX/51af85632f4/Ymwx.swf?fs_path=http://www.go2album.com/album2/S/F/1/N/X/SF1NX/51af51da272" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="820" height="740"></embed>

I changed the width and height numbers on both places but it doesn't get bigger on the forum.

SF1NX
Forumember

Male Posts : 48
Reputation : 1
Language : English
Location : Belgium

http://sfinxsplace.forumclan.com/

Back to top Go down

In progress Re: Forum main logo

Post by kirk on June 5th 2013, 9:21 pm

how big do you need it width="820" height="740 seems pretty big as it is.
anyway you just adjust the dimensions there.


kirk
Forumaster

Male Posts : 11037
Reputation : 651
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

In progress Re: Forum main logo

Post by Sir Chivas™ on June 5th 2013, 9:25 pm

Where are you placing the codes at?

Add this into the code: <div class="logo">code goes here </div>


So, it'll be something like this:
Code:
<div class="logo"><embed src="http://www.go2album.com/album2/S/F/1/N/X/SF1NX/51af85632f4/YmxhMQ%3D%3D.swf?fs_path=http://www.go2album.com/album2/S/F/1/N/X/SF1NX/51af85632f4/Ymwx.swf?fs_path=http://www.go2album.com/album2/S/F/1/N/X/SF1NX/51af51da272" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="820" height="740"></embed></div>


Add this into your CSS: ACP >>display >> colors >> CSS
Code:
.logo {
height: 740px;
width: 820px;
}



Attention!
- Please provide your forum URL at all times.
- When the issue is solved, please mark it as solved.



Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6783
Reputation : 430
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

In progress Re: Forum main logo

Post by kirk on June 6th 2013, 12:17 am

haha your a mad man!!! thats huge Razz
(If that's this is for me: That's what he wanted, so will give what he wants Very Happy ~ Sir Chivas.)

Considering you are using phpbb2. If it was me i would just add a simple flash code right to the forums overall_ header template.. use a few line breaks <br> to get a little space from the top. although if your leaving it that big i dont think you will need much space from the top of the forum. may be one line break <br>

Admin panel>display>templates>general>Overall_header template.

Place this code at the very top over all other coding in there, then hit save.
then go back and click on the green + ICON Add to publish and thats it Smile

remember you can adjust the dimensions in there to if you like to make it a little smaller if you had to.
Code:
<div style="margin:auto;text-align:center;width:100%"><embed pluginspage="http://www.macromedia.com/go/getflashplayer" src="http://www.go2album.com/album2/S/F/1/N/X/SF1NX/51af85632f4/YmxhMQ%3D%3D.swf" width="820" height="740" type="application/x-shockwave-flash" wmode="transparent" quality="high" scale="exactfit"></embed></div>


but thats just me.. lol
Now you have several options you can choose from Very good

kirk
Forumaster

Male Posts : 11037
Reputation : 651
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum