vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - Media Gallery (Photos, Audio, YouTUBE) (https://vborg.vbsupport.ru/showthread.php?t=319444)

bosanci28 07-17-2015 02:39 PM

Thank you! Will install this really soon! Can't wait to test it out.
Appreciate this so much.

concepts 07-17-2015 04:43 PM

Quote:

Originally Posted by NickTheGreek (Post 2550471)
The only that I changed was the query in PHP code so I don't think that this can cause any browser's error. Maybe try to clear your browser's cache.

not sure.. I uninstalled, reuploaded the lastest, cleared cache, ...everything. Still the issue. Like system not functioning in Chrome, but perfect in IE.

edit** may be wrong... seems to be performing slightly odd in IE as well. ehhh, maybe I will just try to remove anything associated with the likes systems until it can be sorted.

Thanks


EDIT AGAIN**** lol
okay, if I give registered users permission to "post in gallery" then they are able to like.... I only noticed this because my admin account can vote without issues... writing what I see as I go.. sorry for all the updates.

TheAdminMarket 07-17-2015 05:10 PM

Quote:

Originally Posted by concepts (Post 2550489)
not sure.. I uninstalled, reuploaded the lastest, cleared cache, ...everything. Still the issue. Like system not functioning in Chrome, but perfect in IE.

edit** may be wrong... seems to be performing slightly odd in IE as well. ehhh, maybe I will just try to remove anything associated with the likes systems until it can be sorted.

Thanks


EDIT AGAIN**** lol
okay, if I give registered users permission to "post in gallery" then they are able to like.... I only noticed this because my admin account can vote without issues... writing what I see as I go.. sorry for all the updates.

Happy End :) ..... Meanwhile I tested it with Chrome Version 43.0.2357.134 m and worked fine.

madness85 07-17-2015 06:23 PM

Quote:

Originally Posted by NickTheGreek (Post 2550370)
Video thumbs work fine:
http://www.teriakis.com/vb423/media.php
Just add a video with title "Testing Thumb".

The reason that you and someone else can't see the thumbs is because (like most users) you're in rush to have everything working just after the upload. If you follow the standard steps valid for all vB mods it should works. And the main step is: SETTINGS.

If you go to the mod settings, the last one is:
Server Path to Uploads
Set there the correct server path to ...../mediagallery/photos and everything should works fine.

I was adding full url didn't understand "The filename (and NOT the full URL) of your YouTUBE video." sorry about that :)

ive changed it to (Just enter youtube id) e.g in https://www.youtube.com/watch?v=d4RiUy23e9s ("d4RiUy23e9s" is id)

works perfect thank you :)

RichieBoy67 07-17-2015 10:22 PM

I Love it Nick and thanks for the help but I am still having issues.

These images are showing as broken:


PHP Code:


http
://***********.com/musclemedia.php
5 broken images

    http
://***********.com/
    
http://***********.com/mediagallery/jquery/images/ui-bg_glass_100_f6f6f6_1x400.png
    
http://***********.com/mediagallery/jquery/images/ui-bg_gloss-wave_35_f6a828_500x100.png
    
http://***********.com/mediagallery/jquery/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
    
http://***********.com/mediagallery/photos/thumbs/ 


RichieBoy67 07-17-2015 10:27 PM

Also, Is there any way to edit or remove videos once posted?

concepts 07-17-2015 11:40 PM

Is it possible to make the upload of certain types permission based? Like not having "can post items" a one all? I would like to give them permission to only post YouTube videos, or photos, or mp3 uploads as a selection under "can post items" usergroup. I want to control server space, as well as offer nice incentives to certain usergoups... if this makes sense.

concepts 07-17-2015 11:42 PM

Quote:

Originally Posted by RichieBoy67 (Post 2550544)
Also, Is there any way to edit or remove videos once posted?

The only one I see is under the "my media" tab. However I do not currently see a way to delete others items, unless you have a mod that allows signing in through a different users account. Although I am curious as to why admins can't even delete others videos. Unless I am missing something as well.

TheAdminMarket 07-18-2015 04:25 AM

Quote:

Originally Posted by RichieBoy67 (Post 2550543)
I Love it Nick and thanks for the help but I am still having issues.

These images are showing as broken:


PHP Code:


http
://***********.com/musclemedia.php
5 broken images

    http
://***********.com/
    
http://***********.com/mediagallery/jquery/images/ui-bg_glass_100_f6f6f6_1x400.png
    
http://***********.com/mediagallery/jquery/images/ui-bg_gloss-wave_35_f6a828_500x100.png
    
http://***********.com/mediagallery/jquery/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
    
http://***********.com/mediagallery/photos/thumbs/ 


Really I can't understand that "jquery" directory inside the URLs eg /mediagallery/jquery/images/

What are these images? Uploaded images?

TheAdminMarket 07-18-2015 05:32 AM

Media Gallery ver. 1.0.5 released with an additional feature for Moderators to be able to delete a Photo/Audio/Video when they're in the view media page. There is a Delete button on the right side of the title.

To upgrade:
  1. Download and Unzip MediaGallery_1_0_5.zip
  2. Upload media.php to your installation
  3. Import product-mediagallery.xml

TheAdminMarket 07-18-2015 05:35 AM

Quote:

Originally Posted by concepts (Post 2550551)
The only one I see is under the "my media" tab. However I do not currently see a way to delete others items, unless you have a mod that allows signing in through a different users account. Although I am curious as to why admins can't even delete others videos. Unless I am missing something as well.

Even if I added this feature in version 1.0.5 the normal procedure is to Approve/Reject when the user posts them. Can't find a reason why (eg) a Photo which has approved to be delete at a later time.

TheAdminMarket 07-18-2015 05:36 AM

Quote:

Originally Posted by concepts (Post 2550550)
Is it possible to make the upload of certain types permission based? Like not having "can post items" a one all? I would like to give them permission to only post YouTube videos, or photos, or mp3 uploads as a selection under "can post items" usergroup. I want to control server space, as well as offer nice incentives to certain usergoups... if this makes sense.

Everything is possible but this is almost a full day work and I don't have this time available.

madness85 07-18-2015 07:58 AM

Would it be much work to add info of latest uploads to forum blocks?

TheAdminMarket 07-18-2015 08:03 AM

Quote:

Originally Posted by madness85 (Post 2550585)
Would it be much work to add info of latest uploads to forum blocks?

When I'll have time I'll add my Block Generator which automatically builds and adds CMS Widgets and/or Forum Blocks for almost anything you like. Furthure more it can builds standard PHP code to add it in any PHP page (eg vBadvanced).

The problem is the lack of free time.

madness85 07-18-2015 08:12 AM

Quote:

Originally Posted by NickTheGreek (Post 2550587)
When I'll have time I'll add my Block Generator which automatically builds and adds CMS Widgets and/or Forum Blocks for almost anything you like. Furthure more it can builds standard PHP code to add it in any PHP page (eg vBadvanced).

The problem is the lack of free time.

np buddy thanks :)

concepts 07-18-2015 05:56 PM

Quote:

Originally Posted by NickTheGreek (Post 2550572)
Even if I added this feature in version 1.0.5 the normal procedure is to Approve/Reject when the user posts them. Can't find a reason why (eg) a Photo which has approved to be delete at a later time.

banned users, a mod innapropriately approving one.. etc :)


Also, did you intentionally want the media to stretch the width of a mobile screen? When viewing the gallery on my HTC in both the media page, and profile tab, the images stretch completely down the entire phone, covering the screen. Is there a way to limit the size, or add better mobile responsiveness?

Sorry for all the input lol... I just like the mod alot and want to see it grow even larger hahaha..

yes, I will be donating as well :) :up::up::up::up::up:

madness85 07-19-2015 04:56 PM

Im seeing this in error log not sure how to resolve it

Code:

File does not exist: /site1/mediagallery/jquery/images, referer: http://mysite/media.php
File does not exist: /site1/skins, referer: http://mysite/media.php?do=viewmedia&id=13
File does not exist: /site1/clientscript/vbulletin_css/style00040l/container.css, referer: http://mysite/media_usercp.php?do=mymedia
File does not exist: /site1/clientscript/vbulletin_css/style00040l/container.css, referer: http://mysite/media_usercp.php?do=addedit
File does not exist: /site1/mediagallery/jquery/images, referer: http://mysite/mediagallery/jquery/jquery-ui.min.css


bosanci28 07-19-2015 10:19 PM

Testing this right now!

I thing i found, while posting ,at the entering the "keywords" if you try to put 2 words,will not let you !
It only works if i copy and paste "my city" then comma and the next keyword.

bosanci28 07-19-2015 11:38 PM

Now , regarding the watermark works fine! What will be the code for Bottom Center? BC? or...

If possible later to add pictures in bulk? highlight 10-20 and upload?! possible?

Thanks

rotor 07-21-2015 01:17 AM

Running vB 4.2.3

firstly thx for the mod. Great stuff!

Cannot seem to get the thumb to show on the Category Page - VIEW

I have the path set properly and after I add a video a new image appears in /photos/thumbs but it is the same generic thumb image on all. If I click on the thumb then it does play the correct video or Photo - photo thumbs work fine!

Any help would be appreciated

bosanci28 07-21-2015 01:45 AM

Quote:

Originally Posted by rotor (Post 2550896)
Running vB 4.2.3

firstly thx for the mod. Great stuff!

Cannot seem to get the showing on the Category Page - VIEW

I have the path set properly and after I add a video a new image appears in /photos/thumbs but it is the same generic thumb image on all. If I click on the thumb then it does play the correct video or Photo - photo thumbs work fine!

Any help would be appreciated

Your server path is not right.

/home/zdakzcvbmbx/public_html/mysite.com/mediagallery/photos

You have to make sure your hosting path...for it to work.

BlackxRam 07-21-2015 04:55 AM

I am pretty sure the code for grabbing the youtube thumbnails has broken somewhat in the newer updates. I just tried adding about 15 youtube videos to test this and not one fetched the thumbnail.

Thumbs work just fine for uploading regular images and such. It's only for the Youtube stuff. You also said you can add your own youtube thumbnail but I don't see that option anywhere when I click edit on a youtube addition to the gallery.

TheAdminMarket 07-21-2015 05:14 AM

Quote:

Originally Posted by BlackxRam (Post 2550909)
I am pretty sure the code for grabbing the youtube thumbnails has broken somewhat in the newer updates. I just tried adding about 15 youtube videos to test this and not one fetched the thumbnail.

Thumbs work just fine for uploading regular images and such. It's only for the Youtube stuff. You also said you can add your own youtube thumbnail but I don't see that option anywhere when I click edit on a youtube addition to the gallery.

Assuming that you've correct the follow 2 values:
  1. YouTUBE id and NOT the full URL in the video that you post
  2. The server path to .../mediagallery/photos
it's easy to find if its the mod's error or YouTUBE error. In details:

YouTUBE has some links for retrieving the video's thumb. The URL looks like:
https://i3.ytimg.com/vi/...YouTUBEid...resdefault.jpg

The last is the type of thumb. In this case is Maximum Resolution. Other possible values are:
  • hqdefault.jpg for High Quality
  • mqdefault.jpg for Medium Quality ...and...
  • sddefault.jpg for Standard Definition
Most often the last one (even in not so good quality) works:
https://i3.ytimg.com/vi/...YouTUBEid...../sddefault.jpg

If you want to use this type, you can change media_usercp.php line 374:
From:
Code:

$videourl = 'https://i3.ytimg.com/vi/'.$video.'/maxresdefault.jpg';
Change to:
Code:

$videourl = 'https://i3.ytimg.com/vi/'.$video.'/sddefault.jpg';

bosanci28 07-21-2015 10:48 AM

Nick, can you reply to post 58,59? Thanks.

RichieBoy67 07-21-2015 11:20 AM

Quote:

Originally Posted by madness85 (Post 2550743)
Im seeing this in error log not sure how to resolve it

Code:

File does not exist: /site1/mediagallery/jquery/images, referer: http://mysite/media.php
File does not exist: /site1/skins, referer: http://mysite/media.php?do=viewmedia&id=13
File does not exist: /site1/clientscript/vbulletin_css/style00040l/container.css, referer: http://mysite/media_usercp.php?do=mymedia
File does not exist: /site1/clientscript/vbulletin_css/style00040l/container.css, referer: http://mysite/media_usercp.php?do=addedit
File does not exist: /site1/mediagallery/jquery/images, referer: http://mysite/mediagallery/jquery/jquery-ui.min.css


Do you have the other media library installed? I'm thinking there is a conflict.

madness85 07-21-2015 12:04 PM

Quote:

Originally Posted by RichieBoy67 (Post 2550928)
Do you have the other media library installed? I'm thinking there is a conflict.

I have vbtube installed but disabled atm

TheAdminMarket 07-21-2015 01:01 PM

Quote:

Originally Posted by bosanci28 (Post 2550770)
Testing this right now!

I thing i found, while posting ,at the entering the "keywords" if you try to put 2 words,will not let you !
It only works if i copy and paste "my city" then comma and the next keyword.

The normal for Tags and Keywords is: One word. Anyway try something that most probably will works. Edit Templates:
- mediagallery_search_block
- mediagallery_addedit (2 Times)


Change:
Code:

<script>
        $(document).ready(function(){
                $("#tags").tag({
                        width: '90%',                                               
                        height: 50,
                        inputName: 's_keywords',
                        key: ['enter', 'space', 'comma'],
                        clickRemove: true
                });
                {vb:raw addtags}
        });
</script>

To:
Code:

<script>
        $(document).ready(function(){
                $("#tags").tag({
                        width: '90%',                                               
                        height: 50,
                        inputName: 's_keywords',
                        key: ['enter', 'comma'],
                        clickRemove: true
                });
                {vb:raw addtags}
        });
</script>

Now when user hits spaces will not becomes tag. Tag should be after hitting Enter or Comma.

TheAdminMarket 07-21-2015 01:02 PM

Quote:

Originally Posted by madness85 (Post 2550930)
I have vbtube installed but disabled atm

For me it looks like a mess with SEO rules.

TheAdminMarket 07-21-2015 01:06 PM

Quote:

Originally Posted by bosanci28 (Post 2550774)
Now , regarding the watermark works fine! What will be the code for Bottom Center? BC? or...

If possible later to add pictures in bulk? highlight 10-20 and upload?! possible?

Thanks

1.- There is no BC. There is only BL or BR but setting the distance from left border you can do it. I'm not designer but I think that you can set: 50%

2.- No. Because it does not supports Albums. Only in Albums you can add bulk images. Here you must upload one by one and enter a description for each one.

rotor 07-21-2015 08:52 PM

Quote:

Originally Posted by bosanci28 (Post 2550899)
Your server path is not right.

/home/zdakzcvbmbx/public_html/mysite.com/mediagallery/photos

You have to make sure your hosting path...for it to work.

I'm lost - why do you say the server path is not right. Looks good to me :confused:

RichieBoy67 07-21-2015 08:52 PM

Quote:

Originally Posted by NickTheGreek (Post 2550934)
For me it looks like a mess with SEO rules.

Yeah, these are the rewrite rules for one of the other libraries and this is my issue. I love your mod Nick but do not want to lose the media already posted with the other library and apparently I cannot use both.


PHP Code:

## Expires
<ifModule mod_expires.c>
        
ExpiresActive On
        ExpiresDefault 
"access plus 1 seconds"
        
ExpiresByType text/html "access plus 1 seconds"
        
ExpiresByType image/gif "access plus 3456000 seconds"
        
ExpiresByType image/jpeg "access plus 3456000 seconds"
        
ExpiresByType image/png "access plus 3456000 seconds"
        
ExpiresByType text/css "access plus 3456000 seconds"
        
ExpiresByType text/javascript "access plus 3456000 seconds"
        
ExpiresByType application/javascript "access plus 3456000 seconds"
        
ExpiresByType application/x-javascript "access plus 3456000 seconds"
</ifModule>

## Compression
<ifmodule mod_headers.c>
        <
ifmodule mod_deflate.c>
                
AddOutputFilterByType DEFLATE text/html text/css text/xml application/x-javascript
                BrowserMatch 
^Mozilla/4 gzip-only-text/html
                BrowserMatch 
^Mozilla/4\.0[678no-gzip
                BrowserMatch 
\bMSIE !no-gzip !gzip-only-text/html
        
</ifmodule>
</
ifmodule>

## Rewrites
<ifmodule mod_rewrite.c>
        
RewriteEngine on
        Options 
+FollowSymlinks

        RewriteCond 
%{REQUEST_FILENAME} -[OR]
        
RewriteCond %{REQUEST_FILENAME} -[OR]
        
RewriteCond %{REQUEST_FILENAME} -d
        RewriteRule 
^.*$ - [NC,L]

        
# Media Library
        
ReWriteRule ^media/m(\d+).*/tagsmedia.php?do=tags_edit&mid=$[QSA]
        
ReWriteRule ^media/m(\d+).*/editmedia.php?do=details_edit&mid=$[QSA]
        
ReWriteRule ^media/m(\d+).*/reportmedia.php?do=report&mid=$[QSA]
        
ReWriteRule ^media/m(\d+).*/c(\d+)$ media.php?do=comment_edit&cmt=$[QSA]
        
ReWriteRule ^media/m(\d+).*/p(\d+).*$ media.php?do=details&mid=$1&pid=$[QSA]
        
ReWriteRule ^media/m(\d+).* media.php?do=details&mid=$[QSA]
        
ReWriteRule ^media/p(\d+).*/editmedia.php?do=playlist_edit&pid=$[QSA]
        
ReWriteRule ^media/p(\d+).* media.php?do=playlist&pid=$[QSA]
        
ReWriteRule ^media/c(\d+).* media.php?do=category&cid=$[QSA]
        
ReWriteRule ^media/u(\d+).* media.php?do=user&uid=$[QSA]
        
ReWriteRule ^media/tag/(.*) media.php?do=tag&tid=$[QSA]
        
ReWriteRule ^media/results/(.*) media.php?do=results&query=$[QSA]
        
ReWriteRule ^media/advresults/(.*) media.php?do=advresults&query=$[QSA]
        
ReWriteRule ^media/letter/(.*) media.php?do=letter&query=$[QSA]
        
ReWriteRule ^media/browse.* media.php?do=browse [QSA]
        
ReWriteRule ^media/search.* media.php?do=search [QSA]
        
ReWriteRule ^media/random.* media.php?do=random [QSA]
        
ReWriteRule ^media/submit.* media.php?do=submit [QSA]
        
ReWriteRule ^media/tagcloud.* media.php?do=tagcloud [QSA]
        
ReWriteRule ^media/playlists.* media.php?do=playlists [QSA]
        
ReWriteRule ^media/pcreate.* media.php?do=playlists_create [QSA]
        
ReWriteRule ^media/pmine.* media.php?do=playlists_mine [QSA]
        
ReWriteRule ^media/favorites.* media.php?do=favorites [QSA]
        
ReWriteRule ^media/subscriptions.* media.php?do=subscriptions [QSA]
        
ReWriteRule ^media/admin/edit/s(\d+).* media.php?do=admin_host_edit&sid=$[QSA]
        
ReWriteRule ^media/admin/delete/s(\d+).* media.php?do=admin_host_delete&sid=$[QSA]
        
ReWriteRule ^media/admin/export/s(\d+).* media.php?do=admin_host_export&sid=$[QSA]
        
ReWriteRule ^media/admin/(\w+).* media.php?do=admin_$[QSA]

        
# Media Library from Video Directory
        
RewriteCond %{QUERY_STRING} do=viewdetails&videoid=(\d+)
        
RewriteRule ^video\.phpmedia.php?do=details&mid=%1
        RewriteCond 
%{QUERY_STRINGviewcategory&categoryid=(\d+)
        
RewriteRule ^video\.phpmedia.php?do=category&cid=%1
        RewriteCond 
%{QUERY_STRINGviewuser&userid=(\d+)
        
RewriteRule ^video\.phpmedia.php?do=user&uid=%1
        RewriteCond 
%{QUERY_STRINGviewtag&tag=(.*)
        
RewriteRule ^video\.phpmedia.php?do=tag&tid=%1
        ReWriteRule 
^video\.phpmedia.php

        
# Forum
        
RewriteRule ^threads/.* showthread.php [QSA]
        
RewriteRule ^forums/.* forumdisplay.php [QSA]
        
RewriteRule ^members/.* member.php [QSA]
        
RewriteRule ^blogs/.* blog.php [QSA]
        
ReWriteRule ^entries/.* entry.php [QSA]

        
RewriteCond %{REQUEST_FILENAME} -[OR]
        
RewriteCond %{REQUEST_FILENAME} -[OR]
        
RewriteCond %{REQUEST_FILENAME} -d
        RewriteRule 
^.*$ - [NC,L]

        
# MVC
        
RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $1.php?r=$[QSA]
</
ifmodule


rotor 07-21-2015 08:58 PM

Quote:

Originally Posted by BlackxRam (Post 2550909)
I am pretty sure the code for grabbing the youtube thumbnails has broken somewhat in the newer updates. I just tried adding about 15 youtube videos to test this and not one fetched the thumbnail.

Thumbs work just fine for uploading regular images and such. It's only for the Youtube stuff. You also said you can add your own youtube thumbnail but I don't see that option anywhere when I click edit on a youtube addition to the gallery.


yep same for me using vB 4.2.3

bosanci28 07-21-2015 10:49 PM

Quote:

Originally Posted by NickTheGreek (Post 2550935)
1.- There is no BC. There is only BL or BR but setting the distance from left border you can do it. I'm not designer but I think that you can set: 50%

2.- No. Because it does not supports Albums. Only in Albums you can add bulk images. Here you must upload one by one and enter a description for each one.

Ok, Thanks for that info!

bosanci28 07-21-2015 10:53 PM

Quote:

Originally Posted by rotor (Post 2551016)
I'm lost - why do you say the server path is not right. Looks good to me :confused:

Hmm, Not sure but i had the same problem with the video thumbs not generating and i figure out that my server path was wrong ...

I had it like:

/home/zdakzcvbmbx//home/zdakzcvbmbx/public_html/mysite.com/mediagallery/photos

It was doubled. Now all works. I am on vb4.2.2 , so not sure if for v4.2.3 if different.

BlackxRam 07-22-2015 02:31 AM

Quote:

Originally Posted by NickTheGreek (Post 2550910)
Assuming that you've correct the follow 2 values:
  1. YouTUBE id and NOT the full URL in the video that you post
  2. The server path to .../mediagallery/photos
it's easy to find if its the mod's error or YouTUBE error. In details:

YouTUBE has some links for retrieving the video's thumb. The URL looks like:
https://i3.ytimg.com/vi/...YouTUBEid...resdefault.jpg

The last is the type of thumb. In this case is Maximum Resolution. Other possible values are:
  • hqdefault.jpg for High Quality
  • mqdefault.jpg for Medium Quality ...and...
  • sddefault.jpg for Standard Definition
Most often the last one (even in not so good quality) works:
https://i3.ytimg.com/vi/...YouTUBEid...../sddefault.jpg

If you want to use this type, you can change media_usercp.php line 374:
From:
Code:

$videourl = 'https://i3.ytimg.com/vi/'.$video.'/maxresdefault.jpg';
Change to:
Code:

$videourl = 'https://i3.ytimg.com/vi/'.$video.'/sddefault.jpg';

the media_usercp.php seems to be broken. I haven't made any edits but i noticed when you browse to it from the My Media area, the page is just a WHITE page.

BlackxRam 07-22-2015 02:51 AM

Ok i figured out the youtube thumbnail thing and why some are not showing. Not every video I was adding had a Max Res Version.

Perhaps adding into the code some checks to see if an image exists because if a video does not have a Max Res Thumb then the media gallery gets broken.

The three image options that I see that seem to be the best are:

maxresdefault.jpg

then

hqdefault.jpg

then

0.jpg

sddefault.jpg did not work on every youtube video either. But 0.jpg always exists as far as I can tell. 0.jpg looks to be a better res anyways than sddefault.

BlackxRam 07-22-2015 04:30 AM

Also, where can i modify each of the gallery bit tables? The current format doesnt allow for titles that are too long as it makes the tables a bit too tall and then it creates big blank spaces in the home listing.

I was thinking about moving it to a Vertical Format or atleast trying to. A vertical list format would atleast allow for better visible organization.

BlackxRam 07-22-2015 07:12 AM

So, I made some changes to the MY MEDIA pages to save some space. Maybe you can adopt it if you like. I also made some changes to the 'containers' based on the info you gave me in the PM. I seperated each line (the title and the 'likes/views/comments line) into their own containers so they don't stretch and pull as easily if the titles get long. I also moved the Active/Hidden/Unapproved line into the thumbnail container to save space and be a bit more prominent on the listing.

https://vborg.vbsupport.ru/attachmen...1&d=1437556172 https://vborg.vbsupport.ru/attachmen...1&d=1437556516

TheAdminMarket 07-23-2015 04:43 AM

Quote:

Originally Posted by BlackxRam (Post 2551056)
So, I made some changes to the MY MEDIA pages to save some space. Maybe you can adopt it if you like. I also made some changes to the 'containers' based on the info you gave me in the PM. I seperated each line (the title and the 'likes/views/comments line) into their own containers so they don't stretch and pull as easily if the titles get long. I also moved the Active/Hidden/Unapproved line into the thumbnail container to save space and be a bit more prominent on the listing.

Send me the changes and I can include them in the official release along with the /0.jpg image for the video thumb.

Thank you

ArcadeSyndicate 07-23-2015 12:38 PM

hello nick,

at first really great addon, exactly what i was looking for (i want to use it for an imageboard like pr0gramm or 4++++r) :)

i only have a little problem with the ajax functionality, there seems to be a conflict with another addon or the theme i use (for example the top media box and the like button doesn`t work). can you give me a hint where this is included?

i also have another little question. i can edit my own files via media_usercp.php?do=mymedia, but how about editing uploads from others users? in the modcp it seems i can only approve media files.

best regards
oliver


All times are GMT. The time now is 08:53 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04105 seconds
  • Memory Usage 1,980KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_code_printable
  • (3)bbcode_php_printable
  • (24)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete