Join the Facebook Fan Page.
Started by Nao 尚, September 27, 2007, 05:51:05 PM
QuoteFINDCode: [Select] 'flash' => array('code' => 'flash',ADD BEFORECode: [Select] 'youtube' => array('code' => 'youtube', 'before' => '', 'description' => $txt['youtube']),
QuoteThe package manager currently allows only these file types: zip, tgz, tar.gz.
Quote from: TDNY on April 30, 2009, 08:51:43 PMI have youtube checked off on the bbc code list and the mod works fine.
Quote from: dotcomguy on July 06, 2009, 12:46:18 AMI'm not very good with coding; could you tell me where in the subs.php I should put that? The first html option wouldn't work since others would be able to add videos too. I'm not the admin but the global moderator so I think the code $user_info['id'] == your_user_id would work
if ($user_info['id'] == 1)
Quoteand the last part you said "before the call to aeva_onposting(), meaning everyone will be able to view embeds, but only for *your* posted links." is exactly what I need.
QuoteIdeally I would like to be able to have the bbc permission based so I could add video, photos, etc. and no one else could. I see there's a mod that does that but it hasn't been updated in a long time.
QuoteI'm running 1.1.9 by the way.
global $sourcedir; @include_once($sourcedir . '/Subs-Aeva.php'); if (function_exists('aeva_onposting')) $_POST['message'] = aeva_onposting($_POST['message']); }
global $sourcedir, $user_info; @include_once($sourcedir . '/Subs-Aeva.php'); if (function_exists('aeva_onposting') && $user_info['is_mod']) $_POST['message'] = aeva_onposting($_POST['message']); }
$txt['youtube'] = 'ใส่ยูทูบ';$txt['youtube_invalid'] = '#YouTube Link ไม่ถูกต้อง!#';
Quote from: Nao/Gilles on October 22, 2009, 08:31:06 AMShh!! Don't bump the topic! Or people will notice I'm not updating this to Aeva Lite like I promised