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

rgecy

m.id_media DESC does not work either!  Or at least on my site!  Here is the code I am using.

function show_aeva_media_block()
{
global $sourcedir;
// Load the language file
loadLanguage('Aeva');
// Grab the file.
if (file_exists($sourcedir . '/Aeva-Subs.php'))
require_once($sourcedir . '/Aeva-Subs.php');
// If it doesn't exist, tell them this and stop running.
else
{
echo '<b>You don\'t have Aeva installed! Unable to continue!</b>';
return;
}
// Use aeva functions to show the media.
echo aeva_listItems(aeva_getMediaItems(0, 3, ''), false, 'm.id_media DESC', 1);
}

// Run the function.;
show_aeva_media_block();

dbailey

Hi I'm getting this error in my log files, any idea how to fix it please.

Running TP and smf1.1.11 I'll also post over and tiny portal.

Kindred


loadLanguage('Aeva');
@include_once($sourcedir . '/Aeva-Subs.php');
echo aeva_listItems(aeva_getMediaItems(0, 3, 'm.id_media DESC'), false, '', 1);


you had the desc in the wrong location.
Сл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."

robroy11976

yes i did ... still won't work. i'm on smf 1.1.11 and aeva 1.0.

Nao 尚

tp = tinyportal?

Why are you posting this HERE?
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.

Nao 尚

+1 Kindred.
(And I really should be loading the language file inside aeva_listItems(), so it'll save a line of code to all modders...)
(Then again, modders don't get my single-line API command either anyway. Ah well.)
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.

rgecy

Thank you!  That did the trick!  For those that have asked, here is the corrected code to display the Recent Items in a Verticle PHP block.

function show_aeva_media_block()
{
global $sourcedir;
// Load the language file
loadLanguage('Aeva');
// Grab the file.
if (file_exists($sourcedir . '/Aeva-Subs.php'))
require_once($sourcedir . '/Aeva-Subs.php');
// If it doesn't exist, tell them this and stop running.
else
{
echo '<b>You don\'t have Aeva installed! Unable to continue!</b>';
return;
}
// Use aeva functions to show the media.
echo aeva_listItems(aeva_getMediaItems(0, 4, 'm.id_media DESC'), false, '', 1);
}

// Run the function.;
show_aeva_media_block();


RGecy

Paul123

Hi,
I have a question.  Please help if you can.  I tried to upload pictures/audio/video files to my alubms, but it won't allow me to add/upload those file larger than around 1M or 2M.  Please let me know if there is any setup so that I can upload larger file like 15MB.

Thanks very much

MultiformeIngegno

RockCiclopedia (wiki - forum), Tutta la storia del rock, scritta da voi ...
Rimanere aggiornati sul mondo della musica grazie al nuovo feed "RockCiclopedia Music News"!

Kindred

also, check your php/server settings. Many shared hosts limit the max size.
Сл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."

Paul123

Quote from: Kindred on February 19, 2010, 12:18:01 PM
also, check your php/server settings. Many shared hosts limit the max size.

I think this is what my problem is.  Could you let me know more specific about this?  What file name should I look into?  Thanks much

MultiformeIngegno

Quote from: Paul123 on February 19, 2010, 01:55:00 PM
Quote from: Kindred on February 19, 2010, 12:18:01 PM
also, check your php/server settings. Many shared hosts limit the max size.

I think this is what my problem is.  Could you let me know more specific about this?  What file name should I look into?  Thanks much
It's a server-side configuration.... you can try to contact your hosting...
RockCiclopedia (wiki - forum), Tutta la storia del rock, scritta da voi ...
Rimanere aggiornati sul mondo della musica grazie al nuovo feed "RockCiclopedia Music News"!

Nibogo

I don't know if this has been reported before but as I can't see the AM Project Tool on SMF-Media (as a registered member) I'm going to report it here:

When you add a new custom field on AM automatically an <br> is added in the end of the description, this <br> isn't showned when you create or modify the field but appears when you are adding a new item in an album with custom fields.

Regards

Nao 尚

Quote from: NIBOGO on February 19, 2010, 02:38:24 PM
I don't know if this has been reported before but as I can't see the AM Project Tool on SMF-Media (as a registered member)
I uninstalled it long ago. I didn't like it, and I was the only one using it so...

QuoteI'm going to report it here:

When you add a new custom field on AM automatically an <br> is added in the end of the description, this <br> isn't showned when you create or modify the field but appears when you are adding a new item in an album with custom fields.
Err...
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.

Rafferty

Quote from: rgecy on February 19, 2010, 10:44:58 AM
Thank you!  That did the trick!  For those that have asked, here is the corrected code to display the Recent Items in a Verticle PHP block.

function show_aeva_media_block()
{
global $sourcedir;
// Load the language file
loadLanguage('Aeva');
// Grab the file.
if (file_exists($sourcedir . '/Aeva-Subs.php'))
require_once($sourcedir . '/Aeva-Subs.php');
// If it doesn't exist, tell them this and stop running.
else
{
echo '<b>You don\'t have Aeva installed! Unable to continue!</b>';
return;
}
// Use aeva functions to show the media.
echo aeva_listItems(aeva_getMediaItems(0, 4, 'm.id_media DESC'), false, '', 1);
}

// Run the function.;
show_aeva_media_block();


RGecy

Nice one rgecy. I note that the block is left justified, how would you center that?
Don't Follow me I got No Idea what I'm Doing

rgecy

I can't take credit for it!  The guys here on the forum are great.  I think its the work of a couple different people.

RGecy

Soms

Quote from: rgecy on February 19, 2010, 10:44:58 AM
Thank you!  That did the trick!  For those that have asked, here is the corrected code to display the Recent Items in a Verticle PHP block.

Is there a way to achieve this on a normal forum using default theme? I don't have (simple or other) portals installed.

Kindred

you would have to paste the code which I posted into your template file (either index.template.php or boardindex.template.php, depending on where you want it displayed)

Quote from: Kindred on February 19, 2010, 07:44:20 AM

loadLanguage('Aeva');
@include_once($sourcedir . '/Aeva-Subs.php');
echo aeva_listItems(aeva_getMediaItems(0, 3, 'm.id_media DESC'), false, '', 1);


Сл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."

Mick.

Quote from: Rafferty on February 19, 2010, 06:19:48 PM
Quote from: rgecy on February 19, 2010, 10:44:58 AM
Thank you!  That did the trick!  For those that have asked, here is the corrected code to display the Recent Items in a Verticle PHP block.

function show_aeva_media_block()
{
global $sourcedir;
// Load the language file
loadLanguage('Aeva');
// Grab the file.
if (file_exists($sourcedir . '/Aeva-Subs.php'))
require_once($sourcedir . '/Aeva-Subs.php');
// If it doesn't exist, tell them this and stop running.
else
{
echo '<b>You don\'t have Aeva installed! Unable to continue!</b>';
return;
}
// Use aeva functions to show the media.
echo aeva_listItems(aeva_getMediaItems(0, 4, 'm.id_media DESC'), false, '', 1);
}

// Run the function.;
show_aeva_media_block();


RGecy

Nice one rgecy. I note that the block is left justified, how would you center that?

echo aeva_listItems(aeva_getMediaItems(0, 4, 'm.id_media DESC'), false, '', 1);

change 1 to 0

Darkness_

Hi,

I want to know how to get the Item info part when looking at an Item, could be collapsable.
If it can how ?

and is it possible to get the poster information placed to the right of the picture

 
Advertisement: