Furry stuff, oekaki stuff, and other stuff.
You are not logged in.
Hey, Sorry to be back so soon!
I tried the Birthday php. code from the Wacintaki Mods Section~~
I made a php. file and uploaded it, then pasted <? include ('birthday.php') ?> into my Banner
I then Made a test account called "TESTLOL" and fixed his/hers birthday to today's date. The banner worked perfectly and would show "Birthday greets to: TESTLOL(15)"
I was still logged in as TESTLOL, and Clicked the link to TESTLOL's Profile on the banner. And when it popped up...it was in some weird language...
Take a look, when I exited out of it, it transformed my whole site into this language!
Screen Shot of My Oekaki
So, I logged out, and into my main account...and everything was normal, even when I clicked the profile it was normal...no weird language or anything!
Help?
Heres the code I used:
<?php $birthday_names = array(); $todaymonth = date ("m"); $todayday = date ("d"); $my_result = mysql_query ("SELECT usrname, age FROM {$OekakiPoteto_MemberPrefix}oekaki ORDER BY usrname"); if (mysql_num_rows ($my_result) > 0) { while ($my_row = mysql_fetch_array ($my_result)) { $age = $my_row['age']; $birthday = substr ($age, -2); $birthmonth = substr ($age, -5, 2); if (($birthday == $todayday) && ($birthmonth == $todaymonth)) { $un = trim ($my_row['usrname']); $un_url = urlencode ($un); $age_years = get_age($age); $birthday_names[] = "<a href=\"profile.php?user=\"{$un_url}\">{$un} ({$age_years})</a>"; } } } if (count ($birthday_names)) { echo ('<span style="color:red;">'); echo ("Birthday greets to: " . make_list($birthday_names, ', ')); echo ('</span><br /><br />'); } ?>
Thanks for your time
Offline
That's... Chinese. Well, without the proper character set, of course.
There's nothing in the birthday code that would change the language. If you try to log into that other account again, do you still see garbled letters? If so, I have a feeling that when editing the profile for that test account, the language field didn't default to English and instead chose the first option in the list, which is Chinese. This would only happen when editing a profile, not when registering.
...
Ah, I just checked the change log, and yes, this is a problem with 1.3.6. Update to 1.3.11 to fix it ("Patch for version 1.3.0 or newer" is what you need).
Offline
Wow...Ahaha, Interesting~
Yeah, I do ):
Just to make sure (Because I made a mistake last time I updated) Do Update ALL the files in 130_to_1311? Or just certain ones?
Like...Just the Resource File, Language pack, and the left over php.files? (Banlist,addusr, ect.)
Offline
Everything in the "overwrite" folder should be copied to the server, replacing everything. The patch is designed to update several different versions of Wacintaki, so some files are new and others are not.
The only exception is the "hacks.php" file in the resource folder if you have made modifications to that file. If you have not modified the hacks file, then you don't have to worry.
And, yes, I am currently working on getting rid of the stupid hacks file.
Offline
Sorry, One more question!
In the Updater, under Templates, theres an 'install.php'
Do I copy+paste this into my Template folder in my FTP client?
Or do I leave it alone?
Thanks again C:>
---
I haven't done it yet...when I go to my site it says "“install.php” and/or “update.php” still exists!
If you do not need them anymore, click here to remove them.
If you get this error again, delete the files manually via FTP."
What should I do?
--
Never mind, I pressed "Click here to remove them" and all works fin
Last edited by copkid (02-14-2008 18:45:36)
Offline
Leaving the installer on the site is a security risk, so the board will remind you to remove it if the board is installed. The latest updater doesn't have the same security issues, but an older one does.
As for the templates folder, the file is actually "install.css", and is not an installer. That's just a style sheet. You can copy it if you want to, but since the board is installed, you can ignore it.
Offline