Uutiset:

Wondering if this will always be free?  See why free is better.

Main Menu
Advertisement:

Template Parse Error!

Aloittaja ManojA, kesäkuu 10, 2011, 07:30:02 AP

« edellinen - seuraava »

ManojA

Hi Guys,

I tried to manually edit the Profile.template.php file to add Gtalk information.

But I got Template Parse error. I have attached the file. Please can anyone debug it for me?

Thanks,
Manoj

Illori

does the error message give you a line number?

Joker™

Have you made other required source files edits and have created the columns in DB for gtalk field?
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

ManojA

No Buddy! It just says "There was a problem loading the /Themes/default/Profile.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly."

It is a syntax error most probably. And i am trying for half an hour to find where i have gone wrong. no idea :(

@Joker- I didn't know i have to create columns for it. How do i do it?

Illori

is this a mod you are trying to install? can you provide the link to the mod so we can parse the installer

ManojA

No i am not using any mod. Just Manual editing. I also changed the language file. I did the ditto thing that was done to YIM, MSN and all.

Illori

well without the rest of the code what you are doing will not work, as suggested by joker you also need database fields and such for this to work.

ManojA

I can't understand "rest of the code". Is there any code that i have to insert? Also Please help me to create a database field for Gtalk.

Joker™

Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

ManojA

Oh Thanks Joker! BTW Can you please tell what wrong I did? and How do I create a database field for Gtalk( Just asking if I plan to learn it)

Illori


ManojA

Lainaus käyttäjältä: Illori - kesäkuu 10, 2011, 08:05:48 AP
compare the code you were trying to use with the parse of that mod

http://custom.simplemachines.org/mods/index.php?action=parse;mod=334;attach=77873;smf_version=1.1.11

Thanks a lot! But do u have link to the tutorial creating a database field?

Illori

there is not really a tutorial on that, as it will vary greatly depending on what exactly you want to add and where.

Advertisement: