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
  #62  
Old 10-27-2005, 02:28 PM
micheal332001 micheal332001 is offline
 
Join Date: Apr 2004
Posts: 1,112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im working on the fix for the phrases getting there.
Im also working on some other scripts as well so i have alot on at the moment.
  #63  
Old 10-27-2005, 06:46 PM
Madmp3zz Madmp3zz is offline
 
Join Date: Aug 2005
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

With the new updated 1.01 it won't list the jokes...
Says I have 1 joke, but dosn't list it..

BTW, followed the install.txt and it deleted all my old jokes.. WTF..

and my server is running ALOT slower......

and I guess the quotations still haven't been fixed yet?

I think I'll have to de-activate this one until ALL the bugs are fixed....
  #64  
Old 10-27-2005, 07:14 PM
micheal332001 micheal332001 is offline
 
Join Date: Apr 2004
Posts: 1,112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Madmp3zz
With the new updated 1.01 it won't list the jokes...
Says I have 1 joke, but dosn't list it..

BTW, followed the install.txt and it deleted all my old jokes.. WTF..

and my server is running ALOT slower......

and I guess the quotations still haven't been fixed yet?

I think I'll have to de-activate this one until ALL the bugs are fixed....
How many jokes did you have in your vbjokes before you tryed the upgrade.
I have tested the script and it did not delete my jokes as all the upgrade does is add to more table to your vbjokes table for the rating of the jokes.
As to the quotes i have not fixed that yet but im getting there.
All the hacks i do are only done by me so i have alot of work on at this time.
Im working on a new league system vbcheats and helping on some other peoples hacks.
So please bear with me im getting there.
  #65  
Old 10-27-2005, 07:46 PM
Tracer Gun Kata Tracer Gun Kata is offline
 
Join Date: Aug 2005
Location: Cambridge, UK
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good Stuff :devious:

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

Quote:
Phrases Fixed

Have fixed the phrases and added a rate system for the jokes.
theres no rating system showing on mine after the upgrade m8....u upped the correct file?

(i clicked the overwrite btw)
  #67  
Old 10-27-2005, 10:16 PM
micheal332001 micheal332001 is offline
 
Join Date: Apr 2004
Posts: 1,112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh sorry you will have to update 1 template and add another.


New template to add

Product vbjokes

Style your style

Title jokes_rating_options

html code
PHP Code:
 <option value="1">1</option>
<
option value="2">2</option>
<
option value="3">3</option>
<
option value="4">4</option>
<
option value="5">5</option
Template to change jokes_view_joke

PHP Code:
 <table cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%">
<
tr class="tcat" >
 <
td width="20%" align="center">Joke Name</td>
  <
td width="10%" align="center">Submiter</td>
<
td width="10%" align="center">Hits</td>
<
td width="10%" align="center">Rating</td>
 </
tr>
 <
td width="20%" align="center">$jokes[jokename]</td>
  <
td width="10%" align="center">$jokes[username]
<
td width="10%" align="center">$jokes[hits]</td>
<
td width="10%" align="center">$jokes[voteavg]<br /><form method="post" action="vbjokes.php?do=addratingconfirm">
<
input type="hidden" name="jokerankid" value="$jokes[jokeid]">
 <
select name="rating">
$showratebits
</select><br />
<
input type="submit" name="submit" value="Rate Joke">
      </
td>
 </
tr>
 </
table>
 <
table cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%">
 <
tr class="tcat">
  <
td width="15%" align="center">Joke Image</td>
 <
td width="85%" align="center">Joke Discription</td>
 </
tr>
 <
tr class="alt1">
  <
td width="15%" align="center"><a href="?do=viewlargeimage&jokeid={$jokes[jokeid]}"><img src="$jokes[jokeimage]width="200" height="200" border="0"></a></td>
 <
td width="85%" align="center" colspan="2">$jokes[jokediscription]</td>
 </
tr>
   </
table
That should sort it
  #68  
Old 10-27-2005, 10:30 PM
yahoooh yahoooh is offline
 
Join Date: Oct 2002
Posts: 567
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there copy of this script for 3.07 ? i do not wanna update to 3.5
could u make version to 3.07
  #69  
Old 10-27-2005, 10:44 PM
tortoise tortoise is offline
 
Join Date: Oct 2005
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Having a problem importing it, all the files except product-vbjokes.xml were uploaded to the server, when i try to import here is the error i get:

Code:
Database error in vBulletin 3.5.0:
Invalid SQL:
ALTER TABLE vbjokes_jokes ADD rating float(10,2) default '0.00' NOT NULL;

any help would be appreciated. thanks
  #70  
Old 10-28-2005, 11:52 AM
micheal332001 micheal332001 is offline
 
Join Date: Apr 2004
Posts: 1,112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tortoise
Having a problem importing it, all the files except product-vbjokes.xml were uploaded to the server, when i try to import here is the error i get:

Code:
Database error in vBulletin 3.5.0:
Invalid SQL:
ALTER TABLE vbjokes_jokes ADD rating float(10,2) default '0.00' NOT NULL;

any help would be appreciated. thanks

When you do the inport od the product you need to do this
where is says

Allow Overwrite
If you wish to upgrade a product, you must set this to yes.

click yes
  #71  
Old 10-28-2005, 11:52 AM
micheal332001 micheal332001 is offline
 
Join Date: Apr 2004
Posts: 1,112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yahoooh
is there copy of this script for 3.07 ? i do not wanna update to 3.5
could u make version to 3.07
I do have a copy already for 3.0.7 but have not finished it yet.
When i have i will post it
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:58 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.04576 seconds
  • Memory Usage 2,341KB
  • 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
  • (2)bbcode_code
  • (2)bbcode_php
  • (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
  • (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