PDA

View Full Version : vB Jokes Factory v1.0


wolfe
05-08-2003, 10:00 PM
Here is my first big hack hope you all like it and if you install it please click on the install button

Zip removed because of majour bugs and version 2.0 is nearly ready.... just fixing the bugs and trying to intergrate the nav bar so if anyone can help me out let me know :D

Thanx to hellsatan for the base code

Right what it does:

This hack allows you to set up your own fun area where people can post jokes and edit them if they have a mistake and it only allows people who posted the joke to delete them. It also add a counter to the user table for every joke someone adds it increasus by 1 so you can add that to the profile or postbit saying the person has posted x jokes. But it does not seem to be updating the count so can one of you advanced hackers help me out on that please

remember this is only version 1.0 there will be plenty more updates in version 2.0 which will include:


Rate the Joke,
Store Hack intergration,
Date joke was added,
Age Rating Categories for adult and normal jokes.


NOTE: if anyone can intergrate this hack into the store hack feel free.

Screen Shots In Below Posts

wolfe
05-09-2003, 01:17 AM
joke added redirect screen

wolfe
05-09-2003, 01:18 AM
add joke screen

wolfe
05-09-2003, 01:18 AM
delete joke screen

wolfe
05-09-2003, 01:19 AM
joke edited redirect screen

wolfe
05-09-2003, 01:19 AM
edit joke screen

wolfe
05-09-2003, 01:19 AM
joke removed redirect screen

wolfe
05-09-2003, 01:20 AM
view jokes screen

Davey
05-09-2003, 08:10 AM
Nice idea, although I won't use it, for I have no use for it.
I'm sure people are looking for this.

Dave.

Dean C
05-09-2003, 03:21 PM
Excellent hack buddy :)!

I may have a use for this in my donators system i'm working on for my forums :)

- miSt

Chris M
05-09-2003, 03:33 PM
Hmmm...

Is it me, or does this code look almost exactly like my vBaffiliates4 hack?:eek:

Satan

Link14716
05-09-2003, 07:11 PM
wolfe, GZIP Level 9 isn't worth it, from what I heard, the best setting is 1 ;)

Looks good. ;)

*Downloads in case it is removed*

I might install it.... might. ;)

wolfe
05-10-2003, 10:24 AM
look i originally built it from the ground and it did not work properly as you can see in this file

so i needed a base block to build off can i please keep the hack on because i did all the querys myself. and built the templates.

mx3
05-10-2003, 09:13 PM
great idea for the hack!

Chris M
05-10-2003, 10:08 PM
Ok - You can keep, just make sure you ask in future;):)

Satan

MindTrix
05-10-2003, 11:04 PM
Das nice of ya hellsatan. Most other people would throw a fit etc over it, such a nice guy :) Nice hack aswell yo ima use it

Raven
05-11-2003, 11:13 AM
There are a Parse Error in line 35 of jokesquery.php

unexpected T_STRING
:knockedout:

wolfe
05-11-2003, 12:06 PM
Today at 12:08 AM hellsatan said this in Post #16 (https://vborg.vbsupport.ru/showthread.php?postid=393406#post393406)
Ok - You can keep, just make sure you ask in future;):)

Satan

thanx d00d you da man :D i will try and upgrade it to 2.0 with my own code but if i need little bits of that i will ask.


Today at 01:13 PM Raven said this in Post #18 (https://vborg.vbsupport.ru/showthread.php?postid=393652#post393652)
There are a Parse Error in line 35 of jokesquery.php

unexpected T_STRING
:knockedout:


will look at the problem.

wolfe
05-11-2003, 12:17 PM
fixed the problem with the jokesquery.php

redownload the zip file

MindTrix
05-11-2003, 12:38 PM
I re downloaded the zip file and im still gettin

Parse error: parse error in jokesquery.php on line 35

wolfe
05-11-2003, 12:40 PM
d00d try this one

MindTrix
05-11-2003, 12:49 PM
yeah worked, thanxs and nice one, now on with teh rest of the installation

wolfe
05-11-2003, 12:50 PM
ok np's also 1.5 will be out very soon you will need to run some more querys and replace the jokefactory.php file this one will have Rating on it.

MindTrix
05-11-2003, 12:55 PM
sweet should beh nice

Raven
05-12-2003, 12:52 PM
it seems to me like there are still some errors some have to go away

when you have instell the the script and call
jokefactory.php

you get this error

Invalid SQL: SELECT * FROM jokes ORDER BY joke_id LIMIT
mysql error: You have an error in your SQL syntax near '' at line 1

mysql error number: 1064

yxboom
05-12-2003, 03:03 PM
Raven: It needs a number after the LIMIT.

Wolfe: I managed to get this hack working however when a joke is submitted it just arbiturarily just cuts the joke off about half way into it so the jokes look really dumb.

wolfe
05-12-2003, 10:59 PM
d00d's sorry about all these errors v1.5 is nearly done and i am fixing bugs and a new layout for the jokes has been made and i am adding extras like page nav if i can figure it out and Rating. but when vertion 2.0 comes out it will have all these plus categories and extras i wil linfom you all when its fully bug free and working...

Holidazed
05-12-2003, 11:51 PM
Just a question. Why should somebody install this hack? I have my jokes running in its own forum. What does this give me that the vBulletin forum does not?

wolfe
05-12-2003, 11:54 PM
well d00d no one is forcing you to install this hack its just an option addition to vB's great forums but if you do add it then you jokes will have there own area and it will have rating the lot...

note this version still contains bugs which i am currently fixing so if you don't want to install it then don't but if you do then feel free...

Holidazed
05-13-2003, 12:42 AM
I did not mean it as an insult. I just want to make sure that this hack has something in it that I would not get from using a forum. I do not see a point in installing something unless I can get hat feature nowhere else.

Can users post jokes using this hack? Or is it admins only?

wolfe
05-13-2003, 12:41 PM
yes d00d users can post jokes and they can edit and delete there own if they want but admins can edit/delete all of them but it version 1.5 and 2.0 i will have lots of extras :D...

squawell
05-14-2003, 11:03 AM
does this add search function?prevent user post same joke....

thankz~

wolfe
05-14-2003, 01:19 PM
i am working on it d00d added a few more features to v1.5 for the moment they are


Admin CP intergration where you will be able to choose how many jokes to display, jokes in one page, if jokes are allowed to be posted, and what user groups can post jokes.

Rate The jokes, built from the threadrate.php file so its professionaly coded, so it checks the ip of the user to the one in the database and if you have already voted it just updates your vote,

Date Joke Was Added,

View Single Joke,

Total Views Of Single Joke,

Shows Avarage Rating Of The Joke, this shows the over all rating,


also i have fixed most of the bugs just finishing off the last few..

but if any coders can help me with 2 things i am stuck on

#1 Page Nav
#2 Hiding of the Rating Drop down box after a user has voted

if any onecan help please let me know

flup
05-14-2003, 02:43 PM
Naiiiis

yxboom
05-15-2003, 01:22 PM
I know you said Admins can edit or delete jokes but someone on the board posted an inappropriate joke and there is no option to remove it.

Hard_one
05-15-2003, 01:54 PM
i got this error when i run jokesquery.php

Datenbank Fehler in vBulletin Control Panel 2.3.0g:

Invalid SQL: ALTER TABLE user ADD jokes smallint(6) NOT NULL default '0'
mysql error: Duplicate column name 'jokes'

mysql error number: 1060

Datum: Thursday 15th of May 2003 08:04:36 AM

gmarik
05-17-2003, 07:03 AM
Waiting for v2 ...

wolfe
05-17-2003, 01:27 PM
Just giving you all an update

v2.0 is currently about 89% done.

current feature @ 89%:

Admin CP Intergration


you will be able to

Add Categories for the jokes,

Add cat title and decription,

pick display order

pick parent category

pick if they are open (visible or not),

pick if people can post jokes in there,

add a age rating to the cat

plus i have added some settig to the options,

i have added,

Jokes Factory Active?, will show custom error if not,

Jokes To List Perpage, you can pick how many jokes to show before spliting over multiple pages,

Joke Factory Not Active Reason?, this is the customable message you can put what you want in here,

User Group Banning, don't allow certain groups to see jokes factory E.G. banned/guest/user awaiting email confermation/(COPPA) user etc,

Pages to show in joke nav, this can be set to only show 5 pages in the navbar or what ever you want so if its 5 and you are on page six it will be something like this... [2] [3] [4] [5] [6]

Plus more to add....


Jokes Factory Main


you can add jokes, edit jokes, delete jokes and view single joke,

you can rate jokes,

there is a a censorship on the jokes if you want it in a category rated under 16 or 18 or 21 up to you,

nav bar for multiple pages (currently stuck on this),

also i am still working on stoping double jokes adding untill a certern amount of time (user pickable),

more to come...


While Adding Jokes


you can pick which category to add it to,

you can add title and text,

you can add its own rating for the individual joke,

more to come....


While Editing Jokes


you can change title and text,

you can change joke age rating,

you can change joke category,


While Deleting Jokes


you can see the jokes info with means age rating, jokeid, title, text, category, add date, and added by,


so for now thats all i done theres more to be done before it release it and it will do new screens

also i would suggest a new install instead of upgrading

i will update you all soon...

Alien
05-17-2003, 08:05 PM
Sounds awesome, can't wait! :D

gmarik
05-17-2003, 08:41 PM
Me to - GIVE it, GIVe iT!

Holidazed
05-17-2003, 11:20 PM
What about users commenting on jokes?

wolfe
05-17-2003, 11:21 PM
well i will try to add that sorry forgot about it hehe

wolfe
05-20-2003, 02:27 AM
right just a little update i am currently 95% done on v2.0 and the lattest additions are as follows

I have successfully added a pagenav which you will be able to change the way it displays stuff by setting the options in the Admin CP like how many jokes per page and how many pages in joke nav.

also i have sussfully got my categories working correctly so alls right and i have added a on off if statement so if there is a new joke it will light up and if theres not it will not.

I have also added a last joke info bit which will display the last joke additions time/date/username/go to last joke button.

i have also redone the install script it will install all tables and it will add all templates so i would suggest you use it to remove all old templates and replace with the new ones. and do a fresh install so things run smoothly. I have been making this one a test board with default php files and no changes to colour/templates etc so its like a fresh install.

you can also view single jokes which is where i will intergrate the " comment a joke " feature suggested by bitg.

it will also have at the bottom of every category

There are currently XX Jokes in this category and it will show on the main with the total of all categories.

plus much more which i will show by screenshots when its fully bug free and working.

wolfe
05-24-2003, 01:56 AM
heres a sneak peek at v2.0 jokes list :D



please note that i have nearly finished :D so it will be with us very soon

gmarik
05-24-2003, 07:57 AM
Give us the zip!!!

wolfe
05-24-2003, 11:14 AM
not fully done yet d00d just finished the new install script which will let you uninstall/install new/upgrade and it will add all tables and settings and it will add all templates for you aswell

but i would suggest when i release it a uninstall then a full nmew install to fix all bugs :D

Intex
05-27-2003, 11:15 AM
Can't wait for the new version Wolfe - sounds excellent :).

wolfe
06-04-2003, 12:53 AM
Well heres my latest Update

theres plenty more advancements to list and to add

04/06/2003 Updates:

Admin Updates:

Now i have sorted the jokeadmin.php file out with lots of advancements


I have made it so you can change the display order of the categories like you can with the forumlist.

I have made it so the title links to the category on the forums.

I have made it so you can view all jokes in the selected category.

I have made it so you can edit, add and remove jokes from the admin cp.

I have made it so you can choose to allowrating in the categories and if you don't allow them they will not show.


plenty more to come...

Joke Factory Updates:


I have made it so you can sort the jokes like you can in the threadlist for example: you can now sort them by joke id, title, username, replies, views and lastjoke.

I have sorted the pagenav out so you can change pages after the total amount of jokes perpage has been met.

I have also added the pagenav to the replies which is on the same principles as the jokes list.


plenty more to come...

there will be more updates to this when i get more done but the thing i am woundering is can i start a new thread for version 2.0 full release.

yxboom
06-04-2003, 01:30 AM
So is it ready for download??? :confused:

wolfe
06-04-2003, 02:02 AM
here a little sneek of the admin CP modify categories


not yet d00d i am very sorry for the long delay i have been very busy working l8ly and i am trying to make it bugless on first release :D

gmarik
06-04-2003, 06:44 AM
wolfe, give it to us!
We'll test it for you!

Alien
06-04-2003, 05:31 PM
Can't wait, thanks for continuing work on the script!

-Jason

wolfe
06-04-2003, 08:29 PM
np's guys i will be releasing the hack very soon i am just fixing the template designs and adding the extra stuff to the install script

kaotic
06-13-2003, 01:03 PM
Do you know how cool this would be if it was a Cheat Code Factory? I'm going to attempt to change it on my own once you release it. :D

wolfe
06-13-2003, 01:04 PM
d00d i am already currently working on a cheat warehouse hack :D hopefully me and hellsatan will me co making it :D

kaotic
06-13-2003, 01:05 PM
Ohh! Sweet. I look forward to it!

gmarik
06-13-2003, 08:39 PM
vb3 is out, but this hack is still in process ...

/me crys

xug
06-24-2003, 07:48 PM
Any update?

wolfe
06-24-2003, 08:29 PM
sorry d00d i have stop the making of this hack for vB 2 i will be releasing it on vB 3 when i am allowed and when its finished Sorry :(

Osmosis
10-09-2003, 01:01 AM
Then delete this thread or release the VB2 version please, bugs and all. I'm sure someone will complete it for you!

Dont take that as any sort of criticism please, this sounds like an excellent hack! Its just sort of lame to post and post about a hack and then say 'nope not releasing it now, wait for the VB3 version!'

orca
10-23-2003, 05:12 PM
Would be happy to have it for vb 2.3.2...even with bugs :D

gmarik
10-29-2003, 06:43 PM
Doen't think it will ever be
realeased for v2. Never ever.

wolfe
01-03-2004, 12:30 AM
Doen't think it will ever be
realeased for v2. Never ever.
This hack will be updated in good time for know i am doing the vB Add Forum hack when thats done i will try to do this hack but i am skipping straight to v3.0 for the vB3.0.0 of vBulletin. please be patient thank you.. ;)

gmarik
01-03-2004, 11:57 AM
Any more info, screenshots?
I would be glad to help you designing the layouts ... contact me PM

Holidazed
05-06-2004, 05:10 PM
Any idea when 2.0 is coming out?

Holidazed
05-17-2004, 02:14 PM
I gues v2 is not coming out at all. Thanks for the quick reply tho (NOT!!)