View Full Version : Major Additions - 8WayRun.Com - Media Library
Pages :
1
2
3
4
5
6
7
8
9
10
11
[
12]
13
waldvb
05-29-2012, 06:05 PM
to disable the "old" menu go to admincp->product and plugins-> manage plugins and turn off media NAVTAB plugin. Then install my product: https://vborg.vbsupport.ru/showpost.php?p=2334307&postcount=2745
I'll upgrade forum to 4.2 tomorrow. I'll check your Mod
GhostHunter2010
05-29-2012, 06:51 PM
is there any videogallery like this one plz if yes pm me link so i can download thankyou
Chadi
05-29-2012, 08:10 PM
I think I know what is the problem
The extensions of the image files on godtube are .jpg but the files are png inside.
See: http://ht2.salemweb.net/godtube/2012/05/21/402981-003-tn.jpg
Replace Thumbnail line with : $vbulletin->options['bburl']."/media/media_audio.jpg" and try again
Could you please help me out on this piece? I edited the host section for godtube and still get the same error.
michal72
05-29-2012, 08:47 PM
Yes indeed there is some problem with thumbs on godtube.com, so I have prepared the xml service with standard 8WR Media thumbnail. It works for me. Please find enclosed, install and check again.
Regards
Chadi
05-29-2012, 09:04 PM
Thanks. So there is no way around this, at all?
michal72
05-30-2012, 04:12 AM
Thanks. So there is no way around this, at all?
in media/media_function_build.php replace:
preg_match('#([\w]+)$#i',$thumbnail,$filetype);
switch ($filetype[1])
{
case "png": $oldImage = imagecreatefrompng($target); break;
case "gif": $oldImage = imagecreatefromgif($target); break;
case "jpg":
default: $oldImage = imagecreatefromjpeg($target); break;
}
with
$filetype = exif_imagetype($thumbnail);
switch ($filetype)
{
case IMAGETYPE_PNG: $oldImage = imagecreatefrompng($target); break;
case IMAGETYPE_GIF: $oldImage = imagecreatefromgif($target); break;
case IMAGETYPE_JPEG:
default: $oldImage = imagecreatefromjpeg($target); break;
}
and try to use the previous xml.
lafsunlmtd
05-30-2012, 01:10 PM
I found that if you have vbSEO there are some modifications to the php files that have to be made that will include the titles in the non friendly URL so that you can use custom rewrite rules in the vbSEO control panel to make this work properly.
I am undergoing the changes with the php file and writing the custom rewrite rules. I'll report back with the file and the rewrite rules if it's successful.
Update:
It is in fact working as I planned and will update the thread with the file to update as well as the custom rewrite rules you can copy and paste in your vbSEO control panel so the SEO Friendly URL's will work with your board and vbSEO.
lafsunlmtd
05-30-2012, 03:00 PM
If you use vbSEO
Add the following Custom Rewrites via your vbSEO control panel area. Once finished, turn on friendly URL's via the VB Settings > Options > 8WayRUn.com Details
// # Media Library
'^media\.php\?do=tags_edit&mid=(\d+)&title=(.*)'=>'media/m$1-$2/tags'
'^media\.php\?do=details_edit&mid=(\d+)&title=(.*)'=>'media/m$1-$2/edit'
'^media\.php\?do=report&mid=(\d+)&title=(.*)'=>'media/m$1-$2/report'
'^media\.php\?do=comment_edit&cmt=(.*)&mid=(\d+)&title=(.*)'=>'media/m$2-$3/c$1'
//'^media\.php\do=details&mid=(\d+)&title=(.*)&pid=(\d+)'=>'media/m$1-$2/p$3'
'^media\.php\?do=details&mid=(\d+)&title=(.*)'=>'media/m$1-$2'
// '^media/p(\d+).*/edit$ media.php?do=playlist_edit&pid=$1 [QSA]'
// '^media/p(\d+).* media.php?do=playlist&pid=$1 [QSA]'
'^media\.php\?do=playlist&pid=(\d+)'=>'media/p$1'
'^media\.php\?do=category&cid=(\d+)&title=(.*)'=>'media/c$1-$2'
'^media\.php\?do=user&uid=(\d+)&title=(.*)'=>'media/u$1-$2'
'^media\.php\?do=tag&tid=(.*)'=>'media/tag/$1'
'^media\.php\?do=results&query=(.*)'=>'media/results/$1'
'^media\.php\?do=advresults&query=(.*)'=>'^media/advresults/$1'
'^media\.php\?do=letter&query=(.*)'=>'media/letter/$1'
'^media\.php\?do=browse'=>'media/browse'
'^media\.php\?do=search'=>'media/search'
'^media\.php\?do=random'=>'media/random'
'^media\.php\?do=submit'=>'media/submit'
'^media\.php\?do=tagcloud'=>'media/tagcloud'
'^media\.php\?do=playlists'=>'media/playslists'
'^media\.php\?do=playlists_create'=>'media/pcreate'
'^media\.php\?do=playlists_mine'=>'media/pmine'
'^media\.php\?do=favorites'=>'media/favorites'
'^media\.php\?do=subscriptions'=>'media/subscriptions'
// '^media/admin/edit/s(\d+).* media.php?do=admin_host_edit&sid=$1 [QSA]'
// '^media/admin/delete/s(\d+).* media.php?do=admin_host_delete&sid=$1 [QSA]'
// '^media/admin/export/s(\d+).* media.php?do=admin_host_export&sid=$1 [QSA]'
// '^media/admin/(\w+).* media.php?do=admin_$1 [QSA]'
You'll notice I have the playlists and admin area's commented out.
I couldn't figure out the playlist custom rewrites properly but don't even have these navigation items active as that is not the purpose of the directory for us. If you can figure it out, feel free to do so and update for others.
In regards to the administrate options. I left this as is because I manually added the navigation links for these already in my navbar and didn't bother with them.
No edits to any PHP file were needed to make these friendly links work, just redoing the .htaccess file listings to make them in the proper format for vbSEO.
Hope this helps someone.
You can view the friendly URL's working here: http://www.iplaycod.com/forums/media.php
lafsunlmtd
05-31-2012, 01:59 PM
Add Facebook Like and Send option for each media listing:
First step is to go to https://developers.facebook.com/docs/reference/plugins/like/ and set up your settings as you would like. I chose the Like & Send option.
Add the code they mention to add right after the body tag in the header template. The code where you want to display the like button:
Style Manager > Edit Templates > 8WayRun.com Media Library Templates > 8WR_media_details
Find:
<b>{vb:phrase media_tags}:</b><br />
<ul class="commalist">
{vb:raw media.tags}
</ul>
Add After:
<br /><br />
<div class="fb-like" data-send="true" data-width="450" data-show-faces="true"></div>
Should result in: http://gyazo.com/fc481f72d40f0f0099f59b8f32039dcd
https://vborg.vbsupport.ru/external/2012/05/1.png?1338475849
Bergler
05-31-2012, 03:18 PM
Does anyone have a link to the current files to install this mod, thanks in advance, cheers.
GhostHunter2010
05-31-2012, 05:58 PM
nobody answered my problem never mind unistalled
Taurus1
06-02-2012, 09:19 AM
Could you install this simple product on your test enviroment and check if it works well
Does this work? And does it install the navtabs and links automatically on 4.2.0 then?
michal72
06-02-2012, 10:11 AM
Does this work? And does it install the navtabs and links automatically on 4.2.0 then?
Yes
Yes, using standard 8wr media rights
This is navtab mod only
GhostHunter2010
06-03-2012, 02:29 PM
can u please tell me why doesnt show administration on menu im usin vb 4.2.0 i installed but i cannot see the administration thing so i can add categories etc help me with this plz thanks
waldvb
06-03-2012, 03:07 PM
can u please tell me why doesnt show administration on menu im usin vb 4.2.0 i installed but i cannot see the administration thing so i can add categories etc help me with this plz thanks
Look for "Administrate" in NavBar
michal72
06-03-2012, 03:17 PM
can u please tell me why doesnt show administration on menu im usin vb 4.2.0 i installed but i cannot see the administration thing so i can add categories etc help me with this plz thanks
Check 8WR Media rights.
At least one of below rights should be given:
Can moderate media tags
Can moderate media categories
Can moderate host services
GhostHunter2010
06-03-2012, 03:20 PM
is showin up mate all it shows that has been installed an general categorie :(
GhostHunter2010
06-03-2012, 03:26 PM
is nothing on navtab i cant see administration or submit videos etc
gonzek
06-03-2012, 03:40 PM
Hello, can somebody help me? I installed that mod, but nothing on navtab in vbulletin 4.2.0
I added media.php via navigation manager, but i cant see any links such administrative etc.
site: www.serowar.pl
GhostHunter2010
06-03-2012, 03:41 PM
Hello, can somebody help me? I installed that mod, but nothing on navtab in vbulletin 4.2.0
I added media.php via navigation manager, but i cant see any links such administrative etc.
www.serowar.pl
same here mate i cannot see them i tested the other day on 4 1 9 worked fine when i upgraded to 4 2 0 is installed but is not showin up such as administrator or submit new video etc nothing .....
waldvb
06-03-2012, 03:44 PM
same here mate i cannot see them i tested the other day on 4 1 9 worked fine when i upgraded to 4 2 0 is installed but is not showin up such as administrator or submit new video etc nothing .....
You have to rebuild links for Media Library using Navigation Manager.
You can use it:
http://www.wood-furniture.biz/forums/media.php
add same links to your web.
GhostHunter2010
06-03-2012, 03:47 PM
thanks for ur reply i dont know how to add them im not that perfect with vbulletin how come on version 4.2.0 is not showin them atomaticly as it doest on version 4,.1.9....
michal72
06-03-2012, 03:50 PM
Hello, can somebody help me? I installed that mod, but nothing on navtab in vbulletin 4.2.0
I added media.php via navigation manager, but i cant see any links such administrative etc.
site: www.serowar.pl
zainstaluj ten mod : https://vborg.vbsupport.ru/showpost.php?p=2334307&postcount=2745
try to install this simple mod: https://vborg.vbsupport.ru/showpost.php?p=2334307&postcount=2745
waldvb
06-03-2012, 03:50 PM
thanks for ur reply i dont know how to add them im not that perfect with vbulletin how come on version 4.2.0 is not showin them atomaticly as it doest on version 4,.1.9....
Just open Admin Panel - Navigation Manager and follow the instruction
GhostHunter2010
06-03-2012, 03:53 PM
hi i just saw this reply
Originally Posted by gonzek
Hello, can somebody help me? I installed that mod, but nothing on navtab in vbulletin 4.2.0
I added media.php via navigation manager, but i cant see any links such administrative etc.
site: www.serowar.pl
zainstaluj ten mod : https://vborg.vbsupport.ru/showp...postcount=2745
and i downloaded the https://vborg.vbsupport.ru/showp...postcount=2745
works fine now thanks for ur help guys time to unistall vbtube now i dont like vbtube the way it shows videos
GhostHunter2010
06-03-2012, 03:55 PM
thanks for this link https://vborg.vbsupport.ru/showp...postcount=2745 michal72 now works fine :D
emath
06-03-2012, 04:15 PM
Could you install this simple product on your test enviroment and check if it works well
works, thanks !
GhostHunter2010
06-03-2012, 05:10 PM
1 more question michal72 when i try to comment on videos it doesnt work i click submit comment but nothing happend any idea.. thx
michal72
06-03-2012, 05:12 PM
You have to install two fixes.
Hit my signature.
GhostHunter2010
06-03-2012, 05:23 PM
it says to replace 8 wr templates but dont know wich one exacly cus when i go to styles i see media library template but dont know wich one :D
michal72
06-03-2012, 05:29 PM
8WR_media_comment
8WR_media_details
8WR_media_details_edit
GhostHunter2010
06-03-2012, 05:34 PM
ok thankyou very much i will check it out now
gonzek
06-03-2012, 05:39 PM
Working fine, thanks!
But I have next problems - with polish fonts and description. I writed something, but after submit - I have an error.
GhostHunter2010
06-03-2012, 05:49 PM
hi again cant open the ajax comment js
waldvb
06-03-2012, 05:50 PM
Working fine, thanks!
But I have next problems - with polish fonts and description. I writed something, but after submit - I have an error.
Charset problem - your forum is in ISO-8859-2 - YouTube is in UTF-8
Re-type title from youTube during submission
If you can't add video with no description:
https://vborg.vbsupport.ru/showpost.php?p=2216545&postcount=2117
michal72
06-03-2012, 05:53 PM
But I have next problems - with polish fonts and description.
For me it is working fine. I use UTF8
138916
I writed something, but after submit - I have an error.
This is another problem. As above. Please install two fixes. Hit my signature
gonzek
06-03-2012, 05:55 PM
Charset problem - your forum is in ISO-8859-2 - YouTube is in UTF-8
Re-type title form youTube during submission
Is it possible automatically changing polish diactrics to "blank" letters? For example:
? -> o
ź -> z
ł -> l
ą -> a
etc...
michal72
06-03-2012, 05:55 PM
hi again cant open the ajax comment js
on the disk in media directory
GhostHunter2010
06-03-2012, 05:57 PM
on the disk in media directory
yeah im tryin from ftp cant it wont let me for somereason :D
GhostHunter2010
06-03-2012, 06:01 PM
fixed thankyou very much :D
waldvb
06-03-2012, 06:19 PM
Is it possible automatically changing polish diactrics to "blank" letters? For example:
? -> o
ź -> z
ł -> l
ą -> a
etc...
Change your forum to UTF-8 - no problems at all with non-english letters
gonzek
06-03-2012, 06:39 PM
Change your forum to UTF-8 - no problems at all with non-english letters
How can I do this?
waldvb
06-03-2012, 06:50 PM
How can I do this?
you can install "spolszczenia w vBulletin 4"
http://vbhelp.pl/pobierz-tlumaczenia-53/spolszczenie-vbulletin-3-4-aktualizacja-23-03-2012-a-8766/
or you can ask:
https://www.vbulletin.com/forum/forum.php
gonzek
06-03-2012, 08:20 PM
you can install "spolszczenia w vBulletin 4"
http://vbhelp.pl/pobierz-tlumaczenia-53/spolszczenie-vbulletin-3-4-aktualizacja-23-03-2012-a-8766/
But this will not change all of my content to utf-8.
waldvb
06-03-2012, 08:59 PM
But this will not change all of my content to utf-8.
I see - your forum is empty. So next posts will be in utf-8.
admincp-Language Manager-edit settings-HTML Character Set-utf-8
gonzek
06-04-2012, 04:35 PM
I have more than 100 articles in polish.
I will try to convert my translation (I want to use my own translation) and database.
waldvb
06-04-2012, 06:24 PM
I have more than 100 articles in polish.
I will try to convert my translation (I want to use my own translation) and database.
Be careful. First backup database. Then change charset to utf-8. Next you have to convert existing articles to utf-8 manually - as administrator or moderator. Open articles in browser and check and correct (edit) every article and post.
Chadi
06-09-2012, 03:31 AM
I cannot find any option to have member submissions put into moderation queue for approval. Can you please add that feature, very important.
Thanks.
PS: is there a forumhome sideblock widget for this? That would be awesome!
artcrimes
06-09-2012, 05:56 PM
thanks..
LgsOfChampions
06-10-2012, 02:37 PM
I keep getting this error,
http://www.youtube.com/watch?v=viNB4WVdxgs&feature=related
however, my description is more then 10 char. and I also put 0 to disable the amount needed in the admin panel.
Any reason for this happening?
michal72
06-10-2012, 02:50 PM
I keep getting this error,
however, my description is more then 10 char. and I also put 0 to disable the amount needed in the admin panel.
Any reason for this happening?
my signature will help you. regards
LgsOfChampions
06-10-2012, 04:53 PM
my signature will help you. regards
totally worked!!! Thanks!!!
A quick question.... I tried searching thru the posts in the thread to find this just way to many to go thru lol..... Question is What does the gametrailer.xml do?
michal72
06-10-2012, 05:16 PM
Question is What does the gametrailer.xml do?
This is the service for www.gametrailers.com site but this originally included in media library is obsolete. You will find a new one which is working in my sig.
With services you can add media from different sites. You can create services by yourself.
Chadi
06-12-2012, 12:24 AM
I cannot find any option to have member submissions put into moderation queue for approval. Can you please add that feature, very important.
Thanks.
PS: is there a forumhome sideblock widget for this? That would be awesome!
Hey guys, would appreciate help on this please. Thanks for understanding (Christian community, need moderation)
GaRanT
06-15-2012, 07:53 PM
I created an XML for the YouTube "short link" (YouTu.be) style links.
Please see attached. Hope it helps!
Thank you, now comments from youtube works perfect.
profanitytalker
06-15-2012, 07:57 PM
Does anyone know which is the variable with the total media uploaded by each user, to add ir in the postbit below user name?
Thanks in advance!
ElfenLied1337
06-18-2012, 08:46 PM
Anyone have this working on 4.2.0?
Chadi
06-19-2012, 12:10 PM
I cannot find any option to have member submissions put into moderation queue for approval. Can you please add that feature, very important.
Thanks.
PS: is there a forumhome sideblock widget for this? That would be awesome!
Anyone, please? :)
Taurus1
06-19-2012, 12:32 PM
Anyone, please? :)
I can't remember where I got it, but here is the forumblock I use:
Create a new forum block with PHP as the content type, and add this code in the content part. You can edit how many thumbs you want to display in the forum block by editing the "LIMIT" part in the code.
global $vbulletin;
require_once(DIR.'/media/media_functions_hrefs.php');
$medias = $vbulletin->db->query_read("
SELECT media.*, media_service.*
FROM " . TABLE_PREFIX . "media AS media
LEFT JOIN " . TABLE_PREFIX . "media_service AS media_service ON(media_service.serviceID = media.serviceID)
ORDER BY media.dateline DESC
LIMIT 3
");
while ($media = $vbulletin->db->fetch_array($medias))
{
if ($media['length'] == 0)
{
$media['length'] = "???";
}
else
{
$duration = $media['length'];
$minutes = floor($duration / 60);
$seconds = $duration % 60;
$seconds = str_pad($seconds, 2, "0", STR_PAD_LEFT);
$media['length'] = "$minutes:$seconds";
}
$media['intrate'] = intval($media['rating']);
$media['thumbnail'] = $vbulletin->options['media_thumb_dir']."/thumbs/". $media['mediaID'] .".jpg";
$media['href'] = construct_href_details($media);
$templater = vB_Template::create('8WR_media_WIDGET');
$templater->register('media', $media);
$mediabits .= $templater->render();
}
return $mediabits;
Make sure the template to use is 'block_html'
Chadi
06-19-2012, 12:46 PM
Awesome that worked :)
Gamelobby
06-20-2012, 05:02 PM
Hey guys, would appreciate help on this please. Thanks for understanding (Christian community, need moderation)
From where would offensive or "bad" videos come from.?
YouTube moderates their stuff, & I'm sure a place called GodTube would as well.
I wouldn't worry too much about it.. they may add that option in the future, but it shouldn't keep you from using this mod now. :)
Chadi
06-20-2012, 05:11 PM
Gamelobby,
Youtube has ample garbage on it too. Godtube is safe and sound no doubt, but also Vimeo, Veoh, Picasa.
When trying to change the thumbnail image on a locally uploaded media, I get this error message:
Could not find phrase 'there_were_errors_encountered_with_your_upload'.
Any ideas?
First of all great Mod. Ill just going crazy right now... where can i add more categorys? Ive just the possibility 2 add Media in General Media. Pls. Help thx.
michal72
06-21-2012, 06:52 PM
First of all great Mod. Ill just going crazy right now... where can i add more categorys? Ive just the possibility 2 add Media in General Media. Pls. Help thx.
See:
https://vborg.vbsupport.ru/showpost.php?p=2336174&postcount=2765
and
https://vborg.vbsupport.ru/showpost.php?p=2336179&postcount=2766
regards
See:
https://vborg.vbsupport.ru/showpost.php?p=2336174&postcount=2765
and
https://vborg.vbsupport.ru/showpost.php?p=2336179&postcount=2766
regards
Thx 4 ur fast answer, but it still wont work. All should be fine. But have a look:
https://vborg.vbsupport.ru/external/2012/06/12.jpg
Did i missed somethin?
Edit: My vBulletin Version is: 4.1.11 btw.
michal72
06-21-2012, 08:44 PM
see Known Bugs section in the first post above.
Naijasite
06-21-2012, 09:22 PM
I just installed it on my forum 4.2 but the comment box is not working. when i click on submite it dose'nt function.
Please what the solution
Chadi
06-21-2012, 10:35 PM
I would like to add a 'share' button somewhere on the video play page. Which template would I edit?
Thanks.
Naijasite
06-22-2012, 01:52 AM
It's working on Vbellutin 4.2 Forum (http://www.naijafinder.com/media.php) Its working well here http://www.naijafinder.com/media.phpAnyone have this working on 4.2.0?
Naijasite
06-22-2012, 02:19 AM
Comment box not working please help to fix the problem. when i comment on the 8WayRun.Com - Media Library on my Forum (http://www.naijafinder.com/media.php?tabid=119), the comment button don't work.
It's working well on Vbulletin 4.2.0 but the comment box is not working please fix the problem
http://www.naijafinder.com/media.php
michal72
06-22-2012, 04:21 AM
I just installed it on my forum 4.2 but the comment box is not working. when i click on submite it dose'nt function.
Please what the solution
clik link in my signature
GhostHunter2010
06-22-2012, 09:11 PM
hello again im havin a problem with this plugin i cant submit video i get this error
The description you have entered is too short (0 characters). Please lengthen your description to at least 10 characters.
can someone tell me how to fix this thankyou
hasidoo
06-23-2012, 05:43 PM
Help me please..
Once I've turned on the SEO slug option of this mod, some links are not showing the content of the page.
eg: original link http://www.mysite.com/forums/media.php?do=details&mid=143 will be shown as http://www.mysite.com/forums/media/m143-title-of-that-content-link
I'm currently using standard URL in vboptions friendly URL (changing that to any other URL type causes the disappearance of threads on my forum )
I really appreciate if someone helps me with this. I search for a solution for this for months..but couldn't find.
michal72
06-24-2012, 09:39 AM
hello again im havin a problem with this plugin i cant submit video i get this error
The description you have entered is too short (0 characters). Please lengthen your description to at least 10 characters.
can someone tell me how to fix this thankyou
See my signature
regards
GhostHunter2010
06-24-2012, 10:44 AM
fixed thankyou
MarekJan
06-24-2012, 03:47 PM
BUG:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /www/htdocs/xxxxxxxxx/board/includes/class_core.php(4633) : eval()'d code on line 187
VB 4.2.0
Sorry, I can not write English
Edit:
Again, everything was ok at TMS, I disabled it and now everything works perfectly, thank you
Translated by Babalfish :)
docvader
06-25-2012, 07:16 PM
In your "fixes" area, you state to Relapace in all 8 WR Media templates:
I have about 30 8WR media templates.... Getting the same error, on 4.2, as mentioned above.
(using "search in templates, find and replace", I get no matches for the changes you recommend. Were these template changes fixed in the latest 1.7 version of this mod?)
Great mod by the way, hope you keep this alive.
EDIT: Seems to work without the template edits, just altering the two .js files, as described in your signature. Thanks!
Chadi
06-25-2012, 08:15 PM
I would like to add a 'share' button somewhere on the video play page. Which template would I edit?
Thanks.
Anyone know how to accomplish this? Thanks.
michal72
06-25-2012, 08:44 PM
Anyone know how to accomplish this? Thanks.
8WR_media_details
BR
Chadi
06-25-2012, 09:12 PM
Thanks. That worked ;)
What about the video size (same page view), how can I increase the size for HD like Vimeo? Anytime I go to the "hosts" admin page and click edit, it redirects to the home page.
second problem:
tags are stuck together, not separated by space or comma
Example:
michal72
06-26-2012, 05:09 AM
tags are stuck together, not separated by space or comma
https://vborg.vbsupport.ru/showthread.php?p=2279767&highlight=tags#post2279767
BR
Chadi
06-26-2012, 06:32 PM
Please refer to post:
https://vborg.vbsupport.ru/showpost.php?p=2276483&postcount=2394
and post:
https://vborg.vbsupport.ru/showpost.php?p=2276885&postcount=2402.
Author of that post suggested following change in .xml file and it worked. Please note this modification adds comma and space. Presense of space will allow proper line break and proper display of tags in main MEDIA LIBRARY page.
https://vborg.vbsupport.ru/external/2012/06/9.jpg
EB
I uploaded the new xml but this messed up my navbar menu. How can I fix it?
michal72
06-26-2012, 07:04 PM
I uploaded the new xml but this messed up my navbar menu. How can I fix it?
It was better to modify directly in the template but no matter.
About navbar. I recommend you disable your existing navbar and install my simple mod which you can find in my signature. Just try.
Chadi
06-28-2012, 09:55 PM
I can't remember where I got it, but here is the forumblock I use:
Create a new forum block with PHP as the content type, and add this code in the content part. You can edit how many thumbs you want to display in the forum block by editing the "LIMIT" part in the code.
global $vbulletin;
require_once(DIR.'/media/media_functions_hrefs.php');
$medias = $vbulletin->db->query_read("
SELECT media.*, media_service.*
FROM " . TABLE_PREFIX . "media AS media
LEFT JOIN " . TABLE_PREFIX . "media_service AS media_service ON(media_service.serviceID = media.serviceID)
ORDER BY media.dateline DESC
LIMIT 3
");
while ($media = $vbulletin->db->fetch_array($medias))
{
if ($media['length'] == 0)
{
$media['length'] = "???";
}
else
{
$duration = $media['length'];
$minutes = floor($duration / 60);
$seconds = $duration % 60;
$seconds = str_pad($seconds, 2, "0", STR_PAD_LEFT);
$media['length'] = "$minutes:$seconds";
}
$media['intrate'] = intval($media['rating']);
$media['thumbnail'] = $vbulletin->options['media_thumb_dir']."/thumbs/". $media['mediaID'] .".jpg";
$media['href'] = construct_href_details($media);
$templater = vB_Template::create('8WR_media_WIDGET');
$templater->register('media', $media);
$mediabits .= $templater->render();
}
return $mediabits;Make sure the template to use is 'block_html'
How do I edit the css for the block? I edited the 8wr WIDGET template's last line, and nothing is changing (hard refreshed page)
<div style="text-align: center;padding:5px"><b><a href="{vb:var media.href}">{vb:var media.title}</a></b></div>
Thanks.
I payed for this software and now I want to remove the copyright footer. Where can I do that?
EDIT: Found out:) edit product-medialibrary.xml. I just searched for the sponsor.
Please take a look at fpv.no. is there a reason why the clips should not be lined up under each other? It's irritating to have them diagonally bellow each other. Anny fix for this?
michal72
07-02-2012, 08:11 PM
Please take a look at fpv.no. is there a reason why the clips should not be lined up under each other?
Try this code.
global $vbulletin;
require_once(DIR.'/media/media_functions_hrefs.php');
// %d
$show_count = 5;
$medias = $vbulletin->db->query_read("
SELECT media.*, media_service.*
FROM " . TABLE_PREFIX . "media AS media
LEFT JOIN " . TABLE_PREFIX . "media_service AS media_service ON(media_service.serviceID = media.serviceID)
ORDER BY media.dateline DESC
LIMIT ".$show_count);
$output = '
<style type="text/css">
.thumbnail img{
width: 90px;
height: 70px;
border: 1px solid #ccc;
padding: 5px;
margin: 5px;
float: left;
}
.video_bit {
min-height: 90px;
}
</style>
';
while ($media = $vbulletin->db->fetch_array($medias))
{
$media['thumbnail'] = $vbulletin->options['media_thumb_dir']."/thumbs/". $media['mediaID'] .".jpg";
$media['href'] = construct_href_details($media);
extract($media);
$title = substr($title,0,60);
$mediabits .= sprintf('<div class="cms_widget_post_bit video_bit"><div class="thumbnail"><a href="%s"><img src="%s"></a></div><div class="cms_widget_post_header"><a href="%s">%s</a></div><div class="cms_widget_post_userinfo"><a href="member.php/u=%d">%s</a> On %s</div></div><span style="line-height:2px;"><br/></span>',$href,$thumbnail,$href,$title,$userid,$username, date('F j, Y, g:i a',$dateline));
}
$output .= $mediabits;
appsfinder
07-04-2012, 11:50 AM
<a href="media/">Media Library</a> its the main breadcrumb
please can anyone help
BlueCheri
07-04-2012, 12:31 PM
Can not upload video from 'Submit Media' under
http://www.(forumname).com/media.php
Image is attaching for details.
Kindly guide me how to fix it.
Thanx in advance
G!
teamsupra
07-04-2012, 08:09 PM
WHy hasnt someone else took over this mod yet?
Thanks michal72. That did it! :)
Chadi
07-11-2012, 11:44 AM
I have no idea what's going on, suddenly any YouTube uploads are showing up blank (no video, rest of page show up fine including description, tags, title, etc). GodTube works fine, Vimeoh works fine too, not sure why YT suddenly stopped. The thumbnails still work though. Any ideas?
waldvb
07-11-2012, 02:42 PM
I'd like to add videos from Ehow. i.e.
http://www.ehow.com/video_4418239_sanding-wood-furniture.html?wa_vlsrc=continuous&cp=1&pid=1&wa_vrid=f85c3026-d088-4451-9df4-643c789278d4
Can somebody create XML for this site?
Thanks.
Ted Clore
07-12-2012, 06:50 PM
OK, I installed the mod, followed the instructions and see nothing on my site. I do have a couple of added features in the CP/Settings/Options menu. I have checked the settings and see nothing else. The mod is activated.
First of all:
Should I see a Media Tab on the top in the Forum Menu?
michal72
07-12-2012, 07:13 PM
if you have vb 4.2+ you have to install navbar addon. see my signature
Ted Clore
07-12-2012, 07:27 PM
Got it. Thank you much.
Chadi
07-12-2012, 08:09 PM
Can someone figure out how to add the below options?
1. Moderate all uploaded videos
2. Moderate all comments, pending approval first (usergroup set)
3. Adjust video size (larger for HD, especially Vimeoh).
Thanks.
Ted Clore
07-13-2012, 03:43 PM
Installed and seems to be working fine.
Thanks for the help.
Ted Clore
07-13-2012, 04:47 PM
Can someone point me to something that will tell me how to use a video from my own site?
michal72
07-13-2012, 06:22 PM
Can someone point me to something that will tell me how to use a video from my own site?
https://vborg.vbsupport.ru/showpost.php?p=2220570&postcount=2154
Ted Clore
07-13-2012, 06:48 PM
Thank you, worked like a charm.
This is a nice mod.
Chadi
07-22-2012, 12:02 AM
How do I correctly add sharing capabilities? I used Shared This one, but it doesn't change the numbering correctly for the media mod. It only applies to the forum's main domain apparently.
Second problem, even if I copy/paste a link from a video page to Facebook, it only picks up the main domain. Everything else on the site outside this mod works fine though as far as sharing goes, etc. I'm using VBSEO as well and did apply the edits for rewrites in VBSEO for the mod.
How can I fix this problem?
Thanks.
Ted Clore
07-23-2012, 07:11 PM
OK, where do I find the instructions for entering links. I had them and have no idea where they went. I can't find the instructions for linking to a file on my own site.
CharlesSimeth
07-24-2012, 09:29 AM
I get the message most of the time: Could not parse media URL.
I was abel to upload one video, but since then no more luck.
michal72
07-24-2012, 11:22 AM
I get the message most of the time: Could not parse media URL.
I was abel to upload one video, but since then no more luck.
For each site like youtube or vimeo you need to install service (xml file). There are some installed by defulat with 8wr Media,but not all and some are not up to data. Pls consult my signature for moste popular services. You can also create by yourself a new service. There is some tutorial in the package.
waldvb
07-25-2012, 04:33 PM
I'm looking for .xml from ehow - i.e
http://www.ehow.com/video_4418239_sanding-wood-furniture.html?wa_vlsrc=continuous&cp=1&pid=1&wa_vrid=f85c3026-d088-4451-9df4-643c789278d4
Chadi
07-26-2012, 08:05 PM
How do I correctly add sharing capabilities? I used Shared This one, but it doesn't change the numbering correctly for the media mod. It only applies to the forum's main domain apparently.
Second problem, even if I copy/paste a link from a video page to Facebook, it only picks up the main domain. Everything else on the site outside this mod works fine though as far as sharing goes, etc. I'm using VBSEO as well and did apply the edits for rewrites in VBSEO for the mod.
How can I fix this problem?
Thanks.
Would be fully grateful for any help on this, thanks folks
LgsOfChampions
07-28-2012, 11:26 PM
what does it mean when i get an error that says this
Could not parse media URL
Hijinx
07-31-2012, 10:09 PM
First off, Great Mod, I love what it I will be able to do with it.
Secondly, and possibly more importantly is I am new to Vbul, Im running 4.2.0 P2 and I got everything working except for one thing. How do I add videos? I have changed all the permissions I got the Tab on my Nav Bar, Everythings uploaded to customVID...and Im stuck. How do I add the local videos?
Can someone point me in the right direction?
Tyvm!
nukinfuts29
08-05-2012, 06:03 PM
is it possible to import all videos from a channel to a specific category?
artcrimes
08-09-2012, 08:19 AM
Nice!
champendk
08-11-2012, 03:07 AM
Where do i see the settings of this mod, and where do i create categories and so on.
The mod works fine, but i want it setup the same way as 8wayrun.com, cause on my site it doesent look good with all the tags and description without getting an possibility to edit it ?
Hope someone can help
fai99al99
08-13-2012, 10:03 PM
i have a problem >> look :
http://im28.gulfup.com/2012-08-14/1344898858611.png
its working fine with english words except sites language which is Arabic
any idea ?
foulsoul
08-20-2012, 10:10 AM
youtube one is broken now, was working. now it says cannot parse.
michal72
08-20-2012, 12:07 PM
youtube one is broken now, was working. now it says cannot parse.
for me still working fine, both youtube.com and youtu.be
metalguy639
08-22-2012, 10:58 PM
Is it possible to have this show some thumbs of videos in the What's Going On Area?
angeljs
08-23-2012, 01:46 PM
hello again im havin a problem with this plugin i cant submit video i get this error
The description you have entered is too short (0 characters). Please lengthen your description to at least 10 characters.
can someone tell me how to fix this thankyou
I'm also getting this error, and using the fixes found in your signature haven't made any difference.
michal72
08-23-2012, 02:25 PM
I'm also getting this error, and using the fixes found in your signature haven't made any difference.
clear browser cache and try again
Chadi
08-24-2012, 07:16 PM
How do I correctly add sharing capabilities? I used Shared This one, but it doesn't change the numbering correctly for the media mod. It only applies to the forum's main domain apparently.
Second problem, even if I copy/paste a link from a video page to Facebook, it only picks up the main domain. Everything else on the site outside this mod works fine though as far as sharing goes, etc. I'm using VBSEO as well and did apply the edits for rewrites in VBSEO for the mod.
How can I fix this problem?
Thanks.
Asked this a few times, would *really* appreciate some assistance :)
Also, asked a few times about putting new videos in moderation queue. Please someone assist.
I'm willing to PayPal (esp to michael72) $15 for help on this.
Thanks in advance.
unit12stealth
08-25-2012, 04:59 PM
Is there any way to have a forum block that shows latest submitted videos? And also list who submitted them, etc. ?
EDIT: Found it. Nvm.
maherl
09-02-2012, 04:53 PM
Hi All,
Does anyone know a way of radically improving the quality of the You Tube thumbnails in Media Library? I have already set mine to 100, so I assume their quality is derived from the You Tube source? They all look so blurred! :)
I have other media on my site that have great quality thumbnails (I downloaded these myself), so I know the product is capable of better quality, but figure You Tube governs the quality?
Please take a look and let me know whether yours are similar - http://www.superstox.co.uk/media.php The ones at the very bottom of the screen were generated by me (those labelled 'Local-MP4'). See the difference!
Regards, Lee
metalguy639
09-04-2012, 09:42 PM
How can I change this code to make these video appear with random videos so the videos are different when someone refreshes the page? This code is used on a forum block and works just fine but I want it to show random videos not the same ones every time.
global $vbulletin;
require_once(DIR.'/media/media_functions_hrefs.php');
// %d
$show_count = 5;
$medias = $vbulletin->db->query_read("
SELECT media.*, media_service.*
FROM " . TABLE_PREFIX . "media AS media
LEFT JOIN " . TABLE_PREFIX . "media_service AS media_service ON(media_service.serviceID = media.serviceID)
ORDER BY media.dateline DESC
LIMIT ".$show_count);
$output = '
<style type="text/css">
.thumbnail img{
width: 135px;
height: 90px;
border: 1px solid #ccc;
padding: 5px;
margin: 5px;
text-align: center;
float: center;
}
.video_bit {
text-align: center;
min-height: 120px;
}
</style>
';
while ($media = $vbulletin->db->fetch_array($medias))
{
$media['thumbnail'] = $vbulletin->options['media_thumb_dir']."/thumbs/". $media['mediaID'] .".jpg";
$media['href'] = construct_href_details($media);
extract($media);
$title = substr($title,0,60);
$mediabits .= sprintf('<div class="cms_widget_post_bit video_bit"><div class="thumbnail"><a href="%s"><img src="%s"></a></div><div class="cms_widget_post_header"><a href="%s">%s</a></div><div class="cms_widget_post_userinfo"><a href="member.php">%s</a> By %s</div></div>',$href,$thumbnail,$href,$title,$userid,$username, date('F j, Y, g:i a',$dateline));
}
$output .= $mediabits;
sross
09-15-2012, 11:26 PM
hi can you let us know what changed between 4.1.5 and 4.1.7? Thanks
kalilo81
09-16-2012, 02:46 AM
Can any one confirm this product is working with VBSEO ?
znightmare
09-18-2012, 04:54 AM
I would really appreciate some help here, does someone think they could create an xml for crunchyroll for me? That would be amazing.
Faisal_Computer
09-19-2012, 01:07 PM
Hello.
Really nice Good work bro.
but i have little problem that i had upload Video on /customVID Video file name VolcanoBoxReadinfowithRXTXDONE.mp4 and when i submit video in Media URL: i use this local:VolcanoBoxReadinfowithRXTXDONE.mp4 and it's say Could not parse media URL.
can any buddy help me ?
Br
Faisal_Computer
Faisal_Computer
09-19-2012, 01:48 PM
ok Great !!
problem solved
just writing here again maybe this will help other
" Have you installed one of the local services xml files which are in directory upload/media/xml (Local-MP3.xml,Local-MP4.xml,Local-WMA.xml,Local-WMV.xml)?
fore sure no !!
local services xml files are in directory upload/media/xml (Local-MP3.xml,Local-MP4.xml,Local-WMA.xml,Local-WMV.xml)
install it and Woolllaa Working fine "
Br
Faisal_Computer
Faisal_Computer
09-19-2012, 02:00 PM
Hi again.... sorry it's working fine but why it's not creating Thumbnail ?
already set permission to 777 to both folders
Br
Faisal_Computer
Faisal_Computer
09-19-2012, 02:50 PM
ok it also solved !!
can you please guide me. i have one server specially for Files etc. i want to uploads videos in that server and i want media library take videos from there... how could i can do that ?
Br
Faisal_Computer
michal72
09-19-2012, 05:24 PM
ok it also solved !!
can you please guide me. i have one server specially for Files etc. i want to uploads videos in that server and i want media library take videos from there... how could i can do that ?
Br
Faisal_Computer
Take appropriate local xml file and replace line:
<svcRegex>local:(.*\.(aac|f4a|m4a|mp3))$</svcRegex>
with something like this
<svcRegex><![CDATA[(http:\/\/[\w-]*[\.]?hostname.com\/videos\/[\w-\/]*\.(aac|f4a|m4a|mp3))]]></svcRegex>
in depends on your file location and names.
michal72
09-19-2012, 05:58 PM
I would really appreciate some help here, does someone think they could create an xml for crunchyroll for me? That would be amazing.
Here you are but there are some restriction on this site
The same here
http://www.perfectworld.com/media/play/?id=20241
Regards
liefdesdichter
09-19-2012, 09:28 PM
hello
hope someone can help me
the links above the page to Administrate Tags Categories Services is disappeared
how can i fix it
michal72
09-20-2012, 03:59 AM
hello
hope someone can help me
the links above the page to Administrate Tags Categories Services is disappeared
how can i fix it
if it is because you have vb4.2 - install this mod:
https://vborg.vbsupport.ru/attachment.php?attachmentid=138995&d=1339098510
Faisal_Computer
09-20-2012, 04:33 AM
Take appropriate local xml file and replace line:
<svcRegex>local:(.*\.(aac|f4a|m4a|mp3))$</svcRegex>
with something like this
<svcRegex><![CDATA[(http:\/\/[\w-]*[\.]?hostname.com\/videos\/[\w-\/]*\.(aac|f4a|m4a|mp3))]]></svcRegex>
in depends on your file location and names.
Hello. Thanks
My Videos locations could be like http:// www .gpgdragonsupport.com/ftppro/Videos/ after this folder can be have one more folder like /Videos/Volcano like this.
Can you please Create one XML file which have http:// www .gpgdragonsupport.com/ftppro/ this so when i need i can just add what folder i want to show in shubmit like http://www.gpgdragonsupport.com/ftppro/Videos/Volcano/VolcanoBox%20World%27s%201st%20SPD%206530a%20Write %20Flash%20DONE%20!!.mp4
i am really Thank Full to you
Br
Faisal_computer
michal72
09-20-2012, 07:21 PM
Hello. Thanks
My Videos locations could be like http:// www .gpgdragonsupport.com/ftppro/Videos/ after this folder can be have one more folder like /Videos/Volcano like this.
Can you please Create one XML file which have http:// www .gpgdragonsupport.com/ftppro/ this so when i need i can just add what folder i want to show in shubmit like http://www.gpgdragonsupport.com/ftppro/Videos/Volcano/VolcanoBox%20World%27s%201st%20SPD%206530a%20Write %20Flash%20DONE%20!!.mp4
i am really Thank Full to you
Br
Faisal_computer
here you are
liefdesdichter
09-21-2012, 02:24 PM
if it is because you have vb4.2 - install this mod:
https://vborg.vbsupport.ru/attachment.php?attachmentid=138995&d=1339098510
thank you it fixed it ...
is it possible to set up new Services
movshare
DIVXSTAGE
vk videos
one of these
Bluefin221
09-21-2012, 06:47 PM
Can anyone confirm if this works with twitch or justin TV?
Faisal_Computer
09-22-2012, 07:15 AM
here you are
Hello.
Bro Really Thanks to you but unfortunately it's not working
Can you please test it and tell me exactly how to do it ?
i am post here some videos direct link:
1- this is my main folder of videos
www.gpgdragonsupport.com/ftppro/Videos/
i have some products like VolcanoBox. Dragonbox. HXCDongles etc and i want to make folder after Videos/ like /Videos/Volcano and after Volcano Folder will be have Video like /Videos/Volcano/VolcanoBox S3 unlock done Z3x Failed.mp4. so complete link will be like this www.gpgdragonsupport.com/ftppro/Videos/Volcano/VolcanoBox S3 unlock done Z3x Failed.mp4
i added your provided XML file into service and after i use many method like
sumbit media:Volcano/VolcanoBox S3 unlock done Z3x Failed.mp4
sumbit media:/Volcano/VolcanoBox S3 unlock done Z3x Failed.mp4
then i copy video in Videos/ folder and try to add video but failed i am using like this
Submit media:as.mp4
etc but failed. it's always saying " Could not parse media URL "
Can you please make and test or give me Right Solution ?
i will really thanks full to you
Br
Faisal_Computer
michal72
09-23-2012, 05:23 PM
try with files without spaces in the name. shoud works. use full path - www.gpgdragonsupport.....
Faisal_Computer
09-24-2012, 02:09 PM
thanks you it's work
marked as installed
Br
Faisal_Computer
abhimation
10-18-2012, 09:55 AM
Great Mod!
Installed it and updated XML files also but it keeps giving - Could not parse media URL error. Please help.
cuphongle
10-18-2012, 10:57 PM
works fantastic, but i can not edit the description of the video!!!!
michal72
10-19-2012, 03:38 AM
works fantasti
c, but i can not edit the description of the video!!!!
check my signature
Harpo
10-19-2012, 04:05 PM
check my signature
Check out your signature, Trying to fix my comments right now.
Please try this:
Relapace in all 8 WR Media templates:
PHP Code:
.prepare_submit(this.inputname.value, {vb:raw vboptions.postminchars})
I'm assuming you mean in the ACP? or do I edit them in my root? Also there are over 20+ 8wr templates.....do I really need to edit every single one?
Please be more specific to which templates I edit.
Thanks.
michal72
10-19-2012, 04:20 PM
if I remember well there are four. Search for given phrase.
Harpo
10-19-2012, 04:58 PM
I found the four templates and have updated them.
I also updated media_ajax_comment.js... still no response hitting the comment button.
Any ideas?
BTW Is your fieldnstream better to use?
michal72
10-19-2012, 05:03 PM
clear you browser cache
michal72
10-19-2012, 05:17 PM
You can prepare xml by yourself or use this one. I don't think so you have another choice if you want to use fieldnstream. I hope still working
ukdalai
10-19-2012, 09:17 PM
is the issue with thumbs being black about GD library, i have support for jpg, but only creation for gif, can i change anything to make it create gifs not jpg's, this is from my phpinfo
GD Support enabled
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.2.1
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
michal72
10-20-2012, 05:29 AM
is the issue with thumbs being black about GD library, i have support for jpg, but only creation for gif, can i change anything to make it create gifs not jpg's, this is from my phpinfo
I think it can be possible but have never tested
Modify function build_thumbnail in media_function_build.php:
Replace
imagejpeg($newImage, $target, $quality);
with
imagegif($newImage, $target);
and replace in all code '.jpg' with '.gif'
oddmud
10-20-2012, 04:01 PM
The description you have entered is too short (0 characters). Please lengthen your description to at least 10 characters.
I've tried your fix, and I still have this issue. :*(
Cleared Cache, even tried a different browser, same issue.
michal72
10-20-2012, 05:57 PM
I've tried your fix, and I still have this issue. :*(
Cleared Cache, even tried a different browser, same issue.
I have visited your site and it seems that everything is ok.
regards
oddmud
10-21-2012, 02:18 PM
So I have what I hope is a minor issue.
As an Admin, I can view this link without issue.
http://www.flyfishbc.com/forums/media.php?do=details&mid=7
Looks like this:
https://vborg.vbsupport.ru/external/2012/10/18.jpg
As a guest I can see all the information, but the video just doesn't show up. The block or table which the video usually sits in isn't there.
Looks like this:
https://vborg.vbsupport.ru/external/2012/10/19.jpg
My permissions look like this:
https://vborg.vbsupport.ru/external/2012/10/20.jpg
What am I doing wrong?
oddmud
10-21-2012, 03:05 PM
So I have what I hope is a minor issue.
As an Admin, I can view this link without issue.
http://www.flyfishbc.com/forums/media.php?do=details&mid=7
Looks like this:
As a guest I can see all the information, but the video just doesn't show up. The block or table which the video usually sits in isn't there.
Looks like this:
My permissions look like this:
What am I doing wrong?
Found out it's only in IE. LAME. Tried compatibility mode, still had issues.
rcsparks
10-21-2012, 08:47 PM
LOVE THE MOD! FULL Donation Made to you :~)
If I may ask.. I have been scouring this 190+ pages..
I notice the Thumbnails are not the Custom uploaded ones from Youtube. Is there a way to pull the uploaded thumbnails.. instead of the default ones? For example.. when I upload a Youtube video.. i can put in a custom picture for my vid. It doesnt seem to appear on this mod?!
Thanks for the help.. sorry if this has been asked/answered
My forum is here: www.rcsparks.com/forum
michal72
10-22-2012, 03:03 AM
You can't choose thumbnails when you are uploading, but then you can change. Just edit existing media.
hyperviperx99
10-22-2012, 05:22 AM
I don't see a tab for it. How do I add it?
Ted Clore
10-22-2012, 03:30 PM
I am trying to add this site to my list of Services.
http://www.sermonaudio.com/main.asp
Can someone give me some direction in this. So far, everything I have tried doesn't work.
Thanks.
michal72
10-22-2012, 05:21 PM
I don't see a tab for it. How do I add it?
Check out my signature
invitezone
10-22-2012, 07:28 PM
Does anyone have any adult tube definitions for this?
redtube
xvideos
porn8
xhamster
etc...
thanks
ukdalai
10-23-2012, 08:38 AM
thanks for your help, but it did not work, do you have any idea what might be the problem.
even with gif, it still create the black thumbnail.
at what point in the media does it grab the thumbnail from, most vids have black frames at the start... could this be the issue
Dalai
I think it can be possible but have never tested
Modify function build_thumbnail in media_function_build.php:
Replace
imagejpeg($newImage, $target, $quality);
with
imagegif($newImage, $target);
and replace in all code '.jpg' with '.gif'
ukdalai
10-23-2012, 09:22 AM
ok i just created my own thumg, edited the media and uploaded the thumb, it changed it to a black thumb, i dont think this is an issue on my server.
Craig
michal72
10-23-2012, 09:29 AM
check thumbs directory permission. consult the first post.
MonkYZ
10-23-2012, 12:25 PM
My 8WayRun Media Library menu from vB Control Panel just dissapeared. Does anyone knows how to get the menus back in Control Panel without reinstalling the mod? I have a lot of changes done to it... and i'm afraid to reinstall it without losing my changes :)
ukdalai
10-23-2012, 09:32 PM
perms were the first thing i check, both folders are 777, why would that make a diff on uploaded images for jpgs. ive had my sa look at the server, it seems all set to go.
when i uploaded a thumb via the mod it still made it a black thumb, i dont see what the problem could be.
Dalai
check thumbs directory permission. consult the first post.
invitezone
10-25-2012, 04:51 PM
ok well I already have entered into an agreement with someone for my current add, but I need something else of similar use that you might be interested in.
I was looking to use the 8wayrun media mod
https://vborg.vbsupport.ru/showthread.php?t=240677&highlight=8wayrun
but I need the definitions the same as my ad for...
redtube
eroprofile
xvideos
xhamster
pornhub
is this something you would be interested in sorting out for me?
I am running 4.2.0 PL2.
mickyjanny
10-26-2012, 11:14 AM
i have vb version 4.1.9 and i install the media library 1.7 and when i inter my media i can't do any thang if i clicked at any link it redirect me to the home page .what can i do now
Lilmikeishere
10-28-2012, 04:14 PM
Is the .htaccess only needed if you have the SEO option enabled?
mickyjanny
10-28-2012, 04:26 PM
ok thank you
blue7
11-13-2012, 05:15 PM
How i can show recent few videos on Forumhome sidebar ?
thanasis1
11-18-2012, 10:10 PM
if it is because you have vb4.2 - install this mod:
https://vborg.vbsupport.ru/attachment.php?attachmentid=138995&d=1339098510
when i tried to edit tab "Media" at navigation manager there is a message that the script 8WR_media is invalid.
any fix?
michal72
11-19-2012, 02:00 PM
when i tried to edit tab "Media" at navigation manager there is a message that the script 8WR_media is invalid.
any fix?
This is AdminCP GUI bug. GUI dosen't accept "Tab Script(s)" starting with number.
There are two possibilities:
1. Make modification directly in the xml file and install again.
2. Change "Tab Script(s)" to "media" and make modification in php file - see below:
I have this same mod installed. Here's my issue, I tried to do how you had it set but it doesn't recognize that it's on the media tab and defaults back to the "forums" when I click media which makes the Media tab and sub links I create useless.
I really don't understand what's causing this to happen.
UPDATE
I named the tab script in the nav manager just 'media' and went into media.php and changed the
define('THIS_SCRIPT', '8WR_media');
to
define('THIS_SCRIPT', 'media');
And reuploaded the media.php to the forum root and it recognizes the tab now. I'm not sure why it wouldn't recognize 8WR_media as the tab script name but nonetheless it works now.
kanerm
11-19-2012, 06:04 PM
I am new to adding products and mods. I followed the directions for uploading the files and now I am to the point of creating a tab in the navbar for this product. How do I go about doing this? I want to create a new Tab labeled "MPH TV" and then have this product be on that page when clicked on. Thanks guys and gals
michal72
11-19-2012, 06:48 PM
Check out my signature
kanerm
11-21-2012, 01:56 AM
Can anyone help me with this? I just need a direction please help!
thunderclap82
11-26-2012, 08:15 PM
I did a quick search of this thread but didn't see this posted: for some reason when someone adds a new media file it's not being mentioned in the forum I've selected. Any idea how to get this working? Running vB 4.2 PL3.
Hi all,
.... Users can add their favorite media from a select few online distribution centers (such as Youtube or Vimeo) ...
but I have problem, when i add a vimeo video:
https://vimeo.com/55094977
i got error :
"Could not parse media URL.."
can someone help me please?
Thanks
michal72
12-11-2012, 11:59 AM
Hi all,
but I have problem, when i add a vimeo video:
https://vimeo.com/55094977
i got error :
"Could not parse media URL.."
can someone help me please?
Thanks
check out my signature
format of the link should be like this: http://vimeo.com/55094977
appsfinder
12-17-2012, 12:51 PM
hi wonder if anyone can help me! i want to change the youtube code so it plays 1080p or 720p hd by default in media library is this possible?. thanks in advance
michal72
12-17-2012, 02:13 PM
hi wonder if anyone can help me! i want to change the youtube code so it plays 1080p or 720p hd by default in media library is this possible?. thanks in advance
Try
http://www.youtube.com/v/{serviceVAL}?autoplay={ap10}&vq=hd720&fs=1
or
http://www.youtube.com/v/{serviceVAL}?autoplay={ap10}&vq=hd1080&fs=1
appsfinder
12-17-2012, 05:17 PM
thanks for the info but where do i replace this code thanks
michal72
12-17-2012, 05:29 PM
Go to Media->Administrate->Services and edit YouTube service
Replace "Embed:" with the given code.
BR
appsfinder
12-17-2012, 05:43 PM
Go to Media->Administrate->Services and edit YouTube service
Replace "Embed:" with the given code.
BR
cool thanks
appsfinder
12-17-2012, 05:59 PM
cool thanks it works in firefox and chrome but not in safari maybe a cache problem :) shows hd
michal72
12-17-2012, 06:15 PM
vq=... is a trick, normally youtube automatically chooses for you a quality depends on your bandwidth and size of the embedded window. It is possible that it does not work in all environments but try this:
http://www.youtube.com/v/{serviceVAL}?version=3&autoplay={ap10}&vq=hd720&fs=1
or
http://www.youtube.com/v/{serviceVAL}?version=3&autoplay={ap10}&vq=hd1080&fs=1
EuroBeat2
12-20-2012, 03:56 AM
I know this is section for VB 4 ver. However, does anybody know if this is working in ver 5.0?
EB
Shoalin
12-27-2012, 10:09 PM
hi
The description you have entered is too short (0 characters). Please lengthen your description to at least 10 characters.
How to solve this problem?
Lamonster
01-16-2013, 09:27 PM
Is there a fix for this?
Could not parse media URL
Not sure when it started doing this but I can no longer load videos because of it. Could use some help. Thanks
marccap
01-24-2013, 08:58 PM
installed on 4.2 thanks but I cant add comments when i press the "submit comment" and ive set it so u can add comments?
Chadi
01-28-2013, 07:36 PM
Trying to submit this:
http://youtu.be/yr0osZeJPuY
Getting invalid media type
I do have youtu.be enabled though
For whatever reason, when I click edit in the administrative > services area for any service it redirects me to the homepage.
This is what I have in the htaccess file
# Media Library
ReWriteRule ^media/m(\d+).*/tags$ media.php?do=tags_edit&mid=$1 [QSA]
ReWriteRule ^media/m(\d+).*/edit$ media.php?do=details_edit&mid=$1 [QSA]
ReWriteRule ^media/m(\d+).*/report$ media.php?do=report&mid=$1 [QSA]
ReWriteRule ^media/m(\d+).*/c(\d+)$ media.php?do=comment_edit&cmt=$2 [QSA]
ReWriteRule ^media/m(\d+).*/p(\d+).*$ media.php?do=details&mid=$1&pid=$2 [QSA]
ReWriteRule ^media/m(\d+).* media.php?do=details&mid=$1 [QSA]
ReWriteRule ^media/p(\d+).*/edit$ media.php?do=playlist_edit&pid=$1 [QSA]
ReWriteRule ^media/p(\d+).* media.php?do=playlist&pid=$1 [QSA]
ReWriteRule ^media/c(\d+).* media.php?do=category&cid=$1 [QSA]
ReWriteRule ^media/u(\d+).* media.php?do=user&uid=$1 [QSA]
ReWriteRule ^media/tag/(.*) media.php?do=tag&tid=$1 [QSA]
ReWriteRule ^media/results/(.*) media.php?do=results&query=$1 [QSA]
ReWriteRule ^media/advresults/(.*) media.php?do=advresults&query=$1 [QSA]
ReWriteRule ^media/letter/(.*) media.php?do=letter&query=$1 [QSA]
ReWriteRule ^media/browse.* media.php?do=browse [QSA]
ReWriteRule ^media/search.* media.php?do=search [QSA]
ReWriteRule ^media/random.* media.php?do=random [QSA]
ReWriteRule ^media/submit.* media.php?do=submit [QSA]
ReWriteRule ^media/tagcloud.* media.php?do=tagcloud [QSA]
ReWriteRule ^media/playlists.* media.php?do=playlists [QSA]
ReWriteRule ^media/pcreate.* media.php?do=playlists_create [QSA]
ReWriteRule ^media/pmine.* media.php?do=playlists_mine [QSA]
ReWriteRule ^media/favorites.* media.php?do=favorites [QSA]
ReWriteRule ^media/subscriptions.* media.php?do=subscriptions [QSA]
ReWriteRule ^media/admin/edit/s(\d+).* media.php?do=admin_host_edit&sid=$1 [QSA]
ReWriteRule ^media/admin/delete/s(\d+).* media.php?do=admin_host_delete&sid=$1 [QSA]
ReWriteRule ^media/admin/export/s(\d+).* media.php?do=admin_host_export&sid=$1 [QSA]
ReWriteRule ^media/admin/(\w+).* media.php?do=admin_$1 [QSA]
# Media Library from Video Directory
RewriteCond %{QUERY_STRING} do=viewdetails&videoid=(\d+)
RewriteRule ^video\.php$ media.php?do=details&mid=%1
RewriteCond %{QUERY_STRING} viewcategory&categoryid=(\d+)
RewriteRule ^video\.php$ media.php?do=category&cid=%1
RewriteCond %{QUERY_STRING} viewuser&userid=(\d+)
RewriteRule ^video\.php$ media.php?do=user&uid=%1
RewriteCond %{QUERY_STRING} viewtag&tag=(.*)
RewriteRule ^video\.php$ media.php?do=tag&tid=%1
ReWriteRule ^video\.php$ media.php
Gamelobby
01-30-2013, 05:28 AM
Do TAB SCRIPTS work for this.?
I tried both of these:
8WR_media
8WR_media_ajax
but i got the same error back.
Error: The specified 'script' is invalid.
Or is there just no way to make it work right in 4.2.?
*edit*
I added this to the Tab Scripts:
media_library
And it worked to keep the button highlighted.!! (but still no subnav of course) :)
*edit2*
Actually it only stays highlighted if i come from another mod page, not a vB page.
dizzynation
01-30-2013, 09:04 AM
Any chance this works with 4.2 P3?
Gamelobby
01-31-2013, 05:59 AM
Yes i'm using it on 4.2 PL3.
cosan
02-01-2013, 03:22 AM
uninstalled
Chadi
02-03-2013, 01:18 AM
Getting this when running thumbnail update in admin area
ERROR CONSTRUCTING THUMBNAIL
My permissions are set to 777 on dir/files so I'm not sure why it's not working.
ikopylov
02-04-2013, 06:54 AM
Has anyone solved the problem with an error uploading the video:
Syndication of this video was restricted
faisaly.com
02-04-2013, 07:43 AM
That means the video is copyrighted and you can't embedd it!
ikopylov
02-04-2013, 07:57 AM
That means the video is copyrighted and you can't embedd it!
Embed a video:
In the forum post - no problem
In vbtube - no problem
There is only a problem in Media Library
ApiBlog.Youtube (http://apiblog.youtube.com/2011/12/understanding-playback-restrictions.html):
yt:accessControl
Videos that are available for embedding on third-party applications will have the following:
<yt:accesscontrol action='embed' permission='allowed' />
If you’d like to only search for videos that are embeddable, add format=5 to your query.
Just as a video can be embeddable or not, it can also be syndicatable or not:
<yt:accesscontrol action='syndicate' permission='allowed' />
marccap
02-05-2013, 01:22 PM
I have no option to add categories anywhere. Do you know the issue or the URL link so I can manually add the button myself?
Vbulletin 4.2
faisaly.com
02-05-2013, 09:06 PM
That was answered way back in posts, you need a navbar.xml to fix that issue...
rmordico
02-06-2013, 02:13 PM
Hy, I can not find the french traduction for this Media Library, please help
thanks
marccap
02-06-2013, 07:27 PM
That was answered way back in posts, you need a navbar.xml to fix that issue...
Thanks found it :)
dizzynation
02-07-2013, 03:55 AM
Thanks found it :)
Can you please post what you did, there is 197 pages of info here.
Thanks
marccap
02-07-2013, 09:04 AM
Can you please post what you did, there is 197 pages of info here.
Thanks
yer sure - Post 2773 had this link - https://vborg.vbsupport.ru/showpost.php?p=2334307&postcount=2745
misericorde
02-08-2013, 12:03 PM
Hy,
Please,
Could you do an xml file for VK. they are embed code
http://vk.com/
Thank you
Shenroth
02-09-2013, 03:52 PM
I am having an issue using local files. I have uploaded an avi to the "customVID" folder and have used the following URL "localvideo:filename.avi" and I have tried "local:filename.avi" in the retrieve information box for uploading media. However I am getting "Unable to parse media file".
Linking from other media sites work just fine, just no locally. not sure what I am doing wrong, hope someone can help. Thanks!
michal72
02-10-2013, 07:15 PM
I am having an issue using local files. I have uploaded an avi to the "customVID" folder and have used the following URL "localvideo:filename.avi" and I have tried "local:filename.avi" in the retrieve information box for uploading media. However I am getting "Unable to parse media file".
Linking from other media sites work just fine, just no locally. not sure what I am doing wrong, hope someone can help. Thanks!
Consult this post:
https://vborg.vbsupport.ru/showpost.php?p=2257682&postcount=2308
BR
Ted Clore
02-21-2013, 06:53 PM
I purged my vBulletin software after being hacked. Downloaded the newest version V4.2.0 PL3 and installed completely new. Starting over. After this I installed 8WayRun 4.1.7 and 8WayRun Media Library.
Now..., I can't upload media (tried from YouTube) because I get an error:
The description you have entered is too short (0 characters). Please lengthen your description to at least 3 characters.
No matter what I do, I still get this error. Also, the information from YouTube doesn't down load like it did in vB 4.2.0 PL2. And, this never worked right, the screen stays white while the video is playing, in IE 9. If you enlarge the video to Full Screen it looks fine, but in the Small Screen in 8WayRun it is completely white. I can hear the audio, but can't see the video. This is true in PL3 as well. When I download the video before trying to save it, it will start playing and be a white screen.
Any ideas?
Crotan
03-10-2013, 10:09 AM
ignore that.
Comments fixed from: https://vborg.vbsupport.ru/showpost.php?p=2217522&postcount=2129
navbar links fixed from: https://vborg.vbsupport.ru/showpost.php?p=2334307&postcount=2745
now to fix some of the styling
kiafaq
03-11-2013, 04:41 PM
When I add a YouTube video tells me that I have not entered a description, but I have set his description. Where could he be wrong?
michal72
03-12-2013, 08:18 PM
When I add a YouTube video tells me that I have not entered a description, but I have set his description. Where could he be wrong?
Check out my signature
marccap
03-15-2013, 09:02 PM
What coding needs amending to eliminate this gap and center the thumbnails? - http://gyazo.com/8be4e72c4c65109f46904b3f2607ffab
Thanks
tbworld
03-15-2013, 09:21 PM
This template uses an HTML table format so CSS alone will not fix it. You could try putting the table into a wrapper and then centering the table in the wrapper. I know I rewrote the mod to be adaptable, but I cannot remember if I put it in a wrapper or I just rewrote the template eliminating the tables. When I return home I will take a quick look.
marccap
03-15-2013, 09:32 PM
This template uses an HTML table format so CSS alone will not fix it. You could try putting the table into a wrapper and then centering the table in the wrapper. I know I rewrote the mod to be adaptable, but I cannot remember if I put it in a wrapper or I just rewrote the template eliminating the tables. When I return home I will take a quick look.
Ok thanks :up:
Crotan
03-23-2013, 07:49 PM
ignore this. Styling issues were theme specific.
saYRam
03-25-2013, 03:51 PM
http://asgagida.com.tr/Untitled.png
when i click to Media link Forum and Medya link is active. (vb4/media.php?)
Why its happens?
Btw, Thank you very very much for this great add-on.
faisaly.com
04-09-2013, 08:40 PM
Is there a recent working vimeo xml to add to services, i cant seem to get vimeo to retreive information
weave
04-25-2013, 10:41 AM
Anyone running 4.2.1 with his mod? Any issues?
michal72
04-25-2013, 03:41 PM
Anyone running 4.2.1 with his mod? Any issues?
Yes, no issues. Check out my signature for fixes
BR
initiald
04-26-2013, 01:42 PM
Please help make a Youku, Tudou XML.
initiald
05-04-2013, 09:28 AM
hi jaxel , i set the thumb, but its still say that.
test video url : http://www.tudou.com/programs/view/x0stnflkpVM
<?xml version="1.0" encoding="UTF-8"?>
<service>
<svcName>TuDou</svcName>
<svcRegex><![CDATA[http://[a-z]*?[\.]?tudou\.[a-z]*?/programs/view/([\w-]*)]]></svcRegex>
<svcURL>http://www.tudou.com/programs/view/{serviceVAL}</svcURL>
<svcFeed><![CDATA[http://api.tudou.com/v3/gw?method=item.info.get&appKey=mykey&format=xml&itemCodes={serviceVAL}]]></svcFeed>
<svcValue2>null</svcValue2>
<svcThumb><![CDATA[$arr['result']['results']['itemInfo']['picurl']]]></svcThumb>
<svcTitle><![CDATA[$arr['result']['results']['itemInfo']['title']]]></svcTitle>
<svcDesc><![CDATA[$arr['result']['results']['itemInfo']['description']]]></svcDesc>
<svcLength><![CDATA[$arr['result']['results']['itemInfo']['totalTime']]]></svcLength>
<svcTags><![CDATA[$arr['result']['results']['itemInfo']['tags']]]></svcTags>
<svcMovie>http://www.tudou.com/v/{serviceVAL}</svcMovie>
<svcWidth>640</svcWidth>
<svcHeight>385</svcHeight>
<svcStream>null</svcStream>
<svcError>null</svcError>
<svcParams>null</svcParams>
</service>
Delete ['result']
Change picurl to picUrl
Change itemInfo to ItemInfo
Can you provide me the Youku rss feed and api, greatly appreciated.
hrenos
05-15-2013, 07:45 PM
Try this
Replace in media_ajax_submit.js:
fetch_object('vB_Editor_001_textarea').value = description;
with:
vB_Editor['vB_Editor_001'].write_editor_contents(description);
And:
function validate()
{
var error = '';
with:
function validate()
{
vB_Editor['vB_Editor_001'].prepare_submit(0, 0);
var error = '';
BR
where do I add these ? I cant find media_ajax_submit.js (im using 4.2.1)
initiald
05-15-2013, 09:17 PM
^media_ajax_submit.js is in the server root folder or the file that come when you download in the Upload>Media folder.
By the way, if anyone interest in light out mode for this Media Library, you can check out this mod by Gemma.
https://vborg.vbsupport.ru/showthread.php?t=277346
To have all black out except your video player. In AdminCP> find 8WR_media_details.
Replace all code with this:
<div class="mediahead">{vb:var media.title}</div>
<div class="mediabody">
<div class="mediarow" style="margin-bottom: {vb:stylevar media_margin}px;">
<vb:if condition="$perms['edit'] OR $perms['modedit']">
<div style="float: right; padding-left: 10px;"><a href="{vb:raw href.details_tags}" class="button">{vb:phrase media_tags_edit}</a></div>
<div style="float: right; padding-left: 10px;"><a href="{vb:raw href.details_edit}" class="button">{vb:phrase media_details_edit}</a></div>
</vb:if>
<vb:if condition="$perms['report']">
<div style="float: right; padding-left: 10px;"><a href="{vb:raw href.details_report}" class="button">{vb:phrase media_report}</a></div>
</vb:if>
<div id="mediafaves" style="float: left;">{vb:raw mediafaves}</div>
<b>{vb:var media.title}</b> <vb:if condition="!$media['embed_stream']">({vb:var media.length})</vb:if>
</div>
<vb:if condition="$playlist">
<div class="mediarow floatcontainer" style="margin-bottom: {vb:stylevar media_margin}px;">
<vb:if condition="$next">
<div style="float: right; padding-left: 10px;"><b>Next »</b> ({vb:var next.pos} of {vb:var playlist.count})<br /><a href="{vb:raw next.href}">{vb:var next.title}</a></div>
</vb:if>
<vb:if condition="$prev">
<div style="float: left; padding-right: 10px;">({vb:var prev.pos} of {vb:var playlist.count}) <b>« Previous</b><br /><a href="{vb:raw prev.href}">{vb:var prev.title}</a></div>
</vb:if>
<b><a href="{vb:raw playlist.href}">{vb:var playlist.plName}</a></b>
</div>
</vb:if>
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td<vb:if condition="!$media['embed_stream']"> style="padding-right: {vb:stylevar media_margin}px;"</vb:if> width="1%">
<div class="mediarow" style="padding: 0px;" id="embed">
<div id = "standout">
{vb:raw media.embed}
</div>
<vb:if condition="$media['embed_stream']">
{vb:raw media.embed_stream}
<vb:else />
</div>
</td>
<td class="mediarow" valign="top">
<b>{vb:phrase media_datetime,{vb:var media.date},{vb:var media.time}}</b><br />
{vb:phrase media_uploadedby} <a href="{vb:raw href.user}">{vb:var media.username}</a><br />
<br />
<div class="popupmenu" id="mediarating">{vb:raw mediarating}</div>
<br />
<a href="{vb:raw href.category}">{vb:var media.catName}</a><br />
{vb:phrase media_favorites}: {vb:var media.favorites} - {vb:phrase media_views}: {vb:var media.views}<br />
{vb:phrase media_comments}: {vb:var media.comments}<br />
<br />
<input type="text" class="primary full textbox" onclick="this.focus(); this.select()" value="{vb:var href.details}" readonly="readonly" style="width: 90%;" /><br />
<br />
<vb:if condition="$vbulletin->options">
<input type="text" class="primary full textbox" onclick="this.focus(); this.select()" value="[media={vb:var media.title}]{vb:var media.mediaID}" readonly="readonly" style="width: 90%;" /><br />
<br />
</vb:if>
<b>{vb:phrase media_tags}:</b><br />
<ul class="commalist">
{vb:raw media.tags}
</ul>
<br /><br />
<div class="blockrow" align="center">
<div id="lights"></div>
</td>
</vb:if>
</tr>
</table>
<div class="mediarow floatcontainer" style="margin-top: {vb:stylevar media_margin}px; text-align: left;">
<vb:if condition="$vbulletin->options[media_custom]">
<vb:if condition="$vbulletin->options[media_custom1_name] && $media[custom1]">
<b>{vb:raw vboptions.media_custom1_name}:</b> {vb:raw media.custom1}<br />
</vb:if>
<vb:if condition="$vbulletin->options[media_custom2_name] && $media[custom2]">
<b>{vb:raw vboptions.media_custom2_name}:</b> {vb:raw media.custom2}<br />
</vb:if>
<vb:if condition="$vbulletin->options[media_custom3_name] && $media[custom3]">
<b>{vb:raw vboptions.media_custom3_name}:</b> {vb:raw media.custom3}<br />
</vb:if>
<vb:if condition="$vbulletin->options[media_custom4_name] && $media[custom4]">
<b>{vb:raw vboptions.media_custom4_name}:</b> {vb:raw media.custom4}<br />
</vb:if>
<vb:if condition="$vbulletin->options[media_custom5_name] && $media[custom5]">
<b>{vb:raw vboptions.media_custom5_name}:</b> {vb:raw media.custom5}<br />
</vb:if>
<vb:if condition="$vbulletin->options[media_custom6_name] && $media[custom6]">
<b>{vb:raw vboptions.media_custom6_name}:</b> {vb:raw media.custom6}<br />
</vb:if>
<vb:if condition="$vbulletin->options[media_custom7_name] && $media[custom7]">
<b>{vb:raw vboptions.media_custom7_name}:</b> {vb:raw media.custom7}<br />
</vb:if>
<vb:if condition="$vbulletin->options[media_custom8_name] && $media[custom8]">
<b>{vb:raw vboptions.media_custom8_name}:</b> {vb:raw media.custom8}<br />
</vb:if>
<vb:if condition="$vbulletin->options[media_custom9_name] && $media[custom9]">
<b>{vb:raw vboptions.media_custom9_name}:</b> {vb:raw media.custom9}<br />
</vb:if>
<vb:if condition="$media[custom1] || $media[custom2] || $media[custom3] || $media[custom4] || $media[custom5] || $media[custom6] || $media[custom7] || $media[custom8] || $media[custom9]">
<br />
</vb:if>
</vb:if>
{vb:raw media.description}
</div>
</div>
<div class="mediahead">{vb:phrase media_comment_submit}</div>
<div class="mediabody">
<vb:if condition="$perms['comment']">
<script type="text/javascript" src="clientscript/vbulletin-editor.js?v={vb:raw vboptions.simpleversion}"></script>
<script type="text/javascript" src="clientscript/vbulletin_textedit.js?v={vb:raw vboptions.simpleversion}"></script>
<form action="media.php" name="vbform" method="post" onsubmit="return vB_Editor['{vb:raw editorid}'].prepare_submit(0, {vb:raw vboptions.postminchars})">
<div id="commentform">
<div class="mediarow floatcontainer" style="padding: 10px;">
{vb:raw messagearea}
</div>
</div>
<div style="padding-right: 30px; text-align: right;">
<input type="submit" class="button" name="commentsubmit" id="commentsubmit" value="{vb:phrase media_comment_submit}" />
</div>
<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="do" value="comment" />
<input type="hidden" name="mid" value="{vb:var media.mediaID}" />
</form>
</vb:if>
<div id="mediasubs" style="float: left; margin-right: 10px;">{vb:raw mediasubs}</div>
<div id="pagination_top">{vb:raw pagenav}</div><br /><br />
<div class="mediarow" style="padding: 10px; text-align: left;">
<ol id="message_list" class="list_no_decoration">
<vb:if condition="$commentbits">
{vb:raw commentbits}
<vb:else />
<li style="text-align: center; padding: 10px;">{vb:phrase media_comments_none}</li>
</vb:if>
</ol>
</div>
</div>
<script type="text/javascript" src="media/media_ajax_rating.js"></script>
<script type="text/javascript" src="media/media_ajax_comment.js"></script>
<script type="text/javascript" src="media/media_ajax_faves.js"></script>
<script type="text/javascript" src="media/media_ajax_subs.js"></script>
<script type="text/javascript">
<!--
vbphrase['post_comment'] = '{vb:phrase media_comment_done}';
vbphrase['post_comment_wait'] = '{vb:phrase media_comment_wait}';
vbphrase['post_comment_fail'] = '{vb:phrase media_comment_submit}';
rating_init({vb:var media.mediaID});
comment_init({vb:var media.mediaID},<vb:if condition="$playlist">{vb:var playlist.playlistID}<vb:else />0</vb:if>);
faves_init({vb:var media.mediaID},<vb:if condition="$playlist">{vb:var playlist.playlistID}<vb:else />0</vb:if>);
subs_init({vb:var media.mediaID},<vb:if condition="$playlist">{vb:var playlist.playlistID}<vb:else />0</vb:if>);
-->
</script>
<style type="text/css">
#lights { /* This is the container which holds the light switch */
position:relative; /* Set the position of the light switch to relative so it can be placed above the "dimming" layer */
z-index:500; /* Set the height on the Z axis to 500 which is above the "dimmed" layer */
}
object { /* The object tag is what the swf files are held in */
outline:none; /* Set the outline of swf objects to none so when you click on it you don't get a border around the swf */
}
#fade { /* This is the "dimmed" layer which fades in when the lights go off */
display: none; /* Set the display to none which hides the layer */
background: #000000; /* Set the color to black */
position: fixed; left: 0; top: 0; /* Set the position to fixed so when the user scrolls it stays with them */
width: 100%; height: 100%; /* Set the width and height to 100% of the browser window */
opacity: 1; /* Set the layer's opacity to .90 which is 90% */
z-index:100; /* Set the height on the Z axis to 100 which is below the "light switch" layer */
}
#standout{
position:relative;
background-color:#ffffff;
z-index:1000;
}
</style>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
var flashvars = false;
var params = {
movie: "Lights.swf",
quality: "high",
allowScriptAccess: "always",
wmode: "transparent"
};
var attributes = false;
swfobject.embedSWF("Lights.swf", "lights", "100", "100", "9.0.0", "expressInstall.swf", flashvars, params, attributes);
</script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
<script type="text/javascript">
function lightsOn(){
//When you turn the lights back on fade out the "dim" layer over 500 milliseconds and then remove it
$('#fade').fadeOut(500,function() { $("#fade").remove(); });
};
function lightsOff(){
$('body').append('<div id="fade"></div>'); //When you turn the lights off add the "dimmed" layer to the page
$('#fade').fadeIn(250); //Fade in the "dim" layer over 250 milliseconds
};
</script>
Chadi
05-25-2013, 08:07 PM
I keep getting this error whenever I try to rebuild media thumbnails
ERROR CONSTRUCTING THUMBNAIL
I checked each video, absolutely nothing wrong with them at all.
I click retry, and it repeatedly gets stuck at "Processing 3"
Also nothing wrong with that third video either, at all.
Mariner1
06-01-2013, 08:57 AM
Ive tried to fix the comments here https://vborg.vbsupport.ru/showpost.php?p=2217522&postcount=2129
Ive tried to find .prepare_submit(this.inputname.value, {vb:raw vboptions.postminchars})
Its not in any media template.Im running 4.2.1
initiald
06-02-2013, 08:12 AM
Ive tried to fix the comments here https://vborg.vbsupport.ru/showpost.php?p=2217522&postcount=2129
Ive tried to find .prepare_submit(this.inputname.value, {vb:raw vboptions.postminchars})
Its not in any media template.Im running 4.2.1
Copy the code of the template and paste them here. Otherwise, you already have fixed with template change. To be honest with you, the OP code using a initial 8_ in his variable name is not a good choice. So I re-edit his whole mod. If you're interest, I can give you mine and do re-install over again. This will fix all your problem.
initiald
06-02-2013, 08:41 AM
I keep getting this error whenever I try to rebuild media thumbnails
ERROR CONSTRUCTING THUMBNAIL
I checked each video, absolutely nothing wrong with them at all.
I click retry, and it repeatedly gets stuck at "Processing 3"
Also nothing wrong with that third video either, at all.
It most likely caused by a sync error. Not much you can do in that case but try deleting and upload the video or find a replacement thumbnail.
Mariner1
06-02-2013, 11:45 AM
Hi iniald.I uninstalled it but would love to be able to use it if possible,any help would be appreciated
K4GAP
06-02-2013, 02:02 PM
Copy the code of the template and paste them here. Otherwise, you already have fixed with template change. To be honest with you, the OP code using a initial 8_ in his variable name is not a good choice. So I re-edit his whole mod. If you're interest, I can give you mine and do re-install over again. This will fix all your problem.
Anyway, I've manage to create XML for Tudou but still struggling to figure out Youku. The only issue is that I can't seem to find the Service Feed API. Apparently, I locate this..
https://openapi.youku.com/v2/videos/show_basic.json?client_id=123&video_id=XMjg1MTcyNDQ0
http://open.youku.com/docs/api/uploads/client/english
Also if anyone likes to do it like mine, I re-modify the detail template to look more minimalism. Clean design, add an extra random video icon, icon opacity change when hover, and Youtube style tooltip popup on top when mouse hover.
For example:
Old
https://vborg.vbsupport.ru/external/2013/06/56.png
NEW
https://vborg.vbsupport.ru/external/2013/06/57.png
Sir, would you mind sharing how you got it working on 4.2.1 ?
There are several of us waiting for a fix that works.
initiald
06-03-2013, 09:54 AM
Sure. But I must WARN you guys first that I have change variable on the OP code, including some fix on his template to reflect a cleaner and professional design. I also add light out option, and Youtube professional tooltip instead of the default vbulletin (Like the pic I show above iis what you will be expecting to see except obviously style depends on your forum custom style.
Instruction:
1. Copy all the files inside the "upload" folder into forum root.
2. AdminCP> Manage Products> product-medialibrary (Edit version).xml
3. AdminCP> Manage Products> product-medialibrarynav (Edit Version).xml
4. After you finish, change all the codes in the template accordingly to the name in the "Template Change" folder.
Optional
5. In the "XML" folder are some provided host services (including Tudou, Vimeo, Dailymotion, etc..) that you can use to install after done with everything.
Good luck.
Mariner1
06-03-2013, 10:43 AM
Hi
This looks great thank you.
Can you tell me how i change all the codes in the template accordingly to the name in the "Template Change" folder.Im not sure what this means,sorry
initiald
06-03-2013, 11:17 AM
^Go to AdminCP > Styles & Templates > Search in Templates
Type in the name as shown each in the Template Change folder. Select your Custom style and edit each one by overwriting. If you are not sure, save the original copy in case you want to redo.
K4GAP
06-03-2013, 11:22 PM
Sure. But I must WARN you guys first that I have change variable on the OP code, including some fix on his template to reflect a cleaner and professional design. I also add light out option, and Youtube professional tooltip instead of the default vbulletin (Like the pic I show above iis what you will be expecting to see except obviously style depends on your forum custom style.
Instruction:
1. Copy all the files inside the "upload" folder into forum root.
2. AdminCP> Manage Products> product-medialibrary (Edit version).xml
3. AdminCP> Manage Products> product-medialibrarynav (Edit Version).xml
4. After you finish, change all the codes in the template accordingly to the name in the "Template Change" folder.
Optional
5. In the "XML" folder are some provided host services (including Tudou, Vimeo, Dailymotion, etc..) that you can use to install after done with everything.
Good luck.
You run 4.2.1 ?
Would it be possible for you to post a link to your site to confirm working on 4.2.1 ?
initiald
06-04-2013, 02:10 AM
You run 4.2.1 ?
Would it be possible for you to post a link to your site to confirm working on 4.2.1 ?
I test run on 4.2.1 and it works fine. Just as 4.2 PL3.
PM send.
Chadi
06-05-2013, 05:32 PM
I keep getting this error whenever I try to rebuild media thumbnails
ERROR CONSTRUCTING THUMBNAIL
I checked each video, absolutely nothing wrong with them at all.
I click retry, and it repeatedly gets stuck at "Processing 3"
Also nothing wrong with that third video either, at all.
Anyone else know how to rectify this?
Also, anyway to make this mobile friendly? Example: when I post the link to my FB page, it doesn't work on mobile phones (comes up blank) because the site is using the mobile theme.
KorsatH
06-23-2013, 05:23 PM
tnx for your amazing work.
you also plan to work on your addon for the stream like your site?
Digital Jedi
06-24-2013, 04:07 PM
tnx for your amazing work.
you also plan to work on your addon for the stream like your site?
Jaxel no longer develops for vB, so there's no plans for upgrading this mod at this time.
Toxic2
07-07-2013, 08:39 AM
there is no media tab in ACP so I can not set permissions vb 4.1.10
tbworld
07-08-2013, 01:54 AM
@Toxic, you need to read the entire thread. You will not get this mod working if you do not. Take your time it is a nice mod, but it has to be carefully setup.
DGrey2011
07-09-2013, 02:49 PM
I have installed the edited version (with comments and description issues fixed) on vB 4.2.0.
I can type the description exactly when I add the video and it's saved.
However, if I notice some mistakes or I want to add something in the description later, the changes aren't saved and I just get the message 'Leave' or 'Stay on page'. No matter which you click on, the changes aren't saved. :(
I tried on Chrome, FF, Safari, Comodo and in all browsers it's the same.
Does anyone know how to fix this?
vietfancy
07-17-2013, 04:51 AM
this is no good for 4.2.1. I can't seem to submit a youtube video.
KorvinGump
07-25-2013, 04:35 PM
I have installed the edited version (with comments and description issues fixed) on vB 4.2.0.
I can type the description exactly when I add the video and it's saved.
However, if I notice some mistakes or I want to add something in the description later, the changes aren't saved and I just get the message 'Leave' or 'Stay on page'. No matter which you click on, the changes aren't saved. :(
I tried on Chrome, FF, Safari, Comodo and in all browsers it's the same.
Does anyone know how to fix this?
I can confirm this bug. If you try to add video on front media page with retrieve information it works good and you can submit video. After this you can edit your description of media. But if you try to submit media with button "Submit media" you can't edit description and when you click on button submit it sends to you message 'Leave' or 'Stay on page'. Please someone needs to fix this for 4.2.1.
michal72
07-25-2013, 07:09 PM
I have installed the edited version (with comments and description issues fixed) on vB 4.2.0.
I can type the description exactly when I add the video and it's saved.
However, if I notice some mistakes or I want to add something in the description later, the changes aren't saved and I just get the message 'Leave' or 'Stay on page'. No matter which you click on, the changes aren't saved. :(
I tried on Chrome, FF, Safari, Comodo and in all browsers it's the same.
Does anyone know how to fix this?
I can confirm this bug. If you try to add video on front media page with retrieve information it works good and you can submit video. After this you can edit your description of media. But if you try to submit media with button "Submit media" you can't edit description and when you click on button submit it sends to you message 'Leave' or 'Stay on page'. Please someone needs to fix this for 4.2.1.
For me my fixes work well for 4.2.0. I can add new video using "Retrieve information" or "Submit media". I can also edit description of the existing media.
I can't check on 4.2.1 because I don't use this version
Regards
mamaveve
08-13-2013, 08:45 PM
I try to edit the activity stream template so that latest media showing in activity stream..., but still no good
anyone can help
Chadi
08-20-2013, 06:03 PM
Having two issues:
First, using the tag in forum posts, works in preview but once I submit the post the video disappears and the only the title shows, linked.
I use this
[media=Michael Jr Humble, TX EVENT]293
Second issue: for whatever reason, when I click edit in the administrative > services area for any service it redirects me to the homepage.
This is what I have in the htaccess file
# Media Library
ReWriteRule ^media/m(\d+).*/tags$ media.php?do=tags_edit&mid=$1 [QSA]
ReWriteRule ^media/m(\d+).*/edit$ media.php?do=details_edit&mid=$1 [QSA]
ReWriteRule ^media/m(\d+).*/report$ media.php?do=report&mid=$1 [QSA]
ReWriteRule ^media/m(\d+).*/c(\d+)$ media.php?do=comment_edit&cmt=$2 [QSA]
ReWriteRule ^media/m(\d+).*/p(\d+).*$ media.php?do=details&mid=$1&pid=$2 [QSA]
ReWriteRule ^media/m(\d+).* media.php?do=details&mid=$1 [QSA]
ReWriteRule ^media/p(\d+).*/edit$ media.php?do=playlist_edit&pid=$1 [QSA]
ReWriteRule ^media/p(\d+).* media.php?do=playlist&pid=$1 [QSA]
ReWriteRule ^media/c(\d+).* media.php?do=category&cid=$1 [QSA]
ReWriteRule ^media/u(\d+).* media.php?do=user&uid=$1 [QSA]
ReWriteRule ^media/tag/(.*) media.php?do=tag&tid=$1 [QSA]
ReWriteRule ^media/results/(.*) media.php?do=results&query=$1 [QSA]
ReWriteRule ^media/advresults/(.*) media.php?do=advresults&query=$1 [QSA]
ReWriteRule ^media/letter/(.*) media.php?do=letter&query=$1 [QSA]
ReWriteRule ^media/browse.* media.php?do=browse [QSA]
ReWriteRule ^media/search.* media.php?do=search [QSA]
ReWriteRule ^media/random.* media.php?do=random [QSA]
ReWriteRule ^media/submit.* media.php?do=submit [QSA]
ReWriteRule ^media/tagcloud.* media.php?do=tagcloud [QSA]
ReWriteRule ^media/playlists.* media.php?do=playlists [QSA]
ReWriteRule ^media/pcreate.* media.php?do=playlists_create [QSA]
ReWriteRule ^media/pmine.* media.php?do=playlists_mine [QSA]
ReWriteRule ^media/favorites.* media.php?do=favorites [QSA]
ReWriteRule ^media/subscriptions.* media.php?do=subscriptions [QSA]
ReWriteRule ^media/admin/edit/s(\d+).* media.php?do=admin_host_edit&sid=$1 [QSA]
ReWriteRule ^media/admin/delete/s(\d+).* media.php?do=admin_host_delete&sid=$1 [QSA]
ReWriteRule ^media/admin/export/s(\d+).* media.php?do=admin_host_export&sid=$1 [QSA]
ReWriteRule ^media/admin/(\w+).* media.php?do=admin_$1 [QSA]
# Media Library from Video Directory
RewriteCond %{QUERY_STRING} do=viewdetails&videoid=(\d+)
RewriteRule ^video\.php$ media.php?do=details&mid=%1
RewriteCond %{QUERY_STRING} viewcategory&categoryid=(\d+)
RewriteRule ^video\.php$ media.php?do=category&cid=%1
RewriteCond %{QUERY_STRING} viewuser&userid=(\d+)
RewriteRule ^video\.php$ media.php?do=user&uid=%1
RewriteCond %{QUERY_STRING} viewtag&tag=(.*)
RewriteRule ^video\.php$ media.php?do=tag&tid=%1
ReWriteRule ^video\.php$ media.php
motorhaven
08-25-2013, 03:25 AM
this is no good for 4.2.1. I can't seem to submit a youtube video.
Works fine for me on 3 different 4.2.1 installations.
fleshy66
08-26-2013, 02:54 AM
Works fine for me on 3 different 4.2.1 installations.
Did you just add the original to 4.2.1 ? Its been a long time since I used VB so just getting back in to using it again.
AndrewSimm
08-26-2013, 03:08 AM
make sure your not using https youtube links
motorhaven
08-26-2013, 12:25 PM
And also there are two types of youtube links (youtube.com and youtu.be) make sure you have both defined.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.