General support topic for Aeva Media (Latest release: July 28, 2010)

Started by Nao 尚, October 14, 2007, 04:28:15 PM

Previous topic - Next topic

Kimmie

For a site like Megavideo, when you go to watch something on the actual site, it plays in large view but when I post the link to that same item on my site, it severly reduces the size.

Is there any way to adjust the size of the videos in the post?


Thanks

liamtoo

I find it hard to keep up with all the goings on on SMF. Neo is off doing his own forking thing, as is vbgamer. I actually bought the commercial version of Aeva Media just before he made it free! My forum was running well under RC3 and I was loath to fix what wasn't broken so I waited for the elusive Gold. I eventually updated to 2.0 Gold intending to install Aeva Media but then ... SMF went to 2.1... !!!

So what should I do .. If I install Aeva Media and it works under 2.1 will it still work under subsequent versions? The forum I run is for a non profit photography club linked to PBase which is quite clunky and I need to move on. Should I grapple with Coppermine or Gallery 2. I tried them before but found their staff short tempered and rather rude which is the reason I ended up here. SMF by comparison were invariably courteous and helpful.



MrPhil


MiY4Gi

Quote from: liamtoo on September 24, 2011, 04:33:59 PM
I find it hard to keep up with all the goings on on SMF. Neo is off doing his own forking thing, as is vbgamer. I actually bought the commercial version of Aeva Media just before he made it free! My forum was running well under RC3 and I was loath to fix what wasn't broken so I waited for the elusive Gold. I eventually updated to 2.0 Gold intending to install Aeva Media but then ... SMF went to 2.1... !!!

So what should I do .. If I install Aeva Media and it works under 2.1 will it still work under subsequent versions? The forum I run is for a non profit photography club linked to PBase which is quite clunky and I need to move on. Should I grapple with Coppermine or Gallery 2. I tried them before but found their staff short tempered and rather rude which is the reason I ended up here. SMF by comparison were invariably courteous and helpful.


As MrPhil says, you must mean SMF 2.0.1, not SMF 2.1. Also, you must be referring to Nao, and not Neo. However, all that's irrelevant.

I see what's bothering you. I had a similar fear. I didn't want to update from 2.0 to 2.0.1 since I thought my mods wouldn't work afterwards. What I learnt was, the 2.0.1 update could be installed as a patch/mod, just like the other mods, so you get to see exactly what code changes are included in the update. I had a look at the changes and I noticed that the update didn't make any changes to the layout of the code, but rather, it just added a bit of "missing code" which created security vulnerabilities. Adding that missing code didn't affect my installed mods at all.

I'm not saying that all SMF updates are like this, but what I noticed is that you can check the code changes that any update will make, and look to see if it seems to alter the code used by any mods.

Another important thing to know is that, whenever SMF releases an update, after 1-4 weeks, most of the mod authors update their mods to be compliant with the latest SMF. Only a few of the mods are affected by SMF updates anyway.

Also, with the use of integration hooks, newer mods won't be making many (if any) changes to the SMF code, so even if you have to spend extra time maintaining the mods on your website, in a year or so, the time you spend on updating mods would be reduced significantly.

So to answer your question, if you install Aeva Media on SMF Gold, if SMF releases any updates, then the current author of Aeva will update that mod to be compliant with the latest SMF. After all, Aeva is one of the mod popular mods on SMF, so SMF mod authors won't let Aeva stagnate, but will update it regularly.     
Check out my new website, MyAnimeClub.net. I plan to create the largest anime community, and most fun and user-friendly anime forum in the world. It's still in the development stage though.

liamtoo

Thanks for your considered reply. My mistake was more a typo than a deliberate terminological inexactitude. If Aeva Media is updated to 2.01 then I will install it for sure. I do like the mod really. So thanks for restoring my confidence.

Kindred

Since the author has stopped development and support of aeva, I doubt that he will be updating it. However, it should continue to work on 2.0.1 if you emulate 2.0 on the install
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

MiY4Gi

Quote from: Kindred on September 26, 2011, 08:32:44 PM
Since the author has stopped development and support of aeva, I doubt that he will be updating it. However, it should continue to work on 2.0.1 if you emulate 2.0 on the install

Are you implying that the mod won't get updated, ever? I've heard of other developers taking over mods.
Check out my new website, MyAnimeClub.net. I plan to create the largest anime community, and most fun and user-friendly anime forum in the world. It's still in the development stage though.

Kindred

Nao has made no bones about the fact that he will not allow anyone to take over this mod. He has decided to go his own way with his fork and stop all development with any SMF mods.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

MiY4Gi

I see. So if Nao stops updating the mod, then it's every man for himself? Although, I guess one can still find solutions to problems by posting the problem code in this thread.
Check out my new website, MyAnimeClub.net. I plan to create the largest anime community, and most fun and user-friendly anime forum in the world. It's still in the development stage though.

liamtoo

This is why I'm so unsure. Nao is incorporating Aeva Media in his new forum and has washed his hands of SMF. So is vbgamer likely to do the same eventually? ... (loyalty at SMF seems very fickle) after all, he too is working on a fork. I personally don't think there's room for all these forks. FB and Twitter have all but killed Forums anyway. I may well have to grapple with an outside gallery.
Sigh ... what to do !!!



bobi

Hi, before the aeva and gallery media mods were merged, I used a mod to show randoms pictures on the index page, on top of the boards. I'm bringing back an old forum to life, so I upgraded it to smf 2.0.1, with the lastest version of aeva media. Unfortunatly, the mod doesn't work anymore.

Into boardindex.template.php, after global;

//Random aléatoire media gallery image picture on board index start
if (allowedto('mgallery_access'))
{
global $sourcedir, $galurl;
require_once($sourcedir . '/Subs-MGallery.php');
loadMGal_Settings();
$items = getMediaItems(0, 4, 'rand()');

echo '
<br><tr class="titlebg">
<center><table border="0" BORDERCOLOR=BLACK width="900" cellspacing="1" cellpadding="5" class="bordercolor" style="margin-top: 0px;"></center>';
foreach ($items as $item)
{
echo '
<td class="windowbg">
<div class="smalltext" style="text-align: center;">
<a href="',$galurl,'sa=item;id=',$item['id'],'"><img alt="" src="',$galurl,'sa=media;id=',$item['id'],';thumb" /></a><br /><a href="',$galurl,'sa=album;id=',$item['id_album'],'">', $item['album_name'],'</a><br />
</div>
</td>';
}
echo '
</tr>
</table>
<br>';
}
//Random media gallery image on board index end


Now it return the error:
The table 'ethno.ethno_mgallery_settings' doesn't exist
File: C:\Program Files (x86)\EasyPHP-5.3.8.0\www\Sources\Subs-MGallery.php
Line: 1957


I hope someone can help me

Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

bobi

I changed it to    require_once($sourcedir . '\Aeva-Subs.php');
now it return the error:

Fatal error: Call to undefined function loadMGal_Settings() in C:\Program Files (x86)\EasyPHP-5.3.8.0\www\Sources\Load.php(2164) : eval()'d code on line 22

(I tried to change the function to loadaeva_settings but it does the same)

Kindred

well, you can try using search next time. :P


global $sourcedir;

   loadLanguage('Aeva');
   require_once($sourcedir . '/Aeva-Subs.php'); 

   echo '<div id="aeva_pics" style="width: 100%;" overflow="visible">
         <div align="center">'. aeva_listItems(aeva_getMediaItems(0, 5, 'RAND()'), true, '', 0). '</div>
      </div>';


variations of this block are scattered at least 20 occurrences through this thread.
(search for portal block or random block)
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

ntr2ntr

Hi Friends,

I m currently using SMF 2.0.1 and swordy theme and youtube videos that members post tend to the left side of the page and they are not in the middle, how can i make them lay to the middle ?? i changed my theme to smf default theme but its the same

Please Help me out of this friends...

Thanks

Eyesman

Hello all,

I have Aeva Media  v.1.4c on a SMF2 RC5 and I have a big problem with the uploading of the members. They have uploaded almost 700 photos and I'm running out of disk space.

I have looked into the Quotas Profiles but I couldn't find any quota settings. Can I enable quotas for the members profiles? For example to allow 50 photos of each user or something similar.

Thanking you in advance.

bobi

Thank you very much for the help.

Is there a way that I can only show the pictures in this block? I would like to remove this;

Visites: 0
by autor
le 12 Juil 2009

and to change the picture name for the album name

bobi

I found the solution. To call the function I use:

if (allowedto('mgallery_access'))
{
global $sourcedir;
   loadLanguage('Aeva');
   require_once($sourcedir . '/Aeva-Subs.php'); 
   echo '<div id="aeva_pics" style="width: 100%;" overflow="visible">
         <div align="center">'. aeva_listItems(aeva_getMediaItems(0, 5, 'RAND()'), true, '', 0, false, 1). '</div>
      </div>';
}


and I slightly modified the function aeva_listitems into aeva-subs.php (look for $bubu and $linktoalbum);

function aeva_listItems($items, $in_album = false, $align = '', $per_line = 0, $can_moderate = false, $bubu)
{
global $scripturl, $txt, $galurl, $settings, $context, $amSettings, $modSettings, $sourcedir, $user_info;
static $in_page = 0;

if (empty($items))
return;

aeva_addHeaders();
$urlmore = isset($context['aeva_urlmore']) ? $context['aeva_urlmore'] : '';
$user_is_known = !empty($context['current_action']) && $context['current_action'] == 'profile';
$main_user = $in_album && !empty($context['aeva_album']['owner']['id']) ? (int) $context['aeva_album']['owner']['id'] : 0;
$mtl = !empty($amSettings['max_title_length']) && is_numeric($amSettings['max_title_length']) ? $amSettings['max_title_length'] : 30;
$icourl = '
<img alt="" width="10" height="10" src="' . $settings['images_aeva'] . '/';
$new_icon = '<img alt="" src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/new.gif" border="0" />';
// If we're in an external embed, we might not have all the space we would like...
$per_line = $per_line > 0 ? $per_line : (!empty($amSettings['num_items_per_line' . ($per_line === -1 ? '_ext' : '')]) ?
max(1, $amSettings['num_items_per_line' . ($per_line === -1 ? '_ext' : '')]) : ($per_line === -1 ? 3 : 5));
$ico = !empty($amSettings['icons_only']);
$first = reset($items);
$can_moderate &= isset($_REQUEST['action']) && $_REQUEST['action'] == 'media';
$can_moderate_here = aeva_allowedTo('moderate');
$re = '
<table class="pics smalltext" width="' . (count($items) == 1 ? max(120, $first['w_thumb'] + 12) . '"' : '100%" cellspacing="8"') . (!empty($align) ? ' align="' . $align . '"' : '') . '>';

$cnt = 0;
$ex_album_id = 0;

foreach ($items as $i)
{
// If you don't want to allow item previewing via Highslide on album pages, replace the following line with: $is_image = false;
$is_image = $i['type'] == 'image' || ($i['type'] == 'embed' && preg_match('/\.(?:jpe?g?|gif|png|bmp)/i', $i['embed_url']));
$is_embed = !$is_image && $i['type'] == 'embed' && !empty($modSettings['aeva_enable']);
if ($is_embed)
{
if (!function_exists('aeva_main'))
include($sourcedir . '/Aeva-Embed.php');
$match = preg_replace(array('~\[url=([^]]+)]([^[]+)\[/url]~', '~\[url]([^[]+)\[/url]~'), array('<a href="$1">$2</a>', '<a href="$1"></a>'), $i['embed_url']);
$match = substr(strtolower($match), 0, 4) === 'http' ? '<a href="' . $match . '">Test</a>' : $match;
$match = aeva_main($match);
preg_match('~"(\d+)", "(\d+)"~', $match, $siz);
if (empty($siz))
preg_match('~width="(\d+)(?:px)?" height="(\d+)(?:px)?"~', $match, $siz);
$is_embed = !empty($siz);
}

$in_page++;
$inside_caption = !$amSettings['use_lightbox'] ? '' : ($is_image || $is_embed ? ($is_image ? '
<div class="highslide-caption">' : ($is_embed ? '
<div class="highslide-maincontent" style="width: ' . $siz[1] . 'px; height: ' . ($siz[2]+42) . 'px; overflow: visible !important">
' . trim($match) : '')) . '
<div style="float: right">' . ($i['has_preview'] ? '
<a class="aelink hs" href="' . ($i['type'] == 'embed' ? $i['embed_url'] : $galurl . 'sa=media;in=' . $i['id']) . '" onclick="return hss(' . $in_page . ', this);">' . $txt['aeva_zoom'] . '</a> <span style="font-weight: bold; font-size: 1.2em;">&oplus;</span>' : '') . '
<a class="aelink" href="' . $galurl . 'sa=item;in=' . $i['id'] . $urlmore . '">' . $txt['aeva_gotolink'] . '</a>' . (!empty($i['comments']) ? '
<img alt="" src="' . $settings['images_aeva'] . '/comment.gif" /> ' . $i['comments'] : '') . '
</div>
' . $i['title'] . (empty($i['desc']) ? '' : '
<div class="smalltext mg_desc">
' . aeva_cutString($i['desc'], 300, true, 50, true, true) . '
</div>') . '
</div>' : '');

if ($cnt % $per_line == 0)
$re .= '<tr>';
$title = empty($i['title']) ? '&hellip;' : (strlen($i['title']) < $mtl ? $i['title'] : aeva_cutString($i['title'], $mtl));
if (!empty($bubu))

$linktoalbum = $galurl . 'sa=album;in=' . $i['id_album'] . $urlmore . '"' . ($i['album_name'] != $i['title'] ? ' title="' . preg_replace('/&amp;(#[0-9]+|[a-zA-Z]+);/', '&$1;', htmlspecialchars($i['title'])) . '"' : '') . '>' . $i['album_name'];
} else {
$linktoalbum = $galurl . 'sa=item;in=' . $i['id'] . $urlmore . '"' . ($title != $i['title'] ? ' title="' . preg_replace('/&amp;(#[0-9]+|[a-zA-Z]+);/', '&$1;', htmlspecialchars($i['title'])) . '"' : '') . '>' . $title;
}
if ($ex_album_id != $i['id_album'])
$album_name = empty($i['album_name']) ? '&hellip;' : (strlen($i['album_name']) < $mtl ? $i['album_name'] : aeva_cutString($i['album_name'], $mtl));
$ex_album_id = $i['id_album'];

$check = $can_moderate && ($i['poster_id'] == $user_info['id'] || $can_moderate_here) ? '<div class="aeva_quickmod"><input type="checkbox" name="mod_item[' . $i['id'] . ']" /></div>' : '';
if (empty($bubu))
{
$dest_link = $is_image && $i['type'] == 'embed' && !$i['has_preview'] ? $i['embed_url'] : $galurl . 'sa=' . ($is_image ? 'media' : 'item') . ';in=' . $i['id'] . ($is_image ? ';preview' : '');
} else {
$dest_link = $is_image && $i['type'] == 'embed' && !$i['has_preview'] ? $i['embed_url'] : $galurl . 'sa=item;in=' . $i['id'];
}
$re .= '
<td class="windowbg' . ($i['approved'] ? '' : ' unapp') . '" align="center">' . $check . ($i['is_new'] ? '
' . $new_icon : '') . '
<div style="margin: auto; width: ' . ($amSettings['max_thumb_width'] + 10) . 'px"><a href="' . $linktoalbum . '</a></div>
<div class="aep" style="width: ' . $i['w_thumb'] . 'px; height: ' . $i['h_thumb'] . 'px; background: url(' . $i['thumb_url'] . ') 0 0;' . (strpos($i['thumb_url'], 'generic_images') !== false ? ' box-shadow: none' : '') . '"><a href="'
. $dest_link . '"' . (($is_image || $is_embed) && $amSettings['use_lightbox'] ?
' id="hsm' . $in_page . '" class="hs" onclick="' . ($is_image ? 'return hs.expand(this, slideOptions)' :
'mediaOptions[\'width\'] = ' . $siz[1] . '; return hs.htmlExpand(this, mediaOptions)') . ';"' : '')
. '>&nbsp;</a>' . $inside_caption . '</div>';
if ($ico) // Icons only?
$re .= $icourl . 'graph.gif" title="' . $txt['aeva_views'] . '" />&nbsp;' . $i['views'] .
(!empty($i['comments']) ? $icourl . 'comment.gif" title="' . $txt['aeva_comments'] . '" />&nbsp;' . $i['comments'] . (!empty($i['new_comments']) ? ' (' . $new_icon . '&nbsp;' . $i['new_comments'] . ')' : '') : '') .
(!empty($i['new_comments']) ? '(' . $new_icon . '&nbsp;' . $i['new_comments'] . ')' : '') .
(!empty($i['voters']) ? $icourl . 'star.gif" title="' . $txt['aeva_rating'] . '" />&nbsp;' . $i['rating'] : '') . '<br />';
else
if (empty($bubu))
{
$re .= $icourl . 'graph.gif" />&nbsp;' . $txt['aeva_views'] . ':&nbsp;' . $i['views'] . '<br />'.
(!empty($i['comments']) ? $icourl . 'comment.gif" />&nbsp;' . $txt['aeva_comments'] . ':&nbsp;' . $i['comments'] . (!empty($i['new_comments']) ? ' (' . $new_icon . '&nbsp;' . $i['new_comments'] . ')' : '') . '<br />' : '') .
(!empty($i['voters']) ? $icourl . 'star.gif" />&nbsp;' . $txt['aeva_rating'] . ':&nbsp;' . $i['rating'] . '<br />' : '');

$re .= ($user_is_known || $main_user == $i['poster_id'] ? '' : ($ico ? $icourl . 'person.gif" title="' . $txt['aeva_posted_by'] . '" />&nbsp;' : '
' . $txt['aeva_posted_by'] . ' ') . aeva_profile($i['poster_id'], $i['poster_name']) . '<br />') . $icourl . 'clock.gif" title="" /> ' . $i['time'] . (!$in_album ? '<br />
' . $txt['aeva_in_album'] . ' ' . ($i['hidden_album'] ? $album_name : '<a href="' . $galurl . 'sa=album;in=' . $i['id_album'] . '">' . $album_name . '</a>') : '') . '
</td>';
}
if (++$cnt % $per_line == 0)
$re .= '</tr>';
}

if ($cnt % $per_line != 0)
$re .= '</tr>';

return $re . '</table>';
}


Hope this help!

Kimmie

Quote from: Kindred on September 27, 2011, 04:57:58 PM
Nao has made no bones about the fact that he will not allow anyone to take over this mod. He has decided to go his own way with his fork and stop all development with any SMF mods.


If the rumor is true that this person no longer supports SMF, then why is it that any mod on this site does not become owned by SMF and THEY can let someone else take it over>? From my perspective, any mod put on this site, and then abandoned becomes the property of said smf owners. Abandoned means they no longer want anything to do with the mod and since it was coded for SMF forums, I just dont see why someone else cant take it over (should they want to)

If they dont want anyone messing with it, they need to demand that it be pulled from the download page. You abandon it, you give up your rights to it.

«$»Crimson

First off I'd to say great mod, this thing is wonderful.

Next I'd like to ask if there's anyway to automatically play a video from YouTube, such as adding "&autoplay=1" after the url so that it looks something like.......
http://www.youtube.com/watch?v=mGDuExhS6Nw&feature=related&autoplay=1
That way the video plays right when someone browses the topic, or in our case clicks a spoiler tag.

We like to play jokes at our forums by hiding videos in spoiler tags, that way the unsuspecting victim gets Rick-Rolled or something.

Advertisement: