Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Media Gallery (Photos, Audio, YouTUBE) Details »»
Media Gallery (Photos, Audio, YouTUBE)
Version: 1.1.1, by TheAdminMarket TheAdminMarket is offline
Developer Last Online: Jul 2017 Show Printable Version Email this Page

Category: Major Additions - Version: 4.2.2 Rating:
Released: 07-11-2015 Last Update: 07-27-2015 Installs: 48
DB Changes Uses Plugins Auto-Templates
Additional Files Translations Is in Beta Stage  
No support by the author.

Since 2006 I was serving community members with my Free Mods
But as this site will starts operating by the company,
I'm no willing to support them

** File Removed **


Media Gallery

Photos, Audio, YouTUBE

Compatible with vB4.2.3

Quote:
I'm offering my hard work for free, without even a single copyright line in footer, expecting that some of you will appreciate the time that I spent for coding it and they will donate something.
Demo: http://www.teriakis.com/vb423/media.php

1.- What's this?

Media Gallery it's a simple Gallery mod supporting Photo and Audio uploads and YouTUBE videos. I was looking for a simple Gallery mod for my own use and as I didn't found something meeting my requirements, I coded this mod. By saying "simple" mostly goes to the easy of use, otherwise it has some great features that you can't even find in big Galleries. It's social share ready especially for Facebook using OpenGraph Meta.

Explore it. You'll love it.

2.- Installation
  1. Download the zip file, and unzip it
  2. Upload the content of upload/ folder to your forum directory
  3. CMOD 777 the directories:
    1. mediagallery/audio
    2. mediagallery/photos
    3. mediagallery/photos/thumbs
  4. From your Admincp import product-mediagallery.xml
  5. If you're using htaccess file for SEO Urls copy the content of htaccess.txt to your .htaccess file
  6. Check and Set Usergroup Permissions
  7. Check and Set General Settings
  8. Add Categories
  9. Moderation is available from ModCP.
PS: For YouTUBE videos the code with tries to fetch the video thumb. Sometimes this action stucks. In this case you can upload your own thumb.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #102  
Old 07-25-2015, 04:10 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Or just go into the maintenance section, view php info.
Reply With Quote
  #103  
Old 07-25-2015, 04:13 AM
TheAdminMarket's Avatar
TheAdminMarket TheAdminMarket is offline
 
Join Date: Jun 2013
Location: Thessaloniki, Greece
Posts: 511
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ArcadeSyndicate View Post
how about adding PREV and NEXT buttons to the viewmedia-page?
Finally it's not so easy. Not from the coding side as I already added the code as you can see below. The problem is: Usability. Let me explain. The view media page opens from different sections. eg from browsing category xxxx, from browsing search results etc.

By adding Prev - Next, should ignores are these and it will shows just the previous and next id without any criteria something that will confuse the users. To solve this I must add queries and/or section flags to view media page, something not so easy.

But as I said, I already wrore the code, so you can use the attached media.php. Then in mediagalley_view_media template add anywhere you want to show the links:
Code:
<vb:if condition="!empty($prev_link)">
     <a href="{vb:raw prev_link}">Previous</a>
</vb:if>
<vb:if condition="!empty($next_link)">
     <a href="{vb:raw next_link}">Next</a>
</vb:if>
Reply With Quote
  #104  
Old 07-25-2015, 05:43 AM
ArcadeSyndicate's Avatar
ArcadeSyndicate ArcadeSyndicate is offline
 
Join Date: Oct 2008
Location: Germany
Posts: 298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you, works fine :up:
Reply With Quote
  #105  
Old 07-25-2015, 06:26 AM
BlackxRam BlackxRam is offline
 
Join Date: Aug 2003
Posts: 364
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by madness85 View Post
Im happy donate when BlackxRam pms ya with his changes, checked his site all thumbs added and looks really tidy.
I sent NTG the template changes I did. I am sure they might need some cleaning up as they were hurriedly thrown together lol.


Like this mod guys, click that install button and if you are like me... Nominate it!
Reply With Quote
Благодарность от:
TheAdminMarket
  #106  
Old 07-25-2015, 06:34 AM
TheAdminMarket's Avatar
TheAdminMarket TheAdminMarket is offline
 
Join Date: Jun 2013
Location: Thessaloniki, Greece
Posts: 511
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ArcadeSyndicate View Post
thank you, works fine :up:
If you plan to use it, and as the common listing-> View page is the category listing I can modify a bit the code to work like "Prev - Next" on the same category.
Reply With Quote
  #107  
Old 07-25-2015, 06:37 AM
TheAdminMarket's Avatar
TheAdminMarket TheAdminMarket is offline
 
Join Date: Jun 2013
Location: Thessaloniki, Greece
Posts: 511
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BlackxRam View Post
I sent NTG the template changes I did. I am sure they might need some cleaning up as they were hurriedly thrown together lol.
Thank you for sharing. By the way I want to ask you something. In a previous post you wrore that 0.jpg is the most common filename to get video thumb, but in your PM you wrote that you're using hddefault.jpg. Finally which filename is the one that works in most cases? I plan to update my code.
Reply With Quote
  #108  
Old 07-25-2015, 09:35 AM
ArcadeSyndicate's Avatar
ArcadeSyndicate ArcadeSyndicate is offline
 
Join Date: Oct 2008
Location: Germany
Posts: 298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NickTheGreek View Post
If you plan to use it, and as the common listing-> View page is the category listing I can modify a bit the code to work like "Prev - Next" on the same category.
for me it's good as it is now, but if that isn't too much work for you, it even would be better

the idea was to skip the latest uploaded pictures one after another without going back to the main site after viewing an image every time. pictures in a single category are not so important.
Reply With Quote
Благодарность от:
RichieBoy67
  #109  
Old 07-25-2015, 12:34 PM
TorrentMan TorrentMan is offline
 
Join Date: Aug 2005
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ArcadeSyndicate View Post
to get the absolute server path just upload this file to your directory and check it in the browser.

remove when you don't need it anymore.
I know my forum path and it is correct...
I was asking what file do i edit to correct this?
Reply With Quote
  #110  
Old 07-25-2015, 12:35 PM
TheAdminMarket's Avatar
TheAdminMarket TheAdminMarket is offline
 
Join Date: Jun 2013
Location: Thessaloniki, Greece
Posts: 511
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ArcadeSyndicate View Post
for me it's good as it is now, but if that isn't too much work for you, it even would be better
It was just a: AND categoryid=$itemcatid in the query. So, no problem.
Reply With Quote
  #111  
Old 07-25-2015, 12:37 PM
TheAdminMarket's Avatar
TheAdminMarket TheAdminMarket is offline
 
Join Date: Jun 2013
Location: Thessaloniki, Greece
Posts: 511
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TorrentMan View Post
I know my forum path and it is correct...
I was asking what file do i edit to correct this?
Is on Admincp-> Media Gallery-> General Options-> Server Path to Uploads (5th from the end)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:29 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05888 seconds
  • Memory Usage 2,338KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (9)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (14)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete