Author Topic: NEW METHOD for purchasing Aeva Media 2.10  (Read 277044 times)

0 Members and 1 Guest are viewing this topic.

Offline Nao/Gilles

  • Admin
  • *
  • Posts: 10732
  • Gender: Male
  • Dinosaure de l'animation japonaise, du Net, et de la connerie.
    • View Profile
    • Cynacittà @ noisen
NEW METHOD for purchasing Aeva Media 2.10
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!
« Everyone knows rock attained perfection in 1974. It's a scientific fact. »

Offline smap

  • Newbie
  • *
  • Posts: 3
  • Gender: Male
    • View Profile
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
on file /Themes/SMF4Mobile/Aeva.template.php you need to do the following changes

Where you have this line

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

Add a line above

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

Then on the same file add this code

Code: [Select]
// 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>';

}

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

Code: [Select]
// Profile summary template

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

Code: [Select]
$txt['aeva_myalbums'] = 'My Albums';
I place it above this

Code: [Select]
$txt['aeva_albums'] = 'Albums';
Here's a screenshot
Quote from smap
Aeva New Album - www.example.com/index.php?action=media;area=mya;sa=add
Where it was this (previously modified to add "my albums")

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

Add the middle line

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

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

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

Add this code

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


Then add this code

Code: [Select]
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>';
}

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

Code: [Select]
// Profile summary template

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: [Select]
<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>
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: [Select]
<form method="post" enctype="multipart/form-data" >
   <input type="file" name="file[]" multiple id="file"/>
   <input type="submit" name="ok"  />
</form>

Can even get the echo to work

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

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
« Last Edit 6 September 2014 à 23h42 »

Offline Nao/Gilles

  • Admin
  • *
  • Posts: 10732
  • Gender: Male
  • Dinosaure de l'animation japonaise, du Net, et de la connerie.
    • View Profile
    • Cynacittà @ noisen
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...
« Everyone knows rock attained perfection in 1974. It's a scientific fact. »

Offline lucifer6642

  • Newbie
  • *
  • Posts: 3
    • View Profile
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

Offline Nao/Gilles

  • Admin
  • *
  • Posts: 10732
  • Gender: Male
  • Dinosaure de l'animation japonaise, du Net, et de la connerie.
    • View Profile
    • Cynacittà @ noisen
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
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
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
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.
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.
« Everyone knows rock attained perfection in 1974. It's a scientific fact. »

Offline lucifer6642

  • Newbie
  • *
  • Posts: 3
    • View Profile
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'll continue to look at wedge as a possible future alternative.

--edit--

Attempting to embed a youtube video, even if you put a http rather than https link seems to redirect to this video
https://www.youtube.com/watch?v=UKY3scPIMd8 Small | Large

Offline smap

  • Newbie
  • *
  • Posts: 3
  • Gender: Male
    • View Profile
Check what I wrote here, if you haven't apply the fix
I don't know if this helps or not, but what I found out is this

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

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?
Here you can see how it works

http://youtu.be/wjj7fBkcQCE
Posted on 28 May 2015 à 10h07

 :mouais: :mouais: :mouais: :mouais:

It works on my forum with smf 2.0.10 and Aeva Media (1.4w)

But apparently it doesn't work here :(

Offline Nao/Gilles

  • Admin
  • *
  • Posts: 10732
  • Gender: Male
  • Dinosaure de l'animation japonaise, du Net, et de la connerie.
    • View Profile
    • Cynacittà @ noisen
I have modified Wedge.org's permission system to allow the free download of Aeva Media 2.11 (commercial version), no strings attached.

https://wedge.org/do/media/?sa=album;in=45

Of course, I am no longer providing support!
But consider it free from now on. If anyone has any issues with it and manages to fix them, feel free to send me a patched version so I can share it. Honestly, it's been a while!

Also feel free to share it on SMF and other forums, as long as it's the unmodified file with full credits to the developers, and you don't make any profit off it.
« Everyone knows rock attained perfection in 1974. It's a scientific fact. »