Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
Admin Anger Button - Log a User Out Details »»
Admin Anger Button - Log a User Out
Version: 1.0.1, by Analogpoint Analogpoint is offline
Developer Last Online: Dec 2007 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.6.8 Rating:
Released: 11-21-2007 Last Update: 11-21-2007 Installs: 286
Uses Plugins
 
No support by the author.

Adds a "Log User Out" option to the username popup menu in the postbit (in threads and PMs), and on the user's profile page, if you are an administrator. This does not ban the user or prohibit them from logging back in. It simply logs them out.

Request: https://vborg.vbsupport.ru/showthread.php?t=163318

Installation: Import the XML product file in the Product Manager.

Control: There is no options page for this mod, simply enable/disable in the Product Manager if you want.

History:
v 1.0.0 Initial release
v 1.0.1 Adds admin anger button/link when viewing a user's profile or a PM

Download Now

File Type: zip product-adminanger-1.0.0.zip (1.3 KB, 284 views)
File Type: zip product-adminanger-1.0.1.zip (1.4 KB, 1586 views)

Screenshots

File Type: png screenshot.png (15.4 KB, 0 views)
File Type: png screenshot2.png (26.8 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 11-22-2007, 04:06 PM
TheBlackPoet's Avatar
TheBlackPoet TheBlackPoet is offline
 
Join Date: May 2006
Location: Pasadena, Texas, USA
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

perfect
Reply With Quote
  #33  
Old 11-22-2007, 05:25 PM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by inciarco View Post
A Bug in this Hack: When Listing the Posts in a Page, this Hack Adds and Repeats the Forumers that Have Posted Before the Post You're Displaying the User's Options shown in the Image, so if you're in the 5th Post of the Page, the 4 Posters of the Previous Posts are Displayed also in the Dropdown Menu accessed for the Username in the 5th Post!!

Imagine the Previous Bug if you're Displaying 20 Posts per Page and you're accessing the 20th Post username dropdown menu!!

Would be Nice to have this option Also in the User Profile, and only to be accessed for the Admins!! And Even Better to be able to select which usergroups are allowed to Use this Hack!!

Another Bug is that You're forced to thenavigate to the Main Page of the Forum after using the Option!! Would be Better to Stay in the same Post and better in the Profile of the User you're forcing to Leave the Forums!!

My Best Regards!!

I Insist Should be an Error on the Plugin "Admin anger button".

To correct the Duplication of the "Log {1} Out", I've turned this Plugin Off ("Admin anger button"), and replaced it for the following Code on the postbit and postbit_legacy, Templates:

Code:
<!-- Start of Admin Anger Button 2007-11-22 -->

	<if condition="$bbuserinfo[usergroupid] == 6">
		<tr><td class="vbmenu_option"><a href="/foros/login.php?do=loguserout&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[log_x_out]</phrase></a></td></tr>
	</if>

<!-- End of Admin Anger Button 2007-11-22 -->
/foros Apply for my Forums.

and to Place the Code on the User's Profile, I've Placed te Following code on the MEMBERINFO Template

Code:
<!-- Start of Admin Anger Button 2007-11-22 -->

	<if condition="$bbuserinfo[usergroupid] == 6">

		<td class="vbmenu_control"><a href="/foros/login.php?do=loguserout&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[log_x_out]</phrase></a></td>

	</if>

<!-- End of Admin Anger Button 2007-11-22 -->
/foros Apply for my Forums.

The "Log user out" Plugin shall be Active, because the Links feeds of the Code of this Plugin to Log the User Out, and of course the "Admin Anger Button" Addon shall be Active Too.

My Best Regards!!

Reply With Quote
  #34  
Old 11-22-2007, 05:36 PM
realsumon realsumon is offline
 
Join Date: Feb 2006
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks. i need it i will install tonight.
Reply With Quote
  #35  
Old 11-22-2007, 05:46 PM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I also insist there's a Bug on the "Log user out" Plugin, because when I try the Log User Out Link in a Post of a Thread, I'm redirected to the Main Page of my Forums, and when I try this on the User Profile with the Code I've Added and presented in my previous post, I'm redirected to the User's Profile, so perhaps there's something in the Code that don't works with vBulletin 3.6.7 PL1 to return to the Posts!!

I think is perhaps the Code Line:

Code:
exec_header_redirect($vbulletin->url);
Perhaps in vBulletin 3.6.7 PL1 the Code "$vbulletin->url" is different to work on the Posts??

You're the Experts!!

My Best Regards!!

Reply With Quote
  #36  
Old 11-22-2007, 05:48 PM
Analogpoint's Avatar
Analogpoint Analogpoint is offline
 
Join Date: Feb 2007
Posts: 656
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by inciarco View Post
I Insist Should be an Error on the Plugin "Admin anger button".
I don't think it is. I think it's an incompatibility with your version of vBulletin and how the template hooks are handled. Are you using vB 3.6.7? See http://www.vbulletin.com/forum/proje...?issueid=22069
Reply With Quote
  #37  
Old 11-22-2007, 05:53 PM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Flawless here on 3.6.8 PL2 w/ Over 55 Mods installed
Reply With Quote
  #38  
Old 11-22-2007, 05:54 PM
Analogpoint's Avatar
Analogpoint Analogpoint is offline
 
Join Date: Feb 2007
Posts: 656
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by inciarco View Post
I also insist there's a Bug on the "Log user out" Plugin, because when I try the Log User Out Link in a Post of a Thread, I'm redirected to the Main Page of my Forums, and when I try this on the User Profile with the Code I've Added and presented in my previous post, I'm redirected to the User's Profile, so perhaps there's something in the Code that don't works with vBulletin 3.6.7 PL1 to return to the Posts!!
As stated in the first post, this mod was designed for 3.6.8, and there's no guarantees of it working with 3.6.7. Why don't you upgrade?
Reply With Quote
  #39  
Old 11-22-2007, 05:56 PM
Analogpoint's Avatar
Analogpoint Analogpoint is offline
 
Join Date: Feb 2007
Posts: 656
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ETDC View Post
Can we have a time bar on them logging back in? Seems a bit pointless otherwise, because they can just type out their text in notepad, log in then paste it in.
That's what banning is for.
Reply With Quote
  #40  
Old 11-22-2007, 05:58 PM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DiesellMinded View Post
If you get board you can add a vb message


You have been logged out By:_________ please reconsider your demeanor before loging back in

Thanks


That would be cool
Is this possible ?
Reply With Quote
  #41  
Old 11-22-2007, 05:59 PM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Analogpoint View Post
As stated in the first post, this mod was designed for 3.6.8, and there's no guarantees of it working with 3.6.7. Why don't you upgrade?
Too many changes in 3.6.8 and Everytime a Change is needed to Upgrade all Mods Should be Installed Again, all Files Changed Again, and All Templates Edited Again; that happened to me with 3.6.6 and how quickly had to upgrade to 3.6.7 because of security problems with 3.6.6 Version!!

Perhaps I'll change to 3.6.8 when I have the Time to Make all those Changes!!

My Best Regards and Thank You For Your Special Support!!

Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:54 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04727 seconds
  • Memory Usage 2,334KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete