XFileSharing Pro - Customization / Alterations

Powerfull XFileSharing version

Moderator: admin

Message
Author
ozmo
Posts: 15
Joined: Apr 14, 2009 3:34 am

Customization / Alterations

#1 Postby ozmo » May 01, 2009 11:25 am

Hi,

I am wandering if it is possible to make the following adjustments to XFS Pro 1.4

I have listed these in no particular order.

1. Change initial landing page once a user login. The default seems to be "My Files". I would rather they land on the "Upload Files" page.

2. By default display the "Show Advanced Options". i.e. "Recipient's Email:" and "Link Password:".

3. Send notification of all activity to the admin email address.

4. For the life of me... Where is the title located? i.e. "Mydomain.com - Easy way to share your files". I would like to change "Easy way to share your files".

Thanks for any help you offer.

Cheers,
ozmo

filethis.info
Posts: 11
Joined: Apr 30, 2009 10:54 pm
Contact:

#2 Postby filethis.info » May 01, 2009 12:56 pm

cgi-bin/Languages/english.lng

ozmo
Posts: 15
Joined: Apr 14, 2009 3:34 am

#3 Postby ozmo » May 01, 2009 2:15 pm

Thanks for the direction.

So that covers number 4 in my list.

Any idea on the other three?

thanks again,
ozmo

cuty
Posts: 103
Joined: Apr 14, 2009 11:20 pm

Re: Customization / Alterations

#4 Postby cuty » May 01, 2009 2:43 pm

ozmo wrote:Hi,

I am wandering if it is possible to make the following adjustments to XFS Pro 1.4

I have listed these in no particular order.

1. Change initial landing page once a user login. The default seems to be "My Files". I would rather they land on the "Upload Files" page.

2. By default display the "Show Advanced Options". i.e. "Recipient's Email:" and "Link Password:".

3. Send notification of all activity to the admin email address.

4. For the life of me... Where is the title located? i.e. "Mydomain.com - Easy way to share your files". I would like to change "Easy way to share your files".

Thanks for any help you offer.

Cheers,
ozmo



1..I think you'd have to look on the "login".html and change the direction where you want it to go after signing in.


2..bypass <TMPL_IF , not sure on this

3.. Thats sounds like a custom job sibsoft has to do.

ozmo
Posts: 15
Joined: Apr 14, 2009 3:34 am

#5 Postby ozmo » May 01, 2009 3:58 pm

Thanks for the push in the right direction cuty :)

Two down, two to go!

I managed to discover #1 can be achieved by changing the following code within index.cgi
$ses->redirect( "$c->{site_url}/?op=my_files" ) unless $no_redirect;

Still working on #2 & #3

Any clues Pilgram or anyone else?

Thanks everyone.
ozmo

ozmo
Posts: 15
Joined: Apr 14, 2009 3:34 am

#6 Postby ozmo » May 01, 2009 4:20 pm

I'm on a roll now :)

Three down, one to go!

#2 can be achieved by changing the following code within upload_form.html

Change this...
<a href="#" style="line-height:20px;" onClick="$('optidiv').style.position='static';this.style.display='none';return false;"><TMPL_VAR lang_show_advanced></a>
<div id="optidiv">
<TMPL_VAR lang_rcpt_email>: <input type="text" name="link_rcpt" class="myForm" size=24 maxlength=42> &nbsp;
<TMPL_VAR lang_link_pass>: <input type="text" name="link_pass" class="myForm" size=8>
</div>


To this...
<br /><br />
<TMPL_VAR lang_rcpt_email>: <input type="text" name="link_rcpt" class="myForm" size=24 maxlength=42> &nbsp;
<TMPL_VAR lang_link_pass>: <input type="text" name="link_pass" class="myForm" size=8>
<br /><br />

chlankboot
Posts: 10
Joined: Jun 12, 2008 8:01 pm
Contact:

Re: Customization / Alterations

#7 Postby chlankboot » Jun 29, 2009 9:51 pm

ozmo wrote:3. Send notification of all activity to the admin email address.


This has been discussed http://www.sibsoft.net/forum/email-notification-on-each-fileupload-t699.html, I'm using it, works great


Return to “XFileSharing Pro”

Who is online

Users browsing this forum: No registered users and 0 guests