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

Oya

hmm i thought it should work since thats handled slightly differently

to remove videos throughout the rest of the forum is edits to at least display.php and tinyportal (dont know it to say where it should be changed though but it wont just be the shoutbox) but also probably boardindex.php and messageindex.php on some themes because they process bbcode which means autoembedding is done too

the code to add to those pages is that as posted on the first post of this thread - $context['aeva_disable'] = 1;

str00py

Can I just add $context['aeva_disable'] = 1; anywhere in the file?

Oya

no its not as simple as that unfortunately

needs to be inside display() in display.php after the line that calls global $context no idea about tinyportal though sorry

str00py

I tried several ways but I only get errors now.

Could you please tell me where and what to edit, because I can't get it to work. :(

// The central part of the board - topic display.
function Display()
{
global $scripturl, $txt, $db_prefix, $modSettings, $context, $settings;
global $options, $sourcedir, $user_info, $ID_MEMBER, $board_info, $topic;
global $board, $attachments, $messages_request, $language;

Oya

// The central part of the board - topic display.
function Display()
{
global $scripturl, $txt, $db_prefix, $modSettings, $context, $settings;
global $options, $sourcedir, $user_info, $ID_MEMBER, $board_info, $topic;
global $board, $attachments, $messages_request, $language;

$context['aeva_disable'] = 1;

Stop-TussiN

Hello. Install a SMG and SSI I have this code:
function ssi_lastphoto($output_method = 'echo')
{
global $sourcedir, $user_info, $ID_MEMBER, $context, $txt, $galurl, $galurl2, $scripturl, $settings, $db_prefix;

require_once($sourcedir . '/Subs-MGallery.php');
loadMGal_Settings();

if(loadlanguage('MGallery') == false)
loadLanguage('MGallery', 'english');
$items = getMediaItems(0, 10, 'm.id_media DESC');

if ( mGalAllowedTo('access') ) {
if ($items) {

foreach($items as $item) {
echo '
<div class="photolist">
  <a href="' , $galurl , 'sa=item;id=' , $item['id'] , '"><img src="' , $galurl , 'sa=media;id=' , $item['id'] , ';thumb" alt="' , $item['desc'] , '" /></a>
      <div class="photoaut">' , smg_profile($item['poster_id'], $item['poster_name']) , '</div>
</div>';
}
}


How can I specify which album are photos? Please, please help. :)

str00py

Thanks for all your help so far Oya but I tried the code you gave me but still no luck.
The topic post still has a video. :(


InsaneMustang

I'm sure this has been asked, but I'm not reading 200+ pages... if I have the SMG installed and want to upgrade to this AEVA Media, will I lose my albums and pictures?

Kindred

InsaneMustang,

So, in other words, you are lazy and can't even be bothered to try search?

Short answer... No.   For the long answer, I suggest you try search.
Сл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."

InsaneMustang

Name calling is cool, I was just wondering if someone could post it faster than I could find it.

I don't mind searching, as I typically do... I was just extremely busy this morning and was looking for the quick answer.

visualuser

hallo smf people,

i just install aeva 1.4 in RC3,
but when i make a gallery, there is no option to upload photo.

What did i miss???
(i believe that must something simple but.....)

:o

Kindred

visualuser... (another one which search would have answered)

short answer: permissions in SMF and permission profiles in the gallery admin
Сл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."

visualuser

Kindred

many thanks!!!

simple for you, but i believe i will spent many hours in order to find the soloution.

InsaneMustang

Quote from: Kindred on September 07, 2010, 09:06:46 AM
InsaneMustang,

So, in other words, you are lazy and can't even be bothered to try search?

Short answer... No.   For the long answer, I suggest you try search.

Ok, now I tried the search and didn't even find what I needed to know.  Would you mind pointing me in the right direction?

Oya

Quote from: InsaneMustang on September 07, 2010, 10:43:16 AM
Ok, now I tried the search and didn't even find what I needed to know.  Would you mind pointing me in the right direction?

the first post or the mods page will tell you

YogiBear

Out of curiousity can anyone tell me what this member was trying to do? If I ask him he's unlikely to give me a straight answer so here's the error code in the admin log...


8 Undefined index in file ... forums/Sources/Aeva-subs.php Line: 1749

I looked up the error code and saw...

1749:    $ret[2] = $actions['in'];


Thanks for any help.  :)
SMF v2.1.3  Mods : Snow & Garland v1.4,  PHP  v.7.4.33

str00py

Can anyone please help me?
How can I prevent embedding videos in my shoutbox and on the forum, so it's just a link and not a video?

I'm still not able to solve this. :(

YogiBear

One method is to use {nobbc} tags, str00py, only use [] instead of {}

Thus {nobbc}anysitevideolink{/bobbc}
SMF v2.1.3  Mods : Snow & Garland v1.4,  PHP  v.7.4.33

Angelina Belle

Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

Advertisement: