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!
slash
BBCoder II
Posts: 57 Joined: 27 Oct 2011, 18:53
BBCodes: 31
Contact:
Post
by slash » 14 Dec 2011, 18: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:
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:
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.
FTH
BBCoder III
Posts: 124 Joined: 25 Nov 2011, 23:28
BBCodes: 10
Contact:
Post
by FTH » 14 Dec 2011, 19:52
very nice, thanks to sharing
themission
BBCoder III
Posts: 123 Joined: 10 Aug 2011, 22:32
BBCodes: 3
Location: Devon UK
Contact:
Post
by themission » 14 Dec 2011, 20:03
Great post Thanks - i use the premod so have it already ( i bet someone Beginning with E or T will fail with it )
Arnevb
BBCoder III
Posts: 98 Joined: 08 Oct 2011, 18:23
BBCodes: 8
Location: Belgium
Contact:
Post
by Arnevb » 14 Dec 2011, 22:01
Thanks SOO much!
artikkk
BBCoder II
Posts: 42 Joined: 02 May 2010, 18:33
Post
by artikkk » 21 Dec 2011, 18:51
Thanks!
Wizzy
BBCoder II
Posts: 9 Joined: 30 Nov 2011, 06:17
BBCodes: 50
Post
by Wizzy » 28 Dec 2011, 19: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?
slash
BBCoder II
Posts: 57 Joined: 27 Oct 2011, 18:53
BBCodes: 31
Contact:
Post
by slash » 28 Dec 2011, 22:18
No, but if a user does not have the appropriate permissions can not aced in the private or donator forum!
Wizzy
BBCoder II
Posts: 9 Joined: 30 Nov 2011, 06:17
BBCodes: 50
Post
by Wizzy » 29 Dec 2011, 06: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? :>
doktornotor
BBCoder IV
Posts: 167 Joined: 14 Sep 2011, 23:20
BBCodes: 30
Favourite MOD: Thanks for Posts
Contact:
Post
by doktornotor » 29 Dec 2011, 09: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!
slash
BBCoder II
Posts: 57 Joined: 27 Oct 2011, 18:53
BBCodes: 31
Contact:
Post
by slash » 29 Dec 2011, 12:12
thank you doktor!