![]() |
Not sure if this is even possible, but it'd be nice:
What I'm trying to do is move the champion stuff from the thread into the user's profile. I may leave it in the thread, but I definitely want to have a copy of it in the profile. Is this possible at all? Also, a little addition to the hack, not that much really. With the number of games I have found out there, and put on my site, one random game doesn't cut it. So, I made a (minor) modification to allow more than one game to be randomly displayed... Here's the code for those that want it, really a simple hack: in arcade.php you will see something like Code:
$DB->query("SELECT g.gid, g.gtitle, g.gname, g.gcat, cat.password FROM ibf_games_list AS g, ibf_games_cats AS cat WHERE Code:
$DB->query("SELECT g.gid, g.gtitle, g.gname, g.gcat, cat.password FROM ibf_games_list AS g, ibf_games_cats AS cat WHERE Now, if you want more than say 5, you will probably want to remove the image display and show the game names only. To do that, this one's just as easy: Find Code:
$ran_games .= "<a href='".$ibforums->base_url."act=Arcade&do=play&gameid={$rangline['gid']}'> Code:
$ran_games .= "<a href='".$ibforums->base_url."act=Arcade&do=play&gameid={$rangline['gid']}'> |
Quote:
I have set up a usergroup for myself to check this out, added the above change and have set the permission for that group to 1 post per day and am trying it out now. It looks like it works as I needed to make a post to play any games. Will now wait to see when the time period expires - ie after 48 hours from making the post. If this works and someone wanted to change the access period to say I post for 72 hours access (3 days) would the above change work if it was changed to -2 instead of -1? Thanks again!! |
I keep getting errors. i have had about 30 of these today
Code:
Database error in vBulletin : Code:
Database error in vBulletin 3.5.2: |
That is a mysql error, not a code error.
To fix this: If you have root access to your server, adjust the mysql settings as necessary (probably want to up that quite a bit) If you do NOT have root access to your server, you need to contact your hosting provider to have them up your connection limits. |
Quote:
|
probably :)
|
where are the upgrade insturctions?
I have 2.5.1 installed |
Besides pnflashgames whats a good site to get good games from?
|
Quote:
* Link removed - Please read the last line in the first post! * |
when i changed my username it didn't update in the Highscores Champion or the Newest Champions, plus all the games i am champion for still have my old username, is there a way to fix this?
|
All times are GMT. The time now is 01:34 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|