Aeva My Albums - www.example.com/index.php?action=media;area=mya (http://www.example.com/index.php?action=media;area=mya)on file /Themes/SMF4Mobile/Aeva.template.php you need to do the following changes
'albums' => array('text' => 'aeva_albums', 'icon' => 'plus', 'url' => $galurl . 'sa=vua'),
'my albums' => array('text' => 'aeva_myalbums', 'icon' => 'plus', 'url' => $galurl . 'area=mya'),
'albums' => array('text' => 'aeva_albums', 'icon' => 'plus', 'url' => $galurl . 'sa=vua'),
// My Albums
function template_aeva_album_cp()
{
global $txt, $scripturl, $galurl, $context, $settings, $alburl, $user_info;
echo '
<table cellpadding="4" cellspacing="1" border="0" width="100%" class="bordercolor">
';
if ($context['aeva_moving'] !== false)
echo '
<tr class="windowbg3">
<td colspan="4">', $txt['aeva_admin_moving_album'], ': ', $context['aeva_my_albums'][$context['aeva_moving']]['name'], ' <a href="', rtrim($alburl, ';'), '">[', $txt['aeva_admin_cancel_moving'], ']</a></td>
</tr>';
$can_manage = aeva_allowedTo('manage');
$can_moderate = aeva_allowedTo('moderate');
foreach ($context['aeva_my_albums'] as $album)
{
echo '
<tr class="windowbg', $album['featured'] ? '' : '2', '">
<td', !$album['approved'] ? ' class="unapp"' : '', ' style="padding-left: ', 5 + 30 * $album['child_level'], 'px',
$context['aeva_moving'] !== false && ($context['aeva_moving'] == $album['id'] || $context['aeva_moving'] == $album['parent']) ? '; font-weight: bold' : '', '">';
$show_move = $context['aeva_moving'] !== false && $context['aeva_moving'] != $album['id'] && $context['aeva_moving'] != $album['parent'];
if ($show_move)
echo '
', $album['move_links']['before'], '
', $album['move_links']['after'];
if ($can_manage || $album['owner']['id'] == $user_info['id'])
echo '
<a href="', $alburl, 'sa=edit;in=', $album['id'], '"><img alt="" src="', $settings['images_aeva'], '/folder_edit.png" title="', $txt['aeva_admin_edit'], '" /></a>
<a href="', $alburl, 'sa=delete;in=', $album['id'], '" onclick="return confirm(\'', $txt['aeva_admin_album_confirm'], '\');"><img alt="" src="', $settings['images_aeva'], '/folder_delete.png" title="', $txt['aeva_admin_delete'], '" /></a>
<a href="' . $alburl . 'move='.$album['id'] . '"><img alt="" src="', $settings['images_aeva'], '/arrow_inout.png" title="', $txt['aeva_admin_move'], '" /></a>', $album['approved'] == 0 && $can_moderate ? '
<img alt="" src="'.$settings['images_aeva'].'/tick.png" title="'.$txt['aeva_admin_approve'].'" /> <a href="'.$scripturl.'?action=media;area=moderate;sa=submissions;do=approve;type=albums;in='.$album['id'].'">'.$txt['aeva_admin_approve'].'</a>' : '';
if (!empty($album['featured']))
echo '
<img alt="" src="', $settings['images_aeva'], '/star.gif" title="', $txt['aeva_featured_album'], '" />';
echo '
<a href="', $galurl, 'sa=album;in=', $album['id'], '">', $album['name'], '</a>', $show_move ? '
' . $album['move_links']['child_of'] : '', '
</td>
</tr>';
}
echo '
</table>';
}
// Profile summary template
$txt['aeva_myalbums'] = 'My Albums';
$txt['aeva_albums'] = 'Albums';
Aeva New Album - www.example.com/index.php?action=media;area=mya;sa=add (http://www.example.com/index.php?action=media;area=mya;sa=add)Where it was this (previously modified to add "my albums")
'my albums' => array('text' => 'aeva_myalbums', 'icon' => 'plus', 'url' => $galurl . 'area=mya'),
'albums' => array('text' => 'aeva_albums', 'icon' => 'plus', 'url' => $galurl . 'sa=vua'),
'my albums' => array('text' => 'aeva_myalbums', 'icon' => 'plus', 'url' => $galurl . 'area=mya'),
'new album' => array('text' => 'aeva_admin_add_album', 'icon' => 'plus', 'url' => $galurl . 'area=mya;sa=add'),
'albums' => array('text' => 'aeva_albums', 'icon' => 'plus', 'url' => $galurl . 'sa=vua'),
Mass Upload/Download - www.example.com/index.php?action=media;sa=mass;album=000 (http://www.example.com/index.php?action=media;sa=mass;album=000)Bellow this code
<a href="', $galurl, 'sa=post;album=', $album_data['id'], '" data-role="button" data-inline="true" data-icon="plus" id="add_item">', $txt['aeva_add_item'], '</a>
<script type="text/javascript">
if (is_ios)
$("#add_item").remove();
</script>';
if ($context['aeva_can_multi_upload'])
echo '
<a href="', $galurl, 'sa=mass;album=', $album_data['id'], '" data-role="button" data-inline="true" data-icon="plus" id="add_item">', $txt['aeva_multi_upload'], '</a>
<script type="text/javascript">
if (is_ios)
$("#add_item").remove();
</script>';
if (aeva_allowedTo('multi_download'))
echo '
<a href="', $galurl, 'sa=massdown;album=', $album_data['id'], '" data-role="button" data-inline="true" data-icon="plus" id="add_item">', $txt['aeva_multi_download'], '</a>
<script type="text/javascript">
if (is_ios)
$("#add_item").remove();
</script>';
function template_aeva_multiUpload()
{
global $context, $txt, $galurl, $amSettings, $settings, $boardurl;
echo '
<table cellpadding="6" cellspacing="0" border="0" width="100%">
<tr class="titlebg">
<td>', $txt['aeva_multi_upload'], '</td>
</tr>
<tr class="windowbg">
<td>
<ul class="normallist">
<li>', $txt['aeva_max_file_size'], ': ', $txt['aeva_image'], ' - ', $context['aeva_max_file_size']['image'], ' ', $txt['aeva_kb'], ', ', $txt['aeva_video'], ' - ', $context['aeva_max_file_size']['video'], ' ', $txt['aeva_kb'], ', ', $txt['aeva_audio'], ' - ', $context['aeva_max_file_size']['audio'], ' ', $txt['aeva_kb'], ', ', $txt['aeva_doc'], ' - ', $context['aeva_max_file_size']['doc'], ' ', $txt['aeva_kb'], '
<li>', $txt['aeva_needs_js_flash'], '</li>
</ul>
</td>
</tr>
<tr class="windowbg2">
<td>
', $txt['aeva_add_allowedTypes'], ':
<ul class="normallist">';
foreach ($context['allowed_types'] as $k => $v)
echo '
<li><b>', $txt['aeva_filetype_'.$k], '</b>: ', str_replace('*.', '', implode(', ', $v)), '</li>';
echo '
</ul>
</td>
</tr>
<tr class="windowbg2">
<td align="center">
<form action="', $boardurl, '">
<strong>1</strong>. ', $txt['aeva_sort_order'], ' –
<select id="sort_order" name="sort_order">
<option value="1" selected="selected">', $txt['aeva_sort_order_filename'], '</option>
<option value="2">', $txt['aeva_sort_order_filedate'], '</option>
<option value="3">', $txt['aeva_sort_order_filesize'], '</option>
</select>
</form>
</td>
<tr class="windowbg2">
<td>
<form action="', $context['aeva_submit_url'], '" id="upload_form" method="post">
<div id="mu_container" style="text-align: center">
<p>
<strong>2</strong>. <span id="browse" style="position: absolute; z-index: 2"></span>
<span id="browseBtnSpan" style="z-index: 1"><a id="browseBtn" href="#">', $txt['aeva_selectFiles'], '</a></span> |
<strong>3</strong>. <a id="upload" href="#">', $txt['aeva_upload'], '</a>
</p>
<div>
<strong id="overall_title" class="overall-title">', $txt['aeva_overall_prog'], '</strong><br />
<img alt="" src="', $settings['images_aeva'], '/bar.gif" class="progress overall-progress" id="overall_progress" /> <strong id="overall_prog_perc">0%</strong>
</div>
<div>
<strong class="current-title" id="current_title">', $txt['aeva_curr_prog'], '</strong><br />
<img alt="" src="', $settings['images_aeva'], '/bar.gif" class="progress2 current-progress" id="current_progress" /> <strong id="current_prog_perc">0%</strong>
</div>
<div class="current-text" id="current_text"></div>
</div>
<div>
<div>
<ul id="current_list">
<li id="remove_me" style="visibility: hidden"></li>
</ul>
</div>
<br style="clear: both;" />
<div style="text-align: center;" id="mu_items"><input type="submit" name="aeva_submit" value="', $txt['aeva_submit'], '" /></div>
</div>
</form>
</td>
</tr>
<tr id="mu_items_tr" style="display: none" class="titlebg">
<td>', $txt['aeva_errors'], '</td>
</tr>
<tr id="mu_items_tr2" style="display: none" class="windowbg2">
<td id="mu_items_error" style="color: red;">
</td>
</tr>
</table>';
}
// Profile summary template
<p>
<strong>2</strong>. <span id="browse" style="position: absolute; z-index: 2"></span>
<span id="browseBtnSpan" style="z-index: 1"><a id="browseBtn" href="#">', $txt['aeva_selectFiles'], '</a></span> |
<strong>3</strong>. <a id="upload" href="#">', $txt['aeva_upload'], '</a>
</p>
(http://www.sspbck.pw/forum/news/smf4mobile_media8.png)I even installed wedge forum to try to see if the aeva version there was not using the swf file (and get the code), but it still uses it. So I assume even if I get Aeva 2 comercial version I will end up it the mass upload running on top of the swf.<form method="post" enctype="multipart/form-data" >
<input type="file" name="file[]" multiple id="file"/>
<input type="submit" name="ok" />
</form>
if(isset($_POST['ok']))
foreach ($_FILES['file']['name'] as $filename) {
echo $filename.'<br/>';
}
Hi Nao,No. That's why I slashed its price. You have the choice between unsupported old versions, or supported new versions (i.e. Wedge), although Wedge is also a problem these days because of the lack of buzz around it.
I'm still using Avea 1.4c. I'm still considering Wedge in the future but in the meantime was looking into purchasing Avea 2.1
Could you please answer some questions for me?
1. Do you plan to continue supporting Avea 2.x
2. Where is the best place to obtain support for it? Here or @ wedge.orgNowhere, if you're planning to get support for AeMe from me. At wedge.org, if it's a Wedge bug... (And AeMe is Wedge, as far as I'm concerned.)
3. Is there any fix for 2.x for YouTube embedding? As of this week, new embeds on 1.4c redirect to a video saying that the method to view YouTube is out of dateI don't know. I haven't met this problem yet. Is it an issue with the secure protocol thing? If yes, then there was a fix floating around that I posted somewhere years ago. Maybe search on wedge.org... aeva + https, or something. Dunno. Or maybe just http://aeva.noisen.com/6477/hello/msg265800/#msg265800 ...?
I'd really prefer to continue to use your software rather than try and convert everything to another platform or just trashing existing albums.Other software sucks, mostly. Anything media-related in the SMF universe sucks. And I make next to zero bucks with AeMe so I have no financial interests either way. They just suck horribly, which is why I worked so hard on AeMe in the first place. But even these days -- last time I looked into it, the SMF team had entirely removed AeMe from their servers, and never told me about it. Look at how good they are with slashing the competition. Even if the only relationship between AeMe and Wedge.org is the short link at the end of the mod pages.
Oh, sorry, I shouldn't bother to speak my feelings... It's not like they matter.Actually, they do. I was considering smf gallery pro but one of your posts from a while back on this board made me reconsider.
I don't know if this helps or not, but what I found out is thisHere you can see how it works
Open any youtube video directly on your browser, let's use the one bellow
https://www.youtube.com/watch?v=wjj7fBkcQCE
Just bellow the video you will find 3 buttons
+ add to | < share | ... More
press the share button, and the link to be usen is rewritten
https://youtu.be/wjj7fBkcQCE
so instead of
www.youtube.com (http://www.youtube.com)
you get
youtu.be
and instead of
watch?v=wjj7fBkcQCE
you get
wjj7fBkcQCE
Obviously you still need to take out the "s" on the protocol name (http:// instead of https://), but it will work
One question, I'm using smf 2.0.10 with Aeva Media (1.4w) and not wedge, can I use/adapt your code to try to fix the problem or you don't allow it?