Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Closed Thread
 
Thread Tools
Vbjokes Details »»
Vbjokes
Version: 1.02, by micheal332001 micheal332001 is offline
Developer Last Online: Oct 2015 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 10-11-2005 Last Update: Never Installs: 49
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

Downloads for this modification have been removed according to Official Policy: When Security Vulnerabilities in Hacks are Found

VBjokes what is it.

Well vbjokes is a jokes database system for holding all your jokes in one place.

with vbjokes the user can search for a joke or just look around in the categorys.

All members of the site will be able to add a joke to the database but the admin will have to approve the joke before anyone on your site can see it.

The user has the option to view the jokes in a popup and by clicking the image if the joke has one to see the larger picture.

The users can now rate a joke out of 5 this now uses images to show the rating.

The admin can do

The admin can add new categorys edit or delete them.

View edit delete jokes.

Approve new jokes.

Turn vbjokes on or off.


Phrases Fixed

Have fixed the phrases and added a rate system for the jokes.

Fixed the upgrade xml file as you can see there is a product-vbjokes-upgrade.xml file
This is to upgrade all versions of vbjokes to 1.0.3
When you view this in the manage products it will say version 1.0.2
but if you click edit it will show that 1.0.3 has been installed.

Also fixed when viewing whos online it will say viewing vbjokes with a link to the jokes.

some template changes too where it only showed the newest jokes it now shows newest top hit and top rated jokes at the bottom of every page.

Install notes

Installation
1. Upload files as-is to board but not the product-vbjokes.xml file.

2. Log into admincp, Goto Plugin System then manage pruducts click [Add/Import Product]
then inport the product-vbjokes.xml file.

3. navigate back into admincp, (might need a refresh to get nav options)

4. click vbjokes, then vbjokes settings, activate vbjokes

5. Edit navbar in navigation / breadcrumb templates
************************************************** ************
Find
************************************************** ************
<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
************************************************** ************
Add under
************************************************** ************
<td class="vbmenu_control"><a href="vbjokes.php">VBjokes</a></td>
************************************************** ************

6. login to admincp
goto Plugin System
Manage Products
[Add/Import Product]
EITHER upload the XML file from your computer product-vbjokes-upgrade.xml
Allow Overwrite yes
click inport

7. All done enjoy your vbjokes hack.

Please donate to my work Click Here

Show Your Support

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

Comments
  #2  
Old 10-12-2005, 08:26 PM
DS MrSinister DS MrSinister is offline
 
Join Date: Dec 2002
Location: the burgh
Posts: 553
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just install verynice. Great job m8!..

Keeping them coming.!



:banana:
  #3  
Old 10-12-2005, 08:31 PM
micheal332001 micheal332001 is offline
 
Join Date: Apr 2004
Posts: 1,112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

your welcome m8
  #4  
Old 10-12-2005, 08:43 PM
Gizmo5h1t3's Avatar
Gizmo5h1t3 Gizmo5h1t3 is offline
 
Join Date: Aug 2005
Location: ROCHDALE LANCS UK
Posts: 650
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

getting an error when i try to activate the vb jokes in the admin cp.


"could not find phrase vbjokes_cp_redirect"

any ideas??

installed as instructed
the vbjokes show up when u click in the navbar tho???

also, it says the phrase is missing when u add a category??????

yet the category gets added??

WEIRD!!


EDIT..*YAWN*

MYSQL DB ERROR when adding a joke.....


Quote:
This hack is very simple to use but i have not added the phrases as i dont know how to do that.

So if someone is willing to update the product_vbjokes.xml file please do as this will help me.

Im a bit new to the use of xml files for installing this is why i have done the easy part.

that might explain why it aint working...
  #5  
Old 10-12-2005, 08:49 PM
micheal332001 micheal332001 is offline
 
Join Date: Apr 2004
Posts: 1,112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gizmo5h1t3
getting an error when i try to activate the vb jokes in the admin cp.


"could not find phrase vbjokes_cp_redirect"

any ideas??

installed as instructed
the vbjokes show up when u click in the navbar tho???

also, it says the phrase is missing when u add a category??????

yet the category gets added??

WEIRD!!
I put upto the phrases are not working but the vbjokes will work just fine with out the phrases. So your install is all working and install just how the install file should install the vbjokes.
So there is nothing to worry about
  #6  
Old 10-12-2005, 08:51 PM
Gizmo5h1t3's Avatar
Gizmo5h1t3 Gizmo5h1t3 is offline
 
Join Date: Aug 2005
Location: ROCHDALE LANCS UK
Posts: 650
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

there is mate, i cant add jokes
i get a database error??
  #7  
Old 10-12-2005, 08:54 PM
micheal332001 micheal332001 is offline
 
Join Date: Apr 2004
Posts: 1,112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cab you post the database error and i will tell you why.
  #8  
Old 10-12-2005, 08:59 PM
micheal332001 micheal332001 is offline
 
Join Date: Apr 2004
Posts: 1,112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gizmo5h1t3
getting an error when i try to activate the vb jokes in the admin cp.


"could not find phrase vbjokes_cp_redirect"

any ideas??

installed as instructed
the vbjokes show up when u click in the navbar tho???

also, it says the phrase is missing when u add a category??????

yet the category gets added??

WEIRD!!


EDIT..*YAWN*

MYSQL DB ERROR when adding a joke.....





that might explain why it aint working...
This is not why its not working when adding a joke to the database you have to put words in like so.

there's needs to be changed to there''s

This might be why you are getting a error
you have to put 2 of ( ' ) in
  #9  
Old 10-12-2005, 09:04 PM
Next-Selection Next-Selection is offline
 
Join Date: Oct 2005
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow this one looks awesome !!!
  #10  
Old 10-12-2005, 09:04 PM
Gizmo5h1t3's Avatar
Gizmo5h1t3 Gizmo5h1t3 is offline
 
Join Date: Aug 2005
Location: ROCHDALE LANCS UK
Posts: 650
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Database error in vBulletin 3.5.0:

Invalid SQL:
INSERT INTO vbjokes_jokes ( `jokename` , `jokediscription` , `jokeimage` , `jokecatid` , `username` , `aprove` ) VALUES ('TO GOD FROM THE DOG.......','TO: GOD
FROM: THE DOG

Dear God: Why do humans smell the flowers, but seldom, if ever, smell one another?

Dear God: When we get to heaven, can we sit on your couch? Or is it still the same old story?

Dear God: Why are there cars named after the jaguar, the cougar, the mustang, the colt, the stingray, and the rabbit, but not ONE named for a dog? How often do you see a cougar riding around? We do love a nice ride! Would it be so hard to rename the "Chrysler Eagle" the "Chrysler Beagle"?

Dear God: If a dog barks his head off in the forest and no human hears him, is he still a bad dog?

Dear God: We dogs can understand human verbal instructions, hand signals, whistles, horns, clickers, beepers, scent IDs, electromagnetic energy fields, and Frisbee flight paths. What do humans understand?

Dear God: More meatballs and less spaghetti, please.

Dear God: Are there mailmen in Heaven? If there are, will I have to apologize?

Dear God: Let me give you a list of just some of the things I must remember to be a good dog.

1. I will not eat the cats food before they eat it or after they throw it up.

2. I will not roll on dead seagulls, fish, crabs, etc., just because I like the way they smell.

3. I will not munch on "leftovers" in the kitty litter box, although they are tasty.

4. The diaper pail is not a cookie jar.

5. The sofa is not a face towel. Neither are Mom and Dad's laps.

6. The garbage collector is not stealing our stuff.

7. My head does not belong in the refrigerator.

8. I will not bite the officer's hand when he reaches in for Mom's driver's license and registration.

9. I will not play tug-of-war with Dads underwear when hes on the toilet.

10. Sticking my nose into someones crotch is an unacceptable way of saying hello.

11. I dont need to suddenly stand straight up when Im under the coffee table.

12. I must shake the rainwater out of my fur before entering the house -- not after.

13. I will not throw up in the car.

14. I will not come in from outside and immediately drag my butt.

15. I will not sit in the middle of the living room and lick my crotch when we have company.

16. The cat is not a squeaky toy -- so when I play with him and he makes that noise, its usually not a good thing.

And, finally, My last two questions... Dear God: Why do humans only have 10 Commandments and dogs have 16?



P.S. Dear God: When I get to Heaven, may I have my testicles back?','','3','Gizmo','0');

MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 's laps.

6. The garbage collector is not stealing our stuff.
Error Number : 1064
Date : Wednesday, October 12th 2005 @ 11:02:37 PM
Script : http://www.*******.org/board/vbjokes...ddajokeconfirm
Referrer : http://www.*******.org/board/vbjokes.php?do=addjoke
IP Address : **.**.**.***
Username : Gizmo
Classname : vb_database
SO U GET THE IDEA, the DB error has the joke in it as well...lmao
Closed Thread

Thread Tools

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 07:07 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.04329 seconds
  • Memory Usage 2,301KB
  • Queries Executed 23 (?)
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
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_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