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

trebor09

ok...... just so you know I converted to UTF8......

now the only thing I see thats close is....... Admin.english.php

there is also Admin.english-utf8.php

Arantor

There is very definitely a Modifications.english.php file there, guaranteed. You would have lots of fatal errors if not.

Kindred

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

trebor09

lol........ I am in my root...... and Themes/default/languages

and in all the files I don't see any that start with modifications. anything................

not even Admin.modifications... blabla.php

This is what I see in that dir.....

Quote[Parent Directory]                  
    smfhacks_languages   --   5/24/2012 5:17:35 pm   Directory      
    Adk_TopKarma.english-utf8.php   2.37 KB   5/4/2012 11:35:24 am   Script      
    Adk_TopKarma.english.php   2.4 KB   5/4/2012 11:35:24 am   Script      
    Adk_TopKarma.polish-utf8.php   2.5 KB   5/4/2012 11:35:24 am   Script      
    Adk_TopKarma.polish.php   2.44 KB   5/4/2012 11:35:24 am   Script      
    Adk_TopKarma.romanian-utf8.php   2.51 KB   5/4/2012 11:35:24 am   Script      
    Adk_TopKarma.romanian.php   2.51 KB   5/4/2012 11:35:24 am   Script      
    Adk_TopKarma.spanish_es-utf8.php   2.49 KB   5/4/2012 11:35:24 am   Script      
    Adk_TopKarma.spanish_es.php   2.5 KB   5/4/2012 11:35:24 am   Script      
    Adk_TopKarma.spanish_latin-utf8.php   2.49 KB   5/4/2012 11:35:24 am   Script      
    Adk_TopKarma.spanish_latin.php   2.5 KB   5/4/2012 11:35:24 am   Script      
    Admin.albanian-utf8.php   40.9 KB   5/8/2012 2:19:32 pm   Script      
    Admin.arabic-utf8.php   48.3 KB   5/8/2012 2:20:01 pm   Script      
    Admin.bulgarian-utf8.php   54 KB   5/8/2012 2:20:33 pm   Script      
    Admin.catalan-utf8.php   43 KB   5/8/2012 2:21:19 pm   Script      
    Admin.chinese_simplified-utf8.php   35.3 KB   5/8/2012 2:21:46 pm   Script      
    Admin.chinese_traditional-utf8.php   34.3 KB   5/8/2012 2:22:08 pm   Script      
    Admin.croatian-utf8.php   38.3 KB   5/8/2012 2:23:25 pm   Script      
    Admin.czech-utf8.php   37.8 KB   5/8/2012 2:24:03 pm   Script      
    Admin.czech_informal-utf8.php   38.1 KB   5/8/2012 2:24:22 pm   Script      
    Admin.danish-utf8.php   40 KB   5/8/2012 2:24:52 pm   Script      
    Admin.dutch-utf8.php   39.9 KB   5/8/2012 2:25:35 pm   Script      
    Admin.english-utf8.php   37.3 KB   5/8/2012 2:12:40 pm   Script      
    Admin.english.php   36.7 KB   6/6/2011 9:26:18 am   Script      
    Admin.english_british-utf8.php

Arantor

You're only seeing a fraction of the files in that folder. I'm telling you: it IS in there.

trebor09

ok.... your right..... damn FTP thing won't allow me to see all.....

I found two files..... one for english-utf8.php .............and one for english.php(do I even need this one)... anyways  I sent them both.....

Arantor

Only the normal English file needed fixing - if you look in the file you can see there's two ?> entries, one half way through the file due to a badly behaved mod.

Here's the fixed file. (Note I have also renamed it correctly.)

trebor09

ok..... so all you did was move the.....?>   from just after ... "random question" line......... and put it at the end of the chain......?

just asking cause I'd like to maybe do it myself and this is how I learn.... :)


Also could this same thing, be affecting other mods that I have installed......... where I got the same kind of code across the top....?

Arantor

Yup, that's all I did. And yes, other mods would have the same problem because of that dodgy mod. (The Are You Human mod, that's the one with the broken installer, by the looks of things.)

trebor09

cool....... It seems to work fine.............. and all that damn code is gone....... yay...... Thanks sooo much Arantor.. ;D
This might just put me back on track as far as the mods I wanted......
Again thanks...!

Biology Forums

Got it to work:

Open Subs_aeva.php

Code (find in Subs_aeva.php) Select

if(in_array($context['current_action'], array('profile')))

{$max_width = !empty($modSettings['aeva_max_width']) && $sw != '100%' ? (int) '300' : $sw;}
   
Code (replace) Select
if(!in_array($context['current_action'], array('profile')))
{
$max_width = !empty($modSettings['aeva_max_width']) && $sw != '100%' ? (int) $modSettings['aeva_max_width'] : $sw;}


Kindred

I modified your post to correctly use the code tags, since your original post was actually confusing as to what you solved and how.
Сл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."

Rust

Quote from: Arantor on May 10, 2012, 03:20:19 PM
That limit seems to be by the video provider, not by Aeva... don't think you can change that.

I've seen some SMF boards (example) where this was not an issue.  Any ideas on a work around?  Thanks.

Biology Forums

Quote from: Kindred on June 08, 2012, 01:11:53 AM
I modified your post to correctly use the code tags, since your original post was actually confusing as to what you solved and how.

You modified it incorrectly, but you could go ahead and delete the post.

Kindred

well, you could modify it to be correct, in that case...   I did the best I could with the confusing post...
Сл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."

ivanr

I have uninstalled the SMF Gallery and installed Aeva Media V1.4 in it's place.

I cannot get the media webpage up. I have found the old gallery button in my:
/forum/Themes/UKVGA/index.template.php

in this file I have the line:

// Show the [gallery] button.
   if ($context['user']['is_logged'])
   {
   echo '
            <a href="', $scripturl, '?action=gallery">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/gallery.gif" alt="Gallery" style="margin: 2px 0;" border="0" />' : 'Gallery'), '</a>', $context['menu_separator'];
   }

What do I need to change here to get Aeva Gallery working or should this line go elsewhere some where in my directory?

Kindred

that line has nothing to do with AEVA. You did not fully uninstall SMF Gallery.
You will have to add the AEVA menu item... and ensure that all the other code edits for aeva got made
Сл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."

ivanr

Quote from: Kindred on June 12, 2012, 02:11:31 PM
that line has nothing to do with AEVA. You did not fully uninstall SMF Gallery.
You will have to add the AEVA menu item... and ensure that all the other code edits for aeva got made
Well SMF told me that it was all uninstalled, anyway I got it working by changing action=gallery to action=media and the media page came up  :) as all the Avea script got written to all the correct areas in the forum.

Biology Forums

Is there a way of adding a php block to a portal that displays similar videos added to aeva to the topic title of a thread?

For instance, if the topic title is "Beautiful Cars"... the block displays all videos (maximum 3) with the keyword "Beautiful" or "Car" in its title.

I found this block, but this only displays random videos... I need the videos to match the title of the thread...

global $sourcedir, $context, $txt, $galurl, $scripturl, $settings;

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

if (loadlanguage('MGallery') == false)
  loadLanguage('MGallery', 'english');

$items = getMediaItems(0, 2, 'rand()');

echo '
<center><table border="0">
  <tr>';

foreach ($items as $item)
  echo '
    <td>
      <div class="smalltext" style="text-align: center; line-height: 1.4em; border: 1px #000000 solid; padding: 5px;">
      <a href="',$galurl,'sa=item;id=',$item['id'],'">',$item['title'],'</a><br />
      <a href="',$galurl,'sa=item;id=',$item['id'],'"><img alt="" src="',$galurl,'sa=media;id=',$item['id'],';thumb" alt="" /></a><br />
      ',$txt['mgallery_views'],': ',$item['views'],'<br />
      ',$txt['mgallery_posted_by'],': <a href="',$scripturl,'?action=profile;u=',$item['poster_id'],'">',$item['poster_name'],'</a><br />
      ',$txt['mgallery_in_album'],': <a href="',$galurl,'sa=album;id=',$item['id_album'],'">',$item['album_name'],'</a>
      ',$item['is_new'] ? '<br /><img alt="" src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/new.gif" border="0" />' : '','
      </div>
    </td>';
echo '
  </tr>
</table></center>';


http://www.tinyportal.net/index.php?topic=27392.0

Arantor

There probably is but it's going to be performance intensive (read: very very slow)

Advertisement: