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

Arantor

Nao: From what you said about your to-do list, I interpreted that as you didn't want to implement what was on it...
Holder of controversial views, all of which my own.


IdanC

Quote from: Nao on March 30, 2010, 04:41:04 AM
Actually, most new features I'll add will be in Foxy!... From what I gathered from my recent sessions, Foxy! 'customers' are more likely to be web-savvy and better conscious of the hardships of my work than those who ask for everything to be free*. So I'll give my new features to them, and only them.

brilliant solution!

keep using your enthusiasm as a compass, it's not only the best way, it's also the only way for talented people such as yourself, if i may...

Nao 尚

Quote from: Arantor on March 30, 2010, 05:12:22 AM
Nao: From what you said about your to-do list, I interpreted that as you didn't want to implement what was on it...
To be specific, the watermark thing was already on my Foxy to-do-list, and I was only talking about the AeMe to-do-list. (i.e. all of the free stuff.)
I will not make any deals with you. I've resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.

Aeva Media rocks your life.

Arantor

Holder of controversial views, all of which my own.


outsider147

Quote from: Kat on March 29, 2010, 04:50:43 PM


I got rid of the permissions thing, in the button code. So, it's just this:


// the [aeva] button
echo '<li', $current_action == 'media' ? ' id="active"' : '', '><a href="', $scripturl, '?action=media">' , $txt[32] , '</a></li>';



As I said, this works fine, on my forum.


If you want to add the permissions thing, it's:




// the [aeva] button
   if ($context['allow_memberlist'])
echo '<li', $current_action == 'media' ? ' id="active"' : '', '><a href="', $scripturl, '?action=media">' , $txt[32] , '</a></li>';


Is this in the index.template.php?

Lars


outsider147

This is how my button looks in code;


// Aeva Media
// Recalculate number of unseen items
global $user_info;

if (!empty($user_info['aeva_unseen']) && $user_info['aeva_unseen'] == -1)
{
global $sourcedir;
require_once($sourcedir . '/Aeva-Subs.php');
aeva_loadSettings();
}

$aeva_unseen = !allowedTo('aeva_access_unseen') || empty($user_info['aeva_unseen']) || $user_info['aeva_unseen'] == -1 ? 0 : $user_info['aeva_unseen'];

if (allowedTo('aeva_access'))
echo ($current_action == 'media' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '', '
<td valign="top" class="maintab_', $current_action == 'media' ? 'active_back' : 'back', '">
<a href="', $scripturl, '?action=media">', isset($txt[23]) ? $txt[23] : 'Media', $aeva_unseen ? '</a> <a href="' . $scripturl . '?action=media;sa=unseen">[<b>' . $aeva_unseen . '</b>]' : '', '</a>
</td>', $current_action == 'media' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


Where did you put this in, because I can't find  a place to put this?
Maybe I can view your code where you put the line of code.

Lars

outsider147

I justed pasted it underneath this: // Aeva Media   // Recalculate number of unseen items

It works with different browsers. However, do I need to delete the rest of the code, because of the unseen parts, or just the part where the code needs to show the butto itself?

Lars

kat

I'd say "Try it both ways and see which is best". ;)

outsider147

Thanks Kat, I'm gonna try. Can you see on my forum, if it's allright with you and give me a feedback.

Thanks

Lars

kat

Can't see the button. Probably no permissions for guests, I guess.

outsider147

Strange, I checked and evrything is marked to read the albums, but the button won't show.
I even tried if a guest could moderate, but still no show.

????

Lars

kat

I just noticed that I goofed in the permissions bit.


I put: if ($context['mlist']) (Or similar)


When, of course, it should be: if ($context['allow_media'])


The joys of copy/pasting, huh? ;)

outsider147

If I change if ($context['allow_memberlist']) into if ($context['allow_media']) the whole button disappears and there is nothing.

It must be something else.

Lars

kat

Bugger. I may have got that wrong.


Gimme a minute to check...

kat

I'm kinda working blind, here, coz I don't have AEVA installed.


Looking at the parser, though, it could be that you need this, instead:


   if (allowedTo('aeva_access'))


Let me know how that goes and I'll have another look at it, in the morning.


It's bedtime, here, now. ;)

outsider147

I made it like this and it seems to work

if ($context['allow_memberlist'])
echo '<li', $current_action == 'media' ? ' id="active"' : '', '><a href="', $scripturl, '?action=media">' , $txt[32] , '</a></li>';
if ($context['user']['is_guest'])
echo '<li', $current_action == 'media' ? ' id="active"' : '', '><a href="', $scripturl, '?action=media">' , $txt[32] , '</a></li>';


Lars

outsider147

For me as wel. Where are you from?

Lars

kat

Just outside Altrincham, in Cheshire.


Recently moved up here from sunny Southend!

Senkusha

Hi, (before I start, I did read that the Mod author has resigned from support.... I know what it feels like to be burned out.)

Anyway, I recently reinstalled my forum, and Aeva.  I noticed that FFMEPG support has a big X by it.  I thought I installed the FFMPEG into my Ubuntu Server.  Did I miss something, has anybody else had this issue?

Thanks!
-- Senkusha
The Kawaii Klub
The Creative Anime Role Playing Community.
(SMF v. 2.1.4, PHP v. 8.0)

Advertisement: