The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
Email to Friend, Print Version, Subscribe Thread in Postbit/Postbit Legacy Details »» | |||||||||||||||||||||||||||||
Email to Friend, Print Version, Subscribe Thread in Postbit/Postbit Legacy
Developer Last Online: Feb 2016
Another simple yet useful template modification for the benefit of forum members. This shows Email to Friend, Print Version, Subscribe Thread in Postbit/Postbit Legacy:
Benefits: 1. More visibility to 'Email a Friend' alongside each about the topic... means more invitations, New Registrations! 2. Easy access to See Print version of the topic... more printouts more free publicity! 3. Easy access to Subscribe/unsubscribe option... members feel obliged! Step 1. Edit Template: Postbit or Postbit_legacy Code:
Find: And for those who want this to show for only first post: Code:
Warp the above code with the following conditional: <if condition="$post[postcount] % $vboptions[maxposts] == 1"> put the above code here! </if> nJoy!! Show Your Support
|
Comments |
#22
|
|||
|
|||
very useful! Thanks!
|
#23
|
|||
|
|||
The Subscribe to thread works on my site but once subscribed it doesn't allow you to unsubscribe nor does it give the option.
http://diecastcrazy.com/community/forums.php |
#24
|
|||
|
|||
This also shows up in PM's without the text, only the images and no link either. Kinda out of place.
|
#25
|
|||
|
|||
Solved the PM problem by using the "if" condiitonal in the instructions post, just wish it would show for all posts without showing the images in PM's. Still can't figure out the Subscribe/Unsubscribe problem.
|
#26
|
|||
|
|||
thank you --teşekk?r ederim ben yaptım ama bu biraz daha fazla
|
#27
|
|||
|
|||
Very useful mod.
Thank you. :-) Installed...!!! I modified a little the code to fit my needs. I changed it just to fit well in my forum (I removed the text next to the icons). ;-) Here is the modified Code: Code:
<div align=right> <if condition="$post[postcount] % $vboptions[maxposts] == 1"> <a href="printthread.php?$session[sessionurl]t=$post[threadid]" accesskey="3" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt=" Show Printable Version]" border="0"/></a> <a href="sendmessage.php?$session[sessionurl]do=sendtofriend&t=$post[threadid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="Email this Page to a Friend" border="0"/></a> <if condition="$show['member']"> <if condition="$show['subscribed']"> <a href="subscription.php?$session[sessionurl]do=removesubscription&t=$post[threadid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="Un-Subscribe from this Thread" border="0"/></a> <else /> <a href="subscription.php?$session[sessionurl]do=addsubscription&t=$post[threadid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="Subscribe to this Thread" border="0"/></a> </if> </if> </if> </div> Attachment 100753 I posted it in case someone is interested in removing the text next to the pictures too and use less space in his/her theme. :-) What is strange to me is the fact that the "unsubscribe" code, seems that it is not working (at least in my forums). Either with the original code neither with the code I used (see above). Also I would like to know where exactly is the correct spot in the template code to put the mod, so the 3 icon links can appear below the "Quote", "Multi Quote", "Reply" without a problem (at the bottom of the post). Thanks a priori for your reply. :-) EDIT: I Found the right spot inside the template I think...;-) in "postbit_legacy" Search for: Code:
<td colspan="2" class="postbit_bottom_right"><div style="background:url($stylevar[imgdir_misc]/post-br-r.gif);float:right;height:47px;width:10px;"></div> Here are the results in my site: Attachment 100754 |
#28
|
|||
|
|||
Any way of modifying this so that each post will have an "email to friend" link, yet, forcing the link that shows up in the message of the email pointing to the post within the thread, instead of to the thread? This way, people could email specific posts to friends in very long threads. In a thread that is 20 pages long, I want people to be able to point to a specific post when they email to a friend.
|
#29
|
|||
|
|||
Thanks, great feature. I used vbob's version.
|
#30
|
||||
|
||||
Thanks for the Mod. Installed.
I did move it around a little by moving the code and changed the spacing a bit: Here's what I got: In the postbit or postbit_legacy template, find the following: Code:
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px" align="$stylevar[right]"> Code:
<img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt="$vbphrase[show_printable_version]" /> <a href="printthread.php?$session[sessionurl]t=$post[threadid]" accesskey="3" rel="nofollow">$vbphrase[show_printable_version]</a> <img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[email_this_page]" /> <u><a href="sendmessage.php?$session[sessionurl]do=sendtofriend&t=$post[threadid]" rel="nofollow">$vbphrase[email_this_page]</a></u> <if condition="$show['member']"> <img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" /> <if condition="$show['subscribed']"> <a href="subscription.php?$session[sessionurl]do=removesubscription&t=$post[threadid]" rel="nofollow">$vbphrase[unsubscribe_from_this_thread]</a> <else /> <a href="subscription.php?$session[sessionurl]do=addsubscription&t=$post[threadid]" rel="nofollow">$vbphrase[subscribe_to_this_thread]</a> </if> </if> |
#31
|
|||
|
|||
great,,,
thank u |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|