PDA

View Full Version : comics hack v1.0


zertox
18 Nov 2002, 23:57
little hack for vbulletin / vbindex

you can use this for daily comics, babe of the week, ...

Features
- Admin control panel
- Comics page
- vbindex thingy

I included an example script wich downloads some daily cartoons ... (Dont use it! its just an example)
this script only works on unix with wget installed and access to shell

It works this way:
- you post the url of an image on a thread (for example: weekly babe)
- use that threadID and the url of the image to add the comic in the adminCP
- Now users will be able to post comments to your image :)

example (http://www.species.be/speciesv2/comics.php)
vbindex example (http://www.species.be/speciesv2/vbindex.php)

update
- I changed the comicsbit a little
- fixed the vbindex error
FIX FOR THE 404 ERROR (http://www.vbulletin.org/forum/showthread.php?postid=341450#post341450)

If anyone installed it and uses it for other things then daily comics, please send me some screenshots

Erwin
19 Nov 2002, 00:55
There is a similar hack for vBPortal. :) I used to have that hack, but took it down because of copyright problems - basically a lot of comics are copyright-protected and licensed - you need to pay a syndication fee to be able to show them from your site. Unless the comic is public domain of course. It's a cool hack nonetheless - just make sure you are not breaking any laws. ;)

zertox
19 Nov 2002, 07:50
if you think its illigal you can delete it :)

if it is illigal ....
Is it still illigal if I put a copyright on the buttom from every comic and when they click the comic they go to the official website?
if not, just delete the hack :)

Chris M
19 Nov 2002, 15:42
Nice hack;)

Satan

Talisman
19 Nov 2002, 18:58
Is it still illigal if I put a copyright on the buttom from every comic and when they click the comic they go to the official website?

Yes, it is. (Sorry.)

When someone else owns the copyright, that means you have to get their permission before you can display it on your website. They own that comic (or whatever it is) and they have every right to say "no" if they want to ..... or to specify the exact terms they decide.

After you have their permission, then you would include a copyright notice with it (usually says something like "used with permission") and you would include a link back to the source, if that's what they say you have to do.

ULTIMATESSJ
19 Nov 2002, 19:14
Originally posted by Talisman


Yes, it is. (Sorry.)

When someone else owns the copyright, that means you have to get their permission before you can display it on your website. They own that comic (or whatever it is) and they have every right to say "no" if they want to ..... or to specify the exact terms they decide.

After you have their permission, then you would include a copyright notice with it (usually says something like "used with permission") and you would include a link back to the source, if that's what they say you have to do.

well it would still be a good hack for a forum which shows fan art, gfx, etc, or online comics

Talisman
19 Nov 2002, 19:31
well it would still be a good hack for a forum which shows fan art, gfx, etc, or online comics

Yes, definitely. This is a great hack. We just need to be careful how we apply it and make sure we always arrange permission to display what we want to show.

I don't think most people who violate copyrights actually intend to steal something that doesn't belong to them ...... it's much too easy to make simple mistakes like this.

I'll be back to install the hack myself, once I figure out a purpose for it at our website.

Nice job..... thanks, zertox!

zertox
19 Nov 2002, 21:29
well, I could take the comics out of the hack and rename it to "daily pictures" or something

EDIT: I updated everything a little

Erwin
19 Nov 2002, 22:39
Originally posted by zertox
if it is illigal ....
Is it still illigal if I put a copyright on the buttom from every comic and when they click the comic they go to the official website?
if not, just delete the hack :)

Yes, that's still illegal. :) Don't get me wrong, you have done a great hack here... just be careful not to get caught by Universal Syndicate etc. who own the copyright to the comics.

zertox
19 Nov 2002, 23:31
Well the hack can be used for other purposes ..
I named it comics because I use it for that :)
but you could rename it to daily something or so
daily image, weekly babe, monthly website
or whatever :)

I'm going to sleep now :)

FleaBag
20 Nov 2002, 01:04
There is nothing illegal about the hack itself.

zertox
20 Nov 2002, 08:21
Anyone have screenshots?

Dean C
20 Nov 2002, 20:43
This is awesome..

Exactly what im looking for :)

Regards

- miSt

koggit
10 Dec 2002, 06:44
How do I find the URL of the comic? And what do I put for thread ID?


Also, I get a 404 when I click "manage comics". Is this just because I don't have any uploaded, or is something wrong?


And I don't understand what to do with getcomics.txt. =\



It's an awesome hack, though.

zertox
10 Dec 2002, 06:51
Originally posted by koggit
How do I find the URL of the comic?

???? what comic?

And what do I put for thread ID?

first you post a comic in a thread, and then u have threadid, use that threadid (just so they can give coments to the comics or whatever you use it for)


Also, I get a 404 when I click "manage comics". Is this just because I don't have any uploaded, or is something wrong?

Did you upload the admin file?


And I don't understand what to do with getcomics.txt. =\

you need Secure shell for that
what I suggest is to just download the comics u like and upload them :)

koggit
10 Dec 2002, 16:29
Originally posted by zertox
???? what comic?

So far I've been given permission for the following:

www.movie-comics.com
http://www.nuklearpower.com
http://www.nothingnice.com
http://www.reallifecomics.com


Originally posted by zertox
first you post a comic in a thread, and then u have threadid, use that threadid (just so they can give coments to the comics or whatever you use it for)

So I'd make a comics section and then a thread for each comic? Would the comments be reset everytime the comic is updated?


Originally posted by zertox
Did you upload the admin file?

Yeah. I can access the "Add Comics" part fine, just not the "Modify Comics" one.

Originally posted by zertox
you need Secure shell for that
what I suggest is to just download the comics u like and upload them :)

Would I have to download and then upload them everytime I wanted to update it?

zertox
10 Dec 2002, 20:02
Originally posted by koggit


So far I've been given permission for the following:

www.movie-comics.com
http://www.nuklearpower.com
http://www.nothingnice.com
http://www.reallifecomics.com




So I'd make a comics section and then a thread for each comic? Would the comments be reset everytime the comic is updated?



No




Yeah. I can access the "Add Comics" part fine, just not the "Modify Comics" one.


Strange :)



Would I have to download and then upload them everytime I wanted to update it?

if u have telnet/ssh access with wget ... u can do it with a script...
I could help u with that if u want

koggit
10 Dec 2002, 21:44
Originally posted by zertox


No

To which? To the comics I'm using, to the thread-for-each-comic, or to the comments-reset? Or to all?


Originally posted by zertox
Strange :)

I was afraid you'd say something along those lines. ;)

Originally posted by zertox
if u have telnet/ssh access with wget ... u can do it with a script...
I could help u with that if u want

I have ssh access I think. :) I don't really know what the hell I'm doing, though. If you IM me on Koggit45 I'll let you know what information I have. ;)

zertox
10 Dec 2002, 22:18
no to thread-for-each-comic resetted
the thread will stay the same, i use it so people can comment the commic, u can do it another way if u like :)

koggit
10 Dec 2002, 22:53
When I go to Add Comic, I still don't understand what I'm supposed to put for the URL of the comic and the thread ID.


Can you explain those two a bit more, please?

zertox
11 Dec 2002, 06:22
first you make a new thread and you post the daily comic there
[ img]http://www.yoursite.com/comics/yourcomic.gif[/img ]
now you have a new thread, this thread has an ID, thats your "threadid"

in the url you type the url of the image
for example: http://www.yoursite.com/comics/yourcomic.gif

koggit
11 Dec 2002, 14:27
Thanks. I understand now.

How do I find out if I have telnet/ssh access? ^_^

zertox
11 Dec 2002, 14:33
ask your hosting provider

koggit
11 Dec 2002, 15:41
Alright. I just installed it and have two problems.

The biggest one is the Modify Comics thing giving me a 404, so I can't remove the one I already messed up. The second is it not showing up on the vB Index, only on /vB/comics.php (and yeah, I did do the comicsvbindex.txt instructions).

I'm going to call my provider right now about the telnet/ssh access, but I'd appreciate it alot if you could IM me on AIM, screen name Koggit45. If you have AIM, that is.


*Edit* Just got off the phone with them and I have SSH access.

zertox
11 Dec 2002, 17:02
I dont have aim, you can email me( or msn, same address) jw@zertox.com

GoTTi
11 Jan 2003, 20:42
I got problem with admin file.

The requested URL /testboard/admin/comicsadmin.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

I can't manage the comics, so I assume I wont be able to delete them threw there.

How do I get this to work.

I can add comics, just not delete.

GoTTi
12 Jan 2003, 20:24
Fix for the 404 error we get when you view the Comics Admin threw Admin CP. 2 edits in the instructions...

1. this code on line 12:

maketableheaderview("Manage Comics");

needs to be

maketableheader("Manage Comics");

then in the admin/index.php addition, the code needs to look like this:

2.


// comics by zertox - http://www.species.be/
makenavoption("Add comic","comicsadmin.php?action=AddNew","|");
makenavoption("Manage comics","comicsadmin.php?","<br>");
makenavselect("Comics Options","<hr>");
// /comics by zertox - http://www.species.be/
// *************************************************


this line:

makenavoption("Manage comics","comicsadmin.php","<br>");

needs a ? after comicsadmin.php

makenavoption("Manage comics","comicsadmin.php?","<br>");

zertox
12 Jan 2003, 22:06
upload it to the folder with your comics
chmod the dir 777
chmod this file 777

run it a few times :)

GoTTi
14 Jan 2003, 02:11
how do i make the comics.php file make a new page when the comics get to a certain amount?

zertox
14 Jan 2003, 06:36
set a LIMIT 1,10 in the sql line
then make a button that changes that line to 10 - 20
....

GoTTi
14 Jan 2003, 19:52
what do u mean?

GoTTi
20 Jan 2003, 07:34
/me is annoyed...

can some1 please post the code needed to be edited to make the comics.php page and/or the SQL query to make the comics.php GOTO a new page after a certain amount of images have been embedded into the page.

GoTTi
26 Jan 2003, 00:40
is there ANY1 HERE that can PLEASE tell me how to make PAGES in the comics.php when a certain amount of pages get inserted....


EXAMPLE........

5 pics on the page, and it gfoes to page 2.....5 pics on page 2, it goes to page 3...and so on.....

can some1 please help me out on this...