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 11-02-2005 04:52 PM

Quote:

Originally Posted by mfizzel
btw, we really need the quotation fix, 98% of my jokes have quotations and it can be confusing with them missing.

I have fixed the quotes out but it will only work on new jokes that are added.
You will have to go and edit the old jokes you have and take them out.

mfizzel 11-02-2005 05:43 PM

Thanks for the fix for the uncached templates!

About the quotations, I don't mind adding the jokes again, when do you plan on releasing the fix?

Also, I changed the name of the script to 'jokes' from 'vbjokes' , but then these functions don't work : Jokes Main | Categories | Search Joke | Add A Joke , because it still calls 'vbjokes.....' and doesn't update the name of the script.

Great support Micheal, thanks for the help!

mfizzel 11-02-2005 07:02 PM

1 more issue I've come across, when you turn the jokes system off and click the jokes link it just reloads the index instead of taking you to an offline message.

micheal332001 11-03-2005 07:23 AM

Quote:

Originally Posted by mfizzel
1 more issue I've come across, when you turn the jokes system off and click the jokes link it just reloads the index instead of taking you to an offline message.

Ill look into that m8

Madmp3zz 11-03-2005 12:23 PM

A Few issues...

1. How can I l set the jokes to be alligned to the left instead of centered...
They get all jumbled when they are centerd, and looks awful..

2. When someone links an image, the image gets all streched out, can U make it viewable as the original size..

3. and....

Quote:

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


Since I did the update there is no
PHP Code:

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

in the template anymore.
How do I change it now?

micheal332001 11-03-2005 05:33 PM

Quote:

Originally Posted by Madmp3zz
A Few issues...

1. How can I l set the jokes to be alligned to the left instead of centered...
They get all jumbled when they are centerd, and looks awful..

2. When someone links an image, the image gets all streched out, can U make it viewable as the original size..

3. and....




Since I did the update there is no
PHP Code:

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

in the template anymore.
How do I change it now?

All the text is in the phrases now so you need to look there.
Goto your phases and do a search for vbjokes that will list all the vbjokes phrases.
Then edit the one you want to change

Extreme John 11-03-2005 11:39 PM

Just installed, install went nice and easy but Im getting the following error message when I click VbJokes from the Navbar.

Database error in vBulletin 3.5.0:

Invalid SQL:
SELECT * FROM vbjokes_jokes WHERE aprove=1 ORDER BY rating/numberOfVotes DESC LIMIT 0 , 3;

MySQL Error : Unknown column 'rating' in 'order clause'
Error Number : 1054
Date : Thursday, November 3rd 2005 @ 08:36:24 PM
Script : http://www.thetanforum.com/vbjokes.php
Referrer : http://www.thetanforum.com/forumdisplay.php?f=3
IP Address : 65.32.128.150
Username : Extreme John
Classname : vb_database

ronoxQ 11-04-2005 07:24 PM

Do you have a version for 3.0? Inquiring minds want to know...

micheal332001 11-04-2005 09:57 PM

Quote:

Originally Posted by Extreme John
Just installed, install went nice and easy but Im getting the following error message when I click VbJokes from the Navbar.

Database error in vBulletin 3.5.0:

Invalid SQL:
SELECT * FROM vbjokes_jokes WHERE aprove=1 ORDER BY rating/numberOfVotes DESC LIMIT 0 , 3;

MySQL Error : Unknown column 'rating' in 'order clause'
Error Number : 1054
Date : Thursday, November 3rd 2005 @ 08:36:24 PM
Script : http://www.thetanforum.com/vbjokes.php
Referrer : http://www.thetanforum.com/forumdisplay.php?f=3
IP Address : 65.32.128.150
Username : Extreme John
Classname : vb_database

Hi there m8

Have you run the upgrade.xml file as well like this

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

micheal332001 11-04-2005 09:58 PM

Quote:

Originally Posted by ronoxQ
Do you have a version for 3.0? Inquiring minds want to know...

There is a version for vb 3.0.7 i have not tryed it on older versions


All times are GMT. The time now is 01:06 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.01257 seconds
  • Memory Usage 1,750KB
  • 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
  • (3)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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