Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
comics hack v1.0 Details »»
comics hack v1.0
Version: 1.00, by zertox zertox is offline
Developer Last Online: Nov 2004 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 11-18-2002 Last Update: Never Installs: 14
 
No support by the author.

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
vbindex example

update
- I changed the comicsbit a little
- fixed the vbindex error
FIX FOR THE 404 ERROR

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 12-11-2002, 05:22 AM
zertox zertox is offline
 
Join Date: Oct 2002
Location: Belgium
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #23  
Old 12-11-2002, 01:27 PM
koggit koggit is offline
 
Join Date: Dec 2002
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks. I understand now.

How do I find out if I have telnet/ssh access? ^_^
Reply With Quote
  #24  
Old 12-11-2002, 01:33 PM
zertox zertox is offline
 
Join Date: Oct 2002
Location: Belgium
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ask your hosting provider
Reply With Quote
  #25  
Old 12-11-2002, 02:41 PM
koggit koggit is offline
 
Join Date: Dec 2002
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #26  
Old 12-11-2002, 04:02 PM
zertox zertox is offline
 
Join Date: Oct 2002
Location: Belgium
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I dont have aim, you can email me( or msn, same address) jw@zertox.com
Reply With Quote
  #27  
Old 01-11-2003, 07:42 PM
GoTTi GoTTi is offline
 
Join Date: Jun 2002
Posts: 1,346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #28  
Old 01-12-2003, 07:24 PM
GoTTi GoTTi is offline
 
Join Date: Jun 2002
Posts: 1,346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:

PHP Code:
  maketableheaderview("Manage Comics"); 
needs to be

PHP Code:
  maketableheader("Manage Comics"); 
then in the admin/index.php addition, the code needs to look like this:

2.

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

PHP Code:
makenavoption("Manage comics","comicsadmin.php","<br>"); 
needs a ? after comicsadmin.php

PHP Code:
makenavoption("Manage comics","comicsadmin.php?","<br>"); 
Reply With Quote
  #29  
Old 01-12-2003, 09:06 PM
zertox zertox is offline
 
Join Date: Oct 2002
Location: Belgium
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

upload it to the folder with your comics
chmod the dir 777
chmod this file 777

run it a few times
Reply With Quote
  #30  
Old 01-14-2003, 01:11 AM
GoTTi GoTTi is offline
 
Join Date: Jun 2002
Posts: 1,346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how do i make the comics.php file make a new page when the comics get to a certain amount?
Reply With Quote
  #31  
Old 01-14-2003, 05:36 AM
zertox zertox is offline
 
Join Date: Oct 2002
Location: Belgium
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

set a LIMIT 1,10 in the sql line
then make a button that changes that line to 10 - 20
....
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:27 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04622 seconds
  • Memory Usage 2,309KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete