vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Vbjokes (https://vborg.vbsupport.ru/showthread.php?t=98248)

micheal332001 10-11-2005 10:00 PM

Vbjokes
 
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


DS MrSinister 10-12-2005 08:26 PM

Just install verynice. Great job m8!..

Keeping them coming.!

:)

:banana:

micheal332001 10-12-2005 08:31 PM

your welcome m8

Gizmo5h1t3 10-12-2005 08:43 PM

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...:(

micheal332001 10-12-2005 08:49 PM

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

Gizmo5h1t3 10-12-2005 08:51 PM

there is mate, i cant add jokes
i get a database error??

micheal332001 10-12-2005 08:54 PM

cab you post the database error and i will tell you why.

micheal332001 10-12-2005 08:59 PM

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

Next-Selection 10-12-2005 09:04 PM

Wow this one looks awesome !!!

Gizmo5h1t3 10-12-2005 09:04 PM

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


All times are GMT. The time now is 01:03 AM.

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.01271 seconds
  • Memory Usage 1,760KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete