[ABD] Social Networking Site Buttons 2.2.0

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
maggie444
Registered User
Posts: 11
Joined: Wed Apr 02, 2008 11:22 am

Re: [RC] Social Networking Site Buttons 2.1.1

Post by maggie444 » Sat Nov 21, 2009 8:00 am

Installed with AutoMOD - working great.

Is there any way to make the links open in a new window? I dont like users going away from the forum - I have adjusted the normal url's to open in a new window but the social networking buttons seem to ignore this.

Thanks in advance!

User avatar
DoYouSpeakWak
Registered User
Posts: 2307
Joined: Fri Jul 25, 2008 1:32 pm
Location: Island of Wak-Wak
Name: Hans Lassen
Contact:

Re: [RC] Social Networking Site Buttons 2.1.1

Post by DoYouSpeakWak » Sat Nov 21, 2009 10:53 am

maggie444 wrote:Installed with AutoMOD - working great.

Is there any way to make the links open in a new window? I dont like users going away from the forum - I have adjusted the normal url's to open in a new window but the social networking buttons seem to ignore this.

Thanks in advance!
Sure install the prime links mod (use the search bar in the menu) In it should be a guide for website links in profile. That guide should be just fine for adding it to this mod. i havnt tested it but cant imagine it wouldnt.
Whatever you share comes back. Support the phpBB Communities
My Validated and Released Modifications
Offering paid phpBB help and System administrator services.

User avatar
zake black
Registered User
Posts: 694
Joined: Fri Jan 23, 2009 8:34 am
Location: Milton Keynes (UK)
Contact:

Re: [RC] Social Networking Site Buttons 2.1.1

Post by zake black » Sat Nov 21, 2009 11:01 am

DoYouSpeakWak wrote:
maggie444 wrote:Installed with AutoMOD - working great.

Is there any way to make the links open in a new window? I dont like users going away from the forum - I have adjusted the normal url's to open in a new window but the social networking buttons seem to ignore this.

Thanks in advance!
Sure install the prime links mod (use the search bar in the menu) In it should be a guide for website links in profile. That guide should be just fine for adding it to this mod. i havnt tested it but cant imagine it wouldnt.
I'v changed mine so they open in a new window.. so can be done :)

maggie444
Registered User
Posts: 11
Joined: Wed Apr 02, 2008 11:22 am

Re: [RC] Social Networking Site Buttons 2.1.1

Post by maggie444 » Sat Nov 21, 2009 11:15 am

zake black wrote:I'v changed mine so they open in a new window.. so can be done :)
Have you done this with Prime Links? I have installed this mod but the links are still opening in the same window.

User avatar
zake black
Registered User
Posts: 694
Joined: Fri Jan 23, 2009 8:34 am
Location: Milton Keynes (UK)
Contact:

Re: [RC] Social Networking Site Buttons 2.1.1

Post by zake black » Sat Nov 21, 2009 11:32 am

maggie444 wrote:
zake black wrote:I'v changed mine so they open in a new window.. so can be done :)
Have you done this with Prime Links? I have installed this mod but the links are still opening in the same window.
I think i went in and did a manual change myself it was a while back. Im on my way out now. Later on this evening I'll take a look and supply you the edits :)

If i recall its only two files view topic and view profile dont recall the exact file names tho and then one edit per social network option

User avatar
zake black
Registered User
Posts: 694
Joined: Fri Jan 23, 2009 8:34 am
Location: Milton Keynes (UK)
Contact:

Re: [RC] Social Networking Site Buttons 2.1.1

Post by zake black » Sat Nov 21, 2009 11:36 am

Ok viewtopic_body.html styles/yourstyle/templates

about lines 220 ish

I have as follows for each external option

Code: Select all

<!-- IF postrow.U_TWITTER --><li class="twitter-icon"><a href="http://www.twitter.com/{postrow.U_TWITTER}" title="{L_TWITTER}" TARGET="_blank"><span>{L_TWITTER}</span></a></li><!-- ENDIF -->
the TARGET="_blank" is the key on the end..

Im still looking for the other edit.. will edit it in when i can :)


EDIT::

Ooops forgot about private message.

again styles/yourstyle/templates

file ucp_pm_viewmessage.html

Code: Select all

<!-- IF U_TWITTER --><li class="twitter-icon"><a href="http://www.twitter.com/{U_TWITTER}" title="{L_TWITTER}" TARGET="_blank"><span>{L_TWITTER}</span></a></li><!-- ENDIF -->
EDIT::

You still need the text links in view profile.. i need to find which file it is.. but have really run out of time sorry.. so if no one has let you know which one i'll do it later. but all you do is add that same TARGET="_blank" at the end :)

maggie444
Registered User
Posts: 11
Joined: Wed Apr 02, 2008 11:22 am

Re: [RC] Social Networking Site Buttons 2.1.1

Post by maggie444 » Sat Nov 21, 2009 11:53 am

Many thanks for that! Up & running now exactly how I want. 8-)

User avatar
Jaymie1989
Registered User
Posts: 1991
Joined: Thu Aug 02, 2007 5:21 pm
Name: Jaymie

Re: [RC] Social Networking Site Buttons 2.1.1

Post by Jaymie1989 » Sat Nov 21, 2009 12:26 pm

Just to say that adding target="_blank" or blank is not a valid XHTML in the HTML files. phpBB3 was built using XHTML to make it run smoother.

I will be adding some FAQs on such things just like this.

indijanac - Install the MOD with the AutoMOD or with Notepad++ if you are doing it manually. See if it works with prosilver (The one that came with phpBB3) before you install it on any other styles. Remember to run the install_social_networking_buttons.php as well.
Dear creators of Sesame Street,
Kids are still fat. Can I come back now?
Sincerely, Cookie Monster.

View my MODs - Need phpBB help with MODs and Styles? Take a look at my phpBB3 services

User avatar
Jaymie1989
Registered User
Posts: 1991
Joined: Thu Aug 02, 2007 5:21 pm
Name: Jaymie

Re: [RC] Social Networking Site Buttons 2.1.1

Post by Jaymie1989 » Sun Nov 22, 2009 5:47 pm

Dragonfly_Dreams wrote:Just book marking for release date.
Just to add something to this:

This MOD is stable enough for live board. The only reason why its not yet been validated by the MOD team is becuase its the MODX files and some other smaller issues. There are no bugs as for say in this just some parts that need changing to make them better for all browsers.

If anyone does any concerns on this MOD please do not hessitate to contact me or DoYouSpeakWak via posting a message (Please do not email us.) and we will be more than happy to reply to you and ask any questions that you may have.
Dear creators of Sesame Street,
Kids are still fat. Can I come back now?
Sincerely, Cookie Monster.

View my MODs - Need phpBB help with MODs and Styles? Take a look at my phpBB3 services

User avatar
jrolson
Registered User
Posts: 837
Joined: Wed Jan 05, 2005 1:53 am
Location: U.S.

Re: [RC] Social Networking Site Buttons 2.1.1

Post by jrolson » Mon Nov 23, 2009 4:46 am

The links in memberlist_view.html for subsilver2 are wrong.
The "U" should be "USER"

For example,

Code: Select all

<!-- IF USER_FACEBOOK --><a href="{U_FACEBOOK}">{FACEBOOK_IMG}</a>
Should be,

Code: Select all

<!-- IF USER_FACEBOOK --><a href="{USER_FACEBOOK}">{FACEBOOK_IMG}</a>
Last edited by jrolson on Mon Nov 23, 2009 7:07 am, edited 1 time in total.

indijanac
Registered User
Posts: 105
Joined: Wed Jan 14, 2009 1:10 am

Re: [RC] Social Networking Site Buttons 2.1.1

Post by indijanac » Mon Nov 23, 2009 6:23 am

Like i said, problem was not in dreamweaver but in code, jrolson fixed the think. :)

indijanac
Registered User
Posts: 105
Joined: Wed Jan 14, 2009 1:10 am

Re: [RC] Social Networking Site Buttons 2.1.1

Post by indijanac » Mon Nov 23, 2009 6:36 am

And one more think, when u add link in UCP where it needs to be, when you submit that page and come back there is empty box without link, i think that link there must be saved?

User avatar
Jaymie1989
Registered User
Posts: 1991
Joined: Thu Aug 02, 2007 5:21 pm
Name: Jaymie

Re: [RC] Social Networking Site Buttons 2.1.1

Post by Jaymie1989 » Mon Nov 23, 2009 5:37 pm

Did you run the install script?
Dear creators of Sesame Street,
Kids are still fat. Can I come back now?
Sincerely, Cookie Monster.

View my MODs - Need phpBB help with MODs and Styles? Take a look at my phpBB3 services

indijanac
Registered User
Posts: 105
Joined: Wed Jan 14, 2009 1:10 am

Re: [RC] Social Networking Site Buttons 2.1.1

Post by indijanac » Mon Nov 23, 2009 8:46 pm

Yes

User avatar
Jaymie1989
Registered User
Posts: 1991
Joined: Thu Aug 02, 2007 5:21 pm
Name: Jaymie

Re: [RC] Social Networking Site Buttons 2.1.1

Post by Jaymie1989 » Tue Nov 24, 2009 11:29 am

Did you receive any error? Either on top of the page or above the the fields?
indijanac wrote:Like i said, problem was not in dreamweaver but in code, jrolson fixed the think. :)
Im getting tired of this now you cannot use dreamweaver to save your phpBB3 files. I have already told you that.
Check you includes/ucp/ucp_profile.php edits to make sure they are there.
Dear creators of Sesame Street,
Kids are still fat. Can I come back now?
Sincerely, Cookie Monster.

View my MODs - Need phpBB help with MODs and Styles? Take a look at my phpBB3 services

Locked

Return to “[3.0.x] Abandoned MODs”