Dynamic parameters from my website
#1
Posted 31 January 2011 - 07:38 PM
To better understand added a picture.
[attachment=0]teste.JPG[/attachment]
Thanks
#2
Posted 31 January 2011 - 07:42 PM
For example
or add a or ...
Tanks
#3
Posted 01 February 2011 - 07:08 AM
Please read this: Pass-thru visitor information
#4
Posted 01 February 2011 - 10:34 AM
then for passing dynamic parameters without any problems.
Just convert them to base64 and it works perfectly.
My question was really about the possibility of generating a link to an external url through these parameters, this is what I'm not getting.
Just like in the picture above, for example a link to 'http://www.google.com'
if possible could you really give an example of how I should proceed.
Here is a part of my code I'm generating:
.../chat.php?code= &en=&ee=&eq=&eh=&ec=&cf0=&cf1=&cf2=...
For example if I want to add a link on the variable 'cf2 =
How should I proceed? I tried in many ways and I can not.
Thanks
#5
Posted 01 February 2011 - 10:57 AM
Keep in mind that your website visitors are able to manipulate all inputs so it would be a serious problem to allow what you are trying to realize.
#6
Posted 01 February 2011 - 11:12 AM
I found this post which also talk about this topic:
http://www.livezilla.net/forum/viewtopi ... =14&t=2912
Thanks
#7
Posted 12 February 2011 - 04:05 PM
dpunzova said:
Keep in mind that your website visitors are able to manipulate all inputs so it would be a serious problem to allow what you are trying to realize.
This is exactly what I am trying to do, I was really hoping to be able to parse links to the windows client to link directly to clients admin profiles in WHMCS.
One thing you could do which would not be insecure would be rather than allow html is to simply auto-generate links from urls, so if I parse a URL (a string containing either http:// or https://) then you would make it a click-able link in the client window.
I think it would also be a really good idea if in the custom pass-thru setup you allowed us to enter a URL template where we could parse say a user ID from the site and it gets inserted into the url template and shown in the windows client as a click-able url. e.g
Pass-thru name : User Admin
Link text : Admin
Link Template : https://www.mydomain...etails.php?uid=
Personally I think the best use of custom pass-thru data is to allow parsing of URLs for linking directly to loged-in customers admin pages. For us this would save us so much time.
#8
Posted 13 February 2011 - 11:16 AM
#9
Posted 15 February 2011 - 03:36 PM
#10
Posted 15 February 2011 - 06:45 PM
dpunzova said:
Fantastic.
While I am here, sorry different topic but on windows (not sure about linux) your mail function sends mail without a date and so all the email from chats all give the date/time of when they were downloaded to the mail client not actualy sent. (At least in my setup)
To fix it in functions.global.inc.php line 900'ish after the FROM line you should add the line
$headers .= "Date: ".date("r").$EOL;
#11
Posted 15 February 2011 - 07:02 PM
ServWise said:
dpunzova said:
Sorry Line 1000'ish in the latest version
#12
Posted 16 February 2011 - 07:00 AM
#13
Posted 23 February 2011 - 09:48 AM
dpunzova said:
Okay so I just upgraded to 3.3.2.0 but the URL I have in passthrough is still not being converted to a link in the client. Do I have to change anything?
#14
Posted 23 February 2011 - 10:10 AM
Please not that it's currently only working for custom fields, not for email,name or company.
#15
Posted 23 February 2011 - 10:46 AM
dpunzova said:
Please not that it's currently only working for custom fields, not for email,name or company.
Yes it is a custom field.
It is just a normal URL being parsed, E.g. "https://www.servwise.com/admin/clientdetails.php?id=123" the url shows but is not converted into a link.
#16
Posted 23 February 2011 - 10:56 AM
I guess your are using dynamic parameters you replace yourself, right? Which parameter is it? cf0...9?
#17
Posted 23 February 2011 - 11:27 AM
#18
Posted 23 February 2011 - 12:43 PM
#19
Posted 23 February 2011 - 01:02 PM
1. Go to server configuration / Operator client tab and added a new custom field called "Admin" (First and only entry). Restarted client for new field to show.
2. Regenerated my chat button which added a number of cfo= variables and replaced the replacement strings with the base64encoded URL (No html markup or anything surrounding the url just a string starting with https)
#20
Posted 23 February 2011 - 01:02 PM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users













