SMF Support > SMF 2.0.x Support

SMF 1.1.14 To SMF 2 Gold Upgrade Issue

<< < (4/8) > >>

Krash.:

Have you replaced GenericControls.template.php?

SugarD-x:

--- Quote from: Krash. on July 05, 2011, 12:33:25 AM ---
Have you replaced GenericControls.template.php?



--- End quote ---

Yep ;)


--- Quote from: SugarD-x on July 04, 2011, 01:47:49 AM ---Replaced the file with a brand new one from a SMF 2.0 full installer package and it didn't change anything :P

--- End quote ---

Krash.:

Did you comment out the button line in PersonalMessage.template.php?  Did it clean up the mess?

Krash.:
Something's been bothering me about the gibberish you posted up top, and I finally figured out what it is.  This -

\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\tPick a smiley\n\t\t\t\t\t\t\t\t\t\t<' + '/h3>\n\t\t\t\t\t\t\t\t\t<' + '/div>\n\t\t\t\t\t\t\t\t\t

... is not random.  The characters are php constants - \n is a newline (linebreak), \t is a tab.  It's parsing and displaying the actual code in part of GenericControls.template.php, right around here -


--- Code: ---
' . $txt['more_smileys_pick'] . '
</h3>
</div>

--- End code ---

If you look in Post.english.php, you'll see that $txt['more_smileys_pick'] is "Pick a smiley".  Now I know what it's doing, but it's late and I can barely see, so I'll work on why it's doing it tomorrow.

SugarD-x:

--- Quote from: Krash. on July 05, 2011, 12:52:36 AM ---
Did you comment out the button line in PersonalMessage.template.php?  Did it clean up the mess?

--- End quote ---
Didn't seem to help.

@Your second post: Thanks man. No rush. It's much appreciated. :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version