Skip to Content Skip to Menu

CB auto action within the same line javascript and PHP

8 years 2 months ago #284136 by smalldragoon
Hello
I have CB auto actions install and I'm tryting to install a device fingerprinting solution at login

I have the following code, tested out of Joomla which works :

<?php $MyREFSessionID = md5(microtime(true)); ?>

Hello
I have CB auto actions install and I'm tryting to install a device fingerprinting solution at login

I have the following code, tested out of Joomla which works :
Code:
<?php $MyREFSessionID = md5(microtime(true)); ?>
Code:
<sscript type="text/javascript" src="http://xxxxx/device.js?myrefsession_id=<?php echo $MyREFSessionID ?>&debug=1"></script>

note : the sscript is normal as otherwise, forum do not allow me to put sample code and interpret it ...


I created an auto-action at "before login" with a code action
I'm fine with the first php line, but how can I have the 2nd working ?
I made some test with HTML or Javascript and it is not working ....
Thanks a lot !


I created an auto-action at "before login" with a code action
I'm fine with the first php line, but how can I have the 2nd working ?
I made some test with HTML or Javascript and it is not working ....
Thanks a lot !

Please Log in or Create an account to join the conversation.

8 years 2 months ago #284166 by smalldragoon
Up !:whistle:

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
8 years 2 months ago #284184 by nant
For support on CB Auto Actions you need to post in the paid support forums where CB Team members will help you.

If you do not have a valid subscription you need to get one and this way make sure that you have the latest CB Auto Actions code.

This forum area is for community driven support (where users basically help each other).

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum