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)
-   -   Updated Community Bulletin Generator (https://vborg.vbsupport.ru/showthread.php?t=16290)

TechTalk 05-15-2001 07:27 PM

Well id really like to use this feature but it seems as though I have the version of MySQL that doesnt support it :(

Code:

Database error in vBulletin Control Panel: Invalid SQL: SELECT * FROM user WHERE SUBSTRING(birthday,6)>='05-15' AND SUBSTRING(birthday,6)<='05-29' ORDER BY SUBSTRING(birthday,6) LIMIT 0,10
mysql error: You have an error in your SQL syntax near 'SUBSTRING(birthday,6) LIMIT 0,10' at line 1
mysql error number: 1064
Date: Tuesday 15th of May 2001 03:28:44 PM
Script: /vbforums/admin/commbull.php
Referer: http://www.iguanaland.com/vbforums/admin/commbull.php


glenv 05-15-2001 09:25 PM

I installed this hack and it looks real nice.

I really just wanted to have a way to email all those who are "awaiting email confirmation"

I notice it will not mail unless I select a forum. Is this the way it should work? I would think a lot of webmasters just want to email without having to select recent posts to include. I see there is a work around. Just delete that info from the message before you send it. I just don't know why it makes you select anything.

In any event...

I am at this point:

I have edited the message to be sent as follows and selected the group "awaiting email confirmation" to send it to. However, I do not see how this will help the people I am sending to since all it does is send their user name and password. Unless I am missing something, don't they still need to have the "confirmation link" to be registered? Will this hack generate that for them?

I may be missing something. If this works though, it will be awesome. I have about 800+ folks that never confirmed their registration.

Thanks!

Glen

Message as I have ready to send:

Yes-Its-Free! Community Bulletin

A while back

o Your username is: "$username"
o Your password is: "$password"
o You have $posts posts
o You registered on $joindate
o You were last active on the boards at $lastactivity

Best regards, The Yes-Its-Free!

tubedogg 05-16-2001 09:43 AM

The link to activate is generated randomly, so you couldn't send it through this script (without significant modification). However, you could tell them to visit http://yourdomain.com/register.php?action=requestemail to get another activation email.

This hack is specifically meant as an update email, so yes it is supposed to error if you haven't selected any forums. If you don't want that info, you could use the standard email function in vBulletin. (You can put their username and password in an email via that.)

TechTalk 05-16-2001 11:04 AM

No word on the error i receive?

tubedogg 05-16-2001 11:11 AM

Sorry...I missed that post. Anyway it seems that some versions of MySQL don't want to sort by SUBSTRING. I'm currently trying to figure out a way around it. For right now the workaround is to set birthdays to 0. :(

amykhar 05-16-2001 09:33 PM

Kevin,
I hate to be a pest, but can you please put the necessary changes to member.php here?

I had to move servers, and accidentally deleted my modified members.php. commbull.php think's it's already installed because the database is configured. I just need to modify the php files.

Thank you,
Amy

tubedogg 05-17-2001 08:47 AM

Actually this is really simple. :) Just go to
http://www.epinionaddicts.com/forum/admin/commbull.php
in a browser, log in, and click "instructions" at the bottom of the first page. You will be given all the modification instructions. :)

amykhar 05-17-2001 11:04 AM

Thank you. All fixed now. One suggestion though. The link to turn it on or off for users should also show up in the control panel when we search for a user. I get the occasional computer-phobe that asks me to turn things off for them.

Amy

maverick1236 05-17-2001 11:34 PM

I REALLY like this one!!
Thanks for your work and time!!

RobAC 05-20-2001 04:23 PM

This morning when I went to run the community bulletin generator, it stalled when I went to run the second batch of 500 users. I never received one, but I had reports from several users that they received anywhere from 2-4 bulletins. Has anyone else had this problem??


All times are GMT. The time now is 06:47 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.01301 seconds
  • Memory Usage 1,740KB
  • 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_code_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