View Full Version : Ban User From A Thread
Trigunflame
03-03-2006, 10:00 PM
Ban User From A Thread
Break Up Those Fights
https://vborg.vbsupport.ru/ (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=109416)
Summary:
Allows Administrators/Supermods to ban a user from a particular thread.
Most useful if you have a flame started and you dont want to lock the entire thread or ban the user entirely; just keep them out of the thread.
Features:
1. Allow Banning of users from a particular thread.
2. Can only ban if person has SuperModerator or Higher Permissions.
3. Cannot ban Mods/Supermods/Admins.
4. Can clear all bans in a particular thread, or bans from All threads.
5. Can ban/unban user from a single menu when clicking their name.
6. Page to display Forum Wide Thread Bans.
Instructions:
1. Download Zip File
2. Read README.txt
3. Click Install if you like ;)
Thanks,
Idea: Corriewf
Troubleshooting: Brad
Instructions:
To upgrade: uninstall product, reinstall product and redo steps #2 and #3.
Update: 3/9/06 9:49pm
1. Fixed uncached template on view all bans.
2. Included README.txt in the txt file.
Major Update: 3/5/06 6:51pm
1. Changes to the checking of Moderator Permissions optimized.
2. Fixed a bug with not removing an empty array containing a thread.
3. Added a View All Thread Bans page to view bans in a tree like menu.
Update: 3/4/06 8:09pm
1. Conditional Ban or Unban based on Status.
Major Update: 3/4/06 6:33pm
1. Cannot Ban Moderators/Supermoderators/Administrators
2. Checks Global Supermod/Administrator Permissions
3. Can Ban/Unban User From Same Menu
Update: 3/4/06 6:40am
Added checking for threadid, and userid. *smacks self*
Update: 3/4/06 6:30am
Please re-do step number 3 again if you already installed it. Forgot to add the thread id to the url. It is very late (6:30am) and im tired :tired:
CLICK INSTALL
https://vborg.vbsupport.ru/ (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=108977)
Corriewf
03-04-2006, 08:24 AM
Thanks for implementing. You da man Trigun! ;)
Trigunflame
03-04-2006, 08:49 AM
welcomez.
King Internet
03-04-2006, 09:00 AM
awesome
chimaira
03-04-2006, 09:14 AM
Very neat. Installed. but seems i get
Invalid Action Specified
when taking the action
Trigunflame
03-04-2006, 09:22 AM
Update:
Please re-do step number 3. again if you already installed it. Forgot to add the thread id to the url.. its very late and im tired :tired:
iturazvan
03-04-2006, 09:23 AM
This will be useful :D
Trigunflame
03-04-2006, 09:24 AM
Very neat. Installed. but seems i get
Invalid Action Specified
when taking the action
Make sure you are using latest vbulletin version plz.
Trigunflame
03-04-2006, 09:37 AM
Updated for userid/threadid checking.
Rat1972
03-04-2006, 09:40 AM
Can you also unban a person?
Nice hack, click install
eNforce
03-04-2006, 09:54 AM
Can you also unban a person?
Nice hack, click install
Yeah this should be added :)
Also if possible make it so admins or mods cannot be banned. Or just remove the option from the drop down for admin/mod usergroups.
Great plugin, been wanting something like this for ages.
wArDoG
03-04-2006, 10:22 AM
Great hack :)
BoYagoob
03-04-2006, 10:22 AM
Very Nice
Trigunflame
03-04-2006, 10:45 AM
Ya i can make those mods later today.. im about to fall asleep right now.
Allan
03-04-2006, 12:14 PM
Nice Idea :)
simsimt
03-04-2006, 12:40 PM
A very great hack. This should be standard on vB & all forum software! I think it can change the whole world of flame wars on forums.
My forum is still a small one, & I haven't got much flammers yet, so I'll just subscribe to the thread & will install it as soon as I need it.
Thanks in advance, man.
lordofgun
03-04-2006, 01:34 PM
awesome! working flawlessly on 3.5.3.
Terminot
03-04-2006, 01:39 PM
Hi,
I've did everything you said but there is a problem.
When I press on a user, the menu shows up with 'view profile' etc. but not the one with 'Ban this user from thread'.
When I press "Thread Tools" the following is added:
Clear This Threads Bans
Clear Every Threads Bans
So where can the problem be? (Do I have to rebuild something? If so, say the good words or steps for it please!)
Terminot
03-04-2006, 01:41 PM
OK I've fixed it. I have added it in legacy, but it had to be in the normal Postbit. Cool mod, appriciate it m8 !
ViViD
03-04-2006, 02:21 PM
Suggestion : Can it be extended with limiting only some users for accessing to the thread , two or three or more users for having an argumentation ?
lordofgun
03-04-2006, 02:32 PM
Suggestion: Maybe a feature so you can see who has been booted from each thread. (maybe a note inside showthread somewhere)
Sooner95
03-04-2006, 03:07 PM
Yes, this will be needed. thx Trig...
projectego
03-04-2006, 03:14 PM
Very cool. Installed. :)
TruthElixirX
03-04-2006, 03:18 PM
Awesome! Will be using.
mat64
03-04-2006, 04:46 PM
Thanks alot, i've been needing something like this for a while. Installed :)
Frank Butcher
03-04-2006, 05:23 PM
works brilliantly
Mr Chad
03-04-2006, 06:50 PM
Perfect
*Clicks Install*
Trigunflame
03-04-2006, 07:49 PM
*yawns* finally woke up :)
Now i can get to work on a few mods with the suggestions... shouldnt take too long.
klaush
03-04-2006, 08:52 PM
Great! And thanks!
Please be so kind to put the product file with the install information in one zip-file!
wArDoG
03-04-2006, 09:20 PM
Is there anyway to tell who is banned in each thread? If not anyway to add something like that? This hack is just what the doctor ordered. Thanks :)
Trigunflame
03-04-2006, 09:30 PM
Major Update: 3/4/06 6:33pm
1. Cannot Ban Moderators/Supermoderators/Administrators
2. Checks Global Supermod/Administrator Permissions
3. Can Ban/Unban User From Same Menu
Trigunflame
03-04-2006, 09:31 PM
Great! And thanks!
Please be so kind to put the product file with the install information in one zip-file!
Not gonna make a zip file, I prefer having a simple hack like this with just a single xml file.
Trigunflame
03-04-2006, 09:39 PM
Is there anyway to tell who is banned in each thread? If not anyway to add something like that? This hack is just what the doctor ordered. Thanks :)
Well I guess I could make a small modification, that would allow you to see the current bans..
wArDoG
03-04-2006, 09:55 PM
Well I guess I could make a small modification, that would allow you to see the current bans..
Thanks! :)
Megareus Rex
03-04-2006, 10:01 PM
For the showthread edits, do you add the code after EVERY instance of <td class="vbmenu_option" title="nohilite">, or just one?
There's like 5 instances of that particular code in the template.
Trigunflame
03-04-2006, 10:12 PM
For the showthread edits, do you add the code after EVERY instance of <td class="vbmenu_option" title="nohilite">, or just one?
There's like 5 instances of that particular code in the template.
I only have 1 in mine.., you must be using old templates. I'll try and make it more exact.
Megareus Rex
03-04-2006, 10:17 PM
I only have 1 in mine.., you must be using old templates. I'll try and make it more exact.
Well, the temp. is updated for 3.5.4, so I don't know.
There's one for threaded, liner, and hybrid modes, and one for the thread tools, search thread, rate thread, and display modes. As it is, adding the code to every instance of that makes the ban options appear in every one of those dropdown menus.
Trigunflame
03-04-2006, 10:20 PM
Well, the temp. is updated for 3.5.4, so I don't know.
There's one for threaded, liner, and hybrid modes, and one for the thread tools, search thread, rate thread, and display modes. As it is, adding the code to every instance of that makes the ban options appear in every one of those dropdown menus.
There is only 1 SHOWTHREAD template for each style. And this is the only template you edit; please check the first post as I have updated the instructions with a more exact location.
Megareus Rex
03-04-2006, 10:27 PM
There is only 1 SHOWTHREAD template for each style. And this is the only template you edit; please check the first post as I have updated the instructions with a more exact location.
Oh, no, you must have misunderstood me, I meant there were multiple instances of the <td class="vbmenu_option" title="nohilite"> code block in the SHOWTHREAD template. Now that there were multiple showthread templates.
Oh, and as for the ban/unban user thing a previous poster suggested, I was thinking, making the Ban / Unban user field in the dropdown menu say Ban if they arent banned, or unban if they ARE banned, instead of just Ban / Unban, would be a good idea, since then you'd be able to see a user's ban status. Though I too would like to see an easier option to view all banned users in a thread.
Trigunflame
03-04-2006, 10:30 PM
Oh, no, you must have misunderstood me, I meant there were multiple instances of the <td class="vbmenu_option" title="nohilite"> code block in the SHOWTHREAD template. Now that there were multiple showthread templates.
Oh, and as for the ban/unban user thing a previous poster suggested, I was thinking, making the Ban / Unban user field in the dropdown menu say Ban if they arent banned, or unban if they ARE banned, instead of just Ban / Unban, would be a good idea, since then you'd be able to see a user's ban status. Though I too would like to see an easier option to view all banned users in a thread.
Hmms I dont know an easier way to do it right now without adding another query, I dont think its that big of a deal. Im making a small mod so you can see forum wide bans branched down into each thread as it is; adding it so it says "ban" or "unban" depending on their status is really not something im worried about right now.
Megareus Rex
03-04-2006, 10:44 PM
Hmms I dont know an easier way to do it right now without adding another query, I dont think its that big of a deal. Im making a small mod so you can see forum wide bans branched down into each thread as it is; adding it so it says "ban" or "unban" depending on their status is really not something im worried about right now.
Ah, ok, as long as there's a way to see bans.
Anyways, this is an excellent hack. One I've been waiting for a LONG time :)
wArDoG
03-04-2006, 10:49 PM
Yeah Trig
Thanks for all your hard work on this! It's much appreciated.
Trigunflame
03-04-2006, 10:59 PM
Ah, ok, as long as there's a way to see bans.
Anyways, this is an excellent hack. One I've been waiting for a LONG time :)
Hmm after digging through the mountains of includes.. I think i found a way to handle that conditional template for Ban / Unban.
Its weird cause the actual postbit variables ie. $btu cant be seen directly from the showthread.php file cause its in includes/class_postbit.php. So the workaround is adding global $btu; to a function using a hook in that file...
Will update it in a few min.
Argyle
03-04-2006, 11:04 PM
Suggestion: Maybe a feature so you can see who has been booted from each thread. (maybe a note inside showthread somewhere)
Aye, I was going to suggest the same thing, at least for admins.
Props to you, a very sweet mod :)
Trigunflame
03-04-2006, 11:09 PM
Update:
1. Conditional Ban or Unban based on Status.
Note: To upgrade, please uninstall & reinstall product, and redo install step #3.
Now shows ban or unban based on the users current status within the thread.
wArDoG
03-04-2006, 11:12 PM
Update:
1. Conditional Ban or Unban based on Status.
Note: To upgrade, please uninstall & reinstall product, and redo install step #3.
Now shows ban or unban based on the users current status within the thread.
You da man!
Argyle
03-04-2006, 11:22 PM
Low priority suggestion: Enable thread banning of moderators if the thread isn't in the forum that they are a moderator of.
Trigunflame
03-04-2006, 11:33 PM
Low priority suggestion: Enable thread banning of moderators if the thread isn't in the forum that they are a moderator of.
Will think about it, depends what modifications i have to do.
moonclamp
03-05-2006, 12:27 AM
Works well, thank you
*installs*
Trigunflame
03-05-2006, 03:37 AM
:) sigh.. hopefully can get that 1 more mod finished in a bit.
ViViD
03-05-2006, 04:43 AM
Can it be extended by approving some users instead of banning some users ?
Thanks
ForeverForums
03-05-2006, 05:54 AM
working flawless on 3.5.3 , love this hack
Trigunflame
03-05-2006, 02:27 PM
Can it be extended by approving some users instead of banning some users ?
Thanks
Don't understand what you're talking about. If you want to make threads private by default.. look for another hack :)
How about.. allowing the Thread Starter to ban people from their threads? :)
(Your hack is way cool, just making an additional suggestion.)
Trigunflame
03-05-2006, 04:16 PM
How about.. allowing the Thread Starter to ban people from their threads? :)
(Your hack is way cool, just making an additional suggestion.)
Hmm, would have to do some additional checking of permissions.. as for now just test if they have global moderator permissions.
Even so however, I don't really see how I could implement it without making it an option.. cause I doubt most boards would want their members able to ban ppl from threads regardless if they created it or not.
moonclamp
03-05-2006, 04:16 PM
How about.. allowing the Thread Starter to ban people from their threads? :)
(Your hack is way cool, just making an additional suggestion.)
I reckon that could be open for too much abuse.
EG. User A starts thread totally slating user B ... user B reacts once but then can't respond or defend himself any further.
It would be good if standard moderators could use it in their own forums though.
Zelda-King
03-05-2006, 04:29 PM
Nice! I remember the old vB2 one.
Apparantly only admins are able to use this?
Trigunflame
03-05-2006, 04:32 PM
Nice! I remember the old vB2 one.
Apparantly only admins are able to use this?
hmm Supermods should be able to.
Trigunflame
03-05-2006, 04:37 PM
I reckon that could be open for too much abuse.
EG. User A starts thread totally slating user B ... user B reacts once but then can't respond or defend himself any further.
It would be good if standard moderators could use it in their own forums though.
My personal thoughts are that banning should be left to higher permission levels ie. supermods/admins.
If you think your mods are trusty enough bump them up ;)
Zelda-King
03-05-2006, 05:02 PM
hmm Supermods should be able to.I'll investigate. Just I had a supermod today say they couldn't do anything.
Edit: I was able to view the option in a test super mod account so maybe the user's secondary usergroup has something to do with it, though that's a hidden admin one.
I'll keep you posted.
Edit 2: False alarm. They were reporting for the wrong board. :D (We both work at more than one).
Hornstar
03-05-2006, 05:13 PM
another great hack from you.
Thanks
Trigunflame
03-05-2006, 09:51 PM
Major Update: 3/5/2006
1. Changes to the checking of Moderator Permissions optimized.
2. Fixed a bug with not removing an empty array containing a thread.
3. Added a View All Thread Bans page to view bans in a tree like menu.
ForeverForums
03-06-2006, 12:36 AM
Major Update: 3/5/2006
1. Changes to the checking of Moderator Permissions optimized.
2. Fixed a bug with not removing an empty array containing a thread.
3. Added a View All Thread Bans page to view bans in a tree like menu.
got the hack installed, dont know if i over looked it...but where can i "View All Thread Bans page to view bans in a tree like menu." ?
unless im reading it wrong or something, is this when i click on the user and it says "unban" when a user is banned ? OR is there another page that displays the user banned in said thread ?
Trigunflame
03-06-2006, 01:09 AM
got the hack installed, dont know if i over looked it...but where can i "View All Thread Bans page to view bans in a tree like menu." ?
unless im reading it wrong or something, is this when i click on the user and it says "unban" when a user is banned ? OR is there another page that displays the user banned in said thread ?
It would be in the thread tools menu along with Clear This Threads Bans and Clear All Thread Bans.
If not, you didnt perform the template edit in showthread :)
eNforce
03-06-2006, 02:12 AM
This hack is making nice progess, good work. When reinstalling the hack to upgrade it clears all previous thread bans, maybe in the future have it store information somewhere or something
lucky64
03-06-2006, 02:15 AM
Awesome, I've been wanting this for years.
Trigunflame
03-06-2006, 02:27 AM
This hack is making nice progess, good work. When reinstalling the hack to upgrade it clears all previous thread bans, maybe in the future have it store information somewhere or something
I dont plan on making much other changes from this point forward as the code is starting to become quite large for a plugin imo.. the product file is already like 8.5kb.
And the data is stored in the datastore, so.. you could copy it before you upgrade or w/e if you had to.
ForeverForums
03-06-2006, 04:28 AM
It would be in the thread tools menu along with Clear This Threads Bans and Clear All Thread Bans.
If not, you didnt perform the template edit in showthread :)
ahh, i see it now *feels dumb*
GoNz00
03-06-2006, 05:59 AM
perfect hack for one member who always takes things to far, thanks m8 :)
Trigunflame
03-06-2006, 06:41 AM
glad you like it :)
ViViD
03-06-2006, 01:20 PM
Don't understand what you're talking about. If you want to make threads private by default.. look for another hack :)
Hello ,
Not private ... but we have some users that invite others to a specific argumentation to show a specific result . I think it is very near to your code but in difference of (==) & ( != )when you check can users access to thread or not . It means the thread starter or moderator can specify usernames that they can reply to the thread instead of specifying those can not reply.
Trigunflame
03-06-2006, 06:35 PM
Ya but thats not the goal of this mod, feel free to make the change yourself though :)
ViViD
03-07-2006, 11:43 AM
ok thanks . but I am not a PHP experienced ...:)
Nathan2006
03-08-2006, 11:24 AM
Thank you this will be great for them annoying members :)
Install*
Trigunflame
03-08-2006, 11:56 AM
Thanks for the install :)
speedway
03-09-2006, 01:20 AM
It would be good if standard moderators could use it in their own forums though.
My personal thoughts are that banning should be left to higher permission levels ie. supermods/admins.
If you think your mods are trusty enough bump them up ;)
I disagree with bumping mods up to super. If I allow my mods to ban people, then they should be able to use this. This would be perfect for me if only it allowed standard mods to use it. Shame really, just what I wanted...
Trigunflame
03-09-2006, 01:56 AM
I disagree with bumping mods up to super. If I allow my mods to ban people, then they should be able to use this. This would be perfect for me if only it allowed standard mods to use it. Same really, just what I wanted...
Feel free to make the code modifications dealing with the usergroup checking, but Im not changing the default behaviour of this hack, sorry.
Robbed
03-09-2006, 11:46 PM
When viewing the ban list
Uncached templates: btu_bans (1)
Trigunflame
03-10-2006, 12:27 AM
When viewing the ban list
Uncached templates: btu_bans (1)
Thanks for reporting this, i will check it out :)
Robbed
03-10-2006, 12:28 AM
NP, This hack will be useful.
Trigunflame
03-10-2006, 12:46 AM
Update: 3/9/06 9:49pm
1. Fixed uncached template on view all bans.
2. Included README.txt in the txt file.
Treak
03-10-2006, 03:57 AM
dude this hack is flawless works like a charm and is there when you need it.. if i was gay id kiss you..
Trigunflame
03-10-2006, 09:16 AM
dude this hack is flawless works like a charm and is there when you need it.. if i was gay id kiss you..
That won't be necessary :paranoid:
offsidex
03-10-2006, 03:16 PM
Thank you. Great Work.
Trigunflame
03-10-2006, 03:51 PM
I try :cool:
Trigunflame
03-11-2006, 06:19 AM
Awesome, I've been wanting this for years.
great :), There were quite a few people that had wanted it ported I know.
GT2.0
03-11-2006, 05:12 PM
Its things like this that should be standard in vB, cmon guys I know your out there
. Do it
Do it now!
Cant wait to test!
Trigunflame
03-12-2006, 01:40 AM
I believe it is on their to-do list actually..
Trigunflame
03-12-2006, 10:41 AM
Awesome, I've been wanting this for years.
Ya someone had told me they wanted, so I figured I would make it for them ;)
Lyricsmama
03-12-2006, 02:58 PM
GREAT!! We needed this a long time ago!!!
bashy
03-12-2006, 03:53 PM
Hi
I am trying to install this but cannot find in my postbit where to do the edits
Please can you take a look....:)
<!-- post #$post[postid] -->
<if condition="$show['spacer']">
$spacer_open
<div id="edit$post[postid]" style="padding:0px 0px $stylevar[cellpadding]px 0px">
<if condition="!$post['islastshown']"><!-- this is not the last post shown on the page --></if>
</if>
<table class="tborder" id="post$post[postid]" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead" $post[scrolltothis]>
<div class="normal" style="float:$stylevar[right]">
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a> </if>
<if condition="$show['reputationlink']"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a> </if>
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a> </if>
$post[iplogged]
<if condition="$show['inlinemod']">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" onclick="inlineMod.toggle(this)" />
</if>
</div>
<div class="normal">
<!-- status icon and date -->
<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
<if condition="!$show['announcement']">
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
<else />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</div>
</td>
</tr>
<tr>
<td class="alt2" style="padding:0px">
<!-- user info -->
<table cellpadding="0" cellspacing="$stylevar[cellpadding]" border="0" width="100%">
<tr>
<if condition="$show['avatar']">
<td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td>
<else />
<td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$stylevar[imgdir_misc]/noavatar.gif" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td>
</if>
<td nowrap="nowrap">
<if condition="$post['glowcolor']"><div id="postmenu_$post[postid]" style="filter:Glow(Color=$post[glowcolor],Strength=$post[glowstrength]); width:100%;"><else /><!-- vbPlaza start -->
<div id="postmenu_$post[postid]" <if condition="$post['namestyle']">style="$post[namestyle]"</if>>
<!-- vbPlaza end --></if>
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
$post[onlinestatus]
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>
<!-- vbPlaza start -->
<if condition="$post['usertitle']"><div class="smallfont" <if condition="$post['titlestyle']">style="$post[titlestyle]"</if>>$post[usertitle]</div></if>
<!-- vbPlaza end -->
<div class="smallfont"><strong>$WWU002_ranktext</strong></div>
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
<if condition="$post[userid]">
<div>UserID: $post[userid]</div>
</if>
<if condition="$show['warning']"><div class="smallfont">$post[warning]</div></if>
<div class="smallfont">$vbphrase[slap_slaps]: $slapcount</div>
<if condition="$vboptions['usereferrer']">
<div class="smallfont">
Referrals<strong>$vbphrase[referrals]:</strong>
$developerref
<if condition="$post['userid']"><div>iTrader: (<b><a href="itrader.php?$session[sessionurl]u=$post[userid]">$post[itrader_total]</a></b>)</div></if>
</div>
</if>
<!-- Local Date and Time in Post -->
<if condition="$post[userid]">
<br />
<div class="smallfont" align="left">
$vbphrase[bf2_local_time]: $post[localtime]
<br />
$vbphrase[bf2_local_date]: $post[localdate]
</div>
</if>
<!-- Local Date and Time in Post -->
<!-- mood hack display start -->
<br /><if condition="!empty($post[field19])"><div class="smallfont">
Current Mood: <img src="images/mood/$post[field19].gif" title="$post[field19]" align="center">
</div></if>
<!-- mood hack display end -->
</td>
<td width="100%" align="right"> $post[petz]</td>
<td class="WWU002postbit">
<table cellspacing="2" cellpadding="0">
<tr>
<td><img src="$stylevar[imgdir_misc]/activity/textactivity.gif" /></td>
<td><img src="$stylevar[imgdir_misc]/activity/textlongevity.gif" /></td>
</tr>
<tr>
<td title="$WWU002_activityinfo"><img src="$stylevar[imgdir_misc]/activity/activity$WWU002_activitylevel.gif" class="i" /></td>
<td title="$WWU002_longevityinfo"><img src="$stylevar[imgdir_misc]/activity/long$WWU002_longevitylevel.gif" class="i" /></td>
</tr>
<tr>
<td><img src="$stylevar[imgdir_misc]/activity/texttoday.gif" /></td>
<td><img src="$stylevar[imgdir_misc]/activity/textposts.gif" /></td>
</tr>
<tr>
<td title="$WWU002_todayinfo"><img src="$stylevar[imgdir_misc]/activity/today{$WWU002_todaylevel}_$WWU002_maxtodaylevel.gi f" class="i" /></td>
<td dir="ltr"><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[1].gif" class="il" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[2].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[3].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[4].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[5].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[6].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[7].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[8].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[9].gif" class="ir" /></td>
</tr>
</table>
</td>
<td valign="top" nowrap="nowrap">
<div class="smallfont">$post[crowns]$post[champtext]<br /></div>
<div class="smallfont">
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post[field18] != ''"><div>
State/County: <img src="images/state/$post[field18].gif" title="$post[field18]" align="center">
<!-- vbPlaza start -->
<if condition="$vboptions['vbbux_enabled']"><br />
$vbphrase[vbbux_points]: $post[points]<br />
$vbphrase[vbbux_bank]: $post[bank]<br />
<phrase 1="$vbphrase[vbbux_points]">$vbphrase[vbbux_total_points]</phrase>: $post[totalpoints]<br />
<a href="vbplaza.php?do=donate&userid=$post[userid]">$vbphrase[vbplaza_donate]</a><br />
</if>
<!-- vbPlaza end -->
<if condition="$post['hasbday']">
<img src="$stylevar[imgdir_misc]/birthday_small.gif" alt="<phrase 1="$post[username]">$vbphrase[x_has_a_birthday]</phrase>" />
</if>
</div></if>
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
<br />
<!-- Start Post Thank You Hack -->
<if condition="$post[userid]">
<br />
$vbphrase[post_thanks_thanks]: $post[post_thanks_user_amount]
<br />
<if condition="$post[post_thanks_thanked_times_on] == 1">
$vbphrase[post_thanks_time_post]
<else />
<if condition="$post[post_thanks_thanked_posts_on] == 1">
<phrase 1="$post[post_thanks_thanked_times]">$vbphrase[post_thanks_times_post]</phrase>
<else />
<phrase 1="$post[post_thanks_thanked_times]" 2="$post[post_thanks_thanked_posts]">$vbphrase[post_thanks_times_posts]</phrase>
</if>
</if>
</if>
<!-- End Post Thank You Hack --> <div class="info"><if condition="$show['reputation']">
<if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower] </if>
$post[reputationdisplay]
$post[gars_installed]
</if></div><br />
<!--System Specs-->
<if condition="$post[field5] == YES">
<div id="sysinfo_$post[postid]" align="left" class="info" nowrap>
<a href="#sysinfo"><b>My System</b> </a><script type="text/javascript"> vbmenu_register("sysinfo_$post[postid]"); </script></div>
</if>
<br />
<!--/System Specs-->
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
</div>
<!-- vbPlaza start -->
<if condition="$post['giftsdisplay']"><div class="smallfont">$post[giftsdisplay]</div></if>
<if condition="$post['ribbonsdisplay']"><div class="smallfont">$post[ribbonsdisplay]</div></if>
<!-- vbPlaza end -->
<if condition="$show['gifts']"><div>$post[gifts]</div></if>
</td>
</tr>
</table>
<!-- / user info -->
</td>
</tr>
<tr>
<td class="alt1" id="td_post_$post[postid]">
<!-- message, attachments, sig -->
<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>
<if condition="$post[postcount] == '1' ">
<div align="right">$extrafields</div>
</if>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>
<!-- message -->
<div id="post_message_$post[postid]"><if condition="$post[field21]"><font face="$post[field21]">$post[message]</font><else />$post[message]</if></div>
<!-- / message -->
<!-- #### SHOW REPUTATION GIVEN IN POST START - BY LEVI THORNTON #### -->
<if condition="$show['post_reputation_gv']">
<br>
<fieldset class="fieldset" style="border-color:#DDDDDD;">
<legend>Comments on this post</legend>
<div style="padding:12px">
$post_rep_gv
</div>
</fieldset>
</if>
<!-- #### SHOW REPUTATION GIVEN IN POST END - BY LEVI THORNTON #### -->
<if condition="$show['attachments']">
<!-- attachments -->
<div style="padding:$stylevar[cellpadding]px">
<if condition="$show['thumbnailattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_thumbnails]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</fieldset>
</if>
<if condition="$show['imageattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>
</fieldset>
</if>
<if condition="$show['imageattachmentlink']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</fieldset>
</if>
<if condition="$show['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</table>
</fieldset>
</if>
<if condition="$show['moderatedattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attachments_pending_approval]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</fieldset>
</if>
</div>
<!-- / attachments -->
</if>
<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>
<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont"> <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<em>
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
<if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
</em>
</div>
<!-- / edit note -->
</if>
<div align="$stylevar[right]">
<!-- controls -->
<!-- Start Post Thank You Hack -->
$post_thanks_button
<!-- End Post Thank You Hack -->
<if condition="$post[userid] != $bbuserinfo[userid]"><if condition="$show['pmlink']"><a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]" target="_blank" rel="nofollow"><img src="$stylevar[imgdir_button]/sendpm.gif" alt="sendpm.gif" title="<phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase>" border="0" /></a></if></if>
<a href="newthread.php?fork=1&do=newthread&p=$post[postid]"><img src="$stylevar[imgdir_button]/fork.gif" alt="$vbphrase[fork_this_post]" border="0" /></a>
<if condition="$post['editlink']">
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
<if condition="$show['quickreply'] AND !$show['threadedmode']">
<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>
<if condition="$show['moderated']">
<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
<if condition="$post['replylink'] AND $show['multiquote']">
<img src="$stylevar[imgdir_misc]/mq_img_off.gif" alt="$vbphrase[multiquote]" border="0" width="21" height="15" name="multiquote_$post[postid]" id="multiquote_$post[postid]" onclick="toggleMultiQuote($post[postid], this)" style="cursor:pointer" />
</if>
<!-- / controls -->
</div>
<!-- message, attachments, sig -->
</td>
</tr>
</table>
<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td></tr>
</if>
<if condition="$post[usergroupid]!= 6 AND $bbuserinfo[usergroupid] == 6">
<tr><td class="vbmenu_option"><a
href="moderator.php?$session[sessionurl]do=useroptions&u=$post[userid]"><phrase
1="$post[username]">Edit User</phrase></a></td></tr>
</if>
</table>
</div>
<!-- / post $post[postid] popup menu -->
<!--System Specs-->
<div class="vbmenu_popup" id="sysinfo_$post[postid]_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<td class="thead">My System Information</td>
<if condition="$post[field6]"><tr><td class="vbmenu_option"><b>CPU:</b> $post[field6]</td></tr></if>
<if condition="$post[field7]"><tr><td class="vbmenu_option"><b>Motherboard:</b> $post[field7]</td></tr></if>
<if condition="$post[field8]"><tr><td class="vbmenu_option"><b>Mem:</b> $post[field8]</td></tr></if>
<if condition="$post[field9]"><tr><td class="vbmenu_option"><b>HDD:</b> $post[field9]</td></tr></if>
<if condition="$post[field10]"><tr><td class="vbmenu_option"><b>Graphics:</b> $post[field10]</td></tr></if>
<if condition="$post[field11]"><tr><td class="vbmenu_option"><b>Sound:</b> $post[field11]</td></tr></if>
<if condition="$post[field12]"><tr><td class="vbmenu_option"><b>OS:</b> $post[field12]</td></tr></if>
<if condition="$post[field13]"><tr><td class="vbmenu_option"><b>Modem:</b> $post[field13]</td></tr></if>
<if condition="$post[field14]"><tr><td class="vbmenu_option"><b>Internet:</b> $post[field14]</td></tr></if>
<if condition="$post[field15]"><tr><td class="vbmenu_option"><b>DigiBox:</b> $post[field15]</td></tr></if>
<if condition="$post[field16]"><tr><td class="vbmenu_option"><b>Area:</b> $post[field16]</td></tr></if>
</table>
</div>
<if condition="$post['hasbday']">
<img src="$stylevar[imgdir_misc]/birthday_small.gif" alt="<phrase 1="$post[username]">$vbphrase[x_has_a_birthday]</phrase>" />
</if>
<!--/System Specs-->
<if condition="$show['spacer']">
</div>
$spacer_close
</if>
<!-- / post #$post[postid] -->
<!-- Start Post Thank You Hack -->
$post_thanks
<!-- End Post Thank You Hack -->
Trigunflame
03-12-2006, 03:58 PM
Hi
I am trying to install this but cannot find in my postbit where to do the edits
Please can you take a look....:)
<!-- post #$post[postid] -->
<if condition="$show['spacer']">
$spacer_open
<div id="edit$post[postid]" style="padding:0px 0px $stylevar[cellpadding]px 0px">
<if condition="!$post['islastshown']"><!-- this is not the last post shown on the page --></if>
</if>
<table class="tborder" id="post$post[postid]" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead" $post[scrolltothis]>
<div class="normal" style="float:$stylevar[right]">
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a> </if>
<if condition="$show['reputationlink']"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a> </if>
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a> </if>
$post[iplogged]
<if condition="$show['inlinemod']">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" onclick="inlineMod.toggle(this)" />
</if>
</div>
<div class="normal">
<!-- status icon and date -->
<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
<if condition="!$show['announcement']">
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
<else />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</div>
</td>
</tr>
<tr>
<td class="alt2" style="padding:0px">
<!-- user info -->
<table cellpadding="0" cellspacing="$stylevar[cellpadding]" border="0" width="100%">
<tr>
<if condition="$show['avatar']">
<td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td>
<else />
<td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$stylevar[imgdir_misc]/noavatar.gif" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td>
</if>
<td nowrap="nowrap">
<if condition="$post['glowcolor']"><div id="postmenu_$post[postid]" style="filter:Glow(Color=$post[glowcolor],Strength=$post[glowstrength]); width:100%;"><else /><!-- vbPlaza start -->
<div id="postmenu_$post[postid]" <if condition="$post['namestyle']">style="$post[namestyle]"</if>>
<!-- vbPlaza end --></if>
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
$post[onlinestatus]
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>
<!-- vbPlaza start -->
<if condition="$post['usertitle']"><div class="smallfont" <if condition="$post['titlestyle']">style="$post[titlestyle]"</if>>$post[usertitle]</div></if>
<!-- vbPlaza end -->
<div class="smallfont"><strong>$WWU002_ranktext</strong></div>
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
<if condition="$post[userid]">
<div>UserID: $post[userid]</div>
</if>
<if condition="$show['warning']"><div class="smallfont">$post[warning]</div></if>
<div class="smallfont">$vbphrase[slap_slaps]: $slapcount</div>
<if condition="$vboptions['usereferrer']">
<div class="smallfont">
Referrals<strong>$vbphrase[referrals]:</strong>
$developerref
<if condition="$post['userid']"><div>iTrader: (<b><a href="itrader.php?$session[sessionurl]u=$post[userid]">$post[itrader_total]</a></b>)</div></if>
</div>
</if>
<!-- Local Date and Time in Post -->
<if condition="$post[userid]">
<br />
<div class="smallfont" align="left">
$vbphrase[bf2_local_time]: $post[localtime]
<br />
$vbphrase[bf2_local_date]: $post[localdate]
</div>
</if>
<!-- Local Date and Time in Post -->
<!-- mood hack display start -->
<br /><if condition="!empty($post[field19])"><div class="smallfont">
Current Mood: <img src="images/mood/$post[field19].gif" title="$post[field19]" align="center">
</div></if>
<!-- mood hack display end -->
</td>
<td width="100%" align="right"> $post[petz]</td>
<td class="WWU002postbit">
<table cellspacing="2" cellpadding="0">
<tr>
<td><img src="$stylevar[imgdir_misc]/activity/textactivity.gif" /></td>
<td><img src="$stylevar[imgdir_misc]/activity/textlongevity.gif" /></td>
</tr>
<tr>
<td title="$WWU002_activityinfo"><img src="$stylevar[imgdir_misc]/activity/activity$WWU002_activitylevel.gif" class="i" /></td>
<td title="$WWU002_longevityinfo"><img src="$stylevar[imgdir_misc]/activity/long$WWU002_longevitylevel.gif" class="i" /></td>
</tr>
<tr>
<td><img src="$stylevar[imgdir_misc]/activity/texttoday.gif" /></td>
<td><img src="$stylevar[imgdir_misc]/activity/textposts.gif" /></td>
</tr>
<tr>
<td title="$WWU002_todayinfo"><img src="$stylevar[imgdir_misc]/activity/today{$WWU002_todaylevel}_$WWU002_maxtodaylevel.gi f" class="i" /></td>
<td dir="ltr"><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[1].gif" class="il" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[2].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[3].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[4].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[5].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[6].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[7].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[8].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[9].gif" class="ir" /></td>
</tr>
</table>
</td>
<td valign="top" nowrap="nowrap">
<div class="smallfont">$post[crowns]$post[champtext]<br /></div>
<div class="smallfont">
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post[field18] != ''"><div>
State/County: <img src="images/state/$post[field18].gif" title="$post[field18]" align="center">
<!-- vbPlaza start -->
<if condition="$vboptions['vbbux_enabled']"><br />
$vbphrase[vbbux_points]: $post[points]<br />
$vbphrase[vbbux_bank]: $post[bank]<br />
<phrase 1="$vbphrase[vbbux_points]">$vbphrase[vbbux_total_points]</phrase>: $post[totalpoints]<br />
<a href="vbplaza.php?do=donate&userid=$post[userid]">$vbphrase[vbplaza_donate]</a><br />
</if>
<!-- vbPlaza end -->
<if condition="$post['hasbday']">
<img src="$stylevar[imgdir_misc]/birthday_small.gif" alt="<phrase 1="$post[username]">$vbphrase[x_has_a_birthday]</phrase>" />
</if>
</div></if>
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
<br />
<!-- Start Post Thank You Hack -->
<if condition="$post[userid]">
<br />
$vbphrase[post_thanks_thanks]: $post[post_thanks_user_amount]
<br />
<if condition="$post[post_thanks_thanked_times_on] == 1">
$vbphrase[post_thanks_time_post]
<else />
<if condition="$post[post_thanks_thanked_posts_on] == 1">
<phrase 1="$post[post_thanks_thanked_times]">$vbphrase[post_thanks_times_post]</phrase>
<else />
<phrase 1="$post[post_thanks_thanked_times]" 2="$post[post_thanks_thanked_posts]">$vbphrase[post_thanks_times_posts]</phrase>
</if>
</if>
</if>
<!-- End Post Thank You Hack --> <div class="info"><if condition="$show['reputation']">
<if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower] </if>
$post[reputationdisplay]
$post[gars_installed]
</if></div><br />
<!--System Specs-->
<if condition="$post[field5] == YES">
<div id="sysinfo_$post[postid]" align="left" class="info" nowrap>
<a href="#sysinfo"><b>My System</b> </a><script type="text/javascript"> vbmenu_register("sysinfo_$post[postid]"); </script></div>
</if>
<br />
<!--/System Specs-->
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
</div>
<!-- vbPlaza start -->
<if condition="$post['giftsdisplay']"><div class="smallfont">$post[giftsdisplay]</div></if>
<if condition="$post['ribbonsdisplay']"><div class="smallfont">$post[ribbonsdisplay]</div></if>
<!-- vbPlaza end -->
<if condition="$show['gifts']"><div>$post[gifts]</div></if>
</td>
</tr>
</table>
<!-- / user info -->
</td>
</tr>
<tr>
<td class="alt1" id="td_post_$post[postid]">
<!-- message, attachments, sig -->
<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>
<if condition="$post[postcount] == '1' ">
<div align="right">$extrafields</div>
</if>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>
<!-- message -->
<div id="post_message_$post[postid]"><if condition="$post[field21]"><font face="$post[field21]">$post[message]</font><else />$post[message]</if></div>
<!-- / message -->
<!-- #### SHOW REPUTATION GIVEN IN POST START - BY LEVI THORNTON #### -->
<if condition="$show['post_reputation_gv']">
<br>
<fieldset class="fieldset" style="border-color:#DDDDDD;">
<legend>Comments on this post</legend>
<div style="padding:12px">
$post_rep_gv
</div>
</fieldset>
</if>
<!-- #### SHOW REPUTATION GIVEN IN POST END - BY LEVI THORNTON #### -->
<if condition="$show['attachments']">
<!-- attachments -->
<div style="padding:$stylevar[cellpadding]px">
<if condition="$show['thumbnailattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_thumbnails]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</fieldset>
</if>
<if condition="$show['imageattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>
</fieldset>
</if>
<if condition="$show['imageattachmentlink']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</fieldset>
</if>
<if condition="$show['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</table>
</fieldset>
</if>
<if condition="$show['moderatedattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attachments_pending_approval]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</fieldset>
</if>
</div>
<!-- / attachments -->
</if>
<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>
<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont"> <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<em>
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
<if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
</em>
</div>
<!-- / edit note -->
</if>
<div align="$stylevar[right]">
<!-- controls -->
<!-- Start Post Thank You Hack -->
$post_thanks_button
<!-- End Post Thank You Hack -->
<if condition="$post[userid] != $bbuserinfo[userid]"><if condition="$show['pmlink']"><a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]" target="_blank" rel="nofollow"><img src="$stylevar[imgdir_button]/sendpm.gif" alt="sendpm.gif" title="<phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase>" border="0" /></a></if></if>
<a href="newthread.php?fork=1&do=newthread&p=$post[postid]"><img src="$stylevar[imgdir_button]/fork.gif" alt="$vbphrase[fork_this_post]" border="0" /></a>
<if condition="$post['editlink']">
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
<if condition="$show['quickreply'] AND !$show['threadedmode']">
<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>
<if condition="$show['moderated']">
<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
<if condition="$post['replylink'] AND $show['multiquote']">
<img src="$stylevar[imgdir_misc]/mq_img_off.gif" alt="$vbphrase[multiquote]" border="0" width="21" height="15" name="multiquote_$post[postid]" id="multiquote_$post[postid]" onclick="toggleMultiQuote($post[postid], this)" style="cursor:pointer" />
</if>
<!-- / controls -->
</div>
<!-- message, attachments, sig -->
</td>
</tr>
</table>
<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td></tr>
</if>
<if condition="$post[usergroupid]!= 6 AND $bbuserinfo[usergroupid] == 6">
<tr><td class="vbmenu_option"><a
href="moderator.php?$session[sessionurl]do=useroptions&u=$post[userid]"><phrase
1="$post[username]">Edit User</phrase></a></td></tr>
</if>
</table>
</div>
<!-- / post $post[postid] popup menu -->
<!--System Specs-->
<div class="vbmenu_popup" id="sysinfo_$post[postid]_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<td class="thead">My System Information</td>
<if condition="$post[field6]"><tr><td class="vbmenu_option"><b>CPU:</b> $post[field6]</td></tr></if>
<if condition="$post[field7]"><tr><td class="vbmenu_option"><b>Motherboard:</b> $post[field7]</td></tr></if>
<if condition="$post[field8]"><tr><td class="vbmenu_option"><b>Mem:</b> $post[field8]</td></tr></if>
<if condition="$post[field9]"><tr><td class="vbmenu_option"><b>HDD:</b> $post[field9]</td></tr></if>
<if condition="$post[field10]"><tr><td class="vbmenu_option"><b>Graphics:</b> $post[field10]</td></tr></if>
<if condition="$post[field11]"><tr><td class="vbmenu_option"><b>Sound:</b> $post[field11]</td></tr></if>
<if condition="$post[field12]"><tr><td class="vbmenu_option"><b>OS:</b> $post[field12]</td></tr></if>
<if condition="$post[field13]"><tr><td class="vbmenu_option"><b>Modem:</b> $post[field13]</td></tr></if>
<if condition="$post[field14]"><tr><td class="vbmenu_option"><b>Internet:</b> $post[field14]</td></tr></if>
<if condition="$post[field15]"><tr><td class="vbmenu_option"><b>DigiBox:</b> $post[field15]</td></tr></if>
<if condition="$post[field16]"><tr><td class="vbmenu_option"><b>Area:</b> $post[field16]</td></tr></if>
</table>
</div>
<if condition="$post['hasbday']">
<img src="$stylevar[imgdir_misc]/birthday_small.gif" alt="<phrase 1="$post[username]">$vbphrase[x_has_a_birthday]</phrase>" />
</if>
<!--/System Specs-->
<if condition="$show['spacer']">
</div>
$spacer_close
</if>
<!-- / post #$post[postid] -->
<!-- Start Post Thank You Hack -->
$post_thanks
<!-- End Post Thank You Hack -->
You need to revert your templates anyway, they are outdated.. but look for
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
And add
<if condition="$show['btu_canban']">
<if condition="!isset($btu[$post[threadid]][$post[userid]])">
<tr><td class="vbmenu_option"><a href="postings.php?$session[sessionurl]do=btu_ban&t=$post[threadid]&u=$post[userid]">$vbphrase[btu_ban]</a></td></tr>
<else />
<tr><td class="vbmenu_option"><a href="postings.php?$session[sessionurl]do=btu_ban&t=$post[threadid]&u=$post[userid]">$vbphrase[btu_unban]</a></td></tr>
</if>
</if>
Below it.
bashy
03-12-2006, 05:29 PM
Never understood this reverting lark, i leave alone what i dont fully understand lol
As for looking for
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
Its not there, hence posting the code :)
You need to revert your templates anyway, they are outdated.. but look for
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
And add
<if condition="$show['btu_canban']">
<if condition="!isset($btu[$post[threadid]][$post[userid]])">
<tr><td class="vbmenu_option"><a href="postings.php?$session[sessionurl]do=btu_ban&t=$post[threadid]&u=$post[userid]">$vbphrase[btu_ban]</a></td></tr>
<else />
<tr><td class="vbmenu_option"><a href="postings.php?$session[sessionurl]do=btu_ban&t=$post[threadid]&u=$post[userid]">$vbphrase[btu_unban]</a></td></tr>
</if>
</if>
Below it.
Trigunflame
03-13-2006, 06:18 AM
Never understood this reverting lark, i leave alone what i dont fully understand lol
As for looking for
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
Its not there, hence posting the code :)
It is there cause I copied it out of the code you posted, Look harder or dont waste my time :)
bashy
03-13-2006, 03:16 PM
Ok finally found it by pasting it into notepad and searching from there!
All working fine now thanks!!
Trigunflame
03-14-2006, 10:15 AM
You are welcome ;)
Trigunflame
03-14-2006, 07:38 PM
GREAT!! We needed this a long time ago!!!
Glad its helping.
Trigunflame
03-15-2006, 07:33 PM
Vote Vbulletin World Map System OR Plugin Accelerator for HOTM (https://vborg.vbsupport.ru/showthread.php?p=926146)
Trigunflame
03-17-2006, 01:07 PM
GREAT!! We needed this a long time ago!!!
You are welcome :)
Trigunflame
03-19-2006, 08:02 PM
Thanks ;)
arcadian_girl
03-20-2006, 11:00 AM
*clicked install*
thanks very much, this really comes in handy :)
(and thanks for making it easy to install)
Trigunflame
03-20-2006, 03:32 PM
Clicked & Installed ! Great program. Love it. Thank you for sharing ;)
Trigunflame May I translate your program in my language ? -Mike
As long as you dont distribute it ;) I plan to keep everything here at vborg.
EasyTarget
03-20-2006, 04:42 PM
trigun, any chance you could expand on this and add a feature to ban user from a forum/subforum? I could really use it for moderators who have a different set of rules in their forum than I have in the general forum.
So a moderator of X forum/subforum could ban a user from the forum/s they moderate but then the user could still access the other parts of the forum.
Trigunflame
03-20-2006, 05:08 PM
trigun, any chance you could expand on this and add a feature to ban user from a forum/subforum? I could really use it for moderators who have a different set of rules in their forum than I have in the general forum.
So a moderator of X forum/subforum could ban a user from the forum/s they moderate but then the user could still access the other parts of the forum.
Would probably release it as a seperate hack so people have more of a choice. Ive already placed more php plugin code into this hack than I wanted to in the first place ;)
Ill work on something later today if I can.
EasyTarget
03-20-2006, 10:22 PM
Would probably release it as a seperate hack so people have more of a choice. Ive already placed more php plugin code into this hack than I wanted to in the first place ;)
Ill work on something later today if I can.
thank you. been looking around at different options for this for well over a year.
Trigunflame
03-21-2006, 07:55 PM
Translated in German. Now it runs on my forum ;). Thank you, Dusty !!! -Mike
Thats nice :)
Nathan2006
03-26-2006, 05:10 AM
Hey Dusty,
is there anyway I can make this available for normal mods?
I think it would be a good idea for normal mods cos they do most of the work ;)
I just dont want to have all my mods changed to supermods to be able to use this great hack ;)
Thank you for your help :)
antialiasis
03-26-2006, 04:04 PM
Would it be possible to make this so that in specific forums, the thread starter can ban people from the thread?
Breathex
03-29-2006, 04:09 AM
i installed this plugin but i can't find where to set admin and super moderator permissions in admincp. in admincp every permissions pages do not include settings of this hack. can you help me please?
Nathan2006
03-29-2006, 04:21 AM
i installed this plugin but i can't find where to set admin and super moderator permissions in admincp. in admincp every permissions pages do not include settings of this hack. can you help me please?
Its already setup for Admins and Supermods;)
There are no options for it I dont think
dirtycrow
03-30-2006, 12:00 AM
anyway to have it display thread bans to all users?
WNxWakko
03-30-2006, 01:20 AM
Can you make this usergroup based so we can pick what groups can and cant use this?
CrashfAB
04-08-2006, 03:02 PM
Awsome hack. Like many have said I would like to see the regular mods have this power IMO since they typically do most of the work....
[installed]
JulianD
04-10-2006, 07:00 PM
Awesome hack!!! I'll install it and modify it to fit my needs!
Thanks!
EasyTarget
04-11-2006, 01:10 PM
Would probably release it as a seperate hack so people have more of a choice. Ive already placed more php plugin code into this hack than I wanted to in the first place ;)
Ill work on something later today if I can.
If you're still willing, I would greatly appreciate this modification.
crashb555
04-11-2006, 06:48 PM
Fantastic, using it on a forum I am admin on, can you possibly add a feature to change the message when you have banned a user, as I cannot find the code to edit to change this.
Nathan2006
04-11-2006, 06:56 PM
Fantastic, using it on a forum I am admin on, can you possibly add a feature to change the message when you have banned a user, as I cannot find the code to edit to change this.
Hi,
If you go to "Search in Phrases" >> for You have been removed from
and find the one with > You have been removed from this discussion
It will be there and you can change it to whatever you want :)
Daniel
04-13-2006, 11:18 PM
Feature request (if it's already been suggested I apoligize):
Have an optional ban reason :)
JulianD
04-15-2006, 02:04 AM
Hi... I just installed this but the user is still able to watch the thread by going to the archive. :(
Tyegurl
04-15-2006, 02:46 AM
Hi... I just installed this but the user is still able to watch the thread by going to the archive. :(
only admins are allowed to view my archive....and i password protected it just to be sure lol would that work for you?
then to top it all off i added the HIDE ressurection to the forum...gave out admin and registered user id's...told everyone that it was open to the public now to use the hidden block id's....so maybe you could try that...put him in a different usergroup...just a thought...
or just change the permissions on the user in the usermasks i think it is...
paulfletcher
04-17-2006, 02:43 PM
Quick question... How exactly do you ban the person from a thread? lol, I don't see the button to do so.
Thanks,
Paul
bashy
04-17-2006, 02:55 PM
Click the users name (in the thread) and a dropdown shows right?
Well it should show there ;)
Quick question... How exactly do you ban the person from a thread? lol, I don't see the button to do so.
Thanks,
Paul
paulfletcher
04-17-2006, 03:00 PM
I do not see the option in the drop down menu, I'll recheck to make sure I installed everything correctly, I thought I did it right.
Thanks,
Paul
bashy
04-17-2006, 03:15 PM
This is what it should look like...Well it does on mine pmsl....
paulfletcher
04-17-2006, 04:48 PM
Thanks for all the information... I added the code in the postbit_legacy, but I forgot the postbit template... It's all working now.
Thanks again,
Paul Fletcher
Mattlab
04-18-2006, 08:13 PM
I have a suggestion for your plugin. I think it would be very usefull if you could add something that says this user has been banned from this thread. For example maybe make a big banned from thread sign pop up in the upper right hand conner of his posts in that thread. This gives the mods a record that he was banned at least.
Another good addition would be for the board to Automatically PM the user who has been banned notifying the user that he has been banned from a thread.
Finally a timelimit option would be neat too.
Take these suggestions as you will. I do want to say that I see #1 as very important. There needs to be a record of who was banned where.
username12
04-20-2006, 01:48 AM
Has potential. I just don't want to give my supermods that much power. I'd also like to see the ability to ban mods in forums they don't mod.
paulfletcher
04-20-2006, 02:00 AM
Good idea.
BoYagoob
04-20-2006, 04:27 PM
installed
Strat
04-24-2006, 02:01 AM
Quick question ; can you ban a user from a thread when that user hasn't yet posted in it?
Stoebi
04-25-2006, 02:47 AM
Hi
Great work. Thanks a lot.
My wishes:
I would like to see an option that treadstarter can ban/unban an user from his thread. Maybe optionally to disable this for specific user(s)/groups/forum/mods/admins in acp. please.
I would like to see a reason option and a possibility within directly to contact the mod/admin/threadstarter which banned the user.
Sorry for my terrible english.
Regards, Stoebi
Hawk7173
04-29-2006, 03:19 AM
in my SHOWTHREAD template I find the following:
<td class="vbmenu_option" title="nohilite">
<div><label for="ao_oct"><input type="radio" name="do" id="ao_oct" value="openclosethread" checked="checked" /><if condition="$show['closethread']">$vbphrase[close_thread]<else />$vbphrase[open_thread]</if></label></div>
It's says it's supposed to be:
<if condition="$show['openclose']"><div><label for="ao_oct"><input type="radio" name="do" id="ao_oct" value="openclosethread" checked="checked" /><if condition="$show['closethread']">$vbphrase[close_thread]<else />$vbphrase[open_thread]</if></label></div></if>
any ideas why it's not there?
Tyegurl
04-29-2006, 03:27 AM
could possibly be another mod you have installed that required you to change that line of code...or try to find it in another spot possibly there are two lines of similar code...( i ran into the simialr code before)
Hawk7173
04-29-2006, 02:01 PM
I tried installing the code after the segment I found, but the mod doesn't work. When I click on the username the ban from thread does not show up. I removed what I put in there until I find out what I should do.
Just great.
Sultan clicks install.
VBUsers
05-03-2006, 02:34 AM
can you mod this hack so that it keeps members out of certain forums instead?
Ramsesx
05-05-2006, 05:42 PM
Very nice idea, thanks a lot.
Bubble #5
05-06-2006, 02:56 AM
This is an incredible mod and should be made as standard equipment on vB - hint, hint :bunny:
Iceman62
05-08-2006, 06:06 PM
This would be a good hack. I think I did everything right, but it won't work. Am I supposed to upload anything to the plugins system? I have no idea. :cross-eyed:
[EDIT] Nevermind, I got it!! Nice hack!! Thanks.
Hawk7173
05-11-2006, 01:31 AM
I've double and triple checked and everythin is correct according to instructions and it still doesn't work.
One thing that I did do is add the code in both "postbit" and "postbit_legacy" templates. Would that make a difference? Once I save the templates is there anything else that needs to be done?
Thanks.... any help would be greatly appreciated.
Snake
05-13-2006, 01:58 PM
Thanks for this nice hack! :)
contactsonia
05-16-2006, 11:20 AM
Thanks for the nice hack :)
Jafo232
05-16-2006, 02:26 PM
Clicks Install
white_2kgt
05-17-2006, 06:06 PM
Great mod, been using it for a few weeks now. I have a suggestion,
Can you add to the Thread Log (in a thead, Thread Tools->Edit Thread), there is a log there that shows everything that was done by mods/admins. Can you append thread bans to that log and show the user that was banned from the thread along w/ the MOD that did it.
Also, allowing this to extend to usergroups would be awesome. I'd love to give a select group of users the ability to ban users from threads.
tannydoan
05-24-2006, 01:57 PM
I tried many times, but this doesn't seem to work for me. I place those updates for the templates in both postbit and postbit_legacy, but the drop down menu still not show the ban options....
Please help
Nathan2006
05-24-2006, 02:12 PM
I tried many times, but this doesn't seem to work for me. I place those updates for the templates in both postbit and postbit_legacy, but the drop down menu still not show the ban options....
Please help
Try editing your postbit template instead ;)
Make sure you take a copy of the code before changing it
tannydoan
05-24-2006, 03:39 PM
I tried many times but it didn't work at all...hix hix
Nathan2006
05-24-2006, 03:42 PM
I tried many times but it didn't work at all...hix hix
Are you definitely using vBulletin Version 3.5 or above?
Maybe something you have already installed is not allowing it to show
tannydoan
05-24-2006, 03:57 PM
I'm using the latest version of vB. 3.5.4 ....
I don't know what's wrong with it, and I have no idea which hack I installed before it would cause this one to act like this...
Nathan2006
05-24-2006, 04:09 PM
I'm using the latest version of vB. 3.5.4 ....
I don't know what's wrong with it, and I have no idea which hack I installed before it would cause this one to act like this...
Did you make sure you did the SHOWTHREAD edits too?
drgonzo120
06-02-2006, 01:05 PM
nice hack, i will install it, ban ! ban ! ban !
jndeakin
06-04-2006, 11:04 PM
Excellent idea!
No more having to close threads because of some user's hot-buttons!
Thanks Trigun :)
Is there a way of automatically sending a notification pm to someone when the're banned?
Jim Deakin
RFViet
06-06-2006, 07:21 PM
I want to give moderator this power. How can i do that ??
Nathan2006
06-06-2006, 08:22 PM
I want to give moderator this power. How can i do that ??
I would also like to know how to add that option.
Moderators will be on a lot more than me and I would not want to have all mods changed to Super-mods in case something happened :(
But mods do most of the work.
nymyth
06-09-2006, 04:52 PM
DUDE...I am sooo loving this feature....LMAO......wow
Peace
Nizar
06-13-2006, 12:50 AM
I would also like to know how to add that option.
Moderators will be on a lot more than me and I would not want to have all mods changed to Super-mods in case something happened :(
But mods do most of the work.
would like to have this feature too !!
Thanks allot
GE-Biggs
06-13-2006, 01:34 AM
This feature should be standard. Awsome little plugin.
nice thing...
would like to see a feature in it..
banned for a particular time, and auto unban after time expire
/me kliks install
DR EVYL
06-22-2006, 08:17 AM
Nicely done, I love it.
beano33
07-05-2006, 02:38 AM
Has anyone been able to modify this so mods can also ban users from a thread? If so, please post the code! :)
maaref
07-08-2006, 11:26 AM
Thanks
great product, I was looking for this longtime ago,
CLICKED INSTALLED
Jayphen
07-14-2006, 04:38 AM
It qould be cool if the thread creator could ban a user from their thread..
dacho
07-14-2006, 08:04 AM
maybe you can add possibility to Bun User from forum (specific forum)
I mean to make permissibility for Moderators - can ban only from is forum
&
administrator & superadministrator - can ban from specific forums and from all the board.
Zelda-King
07-17-2006, 05:37 AM
You don't need a hack for that. That's what User Forum Permissions are for.
I don't agree with users being able to ban from threads. They're not staff and you can't trust who will use the feature maturely. It should be a staff only option.
I did test this back when it came out and I was running vB 3.5. Moderators can thread ban but only in forums they're assigned to. I believe the conditional is "canmoderate" and I like it that way. A different conditional would need to be used to allow users to ban from own threads and it's not worth it in my mind.
I can't use this plugin at the moment though because I'm running vB 3.6.
I||usi0nz
07-31-2006, 04:19 PM
can you add this for a user support? Let the registered users use the banning if the admin allows it.
CypherSTL
08-01-2006, 07:20 AM
Posiable for this to be ported to 3.6 (RC3 or gold)?
I have it on my 3.5.4 board and my staff loves it, going to be upgradeing
to 3.6 here as soon as gold in released and still want to keep it.
RaceJunkie
08-01-2006, 12:54 PM
Is there a remove User from Forums Hack anywhere? I have a user that wishes to post only negative feedback in a particular forum. I don't want to ban them from the site just keep them from going to that forum..
Sorry just read post #168
I||usi0nz
08-02-2006, 04:24 AM
can you add this for a user support? Let the registered users use the banning if the admin allows it.Let it so the topic starter or creator has the features to ban.
beano33
08-04-2006, 04:16 PM
Posiable for this to be ported to 3.6 (RC3 or gold)?
I have it on my 3.5.4 board and my staff loves it, going to be upgradeing
to 3.6 here as soon as gold in released and still want to keep it.
I have it ported, there was just one query change from 3.5 to 3.6. But I still can't figure out how make it so that moderators can ban users from threads in the forums they moderate (in addition to admins & supermods).
The product xml for 3.6 is attached below. If anyone wants to use it to release a version in the 3.6 section, they're welcome to it. I don't have the time, or expertise to support it. :)
Where i can see the ban list?
Christine
08-12-2006, 10:35 PM
Append postings.php?do=btu_view_all to your forum URL
Stoebi
09-13-2006, 09:38 PM
It qould be cool if the thread creator could ban a user from their thread..
Hi
Do i need the permission to make the changed product .xml file public here?
The threadstarter can now ban/unban users from his thread. Threadstarters can't use "view all thread bans" and "clear all threads bans".
Thanks to KirbyDE for his help.
1.
AdminCP -> Plug-ins & Products -> Plugin Manager
Look for btu_manager -> (Hook) threadmange_start
Open and search for (line 98)
if (!$show['btu_canban'])
After
if ($_REQUEST['do'] == 'btu_ban')
{
And replace with
if (!$show['btu_canban'] AND !is_first_poster($threadid))
Save
2.
Add New Plugin:
Product -> Ban Thread User
Hook Location (Hook) -> postbit_display_complete
Title -> btu_canban threadstarter
Execution Order -> 5
Plugin PHP Code -> $show['btu_canban'] = ($this->registry->userinfo['userid'] AND $post['userid'] AND $post['userid'] != $this->registry->userinfo['userid'] AND (($this->registry->userinfo['permissions']['adminpermissions'] & $this->registry->bf_ugp_adminpermissions['ismoderator']) OR ($thread['postuserid'] == $this->registry->userinfo['userid'])));
Plugin is Active? -> Yes
Save
Kind Regards,
St?bi
I have it ported, there was just one query change from 3.5 to 3.6. But I still can't figure out how make it so that moderators can ban users from threads in the forums they moderate (in addition to admins & supermods).Thanks for porting this to 3.6 Beano. You have no idea how I fretted over not having this in my forums.
beano33
09-21-2006, 05:13 AM
Thanks for porting this to 3.6 Beano. You have no idea how I fretted over not having this in my forums.
You're welcome!
beano33
09-21-2006, 05:18 AM
I want to give moderator this power. How can i do that ??
I'm sure there's a cleaner way to do it, but this worked for me. I edited the plugin 'btu_canban' by adding this line at the end:
$show['btu_canban'] = iif(can_moderate(), true, false);
Stoebi
09-21-2006, 06:00 AM
Hi
Do i need the permission to make the changed product .xml file public here?
If i get permission, i can make a new product with more options.
Allow moderator also to ban or unban users from a thread. Moderators can't use "view all thread bans" and "clear all threads bans".
1.
AdminCP -> Plug-ins & Products -> Plugin Manager
Look for btu_manager -> (Hook) threadmange_start:
Open and serach for (line 3)
if (!$show['btu_canban'])
After
if ($_REQUEST['do'] == 'btu_clear')
{
Replace with
if (!$show['btu_canban'] AND !can_moderate($thread['forumid']))
Search for (line 98)
if (!$show['btu_canban'])
After
if ($_REQUEST['do'] == 'btu_ban')
{
Replace with
if (!$show['btu_canban'] AND !can_moderate($thread['forumid']))
2.
Add New Plugin:
Product -> Ban Thread User
Hook Location (Hook) -> postbit_display_complete
Title -> btu_canban moderator
Execution Order -> 5
Plugin PHP Code -> $show['btu_canban'] = ($this->registry->userinfo['userid'] AND $post['userid'] AND $post['userid'] != $this->registry->userinfo['userid'] AND (($this->registry->userinfo['permissions']['adminpermissions'] & $this->registry->bf_ugp_adminpermissions['ismoderator']) OR can_moderate($thread['forumid']) OR can_moderate($thread['forumid'])));
Plugin is Active? -> Yes
Save
Kind Regards,
St?bi
wpeloquin
09-23-2006, 06:28 PM
thx stobi for the moderator ban ability.
beano33
09-25-2006, 03:39 PM
Hi
The threadstarter can now ban/unban users from his thread. Threadstarters can't use "view all thread bans" and "clear all threads bans".
I'd like to use this, but restrict it by usergroup (paid subscribers). Is it simply a matter of changing this
if (!$show['btu_canban'] AND !is_first_poster($threadid))
to
if (!$show['btu_canban'] AND !is_first_poster($threadid) AND !is_member_of($bbuserinfo, x))
where x is the usegroup I want to give permission to?
Stoebi
09-26-2006, 05:55 AM
I'd like to use this, but restrict it by usergroup (paid subscribers). Is it simply a matter of changing this
if (!$show['btu_canban'] AND !is_first_poster($threadid)) to
if (!$show['btu_canban'] AND !is_first_poster($threadid) AND !is_member_of($bbuserinfo, x))
where x is the usegroup I want to give permission to?
Hi,
the threadstarter and a member of a group can now ban/unban users from his/a thread.
1.
AdminCP -> Plug-ins & Products -> Plugin Manager
Look for btu_manager -> (Hook) threadmange_start
Open and search for (line 98)
if (!$show['btu_canban'])
After
if ($_REQUEST['do'] == 'btu_ban')
{
Replace with
if (!$show['btu_canban'] AND !is_first_poster($threadid) AND !is_member_of($vbulletin->userinfo, x)
x = your UsergroupID
Save
2.
Add New Plugin:
Product -> Ban Thread User
Hook Location (Hook) -> postbit_display_complete
Title -> btu_canban threadstarter
Execution Order -> 5
Plugin PHP Code -> $show['btu_canban'] = ($this->registry->userinfo['userid'] AND $post['userid'] AND $post['userid'] != $this->registry->userinfo['userid'] AND (($this->registry->userinfo['permissions']['adminpermissions'] & $this->registry->bf_ugp_adminpermissions['ismoderator']) OR $thread['postuserid'] == $this->registry->userinfo['userid'] OR is_member_of($this->registry->userinfo, x)));
Plugin is Active? -> Yes
x = your UsergroupID
Save
Kind Regards,
St?bi
nymyth
09-29-2006, 05:40 PM
After upgrading to 3.6.1, I cannot get this to work. The option isnt appearing when the username is clicked....any ideas?
Peace
IGNORE THIS...IM AN ASS...lol
Minha
10-10-2006, 08:13 PM
Thanks!!! Perfect on 3.6.1 ;)
Installed.
sross
10-13-2006, 09:50 PM
Damn, I really need this badly on 3.6 but got the following error on install:
Database error in vBulletin 3.6.1:
Invalid SQL:
INSERT INTO datastore VALUES ('btu','');
MySQL Error : Column count doesn't match value count at row 1
Error Number : 1136
Date : Friday, October 13th 2006 @ 05:34:54 PM
Script : http://www.mysite.org/forums/admincp/plugin.php?do=productimport
Referrer : http://www.mysite.org/forums/admincp/plugin.php?do=productadd
IP Address : 222.154.250.82
Username : Name
Classname : vb_database
any ideas?
Stoebi
10-14-2006, 12:39 AM
Hi,
https://vborg.vbsupport.ru/showpost.php?p=1044392&postcount=173
Regards, Stoebi
sross
10-14-2006, 02:23 AM
thank you thank you thank you! :)
Installed and working now on 3.6.1 and supermods can use it as well..
Luggruff
11-03-2006, 05:42 PM
Does it work on vb 3.6.2? Anyone tried?
Stoebi, i dont understand when you say,
find line "xxx"
after: "xxx"
replace with: "xxx"
Do you mean i should replace the "after" section only? or the first line that we find along with the "after" section? If you could kindly clear this up for me, i just want to enable my moderators to ban/unban from thread.
thanks!
Bubble #5
01-14-2007, 07:13 PM
Has anyone successfully installed this on 3.6.4? :confused:
Hawk7173
01-14-2007, 10:15 PM
Is there a way to remove this from the moderator dropdown menu?
Also, this is also accessable to the moderators, which I don't have a problem with as I handpick my staff, however the way it is listed in the drop down menue gives the impression that they can only unban as there is no ban option in the dropdown.
Bubble #5
01-15-2007, 12:15 AM
the way it is listed in the drop down menue gives the impression that they can only unban as there is no ban option in the dropdown.
I think you may be looking at thw wrong drop down. Try clicking on the members name...
Hawk7173
01-15-2007, 12:22 AM
I have clicked on the member's name and the option is there.
What I'd like to do is to remove the two options from the moderator dropdown circled in the attachment
Bubble #5
01-15-2007, 12:27 AM
That should be possible by simply adding a <if> statement to that section of code in the template. Someone else would need to post the exact code though.
Mysticales
01-17-2007, 06:28 AM
Ok, since I like this thread and the comments added from Stoebi. I will assist you in the how to prevent mods from using the clear all or "Every" option.
As you know, a moderator using the added code provided, can ONLY clear bans from THAT thread that they are allowed to moderate in. Should they "try" the "every" option, it will fail. This was the design of Stoebis moderator code.
So should you STILL need to feel you want this blocked. Here is the code.
In the Style Manager, Edit SHOWTHREAD
Find:
<if condition="$show['btu_canban']">
Replace with:
<if condition="$show['btu_canban'] AND is_member_of($bbuserinfo, 6)">
The "6" is the default for the admin usergroup, meaning only anyone who is in part of that group, will be allowed to see those 2 options in the drop down.
Problem solved.
Hope that will assist you some. =)
professorb
02-04-2007, 05:37 PM
Has anyone successfully installed this on 3.6.4? :confused:
Hi, have you been able to get this to work? We really need it back!
Bubble #5
02-04-2007, 05:49 PM
have you been able to get this to work?
Yes :)
CrashfAB
02-04-2007, 06:21 PM
Didn't work for me on 3.6.4--got a database error.
professorb
02-04-2007, 06:41 PM
I was getting the database error, but then I used the xml from this post (https://vborg.vbsupport.ru/showpost.php?p=1044392&postcount=173) and I didn't get the error. So I made the changes to the two templates, as from the original readme, but I still can't get it to work.
professorb
02-04-2007, 06:42 PM
Yes :)
Any hints about what you did? Please? :)
CrashfAB
02-07-2007, 08:54 PM
Any updates on how to get this to work on 3.6.4?
voteforbird
02-14-2007, 09:43 PM
Works for me with the provided 3.6 update.
dagummit
02-15-2007, 12:36 PM
Is there a way to ban a group from posting to a thread? I have a debate forum where only two members can post in the thread and all the other members should post in the commentary thread. But sometimes the other members will start posting in the debate thread. It would be great to use this mod to limit only the two debaters, but where all others only have view priv.
Anyways can this mod be made to do this? Or is there another mod out there already that has this feature?
Thanks!
Nathan2006
02-15-2007, 01:49 PM
Is there a way to ban a group from posting to a thread? I have a debate forum where only two members can post in the thread and all the other members should post in the commentary thread. But sometimes the other members will start posting in the debate thread. It would be great to use this mod to limit only the two debaters, but where all others only have view priv.
Anyways can this mod be made to do this? Or is there another mod out there already that has this feature?
Thanks!
Have you tired Private Debates (https://vborg.vbsupport.ru/showthread.php?t=122897) ;)
dagummit
02-16-2007, 08:31 PM
Have you tired Private Debates (https://vborg.vbsupport.ru/showthread.php?t=122897) ;)
Awesome! Thanks!!!
Been Told
02-19-2007, 07:37 PM
Has anyone successfully installed this on 3.6.4? :confused:
https://vborg.vbsupport.ru/showpost.php?p=1044392&postcount=173
Hi, have you been able to get this to work? We really need it back!
https://vborg.vbsupport.ru/showpost.php?p=1044392&postcount=173
Didn't work for me on 3.6.4--got a database error.
https://vborg.vbsupport.ru/showpost.php?p=1044392&postcount=173
Any updates on how to get this to work on 3.6.4?
https://vborg.vbsupport.ru/showpost.php?p=1044392&postcount=173
Been Told
02-19-2007, 07:56 PM
Works perfectly on 3.6.4 by the way. Awesome mod - I've been waiting for this for MONTHS!! Thank you so much :)
Edit:
PLEASE before asking for the 3.6 fix/update, check previous posts everyone. ;)
nasko
02-20-2007, 06:05 PM
Hi
I get this error when trying to install
Database error in vBulletin 3.6.4:
Invalid SQL:
INSERT INTO datastore VALUES ('btu','');
MySQL Error : Column count doesn't match value count at row 1
Error Number : 1136
El Orans
02-25-2007, 07:16 AM
A suggestion?
Ban: style="color:red;"
Unban: style="color:green;"
*Clicks Install*
btw, if you would like the user to still be able to browse the thread, disable the 'btu_showthread' plugin.
FreshFroot
04-25-2007, 11:08 PM
where is the creator for this hack? says it's supported. BTW that file doesn't work for me in 3.6.5
where is the creator for this hack? says it's supported. BTW that file doesn't work for me in 3.6.5
Did you have a specific question/problem or were you just concerned about getting your moneys worth?
FreshFroot
04-26-2007, 04:16 AM
If you read above my question is there. Next time read before you spam it up.
If you read above my question is there. Next time read before you spam it up.
Oh I see it now. No one knows where the creator is. Maybe you should PM him.
FreshFroot
04-29-2007, 12:27 AM
I've just uninstalled the hack... Thanks anyways.
Burley
05-07-2007, 08:56 AM
where is the creator for this hack? says it's supported. BTW that file doesn't work for me in 3.6.5
I had the same problem on 3.6.5, I think thats because the title of a plugin was not correctly set.
After I installed it the plugin was called "btu_manage", and it should have been "btu_manager". A small change, but the hack worked fine afterwards.
Big ups to St?bi for his nice additions!
I hope it's okay; but I have attached the product file, including all the changes mentioned by St?bi (I think; I'm new to this)
Got one question though (kinda stupid), where can I find the "view all thread bans" option?? (I'm not using the standard nav bar)
FreshFroot
05-07-2007, 11:19 PM
hey thanks for the file.. as for the view all threan bans.. wasn't there a link for it? I thought when i installed the hack it gave me a link... to click to view everyone who's banned
Burley
05-07-2007, 11:54 PM
I figured there would be a link somewhere, but just can't find it :s
FreshFroot
05-08-2007, 09:42 PM
I'll check and see if my old template has it..
b3hr0uz
05-13-2007, 06:21 AM
is this is hack available for 3.6?
is this is hack available for 3.6?
yes, right here.
Mrdby
05-17-2007, 09:36 PM
any problems?
Burley
05-18-2007, 07:16 AM
Got one question though (kinda stupid), where can I find the "view all thread bans" option?? (I'm not using the standard nav bar)
centralss
06-06-2007, 03:52 PM
Get this error when trying to install the product.btu.xml file through the CP!
Database error in vBulletin 3.6.7:
Invalid SQL:
INSERT INTO datastore VALUES ('btu','');
MySQL Error : Column count doesn't match value count at row 1
Error Number : 1136
Date : Wednesday, June 6th 2007 @ 11:37:56 AM
Any ideas? I have 3.67 now. It worked up till 3.65.
centralss
06-06-2007, 03:55 PM
Alrighty, forget it. I just downloaded the product-btu.xml file burley attached and it imported fine. Thanks!!
713JunctionP
06-10-2007, 12:06 AM
Alrighty, forget it. I just downloaded the product-btu.xml file burley attached and it imported fine. Thanks!!
same here! the developer should have updated the file instead of us having to get it through Burley. However, the original hack developer hasn't been active on the forums since late 2006. :eek:
Fungsten
06-10-2007, 06:28 PM
On my test server with 3.6.7 +1. So far so good.
bugriders
06-11-2007, 10:21 AM
If I try to import the product I receive:
Database error in vBulletin 3.6.4:
Invalid SQL:
INSERT INTO datastore VALUES ('btu','');
MySQL Error : Column count doesn't match value count at row 1
Error Number : 1136
Edit: sorry its'w working now!
cloyal
06-14-2007, 01:12 AM
If I try to import the product I receive:
Database error in vBulletin 3.6.4:
Invalid SQL:
INSERT INTO datastore VALUES ('btu','');
MySQL Error : Column count doesn't match value count at row 1
Error Number : 1136
Edit: sorry its'w working now!
I'm getting just this error and can not import it. Anyone tell me what the cure is on this?
Chadi
06-14-2007, 05:59 PM
Getting this error
Database error in vBulletin 3.6.x:
Invalid SQL:
INSERT INTO datastore VALUES ('btu','');
MySQL Error : Column count doesn't match value count at row 1
Error Number : 1136
Date : Thursday, June 14th 2007 @ 01:58:48 PM
Script : http://www.talkjesus.com/admincp/plugin.php?do=productimport
Referrer : http://www.talkjesus.com/admincp/plugin.php?do=productadd
IP Address : xxx.xxx.xxx.xxx
Username : Chad
Classname : vb_database
PlymWS
06-14-2007, 08:15 PM
3.6.7 PL1.
I get this error as well :
Database error in vBulletin 3.6.7:
Invalid SQL:
INSERT INTO datastore VALUES ('btu','');
MySQL Error : Column count doesn't match value count at row 1
Error Number : 1136
Hey guys, read the thread. thx
PlymWS
06-15-2007, 08:48 PM
Ahh, missed that one :)
Installed updated product xml and works fine in 3.6.7 PL1
Got one question though (kinda stupid), where can I find the "view all thread bans" option?? (I'm not using the standard nav bar) When inside a thread, you can find that link in the context menu of "Thread tools".
Thank you guys for making the mods to work well with 3.6.7, more over let moderators can ban users from threads that belong to their box.
G0F0RBR0KE
09-11-2007, 10:00 PM
I get "Invalid Action" and I downloaded the one that a user updated it.
Someone knows what's going on exactly?
FreshFroot
09-12-2007, 03:39 AM
umm.. there is a NEWER ban a user from thread hack out by someone else now.. check in the 3.6 forums.
G0F0RBR0KE
09-14-2007, 04:43 AM
Nevermind. I found out why it does that and hope to fixs on it for vBSeo user(s).
dutchbb
10-08-2007, 12:05 PM
umm.. there is a NEWER ban a user from thread hack out by someone else now.. check in the 3.6 forums.
Link please???
FreshFroot
10-09-2007, 03:41 AM
Link please???
search for ban user thread in 3.6 forums.
FreshFroot
10-09-2007, 03:42 AM
Nevermind. I found out why it does that and hope to fixs on it for vBSeo user(s).
use the new one.. I'm using vbseo and it works fine.
dutchbb
10-09-2007, 07:56 AM
I did, no results.
hnjco
10-10-2007, 09:48 PM
I did, no results.
I think this is what you need and myself too. :p
https://vborg.vbsupport.ru/showthread.php?t=158445
katie hunter
11-06-2007, 11:16 AM
I've tried this on 3.6.8 but it doesn't work, is there a new version for this for 3.6.8 ?
this is what i get when trying to import the xml file
Database error in vBulletin 3.6.8:
Invalid SQL:
INSERT INTO datastore VALUES ('btu','');
MySQL Error : Column count doesn't match value count at row 1
Error Number : 1136
Date : Tuesday, November 6th 2007 @ 07:15:32 AM
Username : Rain
Classname : vb_database
cavin420
11-30-2007, 12:32 AM
yeah same error for me on 3.6.8... new version?
DeltaStrata
12-02-2007, 06:46 PM
Likewise here. This mod's been on my liste of things to install for a few months now, and I finally get around to it....and it don't worke. =/
Konstantinos
12-09-2007, 06:23 PM
Developer last online may 2006. this person doesnt come here anymore so its obvious that someone must port it to 3.6.x , i dont think he whould mind
Borden
12-17-2007, 11:23 PM
This is what i get:
Database error in vBulletin 3.6.5:
Invalid SQL:
INSERT INTO datastore VALUES ('btu','');
MySQL Error : Column count doesn't match value count at row 1
Error Number : 1136
Date : Monday, December 17th 2007 @ 06:20:57 PM
C.ooder
12-18-2007, 05:01 AM
Cool , Thank you
mclark2112
02-18-2008, 11:16 PM
Would love to get this updated, it was a very useful hack...
Bilderback
02-20-2008, 01:19 AM
I got it working by changing the database entries but it has a glitch.
Everything works with one problem:
If I unban a member from the View All page, it unbans them but redirects me to
a permission denied page.Other than the weird redirect, everything works for me on vb3.7.0beta5
Maybe a more experienced coder can add more input.
I changed the following in the product-btu.xml file before importing.
Original Code:
<installcode><![CDATA[$db->query("INSERT INTO " . TABLE_PREFIX . "datastore VALUES ('btu','')");]]></installcode>
<uninstallcode><![CDATA[$db->query("DELETE FROM " . TABLE_PREFIX . "datastore WHERE title = 'btu'");]]></uninstallcode>
My Updated Code:
<installcode><![CDATA[$vbulletin->db->query_write("ALTER TABLE " . TABLE_PREFIX . "datastore ADD btu INT( 10 ) UNSIGNED DEFAULT '' NOT NULL");]]></installcode>
<uninstallcode><![CDATA[$vbulletin->db->query_write("ALTER TABLE " . TABLE_PREFIX . "datastore DROP btu");]]></uninstallcode>
I would upload my working XML rewrite but I have not reached the author for permission to update the Product and I cannot guarantee that the above code is correct for database additions since I am new at coding.
FlyBoy73
03-23-2008, 03:59 PM
I'm willing to pay someone to port this hack. PM me if u can and are interested.
I'm willing to pay someone to port this hack. PM me if u can and are interested.
Why not just make the change listed in the post above yours? I'm sure once 7 goes gold, the author (or someone) will update it...
maestrodamuz
03-29-2008, 11:48 AM
I am new to administering vbulletin.
I have edited my template as the author suggested in the original product read me, but I can't see anywhere on the thread tools that allows me to ban a user....
looks like I am doin something wrong...or not doing something at all
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.