vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Forms Hack (https://vborg.vbsupport.ru/showthread.php?t=93970)

mastersite 06-01-2006 08:54 AM

ive pmd you Abe1 ;)

serhat_kk 06-01-2006 09:36 PM

Thanks for your help Abe1.
How do i remove WYSIWYG editor ?

MrWee 06-02-2006 05:40 PM

I love this hack!! Ever since I first saw this hack for 3.0, I've wanted to find a way to implement it.

So on my board, we recently installed it and are using it as an "incident report" form that the mods fill out whenever there is a warning or a ban of a user.

The hardest part is getting them to remember to fill it out, so I wonder if someone could help me figure out what to change so that the "ban conformation" screen (the one that says "usera has been banned for 1 week") redirect to this form, instead of to the ban list.

Also, I would like it to include the user name of the person that was just banned in the request string, so it is auto filled in the correct field.

(I already edited the plugin to do this, so newthread.php?do=user_report&uname=foobar puts “foobar” in the field name of the user being reported.)

I don't know if there would be another hook I could use, or if I would have to edit the php files myself, either is fine.

I know this sounds complicated, but if some one could just point me to where I should look at the code, I can probably figure it out!

Thanks in advance!

mrgrimes 06-05-2006 12:45 PM

Hi. I want the emailed version of the answer template to include stuff not shown in the newly created thread. How do I do this?

Abe1 06-05-2006 01:04 PM

Quote:

Originally Posted by mrgrimes
Hi. I want the emailed version of the answer template to include stuff not shown in the newly created thread. How do I do this?

Not simple. You have to make 2 answer templates and you have to duplicate some things in the plug-in.

mrgrimes 06-05-2006 01:18 PM

Thanks for the response...

Quote:

Originally Posted by Abe1
You have to make 2 answer templates

I guessed this might be the case.

Quote:

Originally Posted by Abe1
and you have to duplicate some things in the plug-in.

Is this very complicated or is it a specific block of code that needs copying and tweaking?

Abe1 06-05-2006 01:49 PM

Quote:

Originally Posted by mrgrimes
Thanks for the response...



I guessed this might be the case.



Is this very complicated or is it a specific block of code that needs copying and tweaking?

You have to copy the code that gets the answer template. Put the copy right before the email function.

mrgrimes 06-05-2006 04:03 PM

Wonderful, thank you.

DaPro 06-07-2006 03:50 PM

Abe1,

My concern for this mod is that it would be rather simple for someone to make a bot that could spam someone's inbox with this script. Is there anyway you can include a function that allows for image verification like in registration and sendmessage.php so that a user is required to verify that? This would make me feel much better about this script, I think this could be a serious security issue.

Abe1 06-07-2006 04:26 PM

Quote:

Originally Posted by DaPro
Abe1,

My concern for this mod is that it would be rather simple for someone to make a bot that could spam someone's inbox with this script. Is there anyway you can include a function that allows for image verification like in registration and sendmessage.php so that a user is required to verify that? This would make me feel much better about this script, I think this could be a serious security issue.

I'll see if I can make something like this.


All times are GMT. The time now is 04:22 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.01701 seconds
  • Memory Usage 1,739KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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