vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - Video Gallery - Share Videos! (From Any Website) (https://vborg.vbsupport.ru/showthread.php?t=161199)

Attilitus 10-25-2007 10:00 PM

Video Gallery - Share Videos! (From Any Website)
 
Current Version: Beta 3 (Updated October 31st)

NOTE: I will take this hack out of it's BETA stage soon! Please report any features you would like to see, or any bugs that you encounter!

This hack will add a video gallery to your forums accessible at the location: www.yourforumurl.com/forums/videogallery.php

To add a video users must specify a unique videoID code and select a "Video Type" from the list of available options. This hack comes included with "Video Types" for Google Video and YouTube. A "Video Type" consists basically of just the Embedding code for that video sharing site with each instance of the Unique Video ID replaced with the text: $code. When the video is displayed the text $code is replaced with the UniqueID specified by the user who added the video.

You can add new video types to accommodate almost any video sharing website. There are detailed instructions written within the hack to help you through this process.


Features Added in Beta Version 3
Pagination has been made more robust.
Templates have been tweaked for visual appeal.
Comment Writer and Admins can now delete comments.

Features added in Beta Version 2

1) A means to move videos from one category to another.
2) Video Rating System
3) Category Video Listing will display recently added videos + highest rated videos.
4) Video Comments

Please click install, and ask for support!!!! I will give it. :)

Demo (Current running Beta 2): http://www.becomeunbroken.com/videogallery.php

iogames 10-26-2007 07:18 PM

First!

kentley 10-26-2007 08:14 PM

second :D

*installed *

thanks

cheat-master30 10-26-2007 08:18 PM

Downloaded to test or install at a later date. This could be a great add on, and something I have long been waiting for.

yoyoyoyo 10-26-2007 08:23 PM

very cool! thanks

ReaperUK 10-26-2007 09:30 PM

Installed but get the following error when trying to view the gallery

Database error in vBulletin 3.6.8:

Invalid SQL:
SELECT * FROM vb3_vgal_categories WHERE open = '2' ORDER BY weight asc;

MySQL Error : Table 'vb3_vgal_categories' doesn't exist
Error Number : 1146
Date : Friday, October 26th 2007 @ 11:27:03 PM
Script : http://www.talkfps.com/community/videogallery.php
Referrer :
IP Address : 90.xxx.xxx.xxx
Username : ReaperUK
Classname : vb_database

sdfaheem 10-26-2007 09:30 PM

lol, same database error on my site too.
Dunno why?

Attilitus 10-26-2007 09:39 PM

I forgot to include the table prefix constant in the install/uninstall code. Really silly mistake, sorry. I will upload a fixed version.

ReaperUK 10-26-2007 09:40 PM

thnx m8, I was looking for somw sql file etc...lol

Attilitus 10-26-2007 09:44 PM

Just fixed it. Redownload the package, uninstall the old product, and install the new one. (You should Uninstall the old one to remove the useless tables that didn't have the prefix)

ReaperUK 10-26-2007 09:51 PM

cheers m8, seems to work now :)

edenx 10-26-2007 09:58 PM

could you be able to leave comments and rating on videos? that'll be cool

Attilitus 10-26-2007 10:00 PM

I'll add comments to the list of core functionality that must be added before the hack exits it's BETA phase.

Tinh.Nhi 10-26-2007 10:01 PM

TO FIX YOUR ERROR YOU NEeD TO MODIFY THE CODE SUCH AS

LOoK FOR THE CODE LIKE
<installcode><![CDATA[ $vbulletin->db->query_write("CREATE TABLE vgal_categories

CHANGE vgal_categories TO FORUMS_EXTENTIONSvgal_categories

IF YOUR FORUMS EXTENSION IS FORUMS THEN MAKE IT AS
YOU CAN DO THE SAME AS

vgal_videotypes ==> FORUMS_EXTENTIONvgal_videotypes
vgal_videos ==> FORUMS_EXTENTIONvgal_videos

THANK YOU

OTHER ERRORS SUCH AS
plate('navbar') . '";'); //Fetch and load. eval('print_output("' . fetch_template($template) . '");'); //// } } ?>

i AM CURRENTLY INSPECTING THE THING AND LET YOU KNOW THE OUTCOME

TATA

Attilitus 10-26-2007 10:03 PM

Actually, you can fix that error by redownloading the package, uninstalling the old product, and reinstalling the new product.

The new install/uninstall code has the table prefix constant added. (There is no need to manually edit the product xml)

Thanks for making the effort to help though! :D

BecomeUnbroken 10-26-2007 10:09 PM

this looks like it has potential.. i will keep my eye on it :)

HDT 10-26-2007 10:13 PM

Exactly what i need,just need to improve the features :D.Thanks for release this hack.

Absolutely INSTALLED !!

glorify 10-26-2007 10:25 PM

Any demo with video added?

BecomeUnbroken 10-26-2007 10:32 PM

here's a demo:
http://www.becomeunbroken.com/videogallery.php

Attilitus 10-26-2007 10:47 PM

Thanks for providing the demo link! Do you mind if I include that link in the main post?

BecomeUnbroken 10-26-2007 10:49 PM

Quote:

Originally Posted by Attilitus (Post 1369418)
Thanks for providing the demo link! Do you mind if I include that link in the main post?

go ahead! :)

mrdomainman 10-26-2007 11:05 PM

This is a great plugin :)
Can we have an additional code to allow thumbnails?

Endurer 10-26-2007 11:49 PM

Awesome! :) Been looking for it since switched over from phpbb to VB. Looking forward to more features. Before I forget, I would very much like to have some sord of profile (memberinfo) integration.

Installed and rated 5. I will nominate it when it gets out of the beta stage.

Thanks

Hornstar 10-26-2007 11:59 PM

Another good mod, which I will be keeping an eye on as it progresses, nice work.

edenx 10-27-2007 01:21 PM

Please add the following features:

1. Make thumbs of the videos in navigation
2. Show user last submited videos on their profile
3. Report a bad video
4. Show X number of videos from category Y on Forum Z
5. Show latest videos on VBadvanced
6. Make the navigation SEO friendly: videos/music/video-1112

Thanks, great mod

Defkalion 10-27-2007 02:39 PM

Thanks, this is a great mod!!

Would it be possible to allow users to upload their videos to a specific YouTube account through this hack? I think this feature would give an extra boost to the hack. :)

vBB-vietnam 10-27-2007 04:07 PM

do not use Video type like youtube and google .
Only use embed code . that enough . i think
sorry for my bad english

BecomeUnbroken 10-27-2007 04:11 PM

i found a couple of bugs...

1. I have 3 videos in one category and 1 video in another.. but the video count for both shows as 3 videos...

2. Inside a video category, you can keep going to the next page even though there is no more than one page of videos...

BecomeUnbroken 10-27-2007 04:14 PM

Quote:

Originally Posted by vBB-vietnam (Post 1369821)
do not use Video type like youtube and google .
Only use embed code . that enough . i think
sorry for my bad english

letting users enter their own embed code wouldn't be smart from a security perspective...and there would be no control...

but you just gave me an idea... how about making this compatible with AME, that way you can control the types of videos through AME..

glorify 10-27-2007 07:14 PM

Quote:

Originally Posted by edenx (Post 1369694)
Please add the following features:

1. Make thumbs of the videos in navigation
2. Show user last submited videos on their profile
3. Report a bad video
4. Show X number of videos from category Y on Forum Z
5. Show latest videos on VBadvanced
6. Make the navigation SEO friendly: videos/music/video-1112


Thanks, great mod

Good Lord, that's a Christmas list lol.

Attilitus 10-27-2007 07:20 PM

Indeed, quite a list. :)

I will consider other additions in the future, but AME integration and the features posted by edenx are not really what I would consider core functionality. Once I release a non-beta version, however, I will most definitely consider adding some more complex and "nichey" features.

asforum 10-27-2007 09:55 PM

Wow Amesing mod, i love it.thanx

asforum 10-27-2007 10:43 PM

I installed this mod working very nice, i love this

Attilitus 10-28-2007 02:35 AM

The hack has been updated to Beta Version 2. All of the core functionality that I previously mentioned as missing has now been added.

Mr_Snob 10-28-2007 02:39 AM

why can we not edit videos or comments?

Attilitus 10-28-2007 02:41 AM

Because I have not added that feature yet. :)

Mr_Snob 10-28-2007 02:49 AM

Quote:

Originally Posted by Attilitus (Post 1370152)
Because I have not added that feature yet. :)

nice answer :p:erm:

asforum 10-28-2007 05:55 AM

our one member found a couple of bugs...

1. I have 3 videos in one category and 1 video in another.. but the video count for both shows as 3 videos...

2. Inside a video category, you can keep going to the next page even though there is no more than one page of videos...

but after installing ver 2 i still have same bugs.
so for this do i need to uninstall ver 1 first and install 2 from scratch.

or these bugs r still there in ver 2.

miafodder 10-28-2007 08:40 AM

Anyone got the code so I can add other video types like for http://www.break.com/

Cheers

vBB-vietnam 10-28-2007 11:19 AM

Quote:

Originally Posted by BecomeUnbroken (Post 1369830)
letting users enter their own embed code wouldn't be smart from a security perspective...and there would be no control...

but you just gave me an idea... how about making this compatible with AME, that way you can control the types of videos through AME..

i think only give Permissions for any group than give all user Permissions.
Or approve video before display ^^.

sorry for my bad english ^^


All times are GMT. The time now is 02:41 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.01437 seconds
  • Memory Usage 1,810KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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