vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Mini Mods - Admin Anger Button - Log a User Out (https://vborg.vbsupport.ru/showthread.php?t=163327)

TheBlackPoet 11-22-2007 04:06 PM

perfect

inciarco 11-22-2007 05:25 PM

Quote:

Originally Posted by inciarco (Post 1387525)
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!! :confused: ;)

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

Would be Nice to have this option Also in the User Profile, and only to be accessed for the Admins!! :rolleyes: 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!! :confused: ;)

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!! ;)

:)

realsumon 11-22-2007 05:36 PM

Thanks. i need it i will install tonight.

inciarco 11-22-2007 05:46 PM

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!! :( :confused:

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?? :confused:

You're the Experts!! :p

My Best Regards!! ;)

:)

Analogpoint 11-22-2007 05:48 PM

Quote:

Originally Posted by inciarco (Post 1387620)
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

DieselMinded 11-22-2007 05:53 PM

Flawless here on 3.6.8 PL2 w/ Over 55 Mods installed

Analogpoint 11-22-2007 05:54 PM

Quote:

Originally Posted by inciarco (Post 1387630)
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!! :( :confused:

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?

Analogpoint 11-22-2007 05:56 PM

Quote:

Originally Posted by ETDC (Post 1387498)
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.

DieselMinded 11-22-2007 05:58 PM

Quote:

Originally Posted by DiesellMinded (Post 1387513)
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 ?

inciarco 11-22-2007 05:59 PM

Quote:

Originally Posted by Analogpoint (Post 1387638)
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!! :p

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!! ;)

:)


All times are GMT. The time now is 03:57 PM.

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

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

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

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