Premium Plugin: Guest-ID

"Nobody in our forum knew which post belonged to 'anonymous'. Now with this plugin, everything got so transparent. Thanks a lot!"
plugin preview
Presentation Video Live Demo only 9 USD


Gives all anonymous users that are posting in your forum a unique ID and makes it easier to identify them in a thread.


  • gives each anonymous user in your forum a unique id
  • choose from three id options: 5 digits, 2 letters + 2 digits, 2 letters + 3 digits
  • the id gets calculated from the IP address*
  • the default display name for "anonymous" can be changed
  • if you have q2a v1.6 or higher: if anonymous visitor posts specifying a name, the ID gets attached after the name
  • available languages: en, fr, de

How the algorithm works:

  1. at first we convert the IP "" to integer. In PHP via ip2long() from "" we get "2066566678"
  2. from this integer we take the first and the second digit (2 und 0)
  3. both numbers are mapped to an array: array('a','b','c','d','e','f','g','h','i','j','k') - "2" becomes "c" and "0" becomes "a"
  4. additionally we take the 3rd and 4th digit from the integer. From 2066566678 we get "66"
  5. finally we combine all elements and get "guest ca66"

As you can see, it is impossible to conclude the IP from the generated ID "ca66"!


This plugin is used at - one of the biggest question and answer forums for mathematics in German speaking countries, where hundreds of questions are edited daily using this plugin.


  1. Download the ZIP file provided
  2. Extract the folder q2apro-guest-id from the ZIP file.
  3. Move the folder q2apro-guest-id to the qa-plugin folder of your Q2A installation.
  4. Use your FTP-Client to upload the folder q2apro-guest-id into the qa-plugin folder of your server.
  5. Navigate to your site, go to Admin -> Plugins and check if the plugin "Guest-ID" is listed.
  6. Change the options of the plugin if you like, and Save.
  7. Congratulations, your new plugin has been installed.


This code is in use in many q2a forums and has been tested thoroughly. However, please make a full MySQL backup of your data before installing this plugin in production environments. There could be, for instance, another plugin that interferes with this plugin. We cannot accept any claim for compensation if data is lost.


Copyright © - All rights reserved.
Redistribution of the plugin code not permitted.