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)

rob_daemon 02-06-2005 03:18 PM

If you are going to use phpMyAdmin to run the queries, then you can just copy and paste the entire set of queries and run them without having to break them up.

If you are going to be running them through the Admin CP, you'll need to break up each non word-wrapped line of queries and run them individually.

OrangeFlea 02-06-2005 03:43 PM

Thank you, works wonderfully. My favorite hack thus far!

One more thing: How do I include links into the PM message? I tried HTML but it only shows code in the messages new users receive. I want to link them to specific areas of the board.

OrangeFlea 02-06-2005 03:46 PM

Nevermind, uses BB code. THANKS AGAIN!

Kalomax 02-20-2005 07:06 PM

Sorry, I cant read 17 pages, too long !
I just want to ask how do I do with 3.0.7 ? Any change ? I have'nt install yet, now how can i do ?

rob_daemon 02-20-2005 07:10 PM

Just the previous page: https://vborg.vbsupport.ru/showpost....&postcount=269

Quote:

Originally Posted by daemon
It works on 3.0.x without any issues :).


intrigue 02-21-2005 05:27 PM

doesnt seem to work for me :'(

Delphiprogrammi 02-21-2005 06:11 PM

this works fine with 3.0.7 (and lower) f it doesn't work for you something is wrong on your end

greenhybrid 02-23-2005 12:22 AM

I can't seem to get mine to work. Perhaps it is because the code in my file is different than the two possibilities you provided. Mine is:

PHP Code:

 if ($vboptions['newuseremail'] != '')
{
if (
$havefields)
{
$DB_site->data_seek(0$profilefields);
while (
$profilefield $DB_site->fetch_array($profilefields))
{
$cfield '';
$varname "field$profilefield[profilefieldid]";

if (
$profilefield['type'] == 'checkbox' OR $profilefield['type'] == 'select_multiple')
{
$data unserialize($profilefield['data']);

foreach (
$data AS $key => $value)
{
$pow pow(2$key);
if (
pow(2$key) & $$varname)
{
$cfield .= (!empty($cfield) ? ', ' '') . $data["$key"];
}
}
}
else
{
$cfield = $$varname;
}
$customfields .= "$profilefield[title] : $cfield\n";
}
}

$username $_POST['username'];
$email $_POST['email'];
eval(
fetch_email_phrases('newuser'0));

$newemails explode(' '$vboptions['newuseremail']);
foreach (
$newemails AS $toemail)
{
if (
trim($toemail))
{
vbmail($toemail$subject$message);
}
}


I added your code after this, but it doesn't work!

MauriceReed 02-23-2005 12:37 AM

got ours working fine!!

(3.0.6)

tormodg 02-23-2005 01:13 AM

Working fine here on 3.0.7, just like it was with 3.0.5 and 3.0.6.


All times are GMT. The time now is 01:11 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.01344 seconds
  • Memory Usage 1,749KB
  • 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
  • (1)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