Page 1 of 2

Google+ rel author on phpBB forum topics

Posted: Sat Nov 10, 2012 8:21 am
by ipollesion
This may be a bit of a long shot here, but I've looked around before posting this question.. I believe it may require those who have knowledge of phpBB source code.

Well after a thorough amount of work and time modifying phpBB to act sort of like a blog/web portal, I have been successful and am very happy with the software.

I would like to take this to the next level by adding per topic authorship.

Google+ has rich snippet functionality and with it properly implemented on a website, the click-through rate is phenomenally improved.

So my question is, where do I intercept this anchor in its function:
Image

Additionally, what I want to do is replace that "by" link with a custom profile field to their Google+ profile which input is a URL (validated by server, if not a URL then it won't save.) OTHERWISE just link to their forum profile if no URL is present.

Image

To make things a bit more tricky,
I want to have this "by" link only replaced on the topic's first post (which is basically the topic itself, this will help not to confuse the search engine per each topic, so it knows who made the topic and doesn't index all the replies as an author)

I hope someone can help, I look forward to achieving this functionality within phpBB and possibly porting it to a phpbb 3.x mod (that is a promise).

Support Request Template
What version of phpBB are you using? phpBB 3.0.11
What is your board's URL? http://www.techimperial.com
Who do you host your board with? No answer given
How did you install your board? I used the download package from phpBB.com
What is the most recent action performed on your board? Fresh Install
Is registration required to reproduce this issue? No
Do you have any MODs installed? No
What styles do you currently have installed? prosilver
What language(s) is your board currently using? English
Which database type/version are you using? SQLite
What is your level of experience? Comfortable with PHP and phpBB
When did your problem begin? 11/10/2012
Please describe your problem. Need to find the way to find a certain point in the phpBB forum code where it generates a link to the member profile for the topic.
Generated by SRT Generator

Re: Google+ rel author on phpBB forum topics

Posted: Sat Nov 10, 2012 8:35 pm
by ipollesion
Nevermind guys, figured it out. Thanks for the resources!

Re: Google+ rel author on phpBB forum topics

Posted: Sun Feb 03, 2013 8:02 pm
by TheDonSansone
@ipollesion
Glad that you worked it out before folks could assist you, how about sharing your solution in here to help others with similar goals?

Re: Google+ rel author on phpBB forum topics

Posted: Sun Mar 31, 2013 8:15 pm
by zummolo
Hi there! There is another solution to display image "author rank" in you phpbb3.

not only as regards your image, but also for that of your any close collaborators.

Simply plug in your signature, this code (of course this is related to my profile google plus):

[html] <link href="https://plus.google.com/102336545165301007264" rel="author" /> [/ html]

is important, however, that in your forum, you have installed the mod "HTML" to use to specific users or groups of users, pure HTML code.

HERE IS AN EXAMPLE OF RESULTS WITH MY FORUM IN WHICH HAVE IMPLEMENTED THIS TECHNIQUE:

- All open discussions on the forum by Frederick Bergna will appear on google like this:http://www.google.com/webmasters/tools/ ... html&html=

- All open discussions on the forums by Daniel Orlandi, will appear on google like this: http://www.google.com/webmasters/tools/ ... html&html=

- but here's an example where in the same debate, two users have signed in your own code. The question is this: http://www.zummolo.com/sardegna-f106/co ... -t167.html
and Google does appear in the serp the first signature is that with this code: http://www.google.com/webmasters/tools/ ... html&html=

Also, google within a discussion, it will display in the serp result of the first user that signature, that code. So if in the same discussion more than one user has the signature in its "rel author", google will index the first signature of the first user with this signature.

Sorry for my bad English, I hope you understand something ...

Re: Google+ rel author on phpBB forum topics

Posted: Thu Apr 04, 2013 4:47 pm
by ipollesion
Thanks for sharing zummolo, but I'd say it's much easier and by far more secure to just use a custom BBcode made for the administrator or hidden ones for users.

You could also implement it through a profile link which would require mysql.

Re: Google+ rel author on phpBB forum topics

Posted: Thu Apr 04, 2013 4:57 pm
by zummolo
Hi ipollesion, thanks for your advice. In my specific case, I just put this code in my signature:

<link href="https://plus.google.com/102336545165301007264" rel="author" />

but in my phpbb3 i have installed the simple mod "enable HTML". The mod is easy to install and you can set permission post pure HTML only users or group of users you want.

5 minutes for this modification.

Re: Google+ rel author on phpBB forum topics

Posted: Thu Jun 27, 2013 7:06 am
by Shakensoul
I have tried all the above options and also verified my email address, still authorship is not working on my forum.

Infact I had added <link rel="author" href="https://plus.google.com/103760963677392586029"/> to the header section, but still authorship is not working.

E.g. link http://www.google.com/webmasters/tools/ ... -t115.html

However, authorship is working on my main site, e.g. link

http://www.google.com/webmasters/tools/ ... dabad.html

What could be missing or done incorrectly ?

Re: Google+ rel author on phpBB forum topics

Posted: Mon Jul 08, 2013 7:55 am
by Oyabun1
ipollesion wrote:I look forward to achieving this functionality within phpBB and possibly porting it to a phpbb 3.x mod (that is a promise).
Where is the MOD you promised?

Re: Google+ rel author on phpBB forum topics

Posted: Sun Aug 04, 2013 7:35 am
by Shakensoul
Any help would be appreciated, I seriously want this to work.

Re: Google+ rel author on phpBB forum topics

Posted: Wed Jan 29, 2014 12:32 pm
by jaiak
any news?

in phpBB 3.1 don't appear "google+" form

thanks

Re: Google+ rel author on phpBB forum topics

Posted: Thu Feb 06, 2014 1:35 am
by ipollesion
Oyabun1 wrote:
ipollesion wrote:I look forward to achieving this functionality within phpBB and possibly porting it to a phpbb 3.x mod (that is a promise).
Where is the MOD you promised?
Nearly forgot, I finished a new computer build with new SSDs, etc. I will begin working on this mod over the weekend. (It's not difficult at all, and to do it the right way is simple.)

I'd say the main reason why I didn't create it already is because the MOD install process is a bit bulky last I remember it. Although, I'd like to make it modx compatible, so I'll be reading up on that.

Regards,
iPollesion

Re: Google+ rel author on phpBB forum topics

Posted: Fri Feb 07, 2014 9:19 am
by ipollesion
I went ahead and created it anyway earlier because I wanted a challenge.

https://www.phpbb.com/customise/db/mod/ ... ile_links/

Re: Google+ rel author on phpBB forum topics

Posted: Mon Feb 10, 2014 6:27 am
by Ozo
ipollesion wrote:I went ahead and created it anyway earlier because I wanted a challenge.

https://www.phpbb.com/customise/db/mod/ ... ile_links/
I am interested in this as MOD but not sure what you are linking there.
The contribution you requested could not be found.

thanks

Re: Google+ rel author on phpBB forum topics

Posted: Mon Feb 10, 2014 9:32 pm
by ipollesion
Ozo wrote:
ipollesion wrote:I went ahead and created it anyway earlier because I wanted a challenge.

https://www.phpbb.com/customise/db/mod/ ... ile_links/
I am interested in this as MOD but not sure what you are linking there.
The contribution you requested could not be found.

thanks
that's the link for the download. the moderators have not approved the mod yet, it usually takes about four weeks from the submission date.

Re: Google+ rel author on phpBB forum topics

Posted: Mon Feb 10, 2014 9:37 pm
by Ozo
They'll probably ask you to 'correct' it a few times before it gets approved.

thanks anyway.