Module

Archived
Forum
(read-only)

Social Sign On

ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Laisvunas

     

Bug fix with Zoo Visitor

Support Request

Studio Meta
Studio Meta

Social Sign On is able to create a Zoo Visitor Entry but when logging in with twitter url_title is misformated.

ExpressionEngine forbids numerical url title as so you must add a string to your variable, ie line 1190 :

      // EE url title couldn’t be numeric only
      if( is_numeric( $zoo_channel_entry_url_title ) ) {
      $abc= array(“a”, “b”, “c”, “d”, “e”, “f”, “g”, “h”, “i”, “j”, “k”, “l”, “m”, “n”, “o”, “p”, “q”, “r”, “s”, “t”, “u”, “v”, “w”, “x”, “y”, “z”);
      $zoo_channel_entry_url_title = $abc[rand(0,1)] . $zoo_channel_entry_url_title;
      } 

Add a random letter if url_title is numeric. You could fix it in other ways.

Cheers,

Laisvunas
# 1
Developer
Laisvunas

Hi,

You are right, this is a bug. Tanks for reporting ang proposing the fix.

I added your fix in the version 2.2.2.