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-14-2005 11:05 AM

Yes you will need to put the <br> in to put text on a new line.

The problem with the quotes should all be fixed now in the new files.

Gizmo5h1t3 10-14-2005 11:47 AM

updated the product with the fdixed file, and its working great...
now all we need to do is get it to seperate the lines instead of putting a break into it, and itll be the dogs wobblies...

nice one

/me clicks install

MissKalunji 10-14-2005 12:15 PM

Quote:

Originally Posted by micheal332001
Yes you will need to put the <br> in to put text on a new line.

The problem with the quotes should all be fixed now in the new files.


thanks cant wait til it seperates the line by itself caz not everyone knows about <br>

micheal332001 10-15-2005 09:23 AM

I will see if i can sort it out to put the <br> in automaticly.

MissKalunji 10-15-2005 09:59 AM

Quote:

Originally Posted by micheal332001
I will see if i can sort it out to put the <br> in automaticly.


That would be great!

micheal332001 10-15-2005 10:35 AM

I might have it sorted im just testing it out now and hope to have a new set of files to upload there will be no need to upgread just reupload the files

micheal332001 10-15-2005 10:36 AM

i will let you know when the new files are uploaded

micheal332001 10-15-2005 10:45 AM

Files all updated

This is not a upgrade you can just reupload the files and all will be fine.

micheal332001 10-15-2005 12:36 PM

Hi all

Another update for you all

I have the html check so you cannot add html into a joke now.
You can use bbcode smiles if you wish to do so.

This is not a upgrade install all you have to do it reupload the files and all will be fine.

Gizmo5h1t3 10-15-2005 12:37 PM

top post whoring there m8...lmao

micheal332001 10-15-2005 12:50 PM

hehehe

Yep all sorted no html and it will put the <br> in auto so no need to worry now.
You can also use the bbcode smilles in this too.

This has been updated with the help from eXtremeTim as he knows alot more than me lol

micheal332001 10-15-2005 05:29 PM

There will be a new version coming out soon.
This new version will let you upload a image and place the image where you want.
You will also be able to rate each joke and i might put in a coment in so you can leave a coment to a joke.

Also the layout of all the jokes and the categorys will also be better.
Me and extremtim will be working on this to make it alot better.

MissKalunji 10-16-2005 12:39 AM

Quote:

Originally Posted by micheal332001
There will be a new version coming out soon.
This new version will let you upload a image and place the image where you want.
You will also be able to rate each joke and i might put in a coment in so you can leave a coment to a joke.

Also the layout of all the jokes and the categorys will also be better.
Me and extremtim will be working on this to make it alot better.

hurray!!!!

Gizmo5h1t3 10-16-2005 07:14 AM

small bug noticed...

wqhile it now inserts the breaks in lines, when its putting quote mmarks in, this happens..
Quote:

TEXAN: &quot;OK - where are you from, jackass?&quot;

micheal332001 10-16-2005 04:04 PM

Quote:

Originally Posted by Gizmo5h1t3
small bug noticed...

wqhile it now inserts the breaks in lines, when its putting quote mmarks in, this happens..

Ill have alook into that m8

Madmp3zz 10-26-2005 01:06 AM

Quote:

Originally Posted by Gizmo5h1t3
small bug noticed...

while it now inserts the breaks in lines, when its putting quote marks in, this happens..

Any update tothis one yet?

Has anybody fixed this error ass of yet?
I love the hack idea. Couple issues tho...

1. Just can't enable it until you figure out the above error.

2. Would also like to disable the approve needed for each joke. This could take up a lot of time.

3. Would like to get rid of the "no Image" area. Don't really see a need.

4. Any idea when we can get the phase error fixed?

micheal332001 10-26-2005 02:46 PM

Quote:

Originally Posted by Madmp3zz
Any update tothis one yet?

Has anybody fixed this error ass of yet?
I love the hack idea. Couple issues tho...

1. Just can't enable it until you figure out the above error.

2. Would also like to disable the approve needed for each joke. This could take up a lot of time.

3. Would like to get rid of the "no Image" area. Don't really see a need.

4. Any idea when we can get the phase error fixed?

Originally Posted by Gizmo5h1t3
small bug noticed...

while it now inserts the breaks in lines, when its putting quote marks in, this happens..


The reason its putting in the quotes if you look its where if someone is saying some thing that why the quote is there.

to change the approve to approved look for this
PHP Code:

 $approve 0;
  require_once(
DIR '/includes/class_bbcode.php');
 
$bbcode_parser =& new vB_BbCodeParser($vbulletinfetch_tag_list()); 

and change
PHP Code:

 $approve 0

to
PHP Code:

$approve 1

this will disable the approving of the jokes.

The images is if you find a funny picture you can put the image in but if there is no image it has to show some thing or you get a red cross in a bux coz there is no image.
I could redo the joke one so there is no images for it and release it with this one.
As for the phrases im working on the fix for that now and iv also added a rank system for the jokes but have not released that yet.

Madmp3zz 10-26-2005 11:07 PM

I'm sorry I didn't copy the whole error,
When I enter quotes I get this now &quot;
at the open quote and close quote...

Quote:
TEXAN: &quot;OK - where are you from, jackass?&quot;


I looked at your site and it looks like it does the same exact thing.

micheal332001 10-27-2005 04:39 AM

Quote:

Originally Posted by Madmp3zz
I'm sorry I didn't copy the whole error,
When I enter quotes I get this now &quot;
at the open quote and close quote...

Quote:
TEXAN: &quot;OK - where are you from, jackass?&quot;


I looked at your site and it looks like it does the same exact thing.

I will look into it for the next release and fix this.
Thanks for letting me know

GrendelKhan{TSU 10-27-2005 06:55 AM

still keeping fingers crossed for phrases (have multi-language forum).

:)

<< finger poised to install. ;) :p

micheal332001 10-27-2005 01:28 PM

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.

Madmp3zz 10-27-2005 05:46 PM

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

micheal332001 10-27-2005 06:14 PM

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.

Tracer Gun Kata 10-27-2005 06:46 PM

Good Stuff :devious:

*installed*

Gizmo5h1t3 10-27-2005 07:22 PM

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)

micheal332001 10-27-2005 09:16 PM

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

yahoooh 10-27-2005 09:30 PM

is there copy of this script for 3.07 ? i do not wanna update to 3.5
could u make version to 3.07

tortoise 10-27-2005 09:44 PM

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

micheal332001 10-28-2005 10:52 AM

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

micheal332001 10-28-2005 10:52 AM

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

tortoise 10-28-2005 09:03 PM

Quote:

Originally Posted by micheal332001
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

the first time i tried it i got the same error, than i did it again (without removing the first) and it worked, but when i tried to navigate to the "vb jokes settings" it gave me this error:
Code:

Database error in vBulletin 3.5.0:

Invalid SQL:
SELECT * FROM vbjokes_settins;


soniceffect 10-28-2005 09:19 PM

that not supposed to be vbjokes_settings? .... Only guessing by the way so don`t quote me LOL

micheal332001 10-28-2005 11:03 PM

Quote:

Originally Posted by tortoise
the first time i tried it i got the same error, than i did it again (without removing the first) and it worked, but when i tried to navigate to the "vb jokes settings" it gave me this error:
Code:

Database error in vBulletin 3.5.0:
 
Invalid SQL:
SELECT * FROM vbjokes_settins;


Only click the yes box if its a upgrade if its a new install you dont click it

mfizzel 10-29-2005 02:15 AM

This is awesome. Thanks.

yahoooh 10-29-2005 04:09 AM

Quote:

Originally Posted by micheal332001
I do have a copy already for 3.0.7 but have not finished it yet.
When i have i will post it

thanx , i will wait for vbjoke for 3.0.7

micheal332001 10-29-2005 06:52 PM

Quote:

Originally Posted by yahoooh
thanx , i will wait for vbjoke for 3.0.7

I hope to have this ready for 3.0.7 in the next day or 2

Madmp3zz 10-29-2005 09:42 PM

Quote:

Originally Posted by micheal332001
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.


I had over 500.. I did everything as discribed in the install and it seems to have erased them all... :(
The worst part of it all is I added most of them myself. Lot of work shot to crap.. O well, I'll survive.

Just have to wait on the quotation fix and the on/off image area.

Why is it that my jokes are being seperated by a bar instead if a line?

Also when the approval is changed to 1 instead of 0, why is it that when u add a joke the user still gets this message? "Your joke has beed added to the database and is waiting to be approved! "

micheal332001 10-29-2005 10:31 PM

Quote:

Originally Posted by Madmp3zz
I had over 500.. I did everything as discribed in the install and it seems to have erased them all... :(
The worst part of it all is I added most of them myself. Lot of work shot to crap.. O well, I'll survive.

Just have to wait on the quotation fix and the on/off image area.

Why is it that my jokes are being seperated by a bar instead if a line?

Also when the approval is changed to 1 instead of 0, why is it that when u add a joke the user still gets this message? "Your joke has beed added to the database and is waiting to be approved! "

Hi there m8

I know what the problem is with the joke being seperated by a bar.

edit the template jokes_view_jokesinthiscat

and change the hole content to this

PHP Code:

 <!-- comment submission --> 
    <
table cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%">
<
tr class="$class>
 <
td width="5%" align="center">$jokesbycat[jokeid]</td>
 <
td width="20%" align="center"><a href="?do=viewjokeid&jokeid={$jokesbycat['jokeid']}">$jokesbycat[jokename]</a></td>
  <
td width="15%" align="center"><img src="$jokesbycat[jokeimage]width="80" height="25"></td>
  <
td width="10%" align="center">$jokesbycat[username]</td>
  <
td width="10%" align="center">$jokesbycat[hits]</td>
<
td width="10%" align="center"><a href="javascript:NewWindow=window.open('?do=viewjokepopup&jokeid={$jokesbycat['jokeid']}','newWin','width=650,height=600,left=0,top=0,
toolbar=No,location=No,scrollbars=1,status=No,resizable=No,fullscreen=No');
NewWindow.focus(); void(0);"
>View Popup</a></td>
 </
tr>
   </
table

As for your members still getting the

Your joke has beed added to the database and is waiting to be approved!

Needs to be changed in the template called

jokes_madeconfirm

And find

PHP Code:

 Your joke has beed added to the database and is waiting to be approved

Replace it with what you want init

Madmp3zz 10-30-2005 12:12 PM

Thanks for the quick reply.
This is starting to look Wicked Awesome.
My members are already asking me to turn it back on.
With these two issues fixed, all I'm missing is the quotation mark fix and I'll be off and running with this one.

GREAT HACK!!!

How soon before the quotation issue is fixed?

micheal332001 10-30-2005 07:42 PM

Quote:

Originally Posted by Madmp3zz
Thanks for the quick reply.
This is starting to look Wicked Awesome.
My members are already asking me to turn it back on.
With these two issues fixed, all I'm missing is the quotation mark fix and I'll be off and running with this one.

GREAT HACK!!!

How soon before the quotation issue is fixed?

Hi there m8

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


All times are GMT. The time now is 01:53 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.02688 seconds
  • Memory Usage 1,890KB
  • 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_code_printable
  • (7)bbcode_php_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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