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)

ArcadeSyndicate 08-01-2015 05:42 PM

Don't forget to vote ;)

https://vborg.vbsupport.ru/showthread.php?t=319691

ArcadeSyndicate 08-02-2015 02:42 PM

one little thing i just found...

when you want to edit your uploads (media_usercp.php?do=mymedia) and have many of them, there is no pagination like on the main page?

TheAdminMarket 08-02-2015 03:14 PM

Quote:

Originally Posted by ArcadeSyndicate (Post 2551951)
one little thing i just found...

when you want to edit your uploads (media_usercp.php?do=mymedia) and have many of them, there is no pagination like on the main page?

At least as I know, vBulletin does not supports pagination in admincp and modcp files. That's why I added that simple counter at the top, at least to get a notification that there are more files to moderate. But sure it can't replace the pagination.

I'll give a try to see if I can add at least my own pagination function, without any promise that it should works.

ArcadeSyndicate 08-02-2015 07:00 PM

i don't mean admin or modcp, i'm talking about the page where you can see your own uploads...

http://www.celebstash.net/community/...php?do=mymedia

TheAdminMarket 08-03-2015 02:57 AM

Quote:

Originally Posted by ArcadeSyndicate (Post 2551977)
i don't mean admin or modcp, i'm talking about the page where you can see your own uploads...

http://www.celebstash.net/community/...php?do=mymedia

Ok, I'll add pagination there. I thought that normally users don't have a lot of posts so they don't need pagination.

friendlymela 08-03-2015 04:47 AM

Its taking to much time to upload through ftp :(

TheAdminMarket 08-03-2015 05:12 AM

Quote:

Originally Posted by friendlymela (Post 2552004)
Its taking to much time to upload through ftp :(

It depends on your Internet connection, your server, and ofcourse on the type and filesize of the item that you're trying to upload.

eg A photo 2 MB takes more time than an Audio file 2 MB because in audio there is no resizing, cropping, thumbnail creation. Also a bmp image 2 MB takes more time than a jpg image 2 MB.

For me with average resources (internet speed, server hosting plan) works fine.

TheAdminMarket 08-03-2015 01:41 PM

Quote:

Originally Posted by ArcadeSyndicate (Post 2551977)
i don't mean admin or modcp, i'm talking about the page where you can see your own uploads...

http://www.celebstash.net/community/...php?do=mymedia

As I can see I've pagination there. Is the option "Listing rows" (Default:4) in General Options.
The problem is that I forgot to add the pagination in the template mediagallery_my_media:D
Code:

<vb:if condition="$pagenav">
        <div style="float:right; margin-top:5px;">{vb:raw pagenav}</div>
</vb:if>

Please import the attached xml file. There is no updated php file as the code for pagination already exists.

concepts 08-03-2015 04:20 PM

Quote:

Originally Posted by NickTheGreek (Post 2551836)
Now it's more clear. First I thought that the "I Like it" doesn't appears. Now I understand that the bug was in the Ajax response and yes, I found a wrong permission there. "Post" instead "Vote". Please upload the attached file and let me know if it works.


Soryyyyyyyyy :)

You're the man!!! 20 euros sent your way via the donate button above in your post. I'll be continually donating more. I appreciate your efforts. If you ever need someone to help test other things out, let me know. Either way, thanks alot! ...See you come the next donation, you've been added to my "appreciative donations list" lol

ArcadeSyndicate 08-04-2015 05:58 AM

Quote:

Originally Posted by NickTheGreek (Post 2552029)
Please import the attached xml file. There is no updated php file as the code for pagination already exists.

thank you very much, works fine :up:


All times are GMT. The time now is 06:51 PM.

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.03316 seconds
  • Memory Usage 1,744KB
  • 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
  • (1)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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