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)
-   -   Flag PM's (https://vborg.vbsupport.ru/showthread.php?t=75135)

The Realist 01-26-2005 12:38 PM

This man is on a roll. I think he's after a VB org job myself :)

trafix 01-26-2005 06:11 PM

Quote:

Originally Posted by Oblivion Knight
I assume this allows you to flag multiple PM's?

Nice work trafix.. :)

@Oblivion Knight Yep, you can flag any PM in any folder :)

@The Realist nah ... but a HOTM would be nice ;)

The Realist 01-26-2005 06:18 PM

HOTM is putty in your hands M8 :)

Quote:

Originally Posted by trafix
@Oblivion Knight Yep, you can flag any PM in any folder :)

@The Realist nah ... but a HOTM would be nice ;)


nexialys 01-26-2005 06:51 PM

BUG: the query is [sql]ALTER TABLE `pmtext` ADD `pmflag` TINYINT DEFAULT '0' NOT NULL ;
[/sql]but the php is:
PHP Code:

        $DB_site->query("
            UPDATE " 
TABLE_PREFIX "pm 
            SET pmflag = 1
              WHERE pmid = 
$pmid
        "
); 

... wrong table (PM or PMTEXT) ...
EDIT:
also: first
Quote:

open pm_messagelist template
have to be
Quote:

open pm_messagelistbit template

trafix 01-26-2005 06:55 PM

Damn ... yes its gotta go in "pm" i thought the query was right :(

Thnx for picking up on that one nexialys ... ill fix the zip

trafix 01-26-2005 07:07 PM

If you have already run the query as per the original instructions you will have to run these 2 to fix my stuffup.

This will remove the wrong field
[SQL]
ALTER TABLE `pmtext` DROP `pmflag` ;
[/SQL]
[SQL]
ALTER TABLE `pm` ADD `pmflag` TINYINT DEFAULT '0' NOT NULL ;
[/SQL]

Lionel 03-23-2005 05:24 AM

Can you make it so you can't delete flag messages unless you unflag them, this to prevent accidents?

xtreme-mobile 03-23-2005 12:58 PM

how do you install this hack their r no instructions

twoseven 03-23-2005 01:25 PM

the readme.tet or .tet.bak

Lionel 03-23-2005 01:27 PM

rename readme.tet into readme.txt


All times are GMT. The time now is 01:52 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.01174 seconds
  • Memory Usage 1,734KB
  • 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)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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