silence
Well-known member
lol I'm not seeing it.oh. ok. thanks a lot. I think some other members are sceaming for this solution too?
lol I'm not seeing it.oh. ok. thanks a lot. I think some other members are sceaming for this solution too?
Overwrite everything. I put it at version 2 and the install script should work (i tested it on my board just to be sure).ehhm...just overwrite or install manually?
You should make a pull request... Distributing in this adhoc manner will make it hard to upgrade later. For example, people who upgrade with your package will not be able when a new version is available with a "smaller" version...Ok I got it working, although I think what I did (didn't modify original code, just the linkedin file) is a bit unorthodox. I would love if someone could give me some input as to my solution being... bad?
Whatever, tell me how it goes.
I'm so sorry! Would you like me to remove the addon posted above?You should make a pull request... Distributing in this adhoc manner will make it hard to upgrade later. For example, people who upgrade with your package will not be able when a new version is available with a "smaller" version...
I'm not the author, I was just suggesting you to make a pull request and contribute to the repo (at github).I'm so sorry! Would you like me to remove the addon posted above?
Oh... Well I'll do that in a bit but I'll update the post and keep it at the version it's currently at, to avoid the issue you stated.I'm not the author, I was just suggesting you to make a pull request and contribute to the repo (at github).
Oh... Well I'll do that in a bit but I'll update the post and keep it at the version it's currently at, to avoid the issue you stated.
@Echelon I think you're the only one who installed this, so you probably need to change the version number. If you need help doing this, PM me and I'll write up instructions on how to do so!
Oh... Well I'll do that in a bit but I'll update the post and keep it at the version it's currently at, to avoid the issue you stated.
@Echelon I think you're the only one who installed this, so you probably need to change the version number. If you need help doing this, PM me and I'll write up instructions on how to do so!
Well I'm encouraging you to uninstall it while I fix everything up. If you already have users using it, PM me and I'll help you fix it manuallymmmm....I'm not that technical and maybe I'm overlooking something but I cannot get it to work yet
:| ughhhhh Edit the file located at library/Social/Install.phpoops.....cant uninstall ;-) due to linkedin ;-)View attachment 61174
protected function _uninstallStep1()
{
$db = $this->_getDb();
$db->query("
ALTER TABLE xf_user_profile
DROP twitter_auth_id,
DROP google_auth_id,
DROP vk_auth_id,
DROP linkedin_auth_id
");
$db->query("
DELETE FROM xf_user_external_auth
WHERE provider = 'vk' OR provider = 'twitter' OR provider = 'google' OR provider = 'linkedin'
");
}
protected function _uninstallStep1()
{
$db = $this->_getDb();
$db->query("
ALTER TABLE xf_user_profile
DROP twitter_auth_id,
DROP google_auth_id,
DROP vk_auth_id
");
if ($db->fetchRow('SHOW columns FROM xf_user_profile WHERE field = \'linkedin_auth_id\''))
{
$db->query("
ALTER TABLE xf_user_profile
DROP linkedin_auth_id
");
}
$db->query("
DELETE FROM xf_user_external_auth
WHERE provider = 'vk' OR provider = 'twitter' OR provider = 'google' OR provider = 'linkedin'
");
}
Then try the uninstall process again, fine sir!Done ;-)
We use essential cookies to make this site work, and optional cookies to enhance your experience.