Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)

Reply
 
Thread Tools Display Modes
  #11  
Old 05-04-2005, 03:20 AM
asianboi asianboi is offline
 
Join Date: Apr 2005
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how can i make it show in the banning.php?do=modify instead of the user profile?

Example:

User Name Banned By Banned On Ban Period Ban Will Be Lifted On Ban Time Remaining Lift Ban Reason
Reply With Quote
  #12  
Old 05-04-2005, 12:45 PM
Kila_Bite Kila_Bite is offline
 
Join Date: Apr 2005
Location: UK
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah this hack would be useful for me too. Asianboi hit it right on the head. If someone could code this it'd be kinda cool. Sorry to be sponging off good coders but im clueless when it comes to PHP lol.
Reply With Quote
  #13  
Old 05-04-2005, 02:12 PM
why-not why-not is offline
 
Join Date: Feb 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by asianboi
how can i make it show in the banning.php?do=modify instead of the user profile?

Example:

User Name Banned By Banned On Ban Period Ban Will Be Lifted On Ban Time Remaining Lift Ban Reason
That's how I was going to do it, but I figured the person was happy with the profile field method so I did not post mine. My idea is to have it in the admin panel and have a text field that you can input the reason for the ban and also have a select (radio) option that allows you to have the reason show up on the forum as a error message to the ban user, with full details of the ban! (Yes or No) option!

No extra query, done doing a stright join instead of a select on a single table!


Sonia
Attached Images
File Type: png ban.png (9.4 KB, 0 views)
Reply With Quote
  #14  
Old 05-04-2005, 02:27 PM
asianboi asianboi is offline
 
Join Date: Apr 2005
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like that idea and that's what I need WHY-NOT

Can you share it with us? or at least with me?
Reply With Quote
  #15  
Old 05-04-2005, 03:59 PM
wrongful wrongful is offline
 
Join Date: Apr 2003
Location: Atlanta, Georgia
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There are two hacks that I am aware of that have a reason field built into them. The first would be the Advanced Warning System (AWS) and the second would be Terry's Show Banned Users List Hack, which is mine and pretty much serves the purpose of informing people who banned who and why. Hope this helps.
Reply With Quote
  #16  
Old 05-04-2005, 04:20 PM
asianboi asianboi is offline
 
Join Date: Apr 2005
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

somehow my navbar does not work with AWS so i gotta let that go...
Reply With Quote
  #17  
Old 05-05-2005, 12:31 PM
Kila_Bite Kila_Bite is offline
 
Join Date: Apr 2005
Location: UK
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by why-not
That's how I was going to do it, but I figured the person was happy with the profile field method so I did not post mine. My idea is to have it in the admin panel and have a text field that you can input the reason for the ban and also have a select (radio) option that allows you to have the reason show up on the forum as a error message to the ban user, with full details of the ban! (Yes or No) option!

No extra query, done doing a stright join instead of a select on a single table!


Sonia
Now that sounds cool. Would it be possible to release it? Or at least provide me with the code? A release'd be better though. I think it could really bennefir the Vb community
Reply With Quote
  #18  
Old 05-05-2005, 04:09 PM
Dennis Olson Dennis Olson is offline
 
Join Date: Jul 2004
Location: Wisconsin
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All you'd have to do is add a custom private radio-button pair under the Ban Reason field, then add an additional conditional to the header template add-in. Should take about 30 seconds.
Reply With Quote
  #19  
Old 05-07-2005, 04:11 AM
asianboi asianboi is offline
 
Join Date: Apr 2005
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dennis Olson
All you'd have to do is add a custom private radio-button pair under the Ban Reason field, then add an additional conditional to the header template add-in. Should take about 30 seconds.

if we were that goood we would not even post for help... Thanks Mr. Olson. It would be much better if you can tell us how to do it.
Reply With Quote
  #20  
Old 05-09-2005, 03:14 PM
Dennis Olson Dennis Olson is offline
 
Join Date: Jul 2004
Location: Wisconsin
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, not thinking.

AdminCP, USER PROFILE FIELDS, Add New User Profile Field.

You will be prvided with a Field number. The name of your new field will be "field" + that number.

MAKE SURE the field is set to PRIVATE, the user can NOT edit it, and it does NOT appear in the Memberlist. Then just add the conditional I outlined above, and replace "fieldX" with your field name.

BTW, this is NOT a hack; it's a new profile field + the addition of a template conditional. You can ask for help on this ovfer at vB.com also.
Reply With Quote
Reply

Thread Tools
Display Modes

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 01:16 PM.


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.04451 seconds
  • Memory Usage 2,268KB
  • Queries Executed 14 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete