• [MOD] Media sites v1.11.1 (2010-12-22) 5 0 5 1
Currently:  

Author Topic: [MOD] Media sites v1.11.1 (2010-12-22)  (Read 349394 times)

0 Members and 1 Guest are viewing this topic.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Media sites v1.11.1 (2010-12-22)
« Reply #225 on: December 28, 2010, 12:56:48 AM »
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Warrior

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • Lawrence Family History
Re: [MOD] Media sites v1.11.1 (2010-12-22)
« Reply #226 on: April 17, 2011, 10:15:11 PM »
You have this in the media-sites.php:

	
"youtube"          => array("#^http://([^.]+\.)?youtube\.com/(watch_private|watch)\\\\?.*[?&]v=([^&]+)#",
	
	
	
	
	
3,
	
	
	
	
	
"http://www.youtube.com/v/{ID}",
	
	
	
	
	
null,
	
	
	
	
	
MS_BBCODE_YES,
	
	
	
	
	
"http://www.youtube.com",
	
	
	
	
	
"http://img.youtube.com/vi/{ID}/default.jpg"//works
	
	
	
	
),


I have found that
Code: [Select]
http://img.youtube.com/vi/{ID}/hqdefault.jpgwill produce an image much larger than the default thumb youtube provides.

I changed your above code to hqdefault.jpg.
How would I write an IF command in there, if the hqdefault.jpg image doesn't exist, then it can go with the normal default.jpg image?

Offline Sleepy

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Re: [MOD] Media sites v1.11.1 (2010-12-22)
« Reply #227 on: May 21, 2011, 04:50:16 AM »
Great MOD for media sites! ^_^
Thank you very much.

Offline Sunny C.

  • Addicted member
  • ******
  • Posts: 1.805
  • I ♥ 4I
    • View Profile
Re: [MOD] Media sites v1.11.1 (2010-12-22)
« Reply #228 on: May 21, 2011, 02:18:58 PM »

Offline Guldstrand

  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: [MOD] Media sites v1.11.1 (2010-12-22)
« Reply #229 on: June 16, 2011, 01:32:15 AM »
Is there a way to grab/extract images (instead of videos) with this mod?

Offline slash0r

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: [MOD] Media sites v1.11.1 (2010-12-22)
« Reply #230 on: July 26, 2011, 05:29:51 PM »
Works great.
But my template is wider than default one. How can I make YT video window bigger?

Offline Hagen-Roderich

  • Full Member
  • ***
  • Posts: 127
    • View Profile
    • Hof Jokers
Re: [MOD] Media sites v1.11.1 (2010-12-22)
« Reply #231 on: August 02, 2011, 10:04:14 AM »
Works great.
But my template is wider than default one. How can I make YT video window bigger?

http://www.4homepages.de/forum/index.php?topic=24054.0#post_tweak3

Offline ProrokBDG

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: [MOD] Media sites v1.11.1 (2010-12-22)
« Reply #232 on: August 12, 2011, 06:04:15 PM »
Why can not I send links? It shows me that I need to upload a photo. Could someone send me the files modified functions.php and member.php?
« Last Edit: August 12, 2011, 07:44:00 PM by ProrokBDG »

Offline Tino23

  • Full Member
  • ***
  • Posts: 191
    • View Profile
    • LMJ - Motorsport
Re: [MOD] Media sites v1.11.1 (2010-12-22)
« Reply #233 on: October 15, 2011, 08:20:51 PM »
Gibts denn schon eine neue Version 1.12? Zumindest ist das ja auf der DEMO Seite so http://4images.vano.org/ajaxcomments/categories.php?cat_id=4 :wink:

Offline ASAD

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
    • Fotos von Grozny
Re: [MOD] Media sites v1.11.1 (2010-12-22)
« Reply #234 on: October 16, 2011, 08:16:15 PM »
Das Archiv ist beschädigt


Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Media sites v1.11.1 (2010-12-22)
« Reply #235 on: October 16, 2011, 10:11:07 PM »
Gibts denn schon eine neue Version 1.12?
no, not really, just a typo ;) nothing was added on the demo site.

Das Archiv ist beschädigt
Clear your browser's cache and try re-download. File is fine when I download it with FF7, IE9, Chrome16
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline ASAD

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
    • Fotos von Grozny
Re: [MOD] Media sites v1.11.1 (2010-12-22)
« Reply #236 on: October 16, 2011, 10:48:16 PM »
funktioniert, weis nicht warum zeigt ob es beschedigt...

Offline Minimaxer

  • Pre-Newbie
  • Posts: 1
    • View Profile
Re: [MOD] Media sites v1.11.1 (2010-12-22)
« Reply #237 on: December 26, 2011, 11:31:26 PM »
Hallo ist das Mod noch aktuell? Möchte Videos von vimeo einbinden - nur was gebe ich bei Bilder Hinzufügen(im Control Panel) im Feld URL: ein? Die Videos werden doch nur verlinkt oder? Z.B. "xxx: vimeoxxx: /32740964" wird nicht gefunden, der embed code funktioniert auch nicht.
Wer schön wenn jemand ein Idee hat:-)

Vielen Dank

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Media sites v1.11.1 (2010-12-22)
« Reply #238 on: December 27, 2011, 02:40:05 AM »
Hello. Welcome to 4images forum.

I just tried on my demo site and url http://www.vimeo.com/32740964 added just fine:
http://4images.vano.org/ajaxcomments/details.php?image_id=155
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline wessidewb

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: [MOD] Media sites v1.11.1 (2010-12-22)
« Reply #239 on: December 30, 2011, 04:17:14 AM »
Hello, I am getting
Fatal errorCall to undefined function media_sites() in /home/content/59/8661859/html/media/member.php on line 500

line 500 in regards to step 5:

/*
  MOD MEDIA SITES
  BEGIN INSERT
*/
  
if ($media_sites_data media_sites($remote_media_file))
    
$remote_media_file $media_sites_data[1]['media_src'];
/*
  MOD MEDIA SITES
  END INSERT
*/






Using  1.7.10 , thanks