Announcement

Collapse
No announcement yet.

Toolbar of the thread in the postpit ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Toolbar of the thread in the postpit ?

    hi,


    How can i put the toolbar of the thread in the postpit ?


    because i want my users control the thread in evrywhere ~( Up , Dawn and center )~


    can i ?

  • #2
    Do you mean the bar at the top of the thread, with the Thread Tools, Search this Thread, Rate Thread and Display Modes Menus?
    Best Regards
    Colin Frei

    Please don't contact me per PM.

    Comment


    • #3
      Yup, that's what i mean .

      Comment


      • #4
        Add this code where you want it to show up in the postbit template (for example at the very end).
        Code:
        <!-- 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>
        		&nbsp;
        		</div>
        	</td>
        	<td class="vbmenu_control" id="threadtools.$post[postid]" 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.$post[postid]"); </script></if>
        	</td>
        	<if condition="$show['search']">
        		<td class="vbmenu_control" id="threadsearch.$post[postid]" nowrap="nowrap">
        			<a href="$show[nojs_link]#goto_threadsearch">$vbphrase[search_this_thread]</a>
        			<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadsearch.$post[postid]"); </script></if>
        		</td>
        	</if>
        	<if condition="$show['threadrating']">
        		<td class="vbmenu_control" id="threadrating.$post[postid]" nowrap="nowrap">
        			<a href="$show[nojs_link]#goto_threadrating"><if condition="$show['rating']">$vbphrase[rating]: <img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" border="0" /><else />$vbphrase[rate_thread]</if></a>
        			<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadrating.$post[postid]"); </script></if>
        		</td>
        	</if>
        	<if condition="$vboptions['allowthreadedmode']">
        	<td class="vbmenu_control" id="displaymodes.$post[postid]" nowrap="nowrap">
        		<a href="$show[nojs_link]#goto_displaymodes">$vbphrase[display_modes]</a>
        		<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("displaymodes.$post[postid]"); </script></if>
        	</td>
        	</if>
        	
        	<if condition="$show['inlinemod']">
        		<if condition="$show['popups']">
        			<td class="vbmenu_control" id="imod.$post[postid]" align="center" title="$vbphrase[moderation]"><script type="text/javascript"> vbmenu_register('imod.$post[postid]'); </script></td>
        		<else />
        			<td class="thead" align="center">
        		    	<input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all()" />
        			</td>
        		</if>
        	</if>
        	
        </tr>
        </table>
        <!-- / toolbar -->
        Best Regards
        Colin Frei

        Please don't contact me per PM.

        Comment


        • #5
          That would require template modifications, unfortunately I don't know how to do that - hopefully someone else can help. I will say though that those thread tools being in each post sounds like it could be confusing for users.

          Edit: Help already arrived above

          Comment


          • #6
            Thanx ..

            I will test this and i will tell you what will happen .

            Comment


            • #7
              hmmm


              that's not work .


              the thread ID not show


              example :
              http://www.XXXXXXXXXX.com/forum/printthread.php?t=

              after (=) there is no number .


              any idea ?

              Comment


              • #8
                No idea why that should be, as it uses the same dropdown menu as the top bar.

                Could you link to your forum?
                Best Regards
                Colin Frei

                Please don't contact me per PM.

                Comment


                • #9
                  look to the example in attachment ..





                  Attached Files

                  Comment


                  • #10
                    And it works at the top of the page?
                    Best Regards
                    Colin Frei

                    Please don't contact me per PM.

                    Comment


                    • #11
                      Yeah its work in SHOWTHREAD .


                      so i delete the toolbar in SHOWTHREAD and i put your code .



                      That's all what i have done .



                      Any idea .

                      Comment


                      • #12
                        Please Help .

                        Comment


                        • #13
                          Sorry, but I can't debug it with a screenshot.
                          Best Regards
                          Colin Frei

                          Please don't contact me per PM.

                          Comment


                          • #14
                            I can't let you show the forum


                            because i'm working in style that showing only for admin .


                            any Help ?

                            Comment


                            • #15
                              This is either a bug or the toolbar was not designed to work in the postbit.

                              MGM out

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...
                              X