vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBookie - vBulletin Betting Hack (https://vborg.vbsupport.ru/showthread.php?t=65844)

subu1 06-08-2004 07:29 PM

oh, i have an error :surprised:

Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode in /home/virtual/site25/fst/var/www/html/board/vbookie.php on line 16

and if i post a event i have this error

Code:

Datenbankfehler in vBulletin 3.0.0:

Ungueltige SQL-Abfrage: UPDATE  SET =25 WHERE <25
mysql error: You have an error in your SQL syntax near 'SET =25 WHERE <25' at line 1

mysql error number: 1064

Datum: 08.06.2004 22:29:45
Skript: http://www.starlight-board.net/board/vbookie.php
Referer: http://www.starlight-board.net/board/vbookie.php

sorry i need help

tjdrico 06-08-2004 08:16 PM

Quote:

Originally Posted by subu1
oh, i have an error :surprised:

Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode in /home/virtual/site25/fst/var/www/html/board/vbookie.php on line 16

Just edit vbookie.php and comment out set_time_limit on line 16.

i.e.

Change:

PHP Code:

set_time_limit(0); 

To:

PHP Code:

//set_time_limit(0); 

It's not really required.

Quote:

Originally Posted by subu1
and if i post a event i have this error

Code:

Datenbankfehler in vBulletin 3.0.0:
mysql error: You have an error in your SQL syntax near 'SET =25 WHERE <25' at line 1

sorry i need help

Just update includes/functions_vbookie.php to the latest version. I assume you downloaded it early on, and have 1.0.0.

dniMTheory 06-08-2004 09:04 PM

Found a small bug...or maybe its just me.

If you have the date/time options set to show detailed, vbookie doesnt work well. I had to change my time settings to normal to get my times to show correctly.

tjdrico 06-08-2004 10:08 PM

Quote:

Originally Posted by dniMTheory
Found a small bug...or maybe its just me.

If you have the date/time options set to show detailed, vbookie doesnt work well. I had to change my time settings to normal to get my times to show correctly.

What setting are you talking about? I'm not aware of any "show detailed" settings for time & date. Can you explain for me?

Battle_Ring 06-08-2004 10:13 PM

i have oen event up and it onyl shows up on here under open http://battlering.net/forums/vbookie.php on one of my skins the dragon skin any ideas why??

kall 06-09-2004 06:12 AM

Me too.

Bit of a bugger really, I do like the Detailed settings.

(tjdrico - AdminCP - VBulletin Options - Date and Time Options , shows Start and End times of vbookie events as 1 minute ago.)

tjdrico 06-09-2004 06:34 AM

Quote:

Originally Posted by Battle_Ring
i have oen event up and it onyl shows up on here under open http://battlering.net/forums/vbookie.php on one of my skins the dragon skin any ideas why??

I just checked your templates using your AdminCP (your login you gave me), it it seems that the 'vbookie_main_items_bit' template only got added to the Dragon style, but not Rage etc. I'm not sure why that would be - all the other templates seem to me installed in all the other styles. I've added it to the other templates for you, and the display on vbookie.php now looks correct.

tjdrico 06-09-2004 06:45 AM

Quote:

Originally Posted by kall
Me too.

Bit of a bugger really, I do like the Detailed settings.

(tjdrico - AdminCP - VBulletin Options - Date and Time Options , shows Start and End times of vbookie events as 1 minute ago.)

Ah, I get you. OK, that's because the built-in vbdate() function that I'm using only handles historical dates correctly (3 minutes ago, 4 hours ago). I'll add a new function that can handle future dates (in 3 minutes time, in 4 hours time) and that should sort things out for Detailed view. Should be later today.

kall 06-09-2004 06:50 AM

Quote:

Originally Posted by tjdrico
Ah, I get you. OK, that's because the built-in vbdate() function that I'm using only handles historical dates correctly (3 minutes ago, 4 hours ago). I'll add a new function that can handle future dates (in 3 minutes time, in 4 hours time) and that should sort things out for Detailed view. Should be later today.

Couldn't you just do it like the Polls do?

They keep the normal 'will close on 12 june 2004 at 3:00 PM' style...while the thread's post time is saying '1 minute ago' or '2 weeks ago'.

tjdrico 06-09-2004 06:59 AM

Quote:

Originally Posted by kall
Couldn't you just do it like the Polls do?

They keep the normal 'will close on 12 june 2004 at 3:00 PM' style...while the thread's post time is saying '1 minute ago' or '2 weeks ago'.

Aye, I suppose... but that's not as pretty as saying "This poll will close in 3 minutes' time", and if you use "Detailed" so you can see "3 Minutes Ago" on post times, I don't see why you wouldn't want that same detail.


All times are GMT. The time now is 12:55 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.01632 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
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (7)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