MyBB Community Forums

Full Version: [Release] IMDB Tag
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6
i dont think it can be fixed because it seems to be a hotlinking block...
Its a nice add-on.

Also Madshark if there is a Hotlinking block try posting that same url of the image in a normal thread or HTML document see if it works.
i tried to access it via browser...it gives a not allowed error ...
adnan abi bu eklentiyi tt den sonraki kısım eklenmesi yerine direk url olarak düzenlemen mümkün mü? hatta thor un yaptığı şekilde bbkod olmaksızın direk parser den işleterek kodu full urlye ekletmen mümkün mü ben biraz kurcaladım ama regexle aram iyi olmadığı için başarılı olamadım ama benimki de dahil pek çok forumda hali hazırda pek çok forumda full url olarak film linkleri ekli....

adnan older brother can you modifie this plugin for work without after tt code? moreover like thor's video plugins ( without mycodes just parsing) couse most of boards contains full urls about imdb. i tried on my board for it but i coudnt work correctly. (sorry for my bad english for this time couse i m little bit drunk at this time & i cant find correct words xD )
What happened to Jag100 had happened also to me.
(2009-04-21, 02:10 AM)Kleist Wrote: [ -> ]What happened to Jag100 had happened also to me.

I dont get you?
i think he was referring to me lol
yea sorry

anyway what now with this plugin Sad!!!
lol well its useful even without the picture but its irritating to have it showing the broken image with the random letters. I asked dragonfever how to completely remove the image but he doesn't seem to be watching this thread...
The following will remove the image from the imdb block.
All the rest of the details will be shown. Hope this helps.


Remove the following codes from the file imdbtag.php
preg_match('/<a name=\"poster\"(.*)><img(.*) src=\"(.*)\" \/>/isU',$data,$mposter);
		if($mposter){ $poster = "[IMG]".$mposter[3]."[/IMG]"; }else{ $poster = "[IMG]".$mybb->settings['bburl']."/images/img_noposter.gif[/IMG]"; }


Replace the $output line with this :
$output = "[IMDBSTYLE][DETAILS]".$title.$director.$rating.$genre.$tagline.$plot.$runtime.$awards.$casts."\n\n".$imdblink."[/DETAILS][/IMDBSTYLE]";


Remove these lines :
$message = str_replace("[POSTER]", $postertable, $message);
$message = str_replace("[/POSTER]", $postertable_end, $message);





I don't know if i missed out anything or not, but i think this will work.

If you think its too hard work, better replace the file in plugins folder with this attachment file.

Screenshot:
[Image: b12266f9a94a3138957687852c93ed19.jpg]
---------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------

For changing the imdb logo :
"top header where the imdb logo sort of thing comes" just change this path to the image you like
images/img_imdb.gif
in the imdbtag.php file.

Also to change the background color, search for this:
#E0E7EF
in the imdbtag.php file & replace with the color code of your choice.
Pages: 1 2 3 4 5 6