vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Send default PM to all new users (https://vborg.vbsupport.ru/showthread.php?t=34498)

Glenn379 10-25-2002 03:16 PM

Great Hack! Works like a charm! (Now that I can install them myself it does hehe) Thanks! *installs*

FleaBag 10-28-2002 11:01 PM

All's well with 2.2.8. Thank you! :)

Cyberhouse 11-28-2002 08:01 AM

Works great :)

Xer 12-01-2002 07:39 AM

working on my 2.2.9..thx!

JustAskJulie 12-05-2002 08:43 PM

I'm getting the following error when I click "install"

Code:

Invalid SQL: SELECT @displayorder:=displayorder+1 FROM settinggroup ORDER BY displayorder DESC LIMIT 1
mysql error: You have an error in your SQL syntax near '@displayorder:=displayorder+1 FROM settinggroup ORDER BY displayorder DESC LIMIT' at line 1


Sparkz 12-05-2002 08:55 PM

Try using this installfile instead: https://vborg.vbsupport.ru/attachmen...&postid=246943

You probably have MySQL 3.22.xx or something. Someone else had problems with that too, so I had to change some stuff in the installer.

JustAskJulie 12-06-2002 01:47 AM

Thanks that did the trick. Now one more question, how do I find out the numerical userID that matches a username? I can't find that on the profile info that comes up in the CP.

JustAskJulie 12-06-2002 01:49 AM

One more thing, I'm now getting a java error on my register.php page when it opens. Any ideas what might have caused this?

JustAskJulie 12-06-2002 01:50 AM

One more still. Getting this error when attempting to register a new user:

Code:

Invalid SQL: SELECT setting.varname, setting.value FROM setting INNER JOIN settinggroup ON setting.settinggroupid = settinggroup.settinggroupid WHERE settinggroup.title = 'Default PM'
mysql error: You have an error in your SQL syntax near 'ON setting.settinggroupid = settinggroup.settinggroupid WHERE settinggroup.title' at line 1


Bison 12-06-2002 01:45 PM

Does this hack work if you manually register a user to your forum?

Sparkz 12-06-2002 03:34 PM

Quote:

Originally posted by JustAskJulie
Thanks that did the trick. Now one more question, how do I find out the numerical userID that matches a username? I can't find that on the profile info that comes up in the CP.
Just hover your mouse cursor over a username in the member list, and watch the link in your status bar. At the end of the link there is a userid=xxxx parameter, where xxxx is the number you are looking for.

Sparkz 12-06-2002 03:34 PM

Quote:

Originally posted by JustAskJulie
One more thing, I'm now getting a java error on my register.php page when it opens. Any ideas what might have caused this?
No idea. I don't mess with any javascript or anything in this hack...

Sparkz 12-06-2002 03:35 PM

Quote:

Originally posted by JustAskJulie
One more still. Getting this error when attempting to register a new user:

Code:

Invalid SQL: SELECT setting.varname, setting.value FROM setting INNER JOIN settinggroup ON setting.settinggroupid = settinggroup.settinggroupid WHERE settinggroup.title = 'Default PM'
mysql error: You have an error in your SQL syntax near 'ON setting.settinggroupid = settinggroup.settinggroupid WHERE settinggroup.title' at line 1


I'd have to look in to this at a later date. I am out of town atm, so I don't have access to my test board from here.

Sparkz 12-06-2002 03:38 PM

Quote:

Originally posted by Rolodex
Does this hack work if you manually register a user to your forum?
I haven't checked, but I believe manual registration from the ACP uses other scripts than register.php.

It should be a quick fix to add that feature, though.

Bison 12-06-2002 07:16 PM

Thanks, i'll be looking for that fix when you have the time to do it.

Otherwise, the hack works great ... thanks! :banana:

JustAskJulie 12-09-2002 03:54 PM

Thanks Sparkz,

I'm going to try reinstalling it again and see what happens.

JustAskJulie 12-09-2002 04:17 PM

Still no luck :(
FYI, I am using MySQL 3.23

JustAskJulie 12-09-2002 04:41 PM

Tried to uninstall it and got this error:

Code:

Invalid SQL: SELECT @settinggroupid:=settinggroupid FROM settinggroup WHERE title = 'Default PM'
mysql error: You have an error in your SQL syntax near '@settinggroupid:=settinggroupid FROM settinggroup WHERE title = 'Default PM'' at line 1


Sparkz 12-10-2002 05:05 PM

Strange, that scripts runs w/o problems on my server.

JustAskJulie 12-10-2002 05:25 PM

Any idea how I can uninstall it then? I have a few more hacks I want install but I don't want any remnants of hacks that aren't working hanging around causing more problems.

flup 12-15-2002 02:59 PM

Nice

flup 12-15-2002 03:11 PM

darn doesn't work @ 2.2.9

Smoothie 12-15-2002 10:46 PM

Works fine for me on 2.2.9

imageconstrux 01-30-2003 01:54 PM

Great hack! Works on 2.2.9

Glad you put the failsafe in there so we don't build the template more than once - the install.txt says click install, click submit.

No 'submit' showed up for me, so I did like others did - clicked 'install' again.

Might save some confusion by just editing the install.txt.

Instead of saying:
Quote:

Select install and press submit.
It'd say:
Quote:

Select Install, when the window changes to show the options to be installed, select Install again, then close the window.
I think that's how it went, anyway.

But other than that teeny tiny thing, the install was smooth as silk, did what it was supposed to on the first try, and now all new registrants to my site will get a nice PM from me when they sign up!

Thanks!

Jeff

Bison 01-30-2003 02:50 PM

Quote:

Originally posted by Sparkz


I haven't checked, but I believe manual registration from the ACP uses other scripts than register.php.

It should be a quick fix to add that feature, though.

haven't got around to doing this?

ernestdefoe 02-19-2003 01:00 AM

Okay I had this running in vB 2.3.0 yesterday, but then decided not to use vB and deleted everything including the database. Now I changed my mind, and have decided to use vB again, and now when I try to run the installer file I get this error.

Fatal error: Call to undefined function: cpheader() in /home/twc/public_html/forums/defpm_dbinstall.php on line 4

What could be wrong?

Verted 03-06-2003 04:04 PM

I tried it on v 2.3.0 and the install file didnt work, but it sounds like such a cool hack, perhaps you can get it to work on 2.3.0 because I'd love to have it:)

Alien 04-27-2003 02:45 AM

Anyone have this confirmed working on vB 2.3.0? (Without upgrading from previous versions of course) ;)

-Jason

Alien 04-27-2003 03:13 AM

Never mind, decided to give it a whirl (like I guess I normally do lol) and it worked flawlessly in vB 2.3.0!

Thanks so much for this!

-Jason

Floris 04-27-2003 07:57 AM

Confirmed to work with version 2.3.0
I installed it yesterday on a site of a client.

gmarik 05-24-2003 07:13 AM

Nice to hear it works on 2.3.0
Will install it today.

paratek 06-05-2003 09:30 PM

Works here on 2.30 no problems....Clicks the install!

Anjie 06-11-2003 12:01 AM

INstalled on 2.3.0, and it worked awesome, or so I thought. Everything looked good, everything seemed good. Come to find that registering members never got their confirmation email, and got a database error. After uninstalling everything worked fine again. So I advise all to check and see if a new registration can get the confirmation email. If not this would be why. I wish this did work, the whole thing was too darn cool! :(

lostsoul2k 06-11-2003 05:53 AM

will this hack work for 3.0

subu1 07-10-2003 07:10 PM

sorry but why dont work this easy install Hack not on my vb2.3.0 *cry*

Catch-22|BL 09-28-2003 10:35 PM

*Clicks install

Nice hack!

Working fine in vb2.30

erikajune 02-08-2004 03:00 PM

I get this error when I try to run defpm_dbinstall.php.

Code:

Fatal error: Call to undefined function: cpheader() in /home/erika/public_html/community/defpm_dbinstall.php on line 4
Line 4 is:
Quote:

cpheader('<title>>Default PM to new users v2.0</title>');

ManagerJosh 03-26-2004 07:54 PM

Quote:

Originally Posted by erikajune
I get this error when I try to run defpm_dbinstall.php.

Code:

Fatal error: Call to undefined function: cpheader() in /home/erika/public_html/community/defpm_dbinstall.php on line 4
Line 4 is:

anyone make a port for vB3 yet? :)

beansbaxter 06-25-2005 06:03 PM

will this work in 3.0.7?

Marco van Herwaarden 06-25-2005 06:56 PM

Since this is a vB2 hack, it will not work on any vB3 version.


All times are GMT. The time now is 03:31 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.01491 seconds
  • Memory Usage 1,811KB
  • 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
  • (6)bbcode_code_printable
  • (9)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
  • (40)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