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

Shivakumar L Narayan

Quote from: Spuds on December 18, 2010, 12:14:35 PM
Quote from: Shivakumar L Narayan on December 18, 2010, 10:49:49 AM
a. Is there a way to keep the comment section enabled by default ? Currently the comment section needs to be enabled by clicking on the right arrow mark below the image posted.
If you are referring to the quick reply comment box, then you could find the following in aeva.template.php

<div id="quickReplyOptions" style="display: none">
and replace it with
<div id="quickReplyOptions"', $options['display_quick_reply'] == 2 ? '' : ' style="display: none"', '>

and also
function template_aeva_viewItem()
{
global $galurl, $context, $amSettings, $txt, $scripturl, $settings, $boardurl, $user_info, $amFunc;

must have options added to the global line like such
function template_aeva_viewItem()
{
global $galurl, $context, $amSettings, $txt, $scripturl, $settings, $boardurl, $user_info, $amFunc, $options;


that should have that comment box follow the quick reply theme settings ..... if you don't want it to follow the theme just remove that display: none part.

Hey Spuds,

I followed the changes suggested by you but am still not able to see the comment section expanded by default.

Just to make things clear am refering to the comments text box just below the posted image where the members will be able to comment on the posted image. Apparently its not expanded or enabled by default for member to be able to see and post a comment.

Looking forward for some help here.

Cheers,
SK

b4pjoe

Quote from: PLAYBOY on December 19, 2010, 04:24:51 AM
Thas actually what i was thinking too but what is the limit of that amount so i can use that feature 2-3 maybe 4 times at the most and take of the job.

One more thing is that, i cant see the tiled background images behind the moderation (and new album) tabs.
It shows as broken image link. When i switch to default theme and look at the page source. its trying to load "maintab_active_back.gif" and other maintab images. So i copy that image into my themes images directory but it doesnt load it. Because it tried to load /themes/pdx-dx/images/ folder not the file. Its wierd.

I see the theme PDX-DK has only been updated through 1.1.10 which could be part of your theme problem if you are using a newer version of SMF.

I have no idea on the max number of images. You've tried 100 and it worked. You've tried 29,000 and it didn't work. So it's somewhere in between 100 and 29,000. Try 7,500 and see what happens.

PLAYBOY

QuoteI have no idea on the max number of images. You've tried 100 and it worked. You've tried 29,000 and it didn't work. So it's somewhere in between 100 and 29,000. Try 7,500 and see what happens.

:D
Thas actually what i am trying now. But it takes lots of time to move the files from one folder to another.

QuoteI see the theme PDX-DK has only been updated through 1.1.10 which could be part of your theme problem if you are using a newer version of SMF.
I know. Thas very bad. Because i cant change my theme now after customizing it for years.

I upload a wmv file to an album and it should show the video automatically right? Well it shows just a black screen. It doesnt show the video itself. do you have any idea why?

b4pjoe

Quote from: PLAYBOY on December 19, 2010, 10:27:29 AM
QuoteI have no idea on the max number of images. You've tried 100 and it worked. You've tried 29,000 and it didn't work. So it's somewhere in between 100 and 29,000. Try 7,500 and see what happens.

:D
Thas actually what i am trying now. But it takes lots of time to move the files from one folder to another.

QuoteI see the theme PDX-DK has only been updated through 1.1.10 which could be part of your theme problem if you are using a newer version of SMF.
I know. Thas very bad. Because i cant change my theme now after customizing it for years.

I upload a wmv file to an album and it should show the video automatically right? Well it shows just a black screen. It doesnt show the video itself. do you have any idea why?

I've had wmv files to work and I've had them to not work. I don't know if some are encoded differently or not but I've always found them to be a crap shoot not only with AEVA but different media players as well.

b4pjoe

Quote from: PLAYBOY on December 19, 2010, 10:27:29 AM
QuoteI have no idea on the max number of images. You've tried 100 and it worked. You've tried 29,000 and it didn't work. So it's somewhere in between 100 and 29,000. Try 7,500 and see what happens.

:D
Thas actually what i am trying now. But it takes lots of time to move the files from one folder to another.

QuoteI see the theme PDX-DK has only been updated through 1.1.10 which could be part of your theme problem if you are using a newer version of SMF.
I know. Thas very bad. Because i cant change my theme now after customizing it for years.

I upload a wmv file to an album and it should show the video automatically right? Well it shows just a black screen. It doesnt show the video itself. do you have any idea why?

It really should not take long to move files from one folder to the next. Copying yes, but not moving them.

What version of SMF are you running now?

PLAYBOY

Quote from: PLAYBOY on December 19, 2010, 10:27:29 AM
QuoteI have no idea on the max number of images. You've tried 100 and it worked. You've tried 29,000 and it didn't work. So it's somewhere in between 100 and 29,000. Try 7,500 and see what happens.

:D
Thas actually what i am trying now. But it takes lots of time to move the files from one folder to another.

FYI, I have uploaded 4600 files at once through ftp section. Now trying 11.000 its been going good so far. Plus i have learned that you cant list (browse) more than 2000 files in a single folder through shared hosting unless you connect through sftp (port 22)

QuoteIt really should not take long to move files from one folder to the next. Copying yes, but not moving them.
Moving from one folder to another takes about an hour + processing in ftp section of the gallery takes the most time.

QuoteWhat version of SMF are you running now?

1.1.12

QuoteI've had wmv files to work and I've had them to not work. I don't know if some are encoded differently or not but I've always found them to be a crap shoot not only with AEVA but different media players as well.

After your message, i have tried 2 types of avi, mpeg 1-2 and wmv. None of them work. Player gives me a black screen only. I may have screwwed up some permissions or something
"Allowed file extensions" are all checked.
"Accept external websites in addition to local embeds" NO
Sitelist, only youtube is checked.

I cant watch any of the video files i upload.

b4pjoe

I'm sorry. I'm running out of ideas. It sounds like something is not right with your install of SMF and/or AEVA. What other mods do you have installed?

PLAYBOY

I have 36 mods (excluding illegal mods) plus so many custom codes in the forum. Its ok. I ll try everything to see if i can fix it. Your is appreciated a lot though.

Now another problem is this background image problem as explained above...

"i cant see the tiled background images behind the moderation (and new album) tabs.
It shows as broken image link. When i switch to default theme and look at the page source. its trying to load "maintab_active_back.gif" and other maintab images. So i copy that image into my themes images directory but it doesnt load it. Because it tried to load /themes/pdx-dx/images/ folder not the file. Its wierd."

I just need some way so they wont appear as broken picture links. I mean i can scramble the code also but i donno which file.

b4pjoe

Quote from: PLAYBOY on December 19, 2010, 04:15:19 PM
I have 36 mods (excluding illegal mods) plus so many custom codes in the forum. Its ok. I ll try everything to see if i can fix it. Your is appreciated a lot though.

Now another problem is this background image problem as explained above...

"i cant see the tiled background images behind the moderation (and new album) tabs.
It shows as broken image link. When i switch to default theme and look at the page source. its trying to load "maintab_active_back.gif" and other maintab images. So i copy that image into my themes images directory but it doesnt load it. Because it tried to load /themes/pdx-dx/images/ folder not the file. Its wierd."

I just need some way so they wont appear as broken picture links. I mean i can scramble the code also but i donno which file.

"maintab_active_back.gif" is an image file for the SMF 1.1.x default theme. More than likely your theme is not going to be looking for that image. You need to figure out what image your theme is looking for. Do you have a link to your forum? I tried your WasItLove.com site but I don't see a forum there.

PLAYBOY

I cant tell the adress of my forum unfortunately. But i can tell you this, my forum doesnt have maintab_active_back.gif nor any other background images for that little part.  My theme is the same of this adress.
http://www.dragonzclan.com/forum/index.php?topic=340.0

FYI i am processing 11 thousand pix in the ftp section right now.

Arantor

QuoteI have 36 mods (excluding illegal mods)

I don't even want to ask about the illegal ones, yet something akin to the trainwreck factor is encouraging me to. Remind me again why we should help you when you admit to using illegal things?
Holder of controversial views, all of which my own.


PLAYBOY

You dont have to help me buddy. Stop pushing me. I dont wanna argue with anybody. Just mind the other messages if you dont wanna help me ok?




Update: One of my members uploaded like 5 mp4 videos and they all play perfectly. So i uploaded some mp4 videos but mines dont have the visual. they have just the sound. Why?
These are the files i uploaded and played on my gallery to see if they play.
http://www.yo-yo.org/mp4/

b4pjoe

Quote from: PLAYBOY on December 19, 2010, 05:31:16 PM
I cant tell the adress of my forum unfortunately. But i can tell you this, my forum doesnt have maintab_active_back.gif nor any other background images for that little part.  My theme is the same of this adress.
http://www.dragonzclan.com/forum/index.php?topic=340.0

FYI i am processing 11 thousand pix in the ftp section right now.

The default theme does use maintab_active_back.gif. That's why when you switched to the default theme it was loading that image.

It's really hard to try to help when you can't tell us the link to the site or what mods are installed or basically all of the stuff you've modified. I can tell you this, AEVA is one of the best mods out there and the most popular. Evidently there are a lot of people not having the problems you are having. Good luck with getting it working right though.

PLAYBOY

QuoteYou can only use audio and video codecs that are supported by the Adobe Flash Player

Then which ones are those? Also
Funny part is the mod plays the mp4 my member uploaded but it doesnt play the mp4 i uploaded. It plays just the sound. I mean they both are mp4, then what is the problem? Im trying to figure out what i can upload and play. Because based on the list in the panel i should be able to play these files right?

"  MP3 (via Flash player)
  MP4  (via Flash player)
  FLV
  AVI  (via DivX player)
  DivX  (.divx)
  MOV (via Quicktime)
  WMV/WMA  (via Windows Media)
  RAM/RM  (via Real Media)
  SWF

QuoteIt's really hard to try to help when you can't tell us the link to the site or what mods are installed or basically all of the stuff you've modified.

I can give you the list of mods i installed but there are 36 of them plus i dont even remember the customizations i have mada in the last 5 years. But if you still want, i can give you the entire list of what has been happened based on what i can remember.


b4pjoe

Quote from: PLAYBOY on December 20, 2010, 07:29:32 AM
QuoteYou can only use audio and video codecs that are supported by the Adobe Flash Player

Then which ones are those? Also
Funny part is the mod plays the mp4 my member uploaded but it doesnt play the mp4 i uploaded. It plays just the sound. I mean they both are mp4, then what is the problem? Im trying to figure out what i can upload and play. Because based on the list in the panel i should be able to play these files right?

"  MP3 (via Flash player)
  MP4  (via Flash player)
  FLV
  AVI  (via DivX player)
  DivX  (.divx)
  MOV (via Quicktime)
  WMV/WMA  (via Windows Media)
  RAM/RM  (via Real Media)
  SWF

QuoteIt's really hard to try to help when you can't tell us the link to the site or what mods are installed or basically all of the stuff you've modified.

I can give you the list of mods i installed but there are 36 of them plus i dont even remember the customizations i have mada in the last 5 years. But if you still want, i can give you the entire list of what has been happened based on what i can remember.

All I can recommend is doing a fresh install of all SMF files. Then installing a theme that is up to date. Re-install your mods and then re-doing the modifications and always documenting any changes you make to the core code so you don't find yourself in this situation again. It might be a good time to consider moving to SMF 2.0 when the final version is released.

PLAYBOY

QuoteUse Google

Well just to help the next guy who will be looking for this info...
Aeva flash player supports these formats and encoder...
http://kb2.adobe.com/cps/402/kb402866.html

QuoteAs I already explained the codec is wrong.

Just because a file says mp4 does not make it complaint ... I can rename a .txt file to .mp4 and it will not work either.  mp4 is really a container, not a codec, inside that container you can have video and audio data, those "data's" are encoded with various codecs and the combination must match the standards, however lots amateurs will stuff any format in a container.

It will play on your computer with a generalized player like mplayer or whatever, since those players have more codecs at their disposal than flash player does.  It will see the container is improper but since it can still find the right codec or fourcc for the steams it plays it anyway.

Anyway this has nada to do with aeva or smf so like I suggested join a video forum to learn more (use Google)

So basically, if it doesnt play the file, just change the format or try a different file.




I have added this code to prevent image stealing from my website
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(.+\.)?mysite\.com/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .*\.(jpe?g|gif|bmp|png|jpg)$ /images/nohotlink.jpe [L]


However the path to a picture in gallery is like http://www.site.com/forum/MGalleryItem.php?id=29744
So there path doesnt end with an extension. It prevents all other pictures from the site except the pix in gallery because of the given path.
How can i add in the htaccess code to prevent image stealing from my gallery?

ephobe

is there a way to increase the number of thumbnails that show up in the posts when you use the code [smg id=1 type=album] ?

Currently it only returns 15 thumbnails from the album i would like to return more than 15.

Spoogs


PLAYBOY


ephobe

Quote from: Spuds on December 21, 2010, 06:58:21 PM
There is a little boo boo in that area .... the wrong variable name is used or its a placeholder for the future. .... first I'll just show you how to do a quick 'fix'

In Aeva-Subs.php
find:
elseif ($type == 'album')
$box = aeva_listItems(aeva_getMediaItems(-1, !empty($amSettings['max_items_per_page']) ? $amSettings['max_items_per_page'] : 15, 'm.id_media DESC', true, array(), 'm.album_id IN (' . $id . ')'), false, $align == 'none' ? '' : $align, -1);

replace with:
elseif ($type == 'album')
$box = aeva_listItems(aeva_getMediaItems(-1, !empty($amSettings['max_thumbs_per_page']) ? $amSettings['max_thumbs_per_page'] : 15, 'm.id_media DESC', true, array(), 'm.album_id IN (' . $id . ')'), false, $align == 'none' ? '' : $align, -1);


That will allow an album to display as many items as you allow in the admin (layout) under Max [smg] tags per page ... HOWEVER the issue with that fix is that the SMG counter for the page only increases by 1 as it considers the album tag to be a single SMG tag (which technically it is) even though it could render out many images.

Thanks for the quick response Spuds but the code doesn't do anything? I have my max thumbnails and max smg tags both set to 500 and it still shows only 15.

I got it to work. Thanks again.  :o

Advertisement: