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)
-   -   Advanced Editing Options For Mods & Admins (https://vborg.vbsupport.ru/showthread.php?t=61412)

b00tsauce 03-23-2004 08:45 PM

This is one AWESOME hack. I sooooo need this for archiving my old news and stuff.

Boofo 03-23-2004 09:34 PM

Quote:

Originally Posted by Xenon
@Bob: you haven't tested the code good enough :)
if you have an maximum images limit you will see what i meant :)

Do you guys have that aet here? If you do, what is it set at? What would be a good round number to set it at? Just curious. ;)

And you are probably right on the code. We didn't test it for image limits, at least the messages we tested it on didn't give us the too many images error. But the rest of it worked fine. ;)

Xenon 03-25-2004 09:55 PM

yeah the rest was fine, but if i fix something, it should be fixed as well as possible ;)

as for image limit: hmm, it's 100 i think.
no real limit, it was just set up to prevent an old vb2 bug :)

Boofo 03-25-2004 10:01 PM

Thank you, sir. ;)

I never know what to set those kinds of things at. I had it set at 10. ;)

neocorteqz 03-25-2004 10:39 PM

I don't see this in editpost.php
Code:

// ############################### start permissions checking ###############################
if ($_REQUEST['do'] == 'editpost')
{

I do however see this

Code:

// ############################### start edit post ###############################
if ($_REQUEST['do'] == 'editpost')
{

I'm using vB3.0.0 (Gold)

Xenon 03-25-2004 10:46 PM

seems the comments were wrong in the old vb3 versions.

just refere to the request line, it's unique so, you can make the modifications on the place you found :)

the Sandman 04-20-2004 04:22 PM

I installed the hack per the instructions and everything went fine. I did need to add my table prefix. When I try to use the advanced editing options, however, I get:
Code:

mysql error: Unknown table 'user' in field list
What did I do wrong? :(

Xenon 04-20-2004 04:25 PM

oops, sorry that was my fault.

find that code:

PHP Code:

            $checkuser $DB_site->query_first("
                SELECT user.userid
                FROM " 
TABLE_PREFIX "user
                WHERE username = '
$newpost[username]'
            "
); 

and remove the user. in front of userid then it should work :)

Boofo 04-20-2004 04:28 PM

Quote:

Originally Posted by Xenon
oops, sorry that was my fault.

find that code:

PHP Code:

            $checkuser $DB_site->query_first("
                SELECT user.userid
                FROM " 
TABLE_PREFIX "user
                WHERE username = '
$newpost[username]'
            "
); 

and remove the user. in front of userid then it should work :)

Is that because he is using a table prefix? Cause it has always worked fine for me and I don't use a prefix. Or do we need to change it, too?

Xenon 04-20-2004 04:31 PM

it's just because of his table_prefix


All times are GMT. The time now is 09:05 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.01350 seconds
  • Memory Usage 1,746KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_php_printable
  • (2)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