phpBB Pretty Sociable

Mods, snippets and styles postet and supported by the users
Forum rules
As the forum title says this is for User Contributions
Post a support request in this forum and you will be banned!
User avatar
slash
BBCoder II
BBCoder II
Posts: 57
Joined: 27 Oct 2011, 18:53
BBCodes: 31
Contact:

phpBB Pretty Sociable

Post by slash »

Title:phpBB Pretty Sociable
Authors:Slash, Stoker
Description:With a really nice effect, allows you to share topics and forums on the main social networks
[anipro]200,100[/anipro]

Demo:

[youtube]http://www.youtube.com/watch?v=3hrRIESbRQE[/youtube]




open: styles/prosilver/themplate/overall_header.html

find:

Code: Select all

</head>
add before:

Code: Select all

<!--phpBB Pretty Sociable by Slash & Stoker www.wiizard.it www.phpbb3bbcodes.com-->

<!-- IF SCRIPT_NAME == "viewtopic" or SCRIPT_NAME == "viewforum" -->
<script type="text/javascript" src="{ROOT_PATH}script/prettySociable/js/jquery.prettySociable.js"></script>
<!-- ENDIF -->

<script type="text/javascript">
// <![CDATA[
$(document).ready(function(){
	<!-- IF SCRIPT_NAME == "viewtopic" or SCRIPT_NAME == "viewforum" -->
	$.prettySociable();
	<!-- ENDIF -->	
});
// ]]>
</script>
<!--[if lte IE 6]><script src="{ROOT_PATH}script/prettySociable/js/DD_belatedPNG.js" type="text/javascript"></script><![endif]-->

<!-- IF SCRIPT_NAME == "viewtopic" or SCRIPT_NAME == "viewforum" -->
<link rel="stylesheet" href="{ROOT_PATH}script/prettySociable/css/prettySociable.css" type="text/css" media="screen" />
<!-- ENDIF -->

<!--phpBB Pretty Sociable by Slash & Stoker www.wiizard.it www.phpbb3bbcodes.com-->

open: styles/prosilver/themplate/viewtopic_body.html

find:

Code: Select all

<h2><a href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a></h2>
replace with:

Code: Select all

<h2><!-- IF S_IS_BOT --><a href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a><!-- ELSE --><a href="#" rel="prettySociable;title: Drag to share:;excerpt:{TOPIC_TITLE}">{TOPIC_TITLE}</a><!-- ENDIF --></h2>
open: styles/prosilver/themplate/viewforum_body.html

find:

Code: Select all

<h2><a href="{U_VIEW_FORUM}">{FORUM_NAME}</a></h2>
replace with:

Code: Select all

<h2><!-- IF S_IS_BOT --><a href="{U_VIEW_FORUM}">{FORUM_NAME}</a><!-- ELSE --><a href="#" rel="prettySociable;title:Drag to share;excerpt:{FORUM_NAME}">{FORUM_NAME}</a><!-- ENDIF --></h2>
download:
phpBB Pretty Sociable.rar
(63.02 KiB) Downloaded 478 times
Upload script folder on your root forum

I added stoker on the credits because I used your premod and this link: http://www.no-margin-for-errors.com/pro ... e-sharing/ to do this mod.
User avatar
FTH
BBCoder III
BBCoder III
Posts: 124
Joined: 25 Nov 2011, 23:28
BBCodes: 10
Contact:

phpBB Pretty Sociable

Post by FTH »

very nice, thanks to sharing ;)
User avatar
themission
BBCoder III
BBCoder III
Posts: 123
Joined: 10 Aug 2011, 22:32
BBCodes: 3
Location: Devon UK
Contact:

phpBB Pretty Sociable

Post by themission »

Great post Thanks - i use the premod so have it already ( i bet someone Beginning with E or T will fail with it )
User avatar
Arnevb
BBCoder III
BBCoder III
Posts: 98
Joined: 08 Oct 2011, 18:23
BBCodes: 8
Location: Belgium
Contact:

phpBB Pretty Sociable

Post by Arnevb »

Thanks SOO much!
artikkk
BBCoder II
BBCoder II
Posts: 42
Joined: 02 May 2010, 18:33

phpBB Pretty Sociable

Post by artikkk »

Thanks!
Wizzy
BBCoder II
BBCoder II
Posts: 9
Joined: 30 Nov 2011, 06:17
BBCodes: 50

phpBB Pretty Sociable

Post by Wizzy »

Does it take under its attention forums permissions? is it possible to disable it for private forums to not dot allow my VIPs share topics from hidden forums?
User avatar
slash
BBCoder II
BBCoder II
Posts: 57
Joined: 27 Oct 2011, 18:53
BBCodes: 31
Contact:

phpBB Pretty Sociable

Post by slash »

No, but if a user does not have the appropriate permissions can not aced in the private or donator forum! ;)
Wizzy
BBCoder II
BBCoder II
Posts: 9
Joined: 30 Nov 2011, 06:17
BBCodes: 50

phpBB Pretty Sociable

Post by Wizzy »

yes, but if there is no possibility to turn off it on private forums then unfortunately that's not good for me. Ppl mostly do not think.. if you will provide them feature then they will use it ^^ sad, cuz its nice.

Any idea how to disable it on private forums? :>
User avatar
doktornotor
BBCoder IV
BBCoder IV
Posts: 167
Joined: 14 Sep 2011, 23:20
BBCodes: 30
Favourite MOD: Thanks for Posts
Contact:

phpBB Pretty Sociable

Post by doktornotor »

<!-- IF FORUM_ID neq 1 --> ... <!-- ENDIF -->. I still do not get why do you want/need this. So they will share a topic title that people will not be able to read anyway. Big deal...
Support requests via PM go straight to /dev/null!
User avatar
slash
BBCoder II
BBCoder II
Posts: 57
Joined: 27 Oct 2011, 18:53
BBCodes: 31
Contact:

phpBB Pretty Sociable

Post by slash »

thank you doktor!
Locked