![]() |
Regarding the URL problems:
The hack assumes that in your vBulletin Options section, the value of "URL" is in the "http://www.yoursite.com/somedir" format. If you are having problems, make sure the URL is set up in that format and it should work OK. For those of you who *were* having problems with that, let me know what your "URL" value was so that I can fix the logic of that function. |
Quote:
It should look exactly like this: PHP Code:
|
Not sure where the slashes came from either...perhaps corrupted during download?? I don't know.
I copied pasted the above, this is what I got: Quote:
|
Have you tried uploading it with no thumbnail?
Your server looks like it has "safe mode" enabled in PHP, which is preventing fopen() from opening the temporary uploaded file. I don't have an immediate solution for that, I will have to go back and find another way to do it. I just looked at your query once again, and I see the error. This part: [sql] 'Tetris Champion', ' '$tetrisscore', [/sql] Should be: [sql] 'Tetris Champion', '#FF0000', '$tetrisscore', [/sql] I'm not sure how it could be changing the query like that. Could you be using some weird thing to cut and paste, or a weird file editor? I'm really stumped on that one. |
ack! nvm...I'm SURE this is due to not having 2.2.7. I have 2.2.6 installed and was trying to get around the upgrade. This has to be it.
I didn't want to have to upgrade because I have several hacked .php files w/ all the hacks on the site. Looks like I'll have no choice though if I wanna use this hack (which I do). I'll update sometime soon, then check the thread back. Updates are a lot of work and I just updated to 2.2.6 a few weeks ago. lol |
Here is a corrected version of proarcade.php that fixes a couple of problems from the original release:
- division by zero in top score board - URL logic problems (should be fine now) This is for Beta 1 ONLY! If you have a different version, do not use this. As of 9/1/02, the first post in this thread has been updated to include this file. |
Quote:
|
Quote:
Also I have made this change in the bit of code for fuctions.php so that I can place the text for Game Champ anywhere in the postbit, not just under the usertitle, just place $post[arcade] in the postbit template. PHP Code:
|
NTLDR: Thanks! I should have thought of that myself. In the next version that will actually look to a template, so people can change between icons/text and so on.
ALL: I have fixed both the divide-by-zero error and the URL error. They should both work fine now with no modifications. Please see a couple posts back for the corrected file (also updated the first post). Thanks! |
Quote:
Quote:
|
All times are GMT. The time now is 05:54 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:
|