vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   Users can report their own posts (https://vborg.vbsupport.ru/showthread.php?t=62277)

Brad 03-07-2004 10:00 PM

Users can report their own posts
 
In vb 3 users can no longer report posts that belong to them, this was added for good reason. However some boards rely on this, because users can report their posts and request for them to be moved/deleted.

This is a one liner...

Open vBroot/report.php

Find:

PHP Code:

    if ($postinfo['userid'] == $bbuserinfo['userid'])
    {
        eval(
print_standard_error('error_cantreportself'));
    } 

Replace with:

PHP Code:

/*

// this block is commented out so users can report their own pots
// HACK 
// HACK
    if ($postinfo['userid'] == $bbuserinfo['userid'])
    {
        eval(print_standard_error('error_cantreportself'));
    }
*/ 

Thats it!

Boofo 03-08-2004 07:32 AM

How can you move a post? I know you can move a thread. But I don't think you can move an individual post anywhere, can you? ;)

gmarik 03-08-2004 01:17 PM

impossible mission III ...

Kentaurus 03-08-2004 02:21 PM

Quote:

Originally Posted by Boofo
How can you move a post? I know you can move a thread. But I don't think you can move an individual post anywhere, can you? ;)

You can always edit the dateline of the post to change its position in the thread. Not that it is a good idea.....

Boofo 03-08-2004 03:11 PM

I would never do that. The messages would be out of order if there was a conversation following it. ;)

But it would be nice to be able to move a post to another thread or forum if you wanted to. Sometimes they get posted in the wrong area. bira did a hack like that for vB2 a long time ago.

Giveit2u43 03-08-2004 04:27 PM

Only way I know of to move a post is by spliting that one post away into it`s own thread and then merging that new thread into the thread you want that post moved to..

Boofo 03-08-2004 04:36 PM

How would you split it to it's own thread?

Xenon 03-09-2004 05:36 PM

@Bob: the vb2 hack was by me ;)

I've planned to add that feature in my vb3 version as well, but time and the threaded mode system made that a bit harder

btw. @Brad: you may want to add the reportbutton back as well ;)

Boofo 03-09-2004 06:26 PM

Oops! then the file I have is wrong. What I have is from a post by bira from a long time ago. Which hack did you have that in?

Xenon 03-09-2004 06:34 PM

the advanced edit post hack :)


All times are GMT. The time now is 03:39 AM.

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.01137 seconds
  • Memory Usage 1,733KB
  • 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
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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