phpBB Pretty Sociable

Modifications for phpBB3.
Try the Mods here and share Your own Mods
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support

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
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.

phpBB Pretty Sociable

Post by FTH »

very nice, thanks to sharing ;)

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 )

phpBB Pretty Sociable

Post by Arnevb »

Thanks SOO much!

phpBB Pretty Sociable

Post by artikkk »

Thanks!

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?

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! ;)

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? :>

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...

phpBB Pretty Sociable

Post by slash »

thank you doktor!