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)
-   -   New User Welcome PM [v2] (https://vborg.vbsupport.ru/showthread.php?t=63269)

lanc3lot 01-15-2005 06:40 PM

Thanks Rob, going to uninstall and install now...:)

Onkel_Tom 01-15-2005 07:16 PM

Just updated to the newest version on 3 Boards and still work fine ;)
thanks Rob https://vborg.vbsupport.ru/external/2005/01/3.gif

lanc3lot 01-15-2005 07:42 PM

Yep it is working....thanks a lot rob:)

Wilt 01-16-2005 02:53 PM

Quote:

Originally Posted by rob_daemon
Did you upgrade? What version of the hack are you using?

Doesn't matter, it appears there was an extra } in register.php what didn't throw up an error.

Challenge 01-30-2005 02:11 PM

Can you remove your signature from the message?

rob_daemon 01-30-2005 07:11 PM

Quote:

Originally Posted by Challenge
Can you remove your signature from the message?

Yes. Open register.php and find:

PHP Code:

        // Send the new owner a PM
        
$DB_site->query(
            
"INSERT INTO " TABLE_PREFIX "pmtext
            (
                fromuserid,
                fromusername,
                title,
                message,
                touserarray,
                iconid,
                dateline,
                showsignature,
                allowsmilie
            )
            VALUES
            (
                
$get_pm_from[userid],
                '" 
addslashes($get_pm_from['username']) . "',
                '" 
addslashes($pmoptions['regpmtitle']) . "',
                '" 
addslashes($pmoptions['regpmtext']) . "',
                '" 
addslashes(serialize(array($userid => $username))) . "',
                0,
                " 
TIMENOW ",
                1,
                1
            )"
        
); 

Replace with:

PHP Code:

        // Send the new owner a PM
        
$DB_site->query(
            
"INSERT INTO " TABLE_PREFIX "pmtext
            (
                fromuserid,
                fromusername,
                title,
                message,
                touserarray,
                iconid,
                dateline,
                showsignature,
                allowsmilie
            )
            VALUES
            (
                
$get_pm_from[userid],
                '" 
addslashes($get_pm_from['username']) . "',
                '" 
addslashes($pmoptions['regpmtitle']) . "',
                '" 
addslashes($pmoptions['regpmtext']) . "',
                '" 
addslashes(serialize(array($userid => $username))) . "',
                0,
                " 
TIMENOW ",
                0,
                1
            )"
        
); 


Challenge 01-31-2005 01:35 PM

Thanks a lot :squareeyed:
Smarties ;)

pingme 02-02-2005 02:03 PM

Does it work with VB 3.0.6 ? I would love ti install if it works w/o issues :D

rob_daemon 02-02-2005 03:50 PM

It works on 3.0.x without any issues :).

OrangeFlea 02-06-2005 01:32 PM

Question:

I'm somewhat unfamiliar with installing hacks/mods that involve inputing queries. The instructions you've provided have me at a loss, because I don't know if I'm supposed to collectively paste all those words into the query dialogue box or enter them in individually. Basically -- and I've consulted with the vBulletin manual -- I don't know how to enter queries. It's a dilemma that I've been ignoring 'till I saw this hack, which would help any board tremendously.

Can you or anyone help?


All times are GMT. The time now is 09:32 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.01527 seconds
  • Memory Usage 1,757KB
  • 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
  • (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