vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Inline Moderation Tools (v1.2.1) (https://vborg.vbsupport.ru/showthread.php?t=68791)

sv1cec 04-12-2005 08:33 AM

Folks,

For those of you who decided to use my modification posted above, for copying posts to a new thread, please note that there were .... a few bugs in the way the database was updated. Don't panick nothing serious, it's just that in my hurry to provide you with this, I haven't taken care of all possible issues, and haven't added the required addslashes or intvals. If you haven't had an error when trying to use the copy function, you wouldn't be aware of it. If you had an error, I am sure you would have posted it here.

So, if you want to be 100% correct, please edit your inlinemod.php and find:

PHP Code:

$DB_site->query("
                INSERT INTO " 
TABLE_PREFIX "post
                (
                    threadid,
                    parentid,
                    username,
                    userid,
                    title,
                    dateline,
                    pagetext,
                    allowsmilie,
                    showsignature,
                    ipaddress,
                    iconid,
                    visible,
                    attach,
                    warn_flag
                )
                VALUES
                (
                    '
{$vars[newthreadid]}',
                    '
{$pst['parentid']}',
                    '
{$pst['username']}',
                    '
{$pst['userid']}',
                    '
{$pst['title']}',
                    '
{$pst['dateline']}',
                    '
{$pst['pagetext']}',
                    '
{$pst['allowsmilie']}',
                    '
{$pst['showsignature']}',
                    '
{$pst['ipaddress']}',
                    '
{$pst['iconid']}',
                    '
{$pst['visible']}',
                    '
{$pst['attach']}',
                    '
{$pst['warn_flag']}'
                )"
            
); 

Replace that, with:

PHP Code:

$DB_site->query("
                INSERT INTO " 
TABLE_PREFIX "post
                (
                    threadid,
                    parentid,
                    username,
                    userid,
                    title,
                    dateline,
                    pagetext,
                    allowsmilie,
                    showsignature,
                    ipaddress,
                    iconid,
                    visible,
                    attach,
                    warn_flag
                )
                VALUES
                (
                    " 
intval($vars[newthreadid]) . ",
                    " 
intval($pst['parentid']) . ",
                    '" 
addslashes($pst['username']) . "',
                    " 
intval($pst['userid']) . ",
                    '" 
addslashes($pst['title']) . "',
                    " 
intval($pst['dateline']) . ",
                    '" 
addslashes($pst['pagetext']) . "',
                    " 
intval($pst['allowsmilie']) . ",
                    " 
intval($pst['showsignature']) . ",
                    '" 
addslashes($pst['ipaddress']) . "',
                    " 
intval($pst['iconid']) . ",
                    " 
intval($pst['visible']) . ",
                    " 
intval($pst['attach']) . ",
                    " 
intval($pst['warn_flag']) . "
                )"
            
); 

The code in the above post has been edited with the new ... version.

Apologies for any inconvenience.

Rgds

msimplay 04-12-2005 02:05 PM

i had a recent problem where when i tried to prune a users posts completely the merged posts remained and changed the merged posts status to a guest post, when what i wanted was it to be deleted as the pruning command is supposed to

Lyricsmama 04-16-2005 05:09 PM

Quote:

Originally Posted by rob_daemon
When they're using the tool, at the bottom of the page there's a "Go" button; when they click it is there a number in parenthesis or not?

Hi, I'm having the same problem, both admins and mods have got a no permission message.
Yes there is a parenthesis with a number next to the go number, the number equals the number of checkboxes they've selected...

Nordinho 04-17-2005 02:49 PM

Quote:

Originally Posted by Kei Kurono
One thing i felt that can be improved is the inline deletion.

It does soft deletion.

But i want to physically delete a mass of thread, which i cannot do with the inline moderation tool.

maybe you should make so when you tick the forum threads, and select inline option delete, it then prompts, soft ot physical deletion.

just an opinion.

The mod for 'physically remove threads' work like a charm, but would would it be possible to do this for posts as well. I know it's in 'thread tools' but I want to make it available to some mods as well...

Renada 04-29-2005 01:04 AM

Hi,

I've installed this today on vB 3.07 but no matter what group tries to use it (Mods, Super Mods, even Admins) they're told they don't have permission to view the page when trying to move/delete/stick etc. (in the address bar the page it's looking at is inlinemod.php)

The go button is there, it contains the correct number for the amount of boxes checked.

When trying to merge two messages I get as far as the editing screen - enter the title - am told all selected messages will be merged into one and I push "Merge Posts" only to get the error "Invalid Post specified. If you followed a valid link, please notify the webmaster"

Does anyone have the answer?

Thanks,
Renada

obsidian 05-02-2005 11:48 PM

I just installed and had the same issue with permissions the first time I tried it. I hit the back button and tried again and it worked without issue. I cant seem to break it now so playing with it might fix it.

Great hack BTW..... great time saver.

rob_daemon 05-03-2005 12:49 AM

Alright sorry for not being able to reply for a while, I've managed to keep myself quite busy. I cannot reproduce the no permission error at all. I have tried it with Opera, Safari, IE6, and Firefox; all of these work fine.

Nordinho 05-03-2005 03:15 PM

hmmm...mine stopped working...each time I get the message 'Invalid inline moderation items specified. If you followed a valid link, please notify the webmaster' except when I try to split/copy posts it says 'You must specify some posts to split/copy from this thread.' The post selected are checked and the 'go-button' shows the right amount of threads...any idea's??

edit: never mind, got it fixed ;)

Amavisca 05-05-2005 06:00 AM

Quote:

Originally Posted by Nordinho
hmmm...mine stopped working...each time I get the message 'Invalid inline moderation items specified. If you followed a valid link, please notify the webmaster' except when I try to split/copy posts it says 'You must specify some posts to split/copy from this thread.' The post selected are checked and the 'go-button' shows the right amount of threads...any idea's??

edit: never mind, got it fixed ;)


I got the same problem as u , how do u fix it?

Nordinho 05-06-2005 01:20 PM

Quote:

Originally Posted by Amavisca
I got the same problem as u , how do u fix it?

In my case I thought it was a template error...since I came aware it worked on one of the styles, and I copied the templates from that one to all styles (using Zero Tolerances hack)...and it worked for a day. Next day I got up and all of a sudden it stopped working again (while there were no filechanges etc.), so I'm puzzled again...sorry can't help you more...


All times are GMT. The time now is 03:06 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.01451 seconds
  • Memory Usage 1,784KB
  • 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
  • (4)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