![]() |
Quote:
|
Quote:
- check the links to the JS files. - view the source to see if there is something like this: <a style="float:right" href="#top" onclick="return toggle_collapse('forumbit_forumid')"><img id="collapseimg_forumbit_72" src="/buttons/collapse_tcat.gif" alt="" border="0" /></a> , check to see if it got something wrong with those tags. hope this help |
Can this be modded to use VB reputation points as the currency? That would be perfect for my board.
|
Quote:
All you'd need to do is hack the functions_vbookie.php file, changing the 8 instances of 'vbookie_cash' to 'reputation'. That should be all you need to do. You might want to alter some of the phrases as well, as they mention 'cash' such as "You do not have enough cash to cover your bets" (vbookie_not_enough_cash) or "You have 300 cash" (vbookie_may_bet), etc. Also, in the vBookie general settings, turn off the display of vCash in the postbit, as it'd be pointless to display. Since you're dealing with Reputation, you'd also want to turn off the "charity" mode I expect, as that would re-set anyone lower than 25 to a 25 Reputation each time a new Event is added. |
Ok I have a small proble in the changes to the includes/init.php file you say to carry out these changes
OPEN includes/init.php FIND PHP Code: PHP Code:
PHP Code: PHP Code:
Any ideas ? |
You should end up with something like this:
PHP Code:
|
Quote:
|
This would be really great if there was a way to use paypal or another online bank so u could deposit real money....but i guess that would be gambling
|
As I said early in this thread, I'm sure it's possible for someone to hack in. I, however, wouldn't feel confident about doing a bulletproof, un-exploitable hack, so it's not for me.
|
i just fully installed this
but it dont show up so i can add an event any idea i did the fiel edits and uplaoded them |
Quote:
|
Thanks to everyone that has installed this hack. It's good to know that the time spent on it has been appreciated by someone other than myself. =)
With Euro 2004 on the horizon, Wimbledon, the Tour de France, the Olympics and what-not, I'm sure that it'll be a fun addition to your forums. Of course, you can place events on anything! Even Big Brother. /o\ |
yes vbookie is turned on and usergroupe permissions are set
|
You have probably missed a template edit or a file edit. Go through the installation instructions and double-check that you've done everything correctly.
|
i got it missed a template edit
|
There ya go! =)
|
foudn a bug or something
Richest members is way off Creeper has a total of 990 Platinum~Pimp has a total of 98 ||KryptoniK|| has a total of 9485 shinoda has a total of 93 ºDissØrderlyº has a total of 9152 |
^^same thing here. not only that, my times are all screwed up. The open until and payout dates are never right.
|
Are you using uCash?
If so, please make this edit if you wouldn't mind, and let me know: Open includes/functions_vbookie.php Find: PHP Code:
PHP Code:
|
Quote:
|
that edit didnt change anythign and my
uttpoints_pointsfield ----uttpoints and uttpoints_pointtable ----user |
Quote:
Do you know how to run SQL commands using the console or mySQL? You could try running the select and what it looks like. It should be: [sql]SELECT u.username, p.uttpoints AS cash FROM user AS p LEFT JOIN user AS u ON u.userid=p.userid ORDER BY cash DESC LIMIT 5;[/sql] |
i ran the quey and this si what it says
Creeper 990 Platinum~Pimp 98 ||KryptoniK|| 9485 shinoda 93 ºDissØrderlyº 9152 yo-yo's-r-us 91 madhatter 9 ~*Ladie Berretta*~ 88 nimbus 87 STYLES 8679469 Blak Siinz 855 K-jun 85 Katana no Mune 83 Exact SkillZ 82 PURE*EVIL 80 ThOr-O 8 Denze 8 .:.¼¦¶Lü§.:. 8 Q_skinnypimp 8 Eye Solation 8 |
Oh, wait... it's using a character field, not an integer. So it uses "dictionary" ordering. Two ticks while I look up the mySQL syntax to cast a VARCHAR to an INT. =)
|
OK, if you do the following, it should fix that little problem:
Open includes/functions_vbookie.php Find: PHP Code:
PHP Code:
|
nope
|
Did for me. Are you sure you saved it? Uploaded it? What version of mySQL are you using? Did you try it at the console too?
|
i only use the one in the console
|
i can give you ful ladmin access to my site and ftp info and stuff and you can see if you can do it
|
What about:
PHP Code:
Oh, I just read that "The CAST() and CONVERT() functions were added in MySQL 4.0.2. " so if you're on mySQL 3 then it'll still be unhappy. =) I'll look some more. |
MySQL v4.0.12
|
In that case the CONVERT() above should work (but so should the +0 have). If it doesn't and you want to PM me the access details to your FTP or phpMyAdmin, I'll have a look and see if I can suss it out.
|
Are you sure the "+0" didn't work? According to a manual for MySQL 3.23:
Quote:
|
OK, after checking your forum (thanks), I think the +0 did work fine:
Quote:
|
thanks for all your help nwo if i could get someone to help me wit hthe shoutbox and log in as user id be all set
|
ok so how does the best work if the odss are 1/1 they get doubtle there bet if they win???
what would 2/1 5/1 10.1 do??? |
problem
all permissiosn are set and my users get a white screen when trying to go to the vbookie.php page and when i post an event in the thread they cant see it also no matter what ya put the pay out date always goes to the bets end date |
Quote:
Regarding the second item, did you clear the checkbox that specifies that you want them both to be the same date? |
i got ti it didnt add the templates to all styles just one nwo i need to manually add them
is there a hack that adds templates to al lstyles i think there is but i cant find it |
Quote:
Odds of 2/1 mean that you win 2 for every 1 placed. So if I placed a bet of 5 at 2/1, I'd win 10, and get my stake back as well. Odds of 10/1 mean that you win 10 for every 1 placed. So if I placed a bet of 5 at 10/1, I'd win 50, and get my stake back as well. Odds of 1/5 mean that you win 1 for every 5 placed. So if I placed a bet of 5 at 1/5, I'd win 1, and get my stake back as well. |
All times are GMT. The time now is 10:50 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|