Nao > Aeva Media

NEW METHOD for purchasing Aeva Media 2.10

(1/2) > >>

Nao/Gilles:
I've been forced, I'm afraid, to change the way Aeva Media subscriptions are taken.
Because PayPal only allows one website to be linked to one e-mail address, I've moved my website to be the new I'm working on. This just makes sense.

http://wedge.org/

- Create an account over there.
- Go to your profile, and click the Subscriptions link. You should be taken there.
- Click to purchase Aeva Media.
- You'll be redirected to PayPal. Proceed with your payment.
- You'll be redirected to Wedge.org.
- You should be receiving an e-mail with a link to the software. If you didn't receive it, just go to the Media section of wedge.org, and look for the "Aeva Media" folder. If you can't find it, please drop me a PM and I'll look into it.
- Download the package.
- ???
- Profit!

smap:
Hi there

1st of sorry for this big message and mixing 2 different packages for SMF - AEVA (developed by NAO/DRAGOOON) and SMF4Mobile (developed by DRAGOOON)

I'm using:
SMF4Mobile - 1.15 - http://smf-media.com/
SMF - 2.08
Aeva - 1.4w - http://custom.simplemachines.org/mods/?mod=977

I missed some functionalities from the non mobile theme like:
Aeva My Albums - www.example.com/index.php?action=media;area=mya
Aeva New Album - www.example.com/index.php?action=media;area=mya;sa=add
Mass Upload/Download - www.example.com/index.php?action=media;sa=mass;album=000

I compared the Aeva.template.php provided by Aeva 1.4w and SMF4mobile theme and could put some functionalities to work


For this one
--- Quote from smap ---Aeva My Albums - www.example.com/index.php?action=media;area=mya
--- End quote ---
on file /Themes/SMF4Mobile/Aeva.template.php you need to do the following changes

Where you have this line


--- Code: ---'albums' => array('text' => 'aeva_albums', 'icon' => 'plus', 'url' => $galurl . 'sa=vua'),

--- End code ---

Add a line above


--- Code: ---'my albums' => array('text' => 'aeva_myalbums', 'icon' => 'plus', 'url' => $galurl . 'area=mya'),
'albums' => array('text' => 'aeva_albums', 'icon' => 'plus', 'url' => $galurl . 'sa=vua'),

--- End code ---

Then on the same file add this code


--- Code: ---// 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'].'" />&nbsp;<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>';

}

--- End code ---

it really doesn't have to be on this specific place but I place it above this


--- Code: ---// Profile summary template
--- End code ---


You need finally to add the following line on file /Themes/default/languages/Aeva.english.php (or whatever language you are using)


--- Code: ---$txt['aeva_myalbums'] = 'My Albums';
--- End code ---

I place it above this


--- Code: ---$txt['aeva_albums'] = 'Albums';
--- End code ---

Here's a screenshot
--- Quote from smap ---Aeva New Album - www.example.com/index.php?action=media;area=mya;sa=add
--- End quote ---
Where it was this (previously modified to add "my albums")


--- Code: ---'my albums' => array('text' => 'aeva_myalbums', 'icon' => 'plus', 'url' => $galurl . 'area=mya'),
'albums' => array('text' => 'aeva_albums', 'icon' => 'plus', 'url' => $galurl . 'sa=vua'),

--- End code ---

Add the middle line


--- Code: ---'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'),

--- End code ---

Here is a screenshot
--- Quote from smap ---Mass Upload/Download - www.example.com/index.php?action=media;sa=mass;album=000
--- End quote ---
Bellow this code


--- 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>';

--- End code ---

Add this code


--- Code: ---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>';

--- End code ---


Then add this code


--- Code: ---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'], ' &ndash;
<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>';
}

--- End code ---

it really doesn't have to be on this specific place but I place it above this


--- Code: ---// Profile summary template

--- End code ---

Here's a screenshotAnd finally here is my problem, on the "Mass Upload" page, the link "select files" doesn't work because it call a swf to upload the files

It's located on this part of the code


--- Code: ---<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>

--- End code ---
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.

I'm not that skilled in php so i'm asking if there's any change to change Aeva to use a HTML 5 form to do the upload instead of the swf. As far as I see it you will end up having to do this change sooner or later since android stop supporting flash.

I checked this page - http://stackoverflow.com/quest...h-html-and-php-using-http-post - and tried to change the code using this


--- Code: ---<form method="post" enctype="multipart/form-data" >
   <input type="file" name="file[]" multiple id="file"/>
   <input type="submit" name="ok"  />
</form>

--- End code ---

Can even get the echo to work


--- Code: ---if(isset($_POST['ok']))
   foreach ($_FILES['file']['name'] as $filename) {
    echo $filename.'<br/>';
}

--- End code ---

But don't know how to put it to work with the rest of the the Aeva.template.php

PS: sorry to reply on this topic, but I didn't seem to have permissions to start one. Feel free to move this message to where appropriated


Regards
SMAP

Nao/Gilles:
Wedge uses aeme 2.
I'm planning to get rid of swf uploads but I'm not selling enough copies to even want to get started...

lucifer6642:
Hi Nao,

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.org
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 date

I'd really prefer to continue to use your software rather than try and convert everything to another platform or just trashing existing albums.

Thanks

Nao/Gilles:

--- Quote from lucifer6642 on on 7 May 2015 0h14 ---Hi Nao,

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
--- End quote ---
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.
--- Quote ---2. Where is the best place to obtain support for it? Here or @ wedge.org
--- End quote ---
Nowhere, 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.)
--- Quote ---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 date
--- End quote ---
I 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 ...?
--- Quote ---I'd really prefer to continue to use your software rather than try and convert everything to another platform or just trashing existing albums.
--- End quote ---
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.

Navigation

[0] Message Index

[#] Next page

Go to full version