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, 16:53
BBCodes: 31

phpBB Pretty Sociable

Post by slash » 14 Dec 2011, 16:47

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
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.
You do not have the required permissions to view the files attached to this post.


User avatar
FTH
BBCoder III
BBCoder III
Posts: 124
Joined: 25 Nov 2011, 21:28
BBCodes: 10

phpBB Pretty Sociable

Post by FTH » 14 Dec 2011, 17:52

very nice, thanks to sharing ;)

User avatar
themission
BBCoder III
BBCoder III
Posts: 123
Joined: 10 Aug 2011, 20:32
BBCodes: 3
Location: Devon UK

phpBB Pretty Sociable

Post by themission » 14 Dec 2011, 18:03

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, 16:23
BBCodes: 8
Location: Belgium

phpBB Pretty Sociable

Post by Arnevb » 14 Dec 2011, 20:01

Thanks SOO much!

artikkk
BBCoder II
BBCoder II
Posts: 42
Joined: 02 May 2010, 16:33

phpBB Pretty Sociable

Post by artikkk » 21 Dec 2011, 16:51

Thanks!


Wizzy
BBCoder II
BBCoder II
Posts: 9
Joined: 30 Nov 2011, 04:17
BBCodes: 50

phpBB Pretty Sociable

Post by Wizzy » 28 Dec 2011, 17:03

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, 16:53
BBCodes: 31

phpBB Pretty Sociable

Post by slash » 28 Dec 2011, 20:18

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, 04:17
BBCodes: 50

phpBB Pretty Sociable

Post by Wizzy » 29 Dec 2011, 04:48

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, 21:20
BBCodes: 30
Favourite MOD: Thanks for Posts

phpBB Pretty Sociable

Post by doktornotor » 29 Dec 2011, 07:34

<!-- 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, 16:53
BBCodes: 31

phpBB Pretty Sociable

Post by slash » 29 Dec 2011, 10:12

thank you doktor!