Jump to content


Dynamic parameters from my website


41 replies to this topic

#21 Derek Punzova

    Support Team Member

  • Moderators
  • 6057 posts

Posted 23 February 2011 - 03:03 PM

Sounds goods, that pretty much exactly what I tried.

Two things come into my mind:
1.) You are not using 3.3.2.0
2.) Your URL is slightly different which causes the regular expression to fail -> URL is not clickable.
- If you like to suggest a new feature, please click here.
Kind Regards,
Derek

#22 sparky

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 12 March 2011 - 12:09 PM

I have 3.3.2.1 and am getting the exact same problem.
The url just shows as text and is not converted to a link
Maybe you can enlighten us please as to which file the regex is tested in (to save me searching through the srcipt)

#23 ServWise

    Advanced Member

  • Members
  • PipPipPip
  • 39 posts

Posted 12 March 2011 - 12:21 PM

Maybe if we compare notes we can see if there is a common problem with our setup.

Server : I'm running on Windows server 2008 R2 running PHP 5.2.11 in FastCGI mode (http://euclid.servwise.com/phpinfo.php)
Client : Windows 7 pro 64bit , livezilla 3.3.2.0

#24 ServWise

    Advanced Member

  • Members
  • PipPipPip
  • 39 posts

Posted 12 March 2011 - 12:22 PM

sparky said:

Maybe you can enlighten us please as to which file the regex is tested in (to save me searching through the srcipt)

I suspect the conversion is done client side in the Livezilla app..

#25 sparky

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 12 March 2011 - 12:57 PM

Server: Centos 5.5 x86_64 with virtually same php setup
Client: WIN XP, livezilla 3.3.2.1

That won't make the difference though. The custom fields are passed to server.php
May have to check there first as it should update those vars to the DB
I think the link would be in the app as you have suspected as well.

I also found that the custom fields do not update on each of the users page loads and a returning visitors info is being retrieved from the cookie on the visitors side.

#26 ServWise

    Advanced Member

  • Members
  • PipPipPip
  • 39 posts

Posted 12 March 2011 - 01:15 PM

sparky said:

I also found that the custom fields do not update on each of the users page loads and a returning visitors info is being retrieved from the cookie on the visitors side.

Yes I find this too, not good when you want the latest info from a user who has just logged in.

#27 Derek Punzova

    Support Team Member

  • Moderators
  • 6057 posts

Posted 14 March 2011 - 06:49 AM

Quote

I suspect the conversion is done client side in the Livezilla app..
Exactly.

If someone could give me a not working URL I could try to repdroduce it. All URLs I tested so far a working fine.
- If you like to suggest a new feature, please click here.
Kind Regards,
Derek

#28 ServWise

    Advanced Member

  • Members
  • PipPipPip
  • 39 posts

Posted 14 March 2011 - 07:15 AM

Maybe an encoded version would be best so you have the exact data parsed.

This is what I have in our site to parse user data for my own test account..

LiveZilla Live Help
		
		
		
		


#29 sparky

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 14 March 2011 - 07:29 AM

Here you go straight from my template
{php}
function base64UrlEncode($_input) {
    return str_replace(array('=','+','/'),array('_','-',','),base64_encode($_input));
}
global $clientsdetails;
if ($_SESSION["uid"]) {
	$this->assign("whmcsid", base64UrlEncode($CONFIG['SystemSSLURL']."/tshostinadmin/clientdetails.php?id=".$_SESSION["uid"]));
	$this->assign("whmcsusername", base64UrlEncode($clientsdetails["firstname"]." ".$clientsdetails["lastname"]));
	$this->assign("whmcsemail", base64UrlEncode($clientsdetails["email"]));
	$this->assign("whmcscompany", base64UrlEncode($clientsdetails["companyname"]));
}
{/php}



{if $loggedin}
	
	
{else}
	
	

{/if}



#30 ServWise

    Advanced Member

  • Members
  • PipPipPip
  • 39 posts

Posted 14 March 2011 - 07:42 AM

It is interesting that we are both trying to do this in WHMCS (Although I do my encoding a little differently using a custom smarty function)

#31 Derek Punzova

    Support Team Member

  • Moderators
  • 6057 posts

Posted 14 March 2011 - 08:37 AM

Quote

Maybe an encoded version would be best so you have the exact data parsed.
Thanks for that. I decoded your cf0 and placed it into the Link Generator under advanced. I started a chat using the fresh link and it works just fine. It also works when I modify the LiveZilla URL in your template.

Are you guys really sure that you are using the latest build of 3.3.2.1?
Btw. Which IE version do you have installed?
- If you like to suggest a new feature, please click here.
Kind Regards,
Derek

#32 sparky

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 14 March 2011 - 08:46 AM

Yes... quite sure
Posted Image

#33 ServWise

    Advanced Member

  • Members
  • PipPipPip
  • 39 posts

Posted 14 March 2011 - 09:38 AM

I created a v.basic test page using data just generated by your link gen (See below), the custom data link is still not returned into a URL.
Im using 3.3.2.0.





Untitled Document



LiveZilla Live Help





#34 sparky

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 16 March 2011 - 08:12 AM

I think maybe you are mis interprating what we are meaning
When someone lands on the site they show up on the client interface in the visitors list.
This is where the custom field is showing
One of the custom fields has a link(url) so that when clicked it opens up the whmcs client details screen.
That url is not being converted to a link

Also the custom fields are not updating with the information sent correctly.
When a client logs in it should then show the clients name and id.

Should these fields not update just like the page url does?

#35 Derek Punzova

    Support Team Member

  • Moderators
  • 6057 posts

Posted 17 March 2011 - 07:17 AM

Quote

I think maybe you are mis interprating what we are meaning
When someone lands on the site they show up on the client interface in the visitors list.
This is where the custom field is showing
One of the custom fields has a link(url) so that when clicked it opens up the whmcs client details screen.
That url is not being converted to a link

Also the custom fields are not updating with the information sent correctly.
When a client logs in it should then show the clients name and id.

Should these fields not update just like the page url does?
You are right, I was talking about the chat window, not about the visitor list. And yes, the URL in the visitor lisiting is NOT clickable at this time.

We will add this in the next update. Thanks!
- If you like to suggest a new feature, please click here.
Kind Regards,
Derek

#36 sparky

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 17 March 2011 - 07:23 AM

Thanks... will look forward to the next update.

Also about the custom fields not updating dynamicly just like the page url does on each page load.
Some of the custom fields that I am using will only send once the client had logged into whmcs and wanted the custom fields to also update.

#37 erhaefliger

    Member

  • Members
  • PipPip
  • 21 posts

Posted 17 March 2011 - 08:36 PM

Hello, thank you for the latest updates regarding this issue.

I would like to inform you that the issue of link are ok and working, but
I'm finding some difficulties regarding the timeliness of information
the grid information of the users, ie for example I configured some
paramentros for a User specifiable, and while this information and they
go correctly, but in the case of a User change this information even
passing the new information from User, he is not updating the grid.

Another issue that would be useful, would enable the links
also on the grid, not just plug in the boot chat client.

Do not know if I could be clear to understand, but I believe that these
changes will greatly enhance the functionality of link's.

Thanks

#38 sparky

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 30 March 2011 - 03:18 AM

It appears that the changes did not make it to the updated version 3.3.2.2

When is it likely that the custom fields will become dynamic like the Pages change instead of the custom fields being read from a stored cookie?

#39 Derek Punzova

    Support Team Member

  • Moderators
  • 6057 posts

Posted 30 March 2011 - 06:00 AM

Quote

When is it likely that the custom fields will become dynamic like the Pages change instead of the custom fields being read from a stored cookie?
In 3.3.3.0.
- If you like to suggest a new feature, please click here.
Kind Regards,
Derek

#40 sparky

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 30 March 2011 - 06:04 AM

Thanks for letting us know.

Looking forward to the update...





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users