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)

Revpolar 11-30-2006 04:46 AM

I was thinking that if you can make something like this then making a whisper hack would be possible.
Meaning members could send a private note to another member within a thread. Like someone could whisper to DChapman after this post that my idea is silly and he should ignore it. And only DChapman could see it.

Shelley_c 11-30-2006 05:11 AM

Quote:

Originally Posted by DChapman (Post 1123478)
If someone would like to make a small icon for forumdisplay.php that signifies that there is a staff comment in the thread, we'll look into making that request happen this weekend. Our graphic guy is on vacation.

We're also going to look into adding the option to make the box appear at the bottom of the thread.

What kind of image were you thinking of? If your still needing an icon let me know what you need and the dimensions and I can knock something up.

Zoints 11-30-2006 05:40 AM

Quote:

Originally Posted by Shelley_c (Post 1128510)
What kind of image were you thinking of? If your still needing an icon let me know what you need and the dimensions and I can knock something up.

Actually, we've decided we'll just use a default vBulletin image to avoid the trouble of the upload. But thank you for the offer!

OmniBuzz 12-10-2006 06:09 PM

How do I change the "Add" label in something else ?

Code:

<textarea name="threadcomment" cols="80" rows="3" class="bginput"></textarea><button type="submit" class="button">$vbphrase[add]</button>
Thanks.

djbaxter 01-28-2007 02:42 PM

Quote:

Originally Posted by yesfans (Post 1085792)
Anyway the entry box can have a space added below it. It sits right on top my forums, looks silly.

This one is easy. Edit product-zointsthreadcomments-1.2.0.xml as follows:

1. Find

Code:

        <templates>
                <template name="THREADCOMMENT" templatetype="template" date="1142603058" username="Who" version="1.2.0"><![CDATA[<table border="0" cellpadding="0" cellspacing="0" width="80%" align="center">
        <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="page" value="$page" />
                        <textarea name="threadcomment" cols="80" rows="3" class="bginput"></textarea><button type="submit" class="button">$vbphrase[add]</button>
                        </form>
                        </div>
                        <else />
                        <br />
                        </if>
                </td>
        </tr>
</table>]]></template>

Note the part highlighted in red.

Add

Code:

<br />
between "</form>" and "</div>".

Save. Reimport the product using "Overwrite".

Quote:

Originally Posted by SportsZone (Post 1103683)
This hack is a great idea, but I think it would be better if this mod used BB code and it was coded in a way which only admin/mods could see. This way, you can add comments to posts, which only the site staff can see, instead of saying something above the first post, which imo, is quite inconvenient. I'm not sure if it's possible to create, but it would be a great hack.

Re-read the thread. It already does both of those things.

Quote:

Originally Posted by Twilkey SRT (Post 1122068)
I have two input boxes for some reason and when I add a comment it adds it twice. Can you help please.

You imported the product and then also did the manual edits. Go back to the readme.txt file and delete those two manual edits.

jerudc 02-10-2007 12:38 AM

Is the suggestion of Revpolar's "Whisper" possible? I'd love to have something like that on my board.

Is there a way to make a mod so a user can type something in a post so only the other user mentioned (and the moderator and Admins) can read it? Like the following example.

Jenny walks into the room and saunters up to Billy [whisper Billy] "Hey, do you want to go play cards?" [/whisper]

Billy would see: Jenny walks into the room and saunters up to Billy "Hey do you want to go play cards?"

Everyone else would see: Jenny walks into the room and saunters up to Billy WHISPER TO BILLY

Just wondering if this was even possible.

djbaxter 02-10-2007 12:57 AM

Quote:

Just wondering if this was even possible.
I'm just wondering if this is even desirable.... on a forum. Isn't that what IRC and IMs are for?

Spank 02-10-2007 07:13 AM

Nice hack, will come in useful for e-dramas =D

Just a suggestion: I think it would make it tidier if there was a button for Staff Comments which you could click, it would then take you to another page where you could add and view comments for that particular thread (just like how the user notes works)



Quote:

Originally Posted by GSX-Racing (Post 1128458)
Is there any way we could have a little text above the box saying 'Moderator Notes:" or something?

Here's how I did it, very simple even for a n00b like me:

Open product-zointsthreadcomments-1.2.0.xml

Find:

Code:

<template name="THREADCOMMENT" templatetype="template" date="1142603058" username="Who" version="1.2.0"><![CDATA[<table border="0" cellpadding="0" cellspacing="0" width="80%" align="center">
        <tr>

find in line:
Code:

<![CDATA[
inline after add:
Code:

<b>Staff Comments:<b>
so you have:

Code:

<template name="THREADCOMMENT" templatetype="template" date="1142603058" username="Who" version="1.2.0"><![CDATA[<b>Staff Comments:</b><table border="0" cellpadding="0" cellspacing="0" width="80%" align="center">
        <tr>

Save, reimport product remembering to allow overwrite.

djbaxter 02-10-2007 01:41 PM

Good idea, Spank.

I made one change for my moderators:

Code:

<b>Staff Comments (hidden):<b>

jerudc 02-10-2007 10:28 PM

Quote:

I'm just wondering if this is even desirable.... on a forum. Isn't that what IRC and IMs are for?
I run a Play by Post site. It would be VERY desirable. It would lend to more efficient roleplay and keep everything in the storyline.


All times are GMT. The time now is 06:48 PM.

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.01477 seconds
  • Memory Usage 1,759KB
  • 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
  • (8)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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