vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - Video-Directory Remixed (https://vborg.vbsupport.ru/showthread.php?t=200819)

Jaxel 01-06-2009 01:53 AM

Well according to the source of the page... its finding the image fine...

<div class="fixed_width_avatar"> <a href="http://www.waltdisneyboards.com/members/wdbarnyvee.html"><img src="http://www.waltdisneyboards.com/avatars/wdbarnyvee.gif?dateline=1228446000&amp;type=thumb" class="alt2 avatar" border="0" alt="WDBArnyVee" /></a> </div>

I have no idea why its not displaying... but I am going to sleep now.

ArnyVee 01-06-2009 02:01 AM

You deserve a nice rest my friend! :D

We'll tackle this one tomorrow as it looks like everything else is working beautifully :)

By the way, does anyone know what I need to do to go in and edit back in the times on the videos and also the tags that I want included on the videos?

Edited: I can see that we can edit the tags by clicking on "edit tags" on the right hand side under the video. Now, I just need to know how to add the length of video (timeframe) to the videos that I've already posted.

Jaxel...FYI, I also can't click in the field to enter the time when adding a new video. Even when I tab over, it goes to "send" rather than the field to enter the time. Might want to check on that.

Veer 01-06-2009 06:06 AM

Trying to install it on vb 3.8 RC1, and getting this:
  • Creating Table community_video ... Done!
  • Creating Table community_videocategory ... Done!
  • Altering Table session ...Done!
  • Altering Table usergroup ...Done!
  • Creating Table community_videocomment ... Done!
  • Altering Table video ...Done!
  • Creating Table community_videorate ... Done!
  • Altering Table video ...Done!Done!Done!
  • Creating Table community_videohosterapi ... Done!
  • Altering Table video ...Done!
  • Altering Table video ...Done!
vBulletin Message:
A required field called level is missing or has an invalid value.
Go Back


What to do now?

sensimilla 01-06-2009 07:13 AM

Great mod, is there a chance to have video in profile and how to display the lenght of the video instead of having "???" signs..
The area with the lenght seems not editable at my site.

TIA

Jaxel 01-06-2009 07:54 AM

@Penchaan... thank you for that... I looked at it and IMMEDIATELY knew what the problem was for new installers. What it is, the first time you install the script, it creates default categories. I never setup a "level" field for these default categories. It wasn't an issue for upgraders, because the script never tried to install those default categories. Has been fixed in version 1.1.4.5, now available for download.

With version 1.1.4.5, there shouldn't be any errors during the install script.

@ArnyVee, Sensimilla... not being able to edit lengths of videos is BY DESIGN. You don't want people setting incorrect times and what not. Especially when the timecode must be put in by SECONDS, and people may try to put them in methods like 1:30, instead of 90. In order to edit the timelengths of existing videos, you must do it directly in your database.

Jaxel 01-06-2009 08:32 AM

================================================== =========
Version 1.1.5
================================================== =========
  • Added support for the editing of timecodes for video_add and video_edit.
    • You MUST revert these two templates or timecodes will fail to edit.
  • BUG FIX: Fixed "invalid level field" error for new installations.
  • BUG FIX: Fixed "table_prefix" error for upgrade installations.
  • BUG FIX: Fixed "tag cloud" error for directories with empty clouds.
  • FILE EDITS SINCE 1.1.4: (make sure you upload these new versions!)
    • upload/video.php
    • upload/clientscript/vbulletin_ajax_videodirectory.js
    • upload/includes/functions_videotags.php

indie2industry 01-06-2009 10:14 AM

Quote:

Originally Posted by Jaxel (Post 1703070)
================================================== =========
Version 1.1.5
================================================== =========
  • Added support for the editing of timecodes for video_add and video_edit.
    • You MUST revert these two templates or timecodes will fail to edit.
  • BUG FIX: Fixed "invalid level field" error for new installations.
  • BUG FIX: Fixed "table_prefix" error for upgrade installations.
  • BUG FIX: Fixed "tag cloud" error for directories with empty clouds.
  • FILE EDITS SINCE 1.1.4: (make sure you upload these new versions!)
    • upload/video.php
    • upload/clientscript/vbulletin_ajax_videodirectory.js
    • upload/includes/functions_videotags.php

It's safe to try it now??? :D

Jaxel 01-06-2009 10:23 AM

Yes, all reported bugs, except for the avatar->db bug (which is a non-essential issue, wont break anything)... have been fixed.

indie2industry 01-06-2009 10:43 AM

ok, I think i did something wrong. maybe be something simple. But when I go to watch a video it says:

You are not logged in or you do not have permission to watch videos.

Is there a setting I missed???

indie2industry 01-06-2009 10:45 AM

nevermind, i found it :-)

indie2industry 01-06-2009 10:51 AM

new question.. How do I get it to display like yours????

www.indie2industry.com/forum/videos.php

Jaxel 01-06-2009 10:58 AM

There is a setting on this page: Called "Vidbits Per Row"

https://vborg.vbsupport.ru/attachmen...7&d=1231204782

Now if you dont mind me... I'm off to take my General Record Examination (GREs)

jonis 01-06-2009 10:59 AM

I have the same error -Not allowed... how did you solve it ?

Also,. i dont have a video lik.

indie2industry 01-06-2009 11:01 AM

Quote:

Originally Posted by jonis (Post 1703162)
I have the same error -Not allowed... how did you solve it ?

Also,. i dont have a video lik.

You have to go to your usergroups in your AdminCP and apply the setting. You have to do it for each usergroup.

Veer 01-06-2009 11:21 AM

Quote:

Originally Posted by Jaxel (Post 1703058)
@Penchaan... thank you for that... I looked at it and IMMEDIATELY knew what the problem was for new installers. What it is, the first time you install the script, it creates default categories. I never setup a "level" field for these default categories. It wasn't an issue for upgraders, because the script never tried to install those default categories. Has been fixed in version 1.1.4.5, now available for download.

With version 1.1.4.5, there shouldn't be any errors during the install script.

Thanks for the update Jaxel.

Installed.

Now getting database error when browsing /video.php

Quote:

Database error in vBulletin 3.8.0 Release Candidate 1:

Invalid SQL:

SELECT videotagvideo.tagid AS tag, videotag.*, COUNT(*) AS quantity
FROM community_videotagvideo
INNER JOIN community_videotag ON (videotag.tagid = videotagvideo.tagid)
WHERE videotagvideo.dateline > 1199711937
GROUP BY videotag.tagid, videotag.tagtext
ORDER BY quantity DESC
LIMIT 50;

MySQL Error : Unknown table 'videotag'
Error Number : 1051
Request Date : Tuesday, January 6th 2009 @ 08:18:57 AM
Error Date : Tuesday, January 6th 2009 @ 08:18:57 AM
Script : http://www.forum.com/video.php
MySQL Version : 5.0.67-community

jonis 01-06-2009 11:23 AM

after trying to upgrade from the old video plugin i got:

Unknown table 'videotag'

ArnyVee 01-06-2009 11:58 AM

Quote:

Originally Posted by Jaxel (Post 1703058)
@ArnyVee, Sensimilla... not being able to edit lengths of videos is BY DESIGN. You don't want people setting incorrect times and what not. Especially when the timecode must be put in by SECONDS, and people may try to put them in methods like 1:30, instead of 90. In order to edit the timelengths of existing videos, you must do it directly in your database.

Can someone give me a tip as to how to do this? I'm sure it's something simple, but I haven't done it before.

ArnyVee 01-06-2009 01:59 PM

Last night the thumbnails were not having any issues, but this morning I can't get any thumbnails to show. Keep in mind, I have vBSEO....but, I have the .htaccess file in the thumbnail directory with the rewrite engine off, so it should be working.

Any suggestions?

physiart 01-06-2009 02:12 PM

Fatal error: Cannot redeclare construct_category_url() (previously declared in /home/****/public_html/forums/includes/functions_videodirectory.php:190)

Any ideas?
I've read the similar mod thread here, but no luck...
I've also chmod all the right folders and files.

physiart 01-06-2009 02:47 PM

PLEASE HELP
Tried to uninstall the product and I got database error:

Database error in vBulletin 3.7.4:

Invalid SQL:

UPDATE vp_session
SET lastactivity = 1231260124, location = '/forums/index.php', inforum = 0, inthread = 0, incalendar = 0, badlocation = 0, invideocategory = 0
WHERE sessionhash = '760d7a5ac32a6ba98cfdc9dac36c95da';

MySQL Error : Unknown column 'invideocategory' in 'field list'
Error Number : 1054
Request Date : Tuesday, January 6th 2009 @ 06:42:04 PM
Error Date : Tuesday, January 6th 2009 @ 06:42:05 PM
Script : http://www.*****.gr/forums/index.php
Referrer :
IP Address : 79.166.37.214
Username : webmaster
Classname : vB_Database
MySQL Version : 4.1.22-standard

Jaxel 01-06-2009 03:15 PM

Quote:

Originally Posted by Pehchaan (Post 1703178)
Thanks for the update Jaxel.

Installed.

Now getting database error when browsing /video.php

Hmm... looks like the previous failed install is getting in the way of the new install... try uninstalling the mod and then re-installing.

@physiart... dont know about your problems... the invideocategory stuff was done by Survivor for the WOL system, I didn't change anything with that... and the "Cannot redeclare construct_category_url() (previously declared)", sounds like a conflict with another mod. What page are you getting it on?

@arnyVee, your thumbnails look fine.

indie2industry 01-06-2009 03:21 PM

Ok, one last problem.

It may be my vb style but the tag cloud doesn't show:confused::confused::confused:

ArnyVee 01-06-2009 03:21 PM

I deleted the videos that I was having problems with.

I just tried to do another one and it's working. So, I'm wondering if it's something to go with YouTube at times with them updating their site or something.

Jaxel, any tips on how I can add those length of video times in the database. I've never done it, so I could use some help :D

ArnyVee 01-06-2009 03:22 PM

Quote:

Originally Posted by indie2industry (Post 1703339)
Ok, one last problem.

It may be my vb style but the tag cloud doesn't show:confused::confused::confused:

Did you revert your templates? That was my issue. And, make sure to get some tags on at least one video to test it as well.

Jaxel 01-06-2009 03:24 PM

Arny... ugprade to v1.1.5... it has what you need.

indie2industry 01-06-2009 03:25 PM

Quote:

Originally Posted by ArnyVee (Post 1703341)
Did you revert your templates? That was my issue. And, make sure to get some tags on at least one video to test it as well.

Thanks. That did it.

ArnyVee 01-06-2009 03:26 PM

You're welcome Indie :)

Quote:

Originally Posted by Jaxel (Post 1703347)
Arny... ugprade to v1.1.5... it has what you need.

Is it for the avatars, Jaxel?

Jaxel 01-06-2009 03:46 PM

ArnyVee... no, its for editing time codes...

For your avatars...
Maintenance > Update Counters > Rebuild Custom Avatar Thumbnails

If thats not working, then I dont know what to tell you... avatars are working fine everywhere else.

WarLion 01-06-2009 03:47 PM

i have the same problem with the avatar

physiart 01-06-2009 03:54 PM

Quote:

Originally Posted by Jaxel (Post 1703328)
@physiart... dont know about your problems... the invideocategory stuff was done by Survivor for the WOL system, I didn't change anything with that... and the "Cannot redeclare construct_category_url() (previously declared)", sounds like a conflict with another mod. What page are you getting it on?

You're right, there was a conflict with vbglossary, so here's what I've done:
- I had to disable the product and everything worked again without any database probems
- Then, I manually deleted all new tables and new fields in the existing tables
I still have the disabled product in my admincp though. How can I get rid of it?

What a shame... I really liked this mod... :(

ArnyVee 01-06-2009 03:54 PM

I tried rebuilding the avatars and nothing. :(

I'll try and get the new version going. Do I have to upload everything and reimport the product again?

inciarco 01-06-2009 04:14 PM

Hello.

Will this Mod Overwrite the Video Directory Mod's Files, Codes, and Tables on the vBulletin Forum Board and Data Base? :confused:

I can see the video.php File is the same, so do the other Files and also the Installed Code will Overwrite the Video Directoy Application? :confused:

Or can Both Applications Run at the Same Time?

(I've seen the Demo and the Improvements Look Great, Congratulations and Thank You For Sharing This Great Mod). :up:

My Best Regards.

:)

WarLion 01-06-2009 04:32 PM

Quote:

Originally Posted by ArnyVee (Post 1703392)
I tried rebuilding the avatars and nothing. :(

I'll try and get the new version going. Do I have to upload everything and reimport the product again?

i find a way arny go to admincp - avatars - storage -and change customavatar to customavatar/thumbs
i saw that the code for the avatar $comment[avatarurl] is diferent
and the you have to rebuilt the custom avatars

Jaxel 01-06-2009 05:10 PM

The scripts for this mod work fine... the bugs all came from the install script... which is why I wanted peopel to test it for me... but its too late for that now.

THe avatar stuff is built straight on the code from vBulletin, so it all works. Why your forum isn't making thumbnails, has nothing to do with the mod; I dont get it. It works fine on my forum (I converted my file system to database to check) and it works fine on indie2industry's forum as well.

WarLion 01-06-2009 05:41 PM

jaxel do you think is posible to edit the video link?
and i have one question , where is the opttion to enable video block on profile? i cant find it

Veer 01-06-2009 05:57 PM

Quote:

Originally Posted by Jaxel (Post 1703328)
Hmm... looks like the previous failed install is getting in the way of the new install... try uninstalling the mod and then re-installing.

Uninstalling it seems unsuccessful, getting this:
  • Dropping Table community_video ... Done!
  • Dropping Table community_videocategory ... Done!
  • Altering Table session ...Done!
  • Altering Table usergroup ...Done!
  • Dropping Table community_videotag ... Done!
  • Dropping Table community_videotagvideo ... Done!
  • Dropping Table community_videocomment ... Done!
  • Altering Table video ...vB_Database_Alter: fetch_table_info() has not been called successfully.
    Table 'website_forum.community_video' doesn't exist
also geeting this error on forum home:

Quote:

Database error in vBulletin 3.8.0 Release Candidate 1:

Invalid SQL:

UPDATE community_session
SET lastactivity = 1231271598, location = '/', inforum = 0, inthread = 0, incalendar = 0, badlocation = 0, invideocategory = 0
WHERE sessionhash = 'dfw9c595f51fl974e8qcb0dspe8dk6w9';

MySQL Error : Unknown column 'invideocategory' in 'field list'
Error Number : 1054
Request Date : Tuesday, January 6th 2009 @ 02:53:18 PM
Error Date : Tuesday, January 6th 2009 @ 02:53:19 PM
Script : http://www.forum.com/
MySQL Version : 5.0.67-community

Jaxel 01-06-2009 06:12 PM

1 Attachment(s)
Hmm... Pehchaan... lets try it this way... In:
Manage Products > Video-Directory > EDIT > Version

Change it to 1.0.0... Then try to re-install. (used attached file)

If that doesn't work.. Delete all "Existing Install/Uninstall Code" (there are checkboxes on the right to delete them)... then uninstall, and then re-install with the attached file... But try the other way first.

simunaqv 01-06-2009 06:34 PM

Hi Jaxel, thanks for the update. Do you know if the other add-ons for the Video Directory mod would would work with this mod.

ArnyVee 01-06-2009 06:36 PM

simunaqv,

I have both the vBadvanced module and the forum home mod both working with this mod.

Jaxel 01-06-2009 06:39 PM

You mean the CMPS mod? Its included in my ZIP.


All times are GMT. The time now is 05:34 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.05576 seconds
  • Memory Usage 1,840KB
  • 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
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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