Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
themes-topic
Responsive theme - google+ link in profile
Avatar
Theo Patsios
UK
Member
Free Members
sp_UserOfflineSmall Offline
Jan 14, 2014 - 12:49 am

Hello the google+ link in profile identities is acting strange.

I enter this - "+TheoPatsios" 

and it generates this - http://plus.google.com/u/+Theo.....heoPatsios

 

Where do I need to look to fix this?

 

Thanks,

Theo

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 14, 2014 - 2:03 am

Not sure - I can replicate your issue so will need to look into the code. Have opened a bug report  and will try and take a look as soon as I can...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 14, 2014 - 2:22 am

OK - let me start out by saying that I am not a Google+ user and know nothing about it. So perhaps you can hep me out here... what, exactly SHOULD the URL be in your case?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Theo Patsios
UK
Member
Free Members
sp_UserOfflineSmall Offline
Jan 14, 2014 - 9:05 am

google.com/+TheoPatsios is all that is needed

but http://plus.google.com/+TheoPatsios would also work.

it just appears to add "+TheoPatsios" twice and the "/u/" part.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 14, 2014 - 12:49 pm

I have opened a discussion with the colleague who wrote the code but he is actually away from home at the moment so it is not easy.

But I can talk you through a temporary fix if you wish and do not mind making a small code edit.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Theo Patsios
UK
Member
Free Members
sp_UserOfflineSmall Offline
Jan 15, 2014 - 1:54 am

I am comfortable with editing code, just tell me where I am looking.

Cheers

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 15, 2014 - 3:39 am

OK - the file to edit is /simple-press/forum/content/sp-topic-view-functions.php

This is a big file! The function you need is down around line 1715 or so and is called sp_PostIndexUserGooglePlus()

Find the line that starts:

$out = "<a id='$tagId'...

and in there you will quickly see the repeating '/$spThisPostUser->googleplus' which needs to be removed. just remove and save.

meanwhile - as I say - I have an open ticket and an open conversation about this and it will get oatched up for the next update of Simple:Press,

 

andy-signature.png
YELLOW
SWORDFISH
Avatar
Theo Patsios
UK
Member
Free Members
sp_UserOfflineSmall Offline
Jan 15, 2014 - 11:34 pm

All sorted, thanks.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 16, 2014 - 4:49 am

Glad to hear it...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Thibaud
Member
Free Members
sp_UserOfflineSmall Offline
Jan 16, 2014 - 8:51 am

Great thank you

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625