Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store more infos about the user #9

Closed
GoogleCodeExporter opened this issue Mar 20, 2015 · 2 comments
Closed

Store more infos about the user #9

GoogleCodeExporter opened this issue Mar 20, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

Is it possible to send additionnals informations to store.php
for example, I would like to store the username of my visitor and the title
of the visited page...
possible ?

thanks

Original issue reported on code.google.com by nans.ste...@gmail.com on 10 Feb 2010 at 2:05

@GoogleCodeExporter
Copy link
Author

The page title is sent to store.php

Saving additional info on DB it's up to you: you must be able to set up the 
database
and add the columns that you wish on the tables that you want. I only provide a
standard version of smt2, and things like storing the user name are not 
"standard"
because it depends on the Web page/application itself, and smt2 should work on 
every
webserver with every Web page.

Thank you for your inquiry,
Luis

Original comment by luis.lei...@gmail.com on 10 Feb 2010 at 3:12

  • Changed state: WontFix

@GoogleCodeExporter
Copy link
Author

yes, of course ...
but may be an optional field "comment" (varchar 255 for ex) could be great in 
the
standard version ...
with initialisation via JS... if the var exist, you send it to store.php else 
you
don't send

like that for ex

<?php if (mycondition) { ?>
 <script type="text/javascript">
  var smtRecordingOptions = { 
   page_comment: "my comment...the username is toto"
  };

  </script>
<?php } ?>

just an idea... I think I can realize this functionnality but, not sure to make 
a
good code ... 

up to you to integrate that :)

Original comment by nans.ste...@gmail.com on 10 Feb 2010 at 4:28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant