Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

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
  #82  
Old 10-30-2005, 10:32 PM
Madmp3zz Madmp3zz is offline
 
Join Date: Aug 2005
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by micheal332001
Hi there m8

Im working on that now and hope to have a fix soon

BTW...
Have you thought about a STAR rating system that is listed between the joke ID and the joke name when listing the jokes..
And also have the rating system not allow the user to vote more than once on the same joke.

Doing a great job bro !!
  #83  
Old 10-30-2005, 11:28 PM
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Location: Edinburgh,Scotland
Posts: 919
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by micheal332001
Only click the yes box if its a upgrade if its a new install you dont click it
DB error when set to no

HTML Code:
Invalid SQL:
ALTER TABLE vbjokes_jokes ADD rating float(10,2) default '0.00' NOT NULL;

MySQL Error  : Table 'mydbr_vb.vbjokes_jokes' doesn't exist
Error Number : 1146



clicked yes and it installed , well never coz getting Invalid SQL:
HTML Code:
SELECT * FROM vbjokes_settins;

MySQL Error  : Table 'mydb_vb.vbjokes_settins' doesn't exist
Error Number : 1146
db error on /vbjokes.php
  #84  
Old 10-31-2005, 03:27 AM
tortoise tortoise is offline
 
Join Date: Oct 2005
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hIBEES
DB error when set to no

HTML Code:
Invalid SQL:
ALTER TABLE vbjokes_jokes ADD rating float(10,2) default '0.00' NOT NULL;

MySQL Error  : Table 'mydbr_vb.vbjokes_jokes' doesn't exist
Error Number : 1146



clicked yes and it installed , well never coz getting Invalid SQL:
HTML Code:
SELECT * FROM vbjokes_settins;

MySQL Error  : Table 'mydb_vb.vbjokes_settins' doesn't exist
Error Number : 1146
db error on /vbjokes.php

thats the same problem i had...exactly and i havent found out what was wrong yet
  #85  
Old 10-31-2005, 06:58 AM
micheal332001 micheal332001 is offline
 
Join Date: Apr 2004
Posts: 1,112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tortoise
thats the same problem i had...exactly and i havent found out what was wrong yet
I have updated the products-vbjokes.xml file as there was a error in there.
This can only be installed as a new install.
So if you want to upgrade to this version you will need to remove the old version and reinstall vbjokes.
This means if you have jokes already there you will lose them sorry for this but im working on a fix to this and some other things too.
  #86  
Old 10-31-2005, 07:51 AM
micheal332001 micheal332001 is offline
 
Join Date: Apr 2004
Posts: 1,112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Madmp3zz
BTW...
Have you thought about a STAR rating system that is listed between the joke ID and the joke name when listing the jokes..
And also have the rating system not allow the user to vote more than once on the same joke.

Doing a great job bro !!
Fixed the quote's that was being put in when adding a joke.
Also added a stars raking insted of just the numbers.

This will have to be installed as a new install not a upgrade.
  #87  
Old 10-31-2005, 10:42 AM
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Location: Edinburgh,Scotland
Posts: 919
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by micheal332001
I have updated the products-vbjokes.xml file as there was a error in there.
This can only be installed as a new install.
So if you want to upgrade to this version you will need to remove the old version and reinstall vbjokes.
This means if you have jokes already there you will lose them sorry for this but im working on a fix to this and some other things too.
thank you,working now

[high]* Bounce clicks install :nervous:
[/high]

tortoise uninstall the version you had and install the new one,it then adds the tables
  #88  
Old 10-31-2005, 10:51 AM
micheal332001 micheal332001 is offline
 
Join Date: Apr 2004
Posts: 1,112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hIBEES
thank you,working now

[high]* hIBEES clicks install :nervous:
[/high]

tortoise uninstall the version you had and install the new one,it then adds the tables
Glad its all working for you now :banana:
  #89  
Old 10-31-2005, 01:32 PM
Madmp3zz Madmp3zz is offline
 
Join Date: Aug 2005
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So the new install removes the quotation marks all together now?

I had added the rating system from earlier.

Do I need to remove any templates or the rating system I added earlier.
The ratings is still coming up as the number system and I can still vote more than once.
  #90  
Old 10-31-2005, 03:53 PM
micheal332001 micheal332001 is offline
 
Join Date: Apr 2004
Posts: 1,112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Madmp3zz
So the new install removes the quotation marks all together now?

I had added the rating system from earlier.

Do I need to remove any templates or the rating system I added earlier.
The ratings is still coming up as the number system and I can still vote more than once.
Sorry m8 you will have to uninstall the vbjokes all together and reinstall.
Then you will have all the updates in this version.
You will not need to put any templates in as the install file for this new version will do it all for you.
  #91  
Old 10-31-2005, 06:05 PM
DS MrSinister DS MrSinister is offline
 
Join Date: Dec 2002
Location: the burgh
Posts: 553
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can I add Top Viewed Jokes and Top Rated Jokes to the main template?
Closed Thread


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 04:05 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.05152 seconds
  • Memory Usage 2,317KB
  • Queries Executed 25 (?)
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_html
  • (8)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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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_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