vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - Private Debates (https://vborg.vbsupport.ru/showthread.php?t=122897)

beebi 08-02-2006 10:00 PM

Private Debates
 
Features List:
  1. Allow members to add userIDs of debaters when creating a new thread so that only the thread owner and added members can reply, in addition of course to the Admin and mod of the forum
  2. Admin and mod can add, remove debaters after the thread creation
  3. When viewing the thread, it will show on top that this is a private debate between the thread owner and selected member names
  4. If no userIDs added, the thread will act normal, allowing permitted members to reply.
  5. It can be enabled per forum.
  6. UserIDs added are separated by space.
  7. Compatible with VB 3.5.4 and 3.6

Installation:
  1. Import product-tdebates.xml into your products be going to Plugin System -> Manage Products -> Add/Import Product.
  2. Enable it for any forum

Thanks go to Ghanem for kindly providing the English phrases translation

Nominate this for Mod o.t. Month

click install it you did installed this mod

beebi 08-03-2006 09:24 AM

Oops! this is mine

beebi 08-03-2006 09:25 AM

Oops! ... I Did It Again ;)

Barakat 08-03-2006 09:42 AM

Oops Installed . thanks

paul41598 08-03-2006 09:50 AM

Good idea, reminds me of Private Threads. Although I'd still like to see one of these hacks usergroup permissible so only certain groups have access to it.

Maybe for future plans, add a button or something so a user can search a name and get that persons userid in the result set. Most people wouldnt be able to find a userid since its not default shown

Nice job

BoYagoob 08-03-2006 10:50 AM

installed ..

million thanks .. :)

beebi 08-03-2006 10:50 AM

next release

FleaBag 08-03-2006 07:37 PM

Great release Beebi! I really like it. :)

Is it possible for you to enable the thread starter the ability to add or remove debaters?

Alien 08-03-2006 10:24 PM

Very cool, I like this a lot and would have use for it.

However, hopefully this will be updated to allow for usernames. :)

vphost 08-03-2006 10:31 PM

Besides userid, can you use usernick as well?

apokphp 08-04-2006 12:14 AM

Excellent feature...especially considering that my site is a full on debate site: www.onlinedebate.net ;)

However, it's currently working for RC3...is it also working fine for gold?

Tyegurl 08-04-2006 01:06 AM

nice idea!! will put this in favorites and wait the need to arise

bada_bing 08-04-2006 02:43 AM

Nice hack,,, A couple request..

Usergroups permissions
usernames instead of userId's this is easier to understand for a typical user.

SiriusBlack22 08-04-2006 07:33 PM

Good hack, but there are loads of misspellings. I still love it though!

INSTALL!

SiriusBlack22 08-04-2006 07:34 PM

Oh and bada_bing took the words out of my mouth.

FleaBag 08-05-2006 06:48 PM

I just realised, you can ignore my last request. That is, unless I misunderstand.

Is it the mod of the forum who can view the Private Threads or is it a member of the moderator usergroup? If the former is true then I will just not assign a mod to the forum.

cavyspirit 08-05-2006 08:21 PM

I use vbSEO and you don't see the userid # ANYWHERE! I was about to install this and realized I have no way of telling my members how to get to the user number.

Any chance you are going to upgrade this real quick? I really really need user names and strongly need the ability to allow or block by user group.

cavyspirit 08-05-2006 08:22 PM

Also, agree it would be ideal to have the thread originator or moderators add or remove people from the thread once it's going.

Those three things are pretty necessary to make this usable--which would be great!

Ghanem 08-10-2006 01:00 PM

## Some replies are my own openion. ##

Quote:

Originally Posted by paul41598
Most people wouldnt be able to find a userid since its not default shown

This would solve it..
in templates postbit and postbit legacy, look for:
PHP Code:

<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if> 

Add below
PHP Code:

<div>$vbphrase[userid]: $post[userid]</div

in template memberinfo, look for:
PHP Code:

<if condition="$userinfo['usertitle']"><div class="smallfont">$userinfo[usertitle]</div></if> 

add below
PHP Code:

<if condition="$userinfo['userid']"><div class="smallfont">$vbphrase[userid]: $userinfo[userid]</div></if> 

this will show the useID of the members, its much easier than copying usernames, specially concedring special charachters and non-English languages..

Quote:

Originally Posted by FleaBag
Is it possible for you to enable the thread starter the ability to add or remove debaters?

I think its better to be up to the mod or admin so the debater retreat if he is not strong enough to debate..

Quote:

Originally Posted by apokphp
However, it's currently working for RC3...is it also working fine for gold?

Yes it is

Quote:

Originally Posted by bada_bing
usernames instead of userId's this is easier to understand for a typical user

Added solution above..

Quote:

Originally Posted by bada_bing
but there are loads of misspellings.

My mistake :confused:

Quote:

Originally Posted by FleaBag
Is it the mod of the forum who can view the Private Threads or is it a member of the moderator usergroup? If the former is true then I will just not assign a mod to the forum

Every body can view the thread, only forum mode, admin and added debaters can reply, in addition of course to the thread starter..

Regards

Phaedrus 08-10-2006 11:00 PM

Installed and working... Thanks for the Userid upgrade on the fly!

ktp101 08-18-2006 07:23 PM

thanks :)

James T Brock 08-24-2006 12:22 AM

Does this work with vB3.5 as well?

Ghanem 08-24-2006 08:10 PM

Quote:

Originally Posted by James T Brock
Does this work with vB3.5 as well?

Yes :)

voteforbird 08-28-2006 12:12 AM

Any chance this can be modified so that usernames can be added instead of userIDs? Perhaps this can be done if commas or semicolons are used to separate them.

TheBlackPoet 09-09-2006 10:31 PM

i couldnt figure out where to add the user id's.. but it was right in my face... i run a poetry site.. and this is absolutely perfect..... thank you for this....

question...... instead of having to put user id's in, can we just put in the username???

heyitsjeremy 09-10-2006 09:16 AM

could this be done so I can enter the username instead of the userid ?

TheBlackPoet 09-10-2006 12:34 PM

hahahah apparently none of us are reading the threads... this question has been asked... hopefully its answered... a good hack indeed!!

Calibre_k 09-11-2006 09:27 PM

How would members know what the user id is?
Members can view the debate? is it supposed to work like that.

snyx 10-01-2006 03:08 AM

The only peeve I have (and this maybe my issue) is the inability for a user to add/remove ID's thereafter by editing the first post or making a new post. I see admins have the abilty but I cant seem to sniff out the users.

Also, the AJAX username popup (such as in the recipient felid when sending a PM) would be great. Most of my users are not up to par on things like collecting ID numbers. The feature would be overlooked by many because they would have to hunt out their mates ID's at the time of posting.

All questions aside, top notch addon mate. Karma++

adonfun 10-06-2006 12:13 PM

I am interested in this mod :) it is compatible with 3.6.2 too? Or does "Compatible with VB 3.5.4 and 3.6" also means that it is compatible with 3.6.2?

Antyrael 10-17-2006 12:56 PM

Nice addon, I installed it too, but I have one request:

Could you modify this so that there's a checkbox option to make the topic visible only to those debaters who have been specified? (and the mods and admins ofcourse).
I would like this, because it would prevent people feeling left out.

Mr Pink 10-17-2006 07:09 PM

Really great mod and idea! Thanks for release.

ccmoon 10-18-2006 07:49 PM

I installed this but couldn't find userID ?? can I put username instead of UserID?

When regular user open a new thread, she/he don't know his/her userID to add in the private debate box.

ccmoon 10-19-2006 12:27 AM

I found the UserID in User profile. I am planning to make a list of UserID and post in my board. Is there any security issue if I display userID outsite my board? just wanna make sure....
For example:
User: timlennon (id: 27)

yinyang 10-19-2006 04:27 PM

brilliant work!

dina 12-02-2006 06:46 PM

I tried this on 3.6.4 and it didn't work. I logged out and could see a thread that was supposed to be between 2 registered users

yui333 12-03-2006 01:01 AM

very nice, thank you

Maxman1544 12-04-2006 12:52 AM

Any way to allow this by group instead of member? Thanks.

kungfujesus 12-04-2006 10:41 PM

I'm considering installing this... does anyone find it useful in flame wars or other 1-on-1 situations?

Maxman1544 12-10-2006 03:39 AM

Anyone running this on 3.6.4 ?


All times are GMT. The time now is 05:01 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.01372 seconds
  • Memory Usage 1,817KB
  • 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_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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