vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - 8WayRun.Com - Media Library (https://vborg.vbsupport.ru/showthread.php?t=240677)

TimberFloorAu 04-19-2010 10:22 PM

Fixed the above issue I think: Should URLs within the media library be slugged for SEO?

Set to NO and seems to work fine

TimberFloorAu 04-19-2010 10:46 PM

WORKS A DREAM ;) thankyou

Only issue is Comments.
The avatar has a weird link and says vbulletin in weird text.

Jaxel 04-19-2010 11:33 PM

Quote:

Originally Posted by TimberFloorAu (Post 2024047)
Just downloaded and installed.
Click Category link and takes us back to home page

Quote:

Originally Posted by TimberFloorAu (Post 2024059)
Fixed the above issue I think: Should URLs within the media library be slugged for SEO?

Set to NO and seems to work fine

As you already figured out, you were getting this error because you enabled SEO slugs. There is an additional file which is included in the zip called ".htaccess". You MUST have an apache server, and MUST upload this file to your forum root in order to get SEO slugs to work correctly. Without this file, your website won't know how to translate the SEO slugs into workable URLs.

Quote:

Originally Posted by TimberFloorAu (Post 2024049)
When submitting media we get this error:

<snip>

You did not follow the complete installation procedures.
CHMOD the /customVID directory and all directories within it to full read/write/execute 777.
You are getting these permissions errors and subsequent errors because you did not give your server full 777 rights to the directories in which thumbnails are created.


Quote:

Originally Posted by TimberFloorAu (Post 2024064)
Only issue is Comments.
The avatar has a weird link and says vbulletin in weird text.

Certified "Works for Me". The links on avatars are using vBulletin's official constructs.

Jabong82 04-19-2010 11:35 PM

Hey Jaxel I was wondering if there is any fix yet for the report and edit functions? Thank you again.

TimberFloorAu 04-20-2010 12:09 AM

1 Attachment(s)
The error when submitting video, etc. Was sorted by disabling the slug. All folders htaccess etc followed and done prior to testing.

The avatar issue is more of a problem.

If memory serves me correct this was also an issue with Farcasters event attendance. I believe was a VB issue. ( could be totally unrelated )

Jaxel 04-20-2010 01:08 AM

Quote:

Originally Posted by TimberFloorAu (Post 2024089)
The error when submitting video, etc. Was sorted by disabling the slug. All folders htaccess etc followed and done prior to testing.

The avatar issue is more of a problem.

If memory serves me correct this was also an issue with Farcasters event attendance. I believe was a VB issue. ( could be totally unrelated )

Okay, new version is up with a "fix". I've also discovered a bug in VB4 relating to their avatar construction. (one of many I've discovered, but this is the only one I've bothered reporting; really VB4 is chock full of bugs)


Quote:

Originally Posted by Jabong82 (Post 2024086)
Hey Jaxel I was wondering if there is any fix yet for the report and edit functions? Thank you again.

There is no fix on the way for this, as I can't find a problem on vb4.0.3. Make sure you are running the most recent version of VB4. Provide me with more information.

TimberFloorAu 04-20-2010 02:15 AM

Beautiful Fixed. Thanks :up:

Jabong82 04-20-2010 02:54 AM

Quote:

Originally Posted by Jaxel (Post 2024108)

There is no fix on the way for this, as I can't find a problem on vb4.0.3. Make sure you are running the most recent version of VB4. Provide me with more information.

Ah I see. I'm still runnin 4.0.2. I'm paranoid about upgrading to 4.0.3 with all the bugs that have been reported. Thanks again.

Jaxel 04-20-2010 03:26 AM

I think you guys are gonna like whats coming tomorrow... STYLEVARS!

jacobskinner811 04-20-2010 04:00 AM

im pretty sure this is what my site needs but i have no idea how to upload it...if i could get step by step instructions that would be great

Jabong82 04-20-2010 04:17 AM

Quote:

Originally Posted by jacobskinner811 (Post 2024154)
im pretty sure this is what my site needs but i have no idea how to upload it...if i could get step by step instructions that would be great


1. Upload all the files in the "upload" directory of the attached zip file to your forum root.
2. CHMOD the /customVID directory and all directories within it to full read/write/execute 777.
3. Import the product file called "product-media.xml" in the Product Manager of vBulletin.
4. Set your usergroup permissions and media library settings in your administration control panel.


Those are the steps, pretty standard. Are you new to VB? If you are I could help explain further.

Jaxel 04-20-2010 04:36 AM

================================================== =========
Version 4.0.2 MASSIVE TEMPLATE REWRITE
================================================== =========
  • NEW FEATURE: StyleVar group has been created to handle Media Library styles.
    This is a complete overhaul of the template system for this mod. Every old template has been replaced with new templates which include stylevars, and a new naming structure. I used replace functions in Notepad++ in order to replace the template calls in all the files so there shouldn't be any errors; however, please inform me if there are any issues with this new version, whether it be a template not being called correctly or even unchached templates.
  • BUG FIX: Fixed htaccess QSA errors were page numbers were not being processed.
  • BUG FIX: Fixed avatar constructs for comments due to a bug within vB4 itself.

Rahstyles 04-20-2010 04:42 AM

Quote:

Originally Posted by Jaxel (Post 2024162)
================================================== =========
Version 4.0.2 MASSIVE TEMPLATE REWRITE
================================================== =========
  • NEW FEATURE: StyleVar group has been created to handle Media Library styles.
    This is a complete overhaul of the template system for this mod. Every old template has been replaced with new templates which include stylevars, and a new naming structure. I used replace functions in Notepad++ in order to replace the template calls in all the files so there shouldn't be any errors; however, please inform me if there are any issues with this new version, whether it be a template not being called correctly or even unchached templates.
  • BUG FIX: Fixed htaccess QSA errors were page numbers were not being processed.
  • BUG FIX: Fixed avatar constructs for comments due to a bug within vB4 itself.

Ok so weres the new version??

willy888 04-20-2010 04:52 AM

Database error
the plugin installed ok but the link does not work

Jaxel 04-20-2010 05:31 AM

Quote:

Originally Posted by Rahstyles2008 (Post 2024164)
Ok so weres the new version??

Umm... its at the top of the page?


Quote:

Originally Posted by willy888 (Post 2024168)
Database error
the plugin installed ok but the link does not work

Can't help you. When you get an error, you should cut and paste the error so that I know what the error is and can fix it. Also, what plugin? What link?

hassshasss 04-20-2010 05:45 AM

I can not get admin options.
I gave the necessary user group izinleride What can I do please help.

willy888 04-20-2010 06:41 AM

Quote:

Originally Posted by Jaxel (Post 2024177)


Can't help you. When you get an error, you should cut and paste the error so that I know what the error is and can fix it. Also, what plugin? What link?

The media library plugin installed ok , there is in the admin room and i see the settings , also the media link button appears in navbar but when I press it all the page goes down with the message database error .

TimberFloorAu 04-20-2010 07:14 AM

Tellya what I would like as a feature request.

Current Users Viewing the Media Library

zane99 04-20-2010 08:10 AM

ive installed etc but obviously something is wrong. When i put in a youtube link and press 'retrieve information' it just turns to 'please wait' and then does nothing............

ANGEL OF FIRE 04-20-2010 08:48 AM

Quote:

Originally Posted by Jaxel (Post 2023963)
I am using vBulletin's built in cURL clone called vURL. I will try to get it working with non UTF8 characters, but you're going to have to give me an example link for me to work through first.

For example, if I take this clip

http://www.youtube.com/watch?v=TySRnSsJ9mE

I receive such result:

http://img69.imageshack.us/img69/1925/tatut.png

http://img690.imageshack.us/img690/8410/tatu1.png

http://img88.imageshack.us/img88/5494/tatu2.png



.............................

In the version for vB 3.8 I used iconv converter:

$this->videotitle = iconv('UTF-8','cp1251', $title);

Philippe J 04-20-2010 10:03 AM

How to upgrade from 4.01 version ?
Do we need to install the whole "upload" folder again or just the new XML?

Thanks for the mod !

Webbstre 04-20-2010 10:37 AM

Oh my god this is exactly what I had been searching for. Definitely going onto my site!

mobe00 04-20-2010 01:01 PM

I see on your website you have a widget on the frontpage called recent videos. You have the code for us so we can make a similar widget ? :) thx for a great mod

mobe00 04-20-2010 02:06 PM

My mailbox fills up with vbulletin database error when i installed this mod. What is wrong ?

Database error in vBulletin 4.0.3:

Invalid SQL:

SELECT
userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, user.languageid AS saved_languageid,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid,
language.phrasegroup_global AS phrasegroup_global,
language.phrasegroup_media AS phrasegroup_media,
language.options AS lang_options,
language.languagecode AS lang_code,
language.charset AS lang_charset,
language.locale AS lang_locale,
language.imagesoverride AS lang_imagesoverride,
language.dateoverride AS lang_dateoverride,
language.timeoverride AS lang_timeoverride,
language.registereddateoverride AS lang_registereddateoverride,
language.calformat1override AS lang_calformat1override,
language.calformat2override AS lang_calformat2override,
language.logdateoverride AS lang_logdateoverride,
language.decimalsep AS lang_decimalsep,
language.thousandsep AS lang_thousandsep

FROM user AS user
LEFT JOIN userfield AS userfield ON (user.userid = userfield.userid)
LEFT JOIN usertextfield AS usertextfield ON (usertextfield.userid = user.userid) LEFT JOIN language AS language ON (language.languageid = IF(user.languageid = 0, 2, user.languageid))

WHERE user.userid = 1;

MySQL Error : Unknown column 'language.phrasegroup_media' in 'field list'
Error Number : 1054
Request Date : Tuesday, April 20th 2010 @ 01:53:44 PM
Error Date : Tuesday, April 20th 2010 @ 01:53:45 PM
Script : http://xxxxxxxx/media_ajax.php?do=rating
Referrer : http://xxxxxxx/media.php?do=details&mid=3
IP Address : 193.212.211.162
Username :
Classname : vB_Database
MySQL Version :

mobe00 04-20-2010 02:14 PM

an other error

Database error in vBulletin 4.0.3:

Invalid SQL:

SELECT
userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, user.languageid AS saved_languageid,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid,
language.phrasegroup_global AS phrasegroup_global,
language.phrasegroup_media AS phrasegroup_media,
language.options AS lang_options,
language.languagecode AS lang_code,
language.charset AS lang_charset,
language.locale AS lang_locale,
language.imagesoverride AS lang_imagesoverride,
language.dateoverride AS lang_dateoverride,
language.timeoverride AS lang_timeoverride,
language.registereddateoverride AS lang_registereddateoverride,
language.calformat1override AS lang_calformat1override,
language.calformat2override AS lang_calformat2override,
language.logdateoverride AS lang_logdateoverride,
language.decimalsep AS lang_decimalsep,
language.thousandsep AS lang_thousandsep

FROM user AS user
LEFT JOIN userfield AS userfield ON (user.userid = userfield.userid)
LEFT JOIN usertextfield AS usertextfield ON (usertextfield.userid = user.userid) LEFT JOIN language AS language ON (language.languageid = IF(user.languageid = 0, 2, user.languageid))

WHERE user.userid = 1;

MySQL Error : Unknown column 'language.phrasegroup_media' in 'field list'
Error Number : 1054
Request Date : Tuesday, April 20th 2010 @ 03:08:56 PM
Error Date : Tuesday, April 20th 2010 @ 03:08:56 PM
Script : http://xxxxxxxxxxx/media_ajax.php?do=details_pagenav
Referrer : http://xxxxxxxxxxxxx/media.php?do=details&mid=22
IP Address : 95.34.187.106
Username :
Classname : vB_Database
MySQL Version :

Jaxel 04-20-2010 03:37 PM

Oops, very sorry about the DB errors with the new version... I forgot to change one line of code.

Try the current version, should fix the phrase errors.

Jaxel 04-20-2010 04:13 PM

Quote:

Originally Posted by mobe00 (Post 2024319)
I see on your website you have a widget on the frontpage called recent videos. You have the code for us so we can make a similar widget ? :) thx for a great mod

That widget is for the 3.8 version of Video Directory Remixed. I have not made a widget for this version yet.



Quote:

Originally Posted by Philippe J (Post 2024247)
How to upgrade from 4.01 version ?
Do we need to install the whole "upload" folder again or just the new XML?

Thanks for the mod !

Generally speaking, with modifications, you will want to re-upload everything when an update comes out. I've been updating this mod something like 5 times a day since it came out, so I understand thats quite a lot of work. But its not a lot of files, so it really won't take much. Updates will slow down soon as I believe I have most of the bugs worked out. (Really, most of the bugs are caused by VB itself not acting the way it should)



Quote:

Originally Posted by ANGEL OF FIRE (Post 2024226)
For example, if I take this clip

http://www.youtube.com/watch?v=TySRnSsJ9mE

New version just uploaded will now process foreign languages correctly. For some odd reason, vBulletin's built in XML parser converts everything to ISO-8859-1 by default. I don't understand why, when EVERY OTHER XML parser in existence converts things to Unicode. Thankfully, they let you force an encoding type with a simple value pass. So I have forced the parser to read every feed as UTF-8.



Quote:

Originally Posted by hassshasss (Post 2024180)
I can not get admin options.
I gave the necessary user group izinleride What can I do please help.

Please update your VB to 4.0.3

COL NIL SATIS 04-20-2010 04:45 PM

Jaxel wont the add categories work on 4.0.0?????

IR15H 04-20-2010 04:48 PM

Nice work! :)

A few bugs/requests after having a quick play with it on my test site;
  1. If Can browse the library is set to No for a user group then hide the navbar from them.
  2. When adding new comments, 10 seems to be the minimum number of characters allowed, irrespective of the setting in ADMIN CP > Settings > Options > Message Posting and Editing Options> Minimum Characters Per Post. If possible, if a user tries to enter a message that is too short then it should say what the minimum length allowed is (rather than just "too short").
  3. Attempting to edit a comment returns an error of "The comment you have entered is far too short and has been rejected." (regardless of comment length).
  4. There is no way to delete a comment (unless this is done via the "Edit" link?).
  5. If you enter a comment it displays the message "Your comment has been posted! It will show up shortly..." which remains there even when the message has already shown up and prevents the user from being able to submit another comment (without refreshing the page).
  6. Error messages (such as "Our records show that this particular media is already in the media library!") don't have 'Back' buttons, so if a user encounters them there's no way to navigate away from it.
  7. The "Report Media" feature doesn't seem to work.
  8. Tagging doesn't follow the minimum value set in ADMIN CP > Settings > Options > Tagging Options > Tag Minimum Length.

They're just a few minor things I found but overall very impressive and thanks for your work :).

mgcom 04-20-2010 05:25 PM

one of the best mods ever, thanks for the hardwork

mgcom 04-20-2010 05:44 PM

fuk spoke to soon

everytime i play a vid i get a datebase error emailed to me even though everything is working fine

Quote:

Database error in vBulletin 4.0.3:

Invalid SQL:

SELECT
userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, user.languageid AS saved_languageid,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid,
language.phrasegroup_global AS phrasegroup_global,
language.phrasegroup_media AS phrasegroup_media,
language.options AS lang_options,
language.languagecode AS lang_code,
language.charset AS lang_charset,
language.locale AS lang_locale,
language.imagesoverride AS lang_imagesoverride,
language.dateoverride AS lang_dateoverride,
language.timeoverride AS lang_timeoverride,
language.registereddateoverride AS lang_registereddateoverride,
language.calformat1override AS lang_calformat1override,
language.calformat2override AS lang_calformat2override,
language.logdateoverride AS lang_logdateoverride,
language.decimalsep AS lang_decimalsep,
language.thousandsep AS lang_thousandsep

FROM user AS user
LEFT JOIN userfield AS userfield ON (user.userid = userfield.userid)
LEFT JOIN usertextfield AS usertextfield ON (usertextfield.userid = user.userid) LEFT JOIN language AS language ON (language.languageid = IF(user.languageid = 0, 1, user.languageid))

WHERE user.userid = 1;

MySQL Error : Unknown column 'language.phrasegroup_media' in 'field list'
Error Number : 1054
Request Date : Tuesday, April 20th 2010 @ 07:42:39 PM
Error Date : Tuesday, April 20th 2010 @ 07:42:39 PM

hassshasss 04-20-2010 06:29 PM

Quote:

= Originally Posted by hassshasss View Post

I can not get admin options.
I gave the necessary user group izinleride What can I do please help.

Please update your VB to 4.0.3


I have 4.0.3 and so good already.

Stefanus 04-20-2010 06:54 PM

Quote:

Originally Posted by mgcom (Post 2024444)
fuk spoke to soon

everytime i play a vid i get a datebase error emailed to me even though everything is working fine

Hi,
Did you do the product update "product-medialibrary.xml"?
Had a simmilar problem - uploaded the files without the product update, gave me some weird errors, check that you uploaded all the files in the upload folder.

mgcom 04-20-2010 07:42 PM

Quote:

Originally Posted by Stefanus (Post 2024482)
Hi,
Did you do the product update "product-medialibrary.xml"?
Had a simmilar problem - uploaded the files without the product update, gave me some weird errors, check that you uploaded all the files in the upload folder.

yeah i uploaded it to the xml folder

xxalexkimxx 04-20-2010 07:52 PM

Thanks for the update, I think this is the best mod I ever seen!!!

TimberFloorAu 04-20-2010 08:30 PM

Ok Upgraded.

One suggestion, could you rename your zip and upgrade by new version. With more apt version changes please.

Also, great work btw. Can we now delete all media templates apart from new ones: with prefix 8wr_media

If so: please supply a list of all obsolete templates

Jaxel 04-20-2010 08:43 PM

================================================== =========
Version 4.0.3 AUTO CREATE AND VERIFICATION FEATURES
================================================== =========
  • NEW FEATURE: The Auto-Create Thread feature has once again returned!
  • NEW FEATURE: Tag, Comment, Description and Title verification handlers now follow built in vB4 settings. Each of these fields will follow their related forum setting such as "Tag Minimum Length" or "Tag Maximum Length". If a field should fail to meet the specifications, the error handlers will now explain why it has failed in more detail.
  • BUG FIX: Fixed information retrieval for feeds with non-Latin sources.
  • BUG FIX: Fixed phrasegroup error within AJAX functions created in 4.0.2.
  • BUG FIX: Miscellaneous SQL and template errors no one knew about but me.

Jaxel 04-20-2010 08:48 PM

Quote:

Originally Posted by IR15H (Post 2024416)
Nice work! :)

A few bugs/requests after having a quick play with it on my test site;
  1. If Can browse the library is set to No for a user group then hide the navbar from them.
  2. When adding new comments, 10 seems to be the minimum number of characters allowed, irrespective of the setting in ADMIN CP > Settings > Options > Message Posting and Editing Options> Minimum Characters Per Post. If possible, if a user tries to enter a message that is too short then it should say what the minimum length allowed is (rather than just "too short").
  3. Attempting to edit a comment returns an error of "The comment you have entered is far too short and has been rejected." (regardless of comment length).
  4. There is no way to delete a comment (unless this is done via the "Edit" link?).
  5. If you enter a comment it displays the message "Your comment has been posted! It will show up shortly..." which remains there even when the message has already shown up and prevents the user from being able to submit another comment (without refreshing the page).
  6. Error messages (such as "Our records show that this particular media is already in the media library!") don't have 'Back' buttons, so if a user encounters them there's no way to navigate away from it.
  7. The "Report Media" feature doesn't seem to work.
  8. Tagging doesn't follow the minimum value set in ADMIN CP > Settings > Options > Tagging Options > Tag Minimum Length.

They're just a few minor things I found but overall very impressive and thanks for your work :).

1. I'll look into it
2. Fixed in new version.
3. Editing comments works fine for me, vb4.0.3... what other mods do you have installed?
4. Yes, deleting comments is done through the edit link.
5. This is BY DESIGN. If you look at YouTube, it does a the same thing. You can only comment on a video once without refreshing. This is a deterrent so that people don't try to spam the comments.
6. The error pages use the built in error system for VB. There is no back button because VB itself does not have a back button built in. A user can simply press the back button on their browser, or use the backspace key to go back a page.
7. Reporting media works fine for me, vb4.0.3... what other mods do you have installed?
8. Fixed in new version.


Quote:

Originally Posted by mgcom (Post 2024444)
fuk spoke to soon

everytime i play a vid i get a datebase error emailed to me even though everything is working fine

This bug has been fixed in the newest version.


Quote:

Originally Posted by TimberFloorAu (Post 2024524)
Ok Upgraded.

One suggestion, could you rename your zip and upgrade by new version. With more apt version changes please.

Also, great work btw. Can we now delete all media templates apart from new ones: with prefix 8wr_media

If so: please supply a list of all obsolete templates

If you didn't change your templates, the obsolete templates should have been deleted automatically. Anything without "8wr_media" in the front is obsolete.

Veer 04-20-2010 08:59 PM

Few suggestion:

"Like" button or "Thanks" button integration on media page
"Add to Favorites" button on media page
"Download This Media" button on media page
"Related Media" on media page
"Most Discussed Media" on Main page of Media Library
"Featured Media" on Main page of Media Library
"Recent Media" forum block

mgcom 04-20-2010 09:19 PM

update worked a charm cheers


All times are GMT. The time now is 01:05 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.03380 seconds
  • Memory Usage 1,891KB
  • 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
  • (24)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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