The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
One of the best ways to get a forum noticed is for members to email threads to others.
Is there a hack to add a button next to the left of THREAD TOOLS drop down menu that would email this open thread to a friend? I believe I've found the code but don't know where to put it in the showthread.php or maybe I'm way off course. Thanks for any help. |
#2
|
|||
|
|||
![]()
That is default vBulletin functionality. Thread Tools -> Email this page
|
#3
|
|||
|
|||
![]()
Thanks, I see it there.
The problem is that unless you spend some time clicking all the links on a page you won't see it. I've seen EMAIL THIS THREAD / POST on the toolbar on some other forums which is much easier for the link to get noticed. I just checked and it was an Invision board which had a sticky link on the nav bar above the post. |
#4
|
|||
|
|||
![]()
You could put that link on any place on showthread.php.
|
#5
|
|||
|
|||
![]()
Thank you. I didn't want to edit the showthread.php file and then upload it, though that would have been easier, I found that file in
Styles and Templates > Style Manager > All Style Options > Edit Templates > Show Threads Template > SHOWTHREAD then added the code in red <!-- toolbar --> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px"> <tr> <td class="tcat" width="100%"> <div class="smallfont"> <if condition="$show['firstunreadlink']"> <a href="$firstunread"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[view_first_unread]" border="0" /></a> <a href="$firstunread"><strong>$vbphrase[view_first_unread]</strong></a> </if> </div> </td> <!-- ADDED EMAIL THIS PAGE --> <td class="vbmenu_control" > <a href="sendmessage.php?$session[sessionurl]do=sendtofriend&t=$threadid" rel="nofollow">$vbphrase[email_this_page]</a> </td> <td class="vbmenu_control" id="threadtools" nowrap="nowrap"> <a href="$show[nojs_link]#goto_threadtools"<if condition="is_browser('ie')"> accesskey="3"</if>>$vbphrase[thread_tools]</a> <if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadtools"); </script></if> </td> Later, I'll add another link EMAIL THIS POST but that will require a little more work. |
#6
|
|||
|
|||
![]()
if possible keep us posted so we can learn how to do it as well..thanks for the share
|
#7
|
|||
|
|||
![]()
Adding the phrase isn't hard.
Admincp > Languages & Phrases > Phrase manager > Add Phrase add email_this_post as a variable and Email this Post as the text. But I'm having difficulty finding which template controls the line above the post where the DATE is on the left and the post count is on the right. I want to add this link in that bar. Right now, you have to go to the top of the page to find the EMAIL THIS THREAD link. But to my surprise I've got a couple of pm's thanking me for that link this afternoon. It was just too hard to find. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|