Welcome Guest. Please Login or Register  


You are here: Index > Advanced Electron Forums > Mods > Topic : Facebook videos

A2 Hosting

News:

Group Message
Hello Guest,

Welcome to the AEF Board. AEF is getting better and better and is also becoming more popular.
Take a few seconds to Register, its free, and it inspires us to work harder and improve on whatever we can improve on.
Give us some feedback, and tell your buddies about AEF!

Thanks,
The AEF Team



Threaded Mode | Print  

 Facebook videos, Embed facebook videos (1 Replies, Read 6408 times)
cristrixy
Group: Universal Moderator
Post Group: Working Member
Posts: 211
Status:
Open the PHP script bbc_functions.php
add after the line

PHP Code

 if (!$globals['parsebbc']) {
        return 
$text;
    } 




PHP Code

 //embed facebook video
$text preg_replace('/[facebook]([A-Za-z0-9_]+)[/facebook]/i','<object width="400" height="224" > <param  name="allowfullscreen" value="true" /> <param na me="allowscriptaccess" value="always" /> <param name=" movie" value="[url=http://www.facebook.com/v/$1]http://www.facebook.com/v/$ 1[/url]" /> <embed src="[url=http://www.facebook.com/v/$1]h ttp://www.facebook.com/v/$1[/url]" type="application/x-shockwave-flash"&nbs p;  allowscriptaccess="always" allowfullscreen="true" width= "400" height="224"> </embed></object>',$text);
   
//end of facebook video line 



it will answer to [facebook]***********[/facebook]

For a detailed modification consult the topic :http://anelectron.com/board/index.php?&tid=6482&title=Da ilymotion_,_Youtube_,_Myspace_and_Vimeo

Enjoy!


Board Image







-----------------------
:D
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Members who read this topic
Enver02, aryan, VasiliyRS, ghazi119, SAFAD, cristrixy, GamingChitChat, CruzBishop, trinsleynewton, AminBully, sachin, OlenkaHaris, Knele, ak47traxx, arman1, liquidbroadcast123, gaguns


Users viewing this topic
1 guests, 0 users.

A2 Hosting

All times are GMT. The time now is September 21, 2019, 2:48 am.

  Powered By AEF 1.1.0 Preview © 2007-2011 AEF Group. All rights reservedQueries: 13  |  Page Created In:0.030