vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Report As NEWS (https://vborg.vbsupport.ru/showthread.php?t=46575)

SirSteve 12-11-2002 05:26 PM

Report As NEWS
 
It would be VERY help to my site if we had the option of reporting a forums post as NEWS. Meaning, there would be a checkbox if it is a new post and a graphic button if it is an exisiting post that would e-mail a particular person regarding the post they are posting/viewing. If someone has already reported that post, it would tell them and not e-mail it again.

This would work almost like REPORT POST function.

My site has a very large community and the majority of the news I found come from the forums so it would help if people could report these posts rather than me going through them all.

Can anyone help with this?

Automated 12-11-2002 06:36 PM

There is a function like this in vbportal, but you would have to rip the code to do that, maybe someone has already done it!

Matthew

SirSteve 12-18-2002 01:30 AM

Anyone willing to take this one? No one else finds this useful?

Sebastian 12-18-2002 02:31 AM

well, if you know a little of php you can duplicate the report post to a "report news" all you really have to do it insert another button/link into the postbit template, name it "Report as News" or something.

duplicate the report post template, copy and paste the content of it into a new template, call it "report news" template or something, then change most of the words in red to whatever you want it to say .. like "you are reporting this post as news" etc..

then duplicate the report.php in the forums directory, name it to news.php ... open it and change eval(); to the new template you just created... it's pretty simple to do.. follow me?

SirSteve 12-18-2002 02:49 AM

Guess I'll give it a try... wish me luck. :)

SirSteve 12-18-2002 03:25 AM

ok, well, I got it working but there are certain problems where this would need to evolve as a real hack. As stated above:

There would be a checkbox if it is a new post and a graphic button if it is an exisiting post that would e-mail a particular person regarding the post they are posting/viewing. If someone has already reported that post, it would tell them and not e-mail it again.


All times are GMT. The time now is 06:23 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.01001 seconds
  • Memory Usage 1,714KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete