Joined: Jan 12, 2012 Age: 38 Posts: 2250 Last Visit: 21 Mar 2019 Location: Back of your mind!!! Rep: 6463.2 votes: 6 Thanks Given: 4 Received: 2
Posted: Sat Dec 08, 2012 4:03 am Post subject: Re: about UTF-8/odd characters
Hi mate! i try to contact u here
you've had time to look at the UTF-8 conversion?
i tried this way:
ALTER TABLE `nuke_xxxxxxx` DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci
but seems not working...
have u any idea?
PS/ where i can find this "Check Spelling" addon?
You question was answered on Xtreme site.
As for the Check Spelling, its something you really can't just find, the script was given to me by Noto of ClanThemes, then I pretty much had to figure out how to install it onto my site.
Overall, it can be a pain in the ass to install. I will write this out once but I am not going to go over every little tiny detail. Just use your head a little and you should be able to figure it out.
First, open up the includes/templet.php, (just like you did on the Image hack).
if(basename($filename) === 'posting_body.tpl'
Here is what I have from my file, look at it and it should be easy to follow, I just removed the images and the arrows and what not to show you what is exactly needed and if you want all that other stuff, add that in later, go on google or open up paint and create your own images.
if(basename($filename) === 'posting_body.tpl' OR 'viewtopic_quickreply.tpl' OR 'ropm_quick_reply.tpl')
$str = str_replace('</textarea>', '</textarea><script></script>
AtD.checkTextAreaCrossAJAX(\'message\', \'checkLink\', \'Edit Text\');
<p><a>Check Spelling</a> - ;<a>Click to Add Image</a></p>', $str);
If you didn't notice, I did not remove the image code from it, just a heads up...
Once you have that file done, then you want to open up your theme and do a few edits in there possiably.
The three files you want to edit are as follows, (if you look above showing the code I have you will see 'posting_body.tpl' OR 'viewtopic_quickreply.tpl' OR 'ropm_quick_reply.tpl', those are the 3 files we need to edit.)
Open each of those files and your going to be looking for the word "textarea", so this is where you need to use your brain. For an example, i will use posting_body.tpl. If you open this file and do a search for textarea, it should only show up twice, once for the oprning and once fore the closing part of the same line. Now look at the textarea code, if you don't see a id in it, then you have to add one.
I believe most will look like this:
Well, if it does, then add in this sinpet to it.
so it will look like this:
After you do all that, then download the attached files and upload them into the root of your site KEEPING the folder structure I built into the .rar.
All times are UTC - 7 Hours [DST enabled] Goto page 1, 2Next
Page 1 of 2
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum