-

[Solved]Facebook Share In Blog Mod

Support for phpBB3, phpBB3 Modifications, and phpBB3 styles
Forum rules
Bugs go in the Bug Tracker

[Solved]Facebook Share In Blog Mod

Postby ThunderCrew » Wed Feb 16, 2011 1:31 am

When I click share it pops open the facebook share script and works like a charm with one exception....
Instead of sharing in a new popup it take me there in the same tab then closes on me leaving me out in the cold....
Any ideas ? been gone a while glad to be back and glad to see this one still going forward thanx for your hard work.

PS I was in Coda , phpbb 3.0.8 , latest Firefox , Blog Mod 1.0.13
Last edited by ThunderCrew on Wed Feb 16, 2011 2:29 pm, edited 1 time in total.
User avatar
ThunderCrew
Donor
Donor
 
Posts: 94
Joined: Thu Apr 10, 2008 9:36 am
Location: Illinois, Usa
Blog: View Blog (0)

Re: Facebook Share In Blog Mod

Postby EXreaction » Wed Feb 16, 2011 1:59 pm

You could modify the html code there to have it open in a new window instead.
Grateful for the mods I've built? Then donate!
User avatar
EXreaction
Site Owner
Site Owner
 
Posts: 4988
Joined: Wed Jun 28, 2006 5:08 pm
Blog: View Blog (53)

Re: Facebook Share In Blog Mod

Postby ThunderCrew » Wed Feb 16, 2011 2:07 pm

Which file holds that ? I assume go dig in the files and search for "facebook" to find it perhaps ....
User avatar
ThunderCrew
Donor
Donor
 
Posts: 94
Joined: Thu Apr 10, 2008 9:36 am
Location: Illinois, Usa
Blog: View Blog (0)

[Solved]Facebook Share In Blog Mod

Postby ThunderCrew » Wed Feb 16, 2011 2:17 pm

found I think ... testing now in "forum/blog/styles/coda/style_plugin.php" found " 'SHARE_URL' => urlencode($blog_urls['self'])," changing to _new

Hmm nope that took me in same window and didnt save the url it now returns "Enter a URL you would like to share."

Ok found it ....

Code: Select all
<li><span class="share">Share</span>
                        <ul class="sharing">
                           <li class="first"><a href="http://blinklist.com/index.php?Action=Blink/addblink.php&amp;Url={SHARE_URL}" id="share_blinklist" title="Share on BlinkList" rel="nofollow">BlinkList</a></li>
                           <li><a href="http://del.icio.us/post?url={SHARE_URL}" id="share_delicious" title="Add to del.icio.us" rel="nofollow">del.icio.us</a></li>
                           <li><a href="http://digg.com/submit?url={SHARE_URL}" id="share_digg" title="Digg This!" rel="nofollow">Digg</a></li>
                           <li><a href="http://www.facebook.com/share.php?u={SHARE_URL}" id="share_facebook" title="Share on Facebook" rel="nofollow">Facebook</a></li>
                           <li><a href="http://ma.gnolia.com/beta/bookmarklet/add?url={SHARE_URL}" id="share_magnolia" title="Share on Ma.gnolia" rel="nofollow">Ma.gnolia</a></li>
                           <li><a href="http://www.muti.co.za/submit?url={SHARE_URL}" id="share_muti" title="Share on Muti" rel="nofollow">Muti</a></li>
                           <li><a href="http://reddit.com/submit?url={SHARE_URL}" id="share_reddit" title="Share on Reddit" rel="nofollow">Reddit</a></li>
                           <li><a href="http://www.stumbleupon.com/submit?url={SHARE_URL}" id="share_stumbleupon" title="Share on StumbleUpon" rel="nofollow">StumbleUpon</a></li>
                           <li class="last"><a href="http://www.technorati.com/faves?add={SHARE_URL}" id="share_technorati" title="Favourite on Technorati" rel="nofollow">Technorati</a></li>


Just need to add the target=_new in there I assume to be all fixed up the path is ....
forum/blog/styles/coda/blog/view_blog.html

Yes it works simply put target="_new" after each {SHARE_URL} to make them all look like this

{SHARE_URL}" target="_new" id=
User avatar
ThunderCrew
Donor
Donor
 
Posts: 94
Joined: Thu Apr 10, 2008 9:36 am
Location: Illinois, Usa
Blog: View Blog (0)


Return to phpBB3 Support



Who is online

Users browsing this forum: No registered users and 4 guests

cron