XFileSharing Pro - How to add this option?

Message
Author
nokiacare
Posts: 15
Joined: May 13, 2009 5:20 pm

How to add this option?

#1 Postby nokiacare » May 13, 2009 5:36 pm

I am installed successfully 1.5 version.Working well in my site.Thanks pilgrim

How to add this option 'Add to my account' in downloadpage

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » May 13, 2009 6:49 pm

Try to add kinda this code to table in download1.html:

Code: Select all

<TD align=right id="am<TMPL_VAR file_id>"><TMPL_IF my_login><a href="#" onClick="return jah('?op=my_files&add_my_acc=<TMPL_VAR file_code>','am<TMPL_VAR file_id>');">Add to my account</a></TMPL_IF></TD>

nokiacare
Posts: 15
Joined: May 13, 2009 5:20 pm

#3 Postby nokiacare » May 14, 2009 5:27 am

I add this line in download1.html.But did not work.I click 'Add to account' no reaction.How to solve this?Pls help me pilgrim

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#4 Postby PilgrimX182 » May 14, 2009 7:44 am

I don't know what's your site so can't test.
But try this: replace

Code: Select all

jah('?op=
with

Code: Select all

jah('/?op=