vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - Zoints Private Thread Comments for Staff (https://vborg.vbsupport.ru/showthread.php?t=127574)

vithorius 10-13-2008 07:42 AM

Hi! I've got some ideas to improve this GREAT hack! https://vborg.vbsupport.ru/external/2011/07/3.gif


https://vborg.vbsupport.ru/external/2010/11/2.gif Would it be possible to add some way of notification when there is a new reply on the Private Comments? Sometimes we just don't read each other messages because the replys are on top of the thread, and the new thread's messages button will not show what's on top of the thread... (I don't know if you can understand my idea...)

So, it ouwld be perfect to include some kind of notification, so that the Admins and Moderators can see that the other guys from the team has writen something...


https://vborg.vbsupport.ru/external/2010/11/2.gif Also, would it be possible to correctly manage the private messages that were already written on a given thread whenever you merge two threads? (what happens know is that every staff's private message that was already posted will be deleted when you merge two - or more - threads...)


Thank you so VERY MUCH for all your work on this EXCELLENT Hack! :up: :up:

momo2 11-24-2008 04:20 PM

thanks for update....... works on 3.7.4 now

Audentio 12-02-2008 11:33 PM

Works on 3.8.x.

However, I didnt like the height. Despite editing it in the acp, I added a dropdown fuction so staff who don't care to make comments or at least not at that time (in other words, they can call on it), I made this modification:

THREADCOMMENT:
Code:

<table border="0" cellpadding="0" cellspacing="0" width="80%" align="center">
<tbody>
        <tr>
                <td class="thead" colspan="5">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('threadcomment')"><img id="collapseimg_threadcomment" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_threadcomment].gif" alt="" border="0" /></a>
                        Staff Comments
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_threadcomment" style="$vbcollapse[collapseobj_threadcomment]">
<tr>
                <td>
                        <if condition="$threadinfo[threadcomments] > 0">
                                <if condition="$show['morethreadcomments']">
                                        <div align="center"><a href="showthread.php?$session[sessionurl]t=$threadinfo[threadid]&amp;showall=1">[$vbphrase[threadcomments_more]]</a></div>
                                </if>
                                <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
                                        $commentbits
                                </table>
                        </if>
                        <if condition="THIS_SCRIPT != 'postings'">
                        <div align="center" style="margin-top: 10px;">
                        <form name="threadcomment" action="showthread.php" method="post">
                        <input type="hidden" name="s" value="$session[sessionhash]" />
                        <input type="hidden" name="t" value="$threadinfo[threadid]" />
                        <input type="hidden" name="addcomment" value="1" />
                        <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
                        <input type="hidden" name="page" value="$page" />
                        <input name="threadcomment" size="80" class="bginput"></textarea><button type="submit" class="button">$vbphrase[add]</button>
                        </form>
                        </div>
                        <else />
                        <br />
                        </if>
                </td>
        </tr>
</tbody>
</table>

threadcommentbit:
Code:

<tr>
<if condition="$vbulletin->options['threadcomments_time']">
        <td class="alt1">$comment[username]</td>
        <td class="alt2" width="15%">$comment[date]</td>
<else />
        <td class="alt2">$comment[username]</td>
</if>
        <td class="alt1" width="100%" <if condition="!$show['threadcommentdelete']">colspan="2"</if>>$comment[comment]</td>
        <if condition="$show['threadcommentdelete']">
            <td class="alt2"><a href="showthread.php?$session[sessionurl]t=$threadinfo[threadid]&deletecomment=1&commentid=$comment[threadcommentid]">X</td>
        </if>
</tr>

threadcomment bit just took away the valign="top" as thats not necessary, it looks better centered, but if you use this I dont expect you to need to update that if you don't want to.

Toggling the menu hides the whole hack until you want to use it.

metalguy639 04-07-2009 06:12 AM

Quote:

Originally Posted by djbaxter (Post 1595500)

Thanks what I needed :D

bigcurt 04-14-2009 02:01 PM

Quote:

Originally Posted by Audentio (Post 1677406)
Works on 3.8.x.

However, I didnt like the height. Despite editing it in the acp, I added a dropdown fuction so staff who don't care to make comments or at least not at that time (in other words, they can call on it), I made this modification:

THREADCOMMENT:
Code:

<table border="0" cellpadding="0" cellspacing="0" width="80%" align="center">
<tbody>
    <tr>
        <td class="thead" colspan="5">
            <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('threadcomment')"><img id="collapseimg_threadcomment" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_threadcomment].gif" alt="" border="0" /></a>
            Staff Comments
        </td>
    </tr>
</tbody>
<tbody id="collapseobj_threadcomment" style="$vbcollapse[collapseobj_threadcomment]">
<tr>
        <td>
            <if condition="$threadinfo[threadcomments] > 0">
                <if condition="$show['morethreadcomments']">
                    <div align="center"><a href="showthread.php?$session[sessionurl]t=$threadinfo[threadid]&amp;showall=1">[$vbphrase[threadcomments_more]]</a></div>
                </if>
                <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
                    $commentbits
                </table>
            </if>
            <if condition="THIS_SCRIPT != 'postings'">
            <div align="center" style="margin-top: 10px;">
            <form name="threadcomment" action="showthread.php" method="post">
            <input type="hidden" name="s" value="$session[sessionhash]" />
            <input type="hidden" name="t" value="$threadinfo[threadid]" />
            <input type="hidden" name="addcomment" value="1" />
                        <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
            <input type="hidden" name="page" value="$page" />
            <input name="threadcomment" size="80" class="bginput"></textarea><button type="submit" class="button">$vbphrase[add]</button>
            </form>
            </div>
            <else />
            <br />
            </if>
        </td>
    </tr>
</tbody>
</table>

threadcommentbit:
Code:

<tr>
<if condition="$vbulletin->options['threadcomments_time']">
    <td class="alt1">$comment[username]</td>
    <td class="alt2" width="15%">$comment[date]</td>
<else />
    <td class="alt2">$comment[username]</td>
</if>
    <td class="alt1" width="100%" <if condition="!$show['threadcommentdelete']">colspan="2"</if>>$comment[comment]</td>
    <if condition="$show['threadcommentdelete']">
        <td class="alt2"><a href="showthread.php?$session[sessionurl]t=$threadinfo[threadid]&deletecomment=1&commentid=$comment[threadcommentid]">X</td>
    </if>
</tr>

threadcomment bit just took away the valign="top" as thats not necessary, it looks better centered, but if you use this I dont expect you to need to update that if you don't want to.

Toggling the menu hides the whole hack until you want to use it.

That is kick ass! Thanks so much.

Excalibur82 07-09-2009 07:12 AM

Quote:

Originally Posted by vithorius (Post 1643925)
Hi! I've got some ideas to improve this GREAT hack! https://vborg.vbsupport.ru/external/2011/07/3.gif


https://vborg.vbsupport.ru/external/2010/11/2.gif Would it be possible to add some way of notification when there is a new reply on the Private Comments? Sometimes we just don't read each other messages because the replys are on top of the thread, and the new thread's messages button will not show what's on top of the thread... (I don't know if you can understand my idea...)

So, it ouwld be perfect to include some kind of notification, so that the Admins and Moderators can see that the other guys from the team has writen something...


https://vborg.vbsupport.ru/external/2010/11/2.gif Also, would it be possible to correctly manage the private messages that were already written on a given thread whenever you merge two threads? (what happens know is that every staff's private message that was already posted will be deleted when you merge two - or more - threads...)


Thank you so VERY MUCH for all your work on this EXCELLENT Hack! :up: :up:

On the first one I have managed to edit this to work with PM notification with option to opt out of using PM notification. The second option I have not looked into as of yet but will do that as soon as I have a chance.

New Joe 08-12-2009 04:02 AM

After installing it adds a second nav bar and forum description at the bottom of the thread just above the quick reply box, anyone got any ideas why?

Supramania 02-08-2010 03:04 PM

Any chance of porting this to 4.0? My staff relied heavily on this prior to the upgrade and we really miss it.

btotw 02-08-2010 06:22 PM

Quote:

Originally Posted by Supramania (Post 1977503)
Any chance of porting this to 4.0? My staff relied heavily on this prior to the upgrade and we really miss it.

Fa real. Will this be ported to 4.0?

btotw 03-06-2010 12:05 PM

This will never get updated to 4.0 will it...?


All times are GMT. The time now is 01:44 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01320 seconds
  • Memory Usage 1,770KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete