I'm really a newbie, and this was the first time I've ever tried to mod anything, and as expected, I couldn't get it to work.
I opened the thread.php in wordpad, searced up the "$poll", and found it right under the "show poll" embedded in xxx'es
Then wrote it like this...
Quote:
################################################## ##############################
############################### SHOW POLL ######################################
################################################## ##############################
<h2>$thread[title]</h2>
<div id="h2stats">denne traden har $thread[replycount] svar og har blitt vist $thread[views] ganger</div>
h2
{
font-size: 200%;
text-align: center;
margin: 0;
padding: 0;
}
#h2stats
{
font-size: 125%;
text-align: center;
}
$poll = '';
|
I translated the text to Norwegian, as my forum is going to be in Norwegian.
I then copied the whole modified file into the showthread.php file on my forum server, saved it, and tried to open a post on my forum...
I'm using the 3-6-8_Patch_Level_2 version
As expected, I got an error message...
Quote:
Parse error: syntax error, unexpected '<' in /home/xxxx*/public_html/forum/showthread.php on line 589
|
*= I removed this name, naturally...
I then put back the original file, without the mods, and the threads showed as before...
What did I do wrong?
Did I put the mod in at the wrong place?
Can anyone please help me???