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 01-01-2006 05:01 PM

Quote:

Originally Posted by Jaynesh
Okay thanx il give it a try :D

How about adding a WYSIWYG interface? how will i do that?

this is being done for a new pro release

micheal332001 01-18-2006 12:06 PM

Hi all

Vbjokes pro has been updated and now has WYSIWYG editor for adding new jokes,
And also a image upload so your members that can add new jokes can use the uploading of a image for there jokes insted of a url to the image.
This stops hotlinking to other sites.

micheal332001 01-27-2006 10:43 AM

vbjokes pro and this version has been tested on vbulletin 3.5.3 and works fine.

This free version will be updated soon to use the WYSIWYG editor will let you know when.

Mike

icare 01-31-2006 04:56 AM

Database error in vBulletin 3.5.3:

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 : Tuesday, January 31st 2006 @ 01:52:33 AM
Script : http://www.example.com/vbjokes.php
Referrer : http://www.example.com/vbjokes.php
IP Address : xx.xxx.xxxx.xxxx
Username : Administrator
Classname : vb_database


:cry: :cry:

I am getting this error. somebody please help.

thanks in advance.

icare 01-31-2006 05:03 AM

Quote:

Originally Posted by icare
Database error in vBulletin 3.5.3:

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 : Tuesday, January 31st 2006 @ 01:52:33 AM
Script : http://www.example.com/vbjokes.php
Referrer : http://www.example.com/vbjokes.php
IP Address : xx.xxx.xxxx.xxxx
Username : Administrator
Classname : vb_database


:cry: :cry:

I am getting this error. somebody please help.

thanks in advance.

never mind. Fixed!!! thanks its a nice hack


But I have a question. Can v change the name in nav bare i.e from "vbjokes" to some thing else?

icare 01-31-2006 05:24 AM

Quote:

Originally Posted by icare
never mind. Fixed!!! thanks its a nice hack


But I have a question. Can v change the name in nav bare i.e from "vbjokes" to some thing else?


Never mind again.....

Done it. Now I have last question..... can we change the text in jokes home page?

micheal332001 01-31-2006 07:43 AM

Quote:

Originally Posted by icare
Never mind again.....

Done it. Now I have last question..... can we change the text in jokes home page?

Yes you can change the text in the jokes home page.
Go to the admincp and click on styles manager
edit template VBJOKES

you should see the text there.

Hope that helps m8

amykhar 02-07-2006 12:50 PM

I have found a bug in the editing of jokes. Editing the username of the submitter doesn't stick. I looked at the source code and in the do_edit_joke function, there is no code to process the submitter from the form. I'm fixing it in mine as follows:

Find:
Code:

$jokeimage = $_POST['jokeimage'];
Add After:
Code:

$submitter = $_POST['username'];
Find:
Code:

jokeimage='" . addslashes("$jokeimage") . "',
Add After:
Code:

username='" . addslashes("$submitter") . "',
Amy

Lee Wisener 02-19-2006 06:33 PM

I am getting template errors, can anyone help?

This is how it look on the main page.

http://www.ww2talk.com/forum/vbjokes.php?do=main

This is how it looks viewing categories.

http://www.ww2talk.com/forum/vbjokes.php?do=category

As you can see the bar down the right is missing.

But all other pages seem to be fine.

micheal332001 02-20-2006 01:25 AM

Quote:

Originally Posted by Lee Wisener
I am getting template errors, can anyone help?

This is how it look on the main page.

http://www.ww2talk.com/forum/vbjokes.php?do=main

This is how it looks viewing categories.

http://www.ww2talk.com/forum/vbjokes.php?do=category

As you can see the bar down the right is missing.

But all other pages seem to be fine.

Hi there

I see what you mean i will have alook at this and change the code to make this work right.
Will let you know when its sorted.


All times are GMT. The time now is 10:00 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.03646 seconds
  • Memory Usage 1,747KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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