View Full Version : Add-On Releases - Catalog Your Movies
harmor19
05-25-2007, 10:00 PM
You can use this to catalog your movies.
Enable/Disable System
Limit URL(s) that user can add
View all movies by genre
View all movies from an user
Set which usergroups can view the movie list
Set which usergroups can manage their own list such as adding, editing, and deleting of entries
Set which administrators can administer the movie entries.
Here is what I mean by "Limit URL(s) that user can add"... When a
user adds an entry they can add a link so that the movie title
becomes clickable. To prevent people from using URL's that have no
relation to the movie whatsoever you can limit the users to only
have URL's that use "imdb.com". You can allow
users to use any number of URL's by typing them into a box. For
eaxmple if you only want users to have their movie title link to
imdb, netflix, and amazon you would type "imdb.com, netflix.com, amazon.com" into a single-line input box.
Demo (http://xenweb.net/forums/mymedia.php)
harmor19
05-26-2007, 02:16 AM
Reserved
Vizionz
05-26-2007, 03:09 AM
the demo dont even work for me
FreshFroot
05-26-2007, 04:15 AM
ill try it out and see :D
ICY ICE
05-26-2007, 05:39 AM
I've been waiting for a mod like this...I'll play with it tomorrow and follow up.
thanks
deezelpope
05-26-2007, 09:33 AM
<i>Installed, thank you!</i>
mattswanson
05-26-2007, 11:02 AM
I'm having trouble with the demo too... IE 7
Sofia
05-26-2007, 11:15 AM
Thanks a lot, harmor. I will test it :)
Edit :
1- When i edit an entry, it says me : "Please go back and add a title and/or genre" but there is already a tilte or a genre.
2- When i click Yes for "Can Manage Own Media Listings" in usergroups, the user can add an entry but he can delete it, edit, etc.. So i don't see the "Can Administer My Media" in usergroups.
harmor19
05-26-2007, 12:00 PM
Thanks a lot, harmor. I will test it :)
Edit :
1- When i edit an entry, it says me : "Please go back and add a title and/or genre" but there is already a tilte or a genre.
2- When i click Yes for "Can Manage Own Media Listings" in usergroups, the user can add an entry but he can delete it, edit, etc.. So i don't see the "Can Administer My Media" in usergroups.
When you edit an entry you have to re-select the genre. I know it needs fixed.
"Can Administer My Media" is in the Administrator Permissions.
harmor19
05-26-2007, 12:01 PM
In the demo guests aren't allowed to add media. I forgot to write a conditional to hide the button from people that can't use it.
Installed on v3.6.7 and not working. :confused:
deezelpope
05-26-2007, 12:16 PM
Hm...getting this error...even though this is my URL... http://imdb.com/title/tt0111161/
vBulletin MessageYou may only use URL's that start with the following imdb.com,netflix.com,amazon.com
deezelpope
05-26-2007, 12:17 PM
Installed on v3.6.7 and not working. :confused:
It's for 3.6.4.
harmor19
05-26-2007, 12:23 PM
Hm...getting this error...even though this is my URL... http://imdb.com/title/tt0111161/
vBulletin MessageYou may only use URL's that start with the following imdb.com,netflix.com,amazon.com
I'll see what's wrong.
In the ACP --> vBulletin Options --> My Media Settings
Make sure there is a space after each comma in "URL's Allowed".
deezelpope
05-26-2007, 12:26 PM
I have it just llke you do in the instructions...imdb.com, netflix.com, amazon.com...I took out the spaces, do you think they spaces should be left in?
deezelpope
05-26-2007, 12:28 PM
Ok, it worked with imdb.com alone, without the others.
But when it makes the thread, it looks like this...shouldn't it make a link to imdb.com?
Title: url='http://imdb.com/title/tt0111161/']The Shawshank Redemption[/url] (1994)
Genre: Drama (http://mymedia.php/?do=list&genre=Drama)
harmor19
05-26-2007, 12:32 PM
I have it just llke you do in the instructions...imdb.com, netflix.com, amazon.com...I took out the spaces, do you think they spaces should be left in?
It works when there is a space after the commas.
deezelpope
05-26-2007, 12:35 PM
Ok, thanks!
Also, when I click on any of the genres or "View All," after I upload, I get a blank page.:confused:
harmor19
05-26-2007, 12:48 PM
Ok, thanks!
Also, when I click on any of the genres or "View All," after I upload, I get a blank page.:confused:
I must of gotten horrible at coding since I took a break from it.
UPDATE
URL BBCode did not work correctly when it automatically created the thread. Download the ZIP and overwrite "mymedia.php".
deezelpope
05-26-2007, 12:54 PM
Awww, no, I think you're just a little rusty!
Did the update...beautiful!! Now, if you can fix the other part, I can redo the other threads...no hurry...I'm not going anywhere...I love this mod...you do good work!!:)
harmor19
05-26-2007, 01:21 PM
Ok, thanks!
Also, when I click on any of the genres or "View All," after I upload, I get a blank page.:confused:
I don't get the part "After I upload". What do you mean "upload"?
deezelpope
05-26-2007, 01:31 PM
Ok, after I add the movie, it makes the thread, but when I go to view my list, I can't, no matter if I click on the genre or View All. Know what I mean?
Sorry, my fault, I didn't state it right.
harmor19
05-26-2007, 01:41 PM
Download the ZIP. Upload and overwrite "mymedia.php".
harmor19
05-26-2007, 01:42 PM
Ok, after I add the movie, it makes the thread, but when I go to view my list, I can't, no matter if I click on the genre or View All. Know what I mean?
Sorry, my fault, I didn't state it right.
I see the "Genre" link doesn't work in the thread but "View All" works for me.
deezelpope
05-26-2007, 01:49 PM
Still the blank page...:(
The link in the thread works great...but not on the My Movies page.
Ack...I'm sorry, I was thinking you meant the link to the movie at imdb...the link to the My Movies page doesn't from the thread like you said.
dope15gd
05-26-2007, 04:18 PM
I'd love to use this, but it seems it doesn't work for 3.6.7 so I guess I'll have to wait.
thanks
edit// seems to work perfectly for 3.6.7
Could you include a read me with this that gives a general description of where to go and that usergroups and such need to be edited
projectego
05-26-2007, 06:16 PM
Sounds interesting... I might check this out later. Thanks!
harmor19
05-26-2007, 06:36 PM
Ok, after I add the movie, it makes the thread, but when I go to view my list, I can't, no matter if I click on the genre or View All. Know what I mean?
Sorry, my fault, I didn't state it right.
Can you send a private message to me with your site?
The "Genre" and "View All" works for me.
harmor19
05-26-2007, 06:37 PM
I'd love to use this, but it seems it doesn't work for 3.6.7 so I guess I'll have to wait.
thanks
edit// seems to work perfectly for 3.6.7
Could you include a read me with this that gives a general description of where to go and that usergroups and such need to be edited
Sorry about that. I will write one on the next update.
deezelpope
05-26-2007, 08:20 PM
Can you send a private message to me with your site?
The "Genre" and "View All" works for me.
PM sent...
harmor19
05-26-2007, 09:41 PM
There's a weird problem. This hack renders in FF but not in IE.
If you can figure out the problem I will give you credit in the copyright
My Media Version 1.0.0
Copyright ?2007, Andrew Harmor, Your Name
deezelpope
05-26-2007, 09:48 PM
<i>Yeah, that would be cool.
About that other issue I mentioned in my PM...the message comes on that it was successfully deleted, but it doesn't really delete it.
</i>
harmor19
05-26-2007, 09:52 PM
I feel like a rookie coder with all these mistakes.
deezelpope
05-26-2007, 09:57 PM
So you're a little rusty, so what! Sh*t happens!! This is an awesome mod, Andrew!!! Don't doubt yourself OR your talent and skill! Chalk this up to a learning experience!;)
dope15gd
05-27-2007, 12:53 AM
I'd love it if you kept developing this. I love the idea since I really need a nice way to organize my movies. If you really get going with it you could set it up so it tries to find the movie on imdb and fills in the form for you. I've seen this done on some other random hacks, but they were always super clunky.
Anyway, thanks for your work so far :)
Vizionz
05-27-2007, 01:09 AM
nevermind first post:
ie definetly a problem
harmor19
05-27-2007, 01:50 AM
I figured out what was causing the problem.
Edit: The ZIP has been updated.
Changed Files
product-ah_my_media.xml
forums/mymedia.php
deezelpope
05-27-2007, 08:42 AM
Yaaay!! It's working in my usual browser!:)
Still working on the delete function?
deezelpope
05-27-2007, 12:53 PM
I found a temporary fix for the delete issue...just edit and replace!
Good enough for me!:up:
harmor19
05-27-2007, 10:16 PM
I have fixed the conditionals and the delete function. You can show a printable layout of the movies. To view the user's movies click on their name and select "Show all movies from <username> (Printable)". There is a link below the table that will take you to a page that shows the printable layout of all the movies or just a certain genre.
Changed Files
product-ah_my_media.xml
forums/mymedia.php
dope15gd
05-27-2007, 10:25 PM
these mods you are doing should go in your first post so we can keep track of whats going on easier. Just a suggestion though :)
thanks for the work on this
deezelpope
05-28-2007, 07:47 AM
Thank you, Harmor! I will install the update pronto!:)
@ Dope: Oh, I dunno...I think it's a good thing to read through threads of mods you installs...a lot of times, you can see a mod evolve, and more often than not, if you have a question, it's answered within the thread...a read-through is more often than not, beneficial.:)
@ Harmor: LOVE the printable version page! SWEET!! You ROCK!
harmor19
05-28-2007, 02:38 PM
Thank you, Harmor! I will install the update pronto!:)
@ Dope: Oh, I dunno...I think it's a good thing to read through threads of mods you installs...a lot of times, you can see a mod evolve, and more often than not, if you have a question, it's answered within the thread...a read-through is more often than not, beneficial.:)
@ Harmor: LOVE the printable version page! SWEET!! You ROCK!
Thanks.
Does anyone have any suggestions while I'm still interested in this hack?
VietPirates
05-28-2007, 06:41 PM
for references
http://www.collectorz.com/movie/
harmor19
05-28-2007, 07:05 PM
for references
http://www.collectorz.com/movie/
Thanks.
I'll do "Export to your iPod" and "Export to HTML" next.
ICY ICE
05-28-2007, 07:11 PM
Looks good! Great job!
Next version:
* Album cover option with auto resize
* Title links - target="_blank"
* Radio Buttons to select multiple "Genre"
harmor19
05-28-2007, 07:17 PM
Looks good! Great job!
Next version:
* Album cover option with auto resize
* Title links - target="_blank"
* Radio Buttons to select multiple "Genre"
1. I'll have to figure out how to upload images to the database such as the attachment system.
2. This is something I overlooked but I'll be sure to add it in the next release.
3. I wanted to do the multiple genre selection but I didn't want to take the time to recode the file.
eNforce
05-28-2007, 09:43 PM
Alright, really cool hack you have going on here, been toying around with it.
I've come across a problem.
After I submit a Movie, I went back to edit it. The Genre selection was set to default "Select A Genre" so I change it. It saved, and then deleted the entire genre category I just selected, deleting all the movies that were also entered in that genre :eek:
Also, clicking Page 2 of Movies draws a blank white page
VietPirates
05-29-2007, 05:35 AM
Thanks.
Does anyone have any suggestions while I'm still interested in this hack?
Another reference :)
http://www.movie-list.us/
harmor19
05-29-2007, 09:24 AM
Alright, really cool hack you have going on here, been toying around with it.
I've come across a problem.
After I submit a Movie, I went back to edit it. The Genre selection was set to default "Select A Genre" so I change it. It saved, and then deleted the entire genre category I just selected, deleting all the movies that were also entered in that genre :eek:
Also, clicking Page 2 of Movies draws a blank white page
Thank you. I will try to fix all these problems in the next release.
thanks again, VietPirates.
dope15gd
05-31-2007, 06:19 PM
I found this hack that would be useful to you: https://vborg.vbsupport.ru/showthread.php?t=132434
that hack is to do an autocomplete on movie titles using imdb.com. You might be able to use the information to add that function to this hack. I'd love it if I typed in the movie title and it auto completed it for me.
harmor19
06-01-2007, 03:07 PM
Also, clicking Page 2 of Movies draws a blank white page
I have fixed this error. I haven't uploaded the new files because I want to get everything finished.
Sorry it took so long to reply but I was working on a few other hacks.
lazydesis
06-04-2007, 05:17 AM
Line 23 in product file needs a table prefix I guess .. I didnot read all the pages in this thread .. juz telling what I found ..sorry if someone already pointed this out
it needs to be ..
$db->query_write("ALTER TABLE `" . TABLE_PREFIX . "usergroup ADD ahmediapermissions INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL ;");
dope15gd
06-04-2007, 05:54 AM
I got a request from my users.
They asked if they could somehow export their movies so if the site dies they don't have to re-input them all over again. Is there anyway to do that or possibly allow me to export it from the ACP?
technom8t
04-26-2008, 02:01 PM
i can't get the part were u enter just the url allowed to work??
Warlord
05-28-2009, 12:58 AM
Could this be converted to catalog comic books?
fulviods
05-29-2009, 07:49 AM
It works on a 1.8.2 ?
fulviods
05-29-2009, 08:26 AM
i can give an answer to my self.... doesn't work :( database error while importing xlm file..
compact123
05-29-2009, 10:28 AM
any live demo?
Warlord
06-15-2009, 03:10 PM
I have this installed (sort of).
I hope it's ok harmor, but I edited it to work with my needs (to catalog comic books). There are a few things I'm still working on, but I did manage to get it working on 3.6.8
I'm trying to get it to sort by title, but it looks like there's code to do that already except for some reason it doesn't work.
I add ORDER BY title to the SQL statement and it works when viewing all titles but then I get a DB error when trying to view titles by genre (or in my case publisher).
There were quite a few bugs I worked out, but they were more than likely my fault anyway as I changed all the variables to reflect what I wanted them to be instead of genre, dvd, etc.
I also noticed that in this thread someone had pointed out that the edit button doesn't work correctly, (It didn't work for me either... it said I had permission to edit an entry but didn't actually make any changes). I ended up just commenting out the edit button and figured they could just delete the entry and add a new one.
I also put the....
View Public Profile
Show all of StevenSykora's DVD's
Show all of StevenSykora's DVD's (Printable)
Send a private message to StevenSykora
In the post bit drop down and just got rid of that table data cell in the DVD listings all together.
I also put those links in member profiles. :D
Manoel J?nior
09-18-2009, 12:07 AM
Please... ERROR UNNINSTALL:
Database error in vBulletin 3.8.4:
Invalid SQL:
DROP TABLE `mediaid`;;
MySQL Error : Unknown table 'mediaid'
Error Number : 1051
Request Date : Thursday, September 17th 2009 @ 10:05:46 PM
Error Date : Thursday, September 17th 2009 @ 10:05:46 PM
Script : http://www.mysite.com/forum/admincp/apm_product.php?do=productkill
Referrer : http://www.mysite.com/forum/admincp/apm_product.php?do=productdelete&productid=ah_my_media&s=
IP Address :
Username :
Classname : vB_Database
MySQL Version : 5.0.81-community
mynameismonkey
09-22-2011, 04:10 PM
This looks great, any chance of a vB 4 version becoming available?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.