1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Dumb question (no.2) - what's a 'random-string'?

Discussion in 'Off Topic' started by DoctorWatsOn, Nov 9, 2010.

  1. DoctorWatsOn

    DoctorWatsOn Well-Known Member

    ...and where do I find one? :D

    Right, I trying to get xfrocks' excellent WordPress 3 Bridge to work, but I am having problems with users logging in, there's 2 options to get this to work.

    1 - Copying the globalSalt from the xF application.php file and into the WP dashboard - this is what I've tried and it doesn't work.

    2 - editing the xF config.php file and adding: $config['globalSalt'] = 'random-string-goes-here'; < but I am lost as to what I should put where it says 'random-string-goes-here'.

    Can anyone help?
  2. bambua

    bambua Well-Known Member

    It can be anything really. Just search Google for a random hash generator. There are lots out there.
  3. DoctorWatsOn

    DoctorWatsOn Well-Known Member

    Cheers, well that's blown my mind; I don't even think I want to know why a complete random string of numbers & letters should be able to make something work.

    Anyway, I used a generator and it gave me - R9xP0ze8w0

    So, I added this at the end of the xF config.php file - $config['globalSalt'] = ‘R9xP0ze8w0’

    And I totally lost my WP - nothing but blank white pages. :(
  4. bambua

    bambua Well-Known Member

    In basic terms a salt is part of a key that allows 2 pieces of code authenticate with one another so that they can access data. As for the bridge giving white pages, not sure :/
  5. DoctorWatsOn

    DoctorWatsOn Well-Known Member

    Oh well, thanks for your help anyway. :)

Share This Page