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)

SirSteve 10-15-2001 07:20 PM

Quote:

Originally posted by SirSteve
It's not saving the option for my users:

Change "receive community updates" from yes, to no.

I think this is a pretty big bug! HELP!

Bald Bouncer 10-15-2001 11:43 PM

tubedogg is it posible to adjust this for something I want to add to my board please :)
As this has the ability to post the contents of the Bullitin to a forum of your choice posted under your name I thought you might be able to help with this.
I would like as a new member joins a greeting post to be made in a selected forum IE:
WELCOME TO OUR NEW MEMBERS
The Xbox Forum Would Like To Welcome (name) On Behalf Of All The Current Members And Hope They Enjoy Their Stay etc......
Sorry if this is drifting off topic a bit but I think you are the man to help :D

Sukij 10-16-2001 02:10 AM

Hi..

What this error means ? How to fix it ? The error start happen everytime at record 26 onward.

Maneerat (Maneerat@nagase.co.th) .... ok
Wee Chai Peng (wee@nagase.com.my) .... ok
Rattawuth (rattawuth@nagase.co.th) .... ok
Kritsada (kritsada@nagase.co.th) .... ok
Benjapa (BENJAPA@NAGASE.CO.TH) ....
Warning: Server Error in D:\VBlite\upload\admin\commbull.php on line 542
ok
Pennipa (Pennipa@nagase.co.th) ....
Warning: Server Error in D:\VBlite\upload\admin\commbull.php on line 542
ok
Pongsawat (Pongsawat@nagase.co.th) ....
Warning: Server Error in D:\VBlite\upload\admin\commbull.php on line 542
ok

fluxin808 10-18-2001 08:25 PM

Is there any way to send the bulletin automatically, as in weekly?

Steve Machol 10-18-2001 08:29 PM

Still need help for my two problems posted above.

DarkReaper 10-19-2001 03:11 AM

It'd be nice to be able to have this run every X amount of days, automatically.

Also, bug fixes? :)

UtilityGeek 10-24-2001 09:36 PM

I checked through all the replies and I don't think this was asked. What is the default value under member options for getting the community bulletin? If it is 'Yes' how would I go about changing it to 'No' as the default? Is it even possible?

christec 10-25-2001 08:57 PM

If you would like to send out your Community Bulletin in a HTML format make these modifications to the commbull.php file.
(I hope that I am not stepping on the toes of the author who created this GREAT hack.)
Based on Community Bulletin Generator Version 0.98

Find:
PHP Code:

$message str_replace("\\'","'",$message); 

Right After Add:
PHP Code:

$message str_replace("\r\n","\n<br>",$message); 

----------------------------------
Find:
PHP Code:

while ($user $DB_site->fetch_array($users)) {
    
$username $user[username];
    
$password $user[password];
    
$posts number_format($user[posts]);
    
$joindate date($dateformat,$user[joindate]);
    
$lastactivity date("$timeformat$dateformat",$user[lastactivity]);
    eval (
"\$mailbody = \"".$message."\";");
    echo 
"<li>".htmlspecialchars($username)." (<i>$user[email]</i>) .... ";
    
mail($user[email],$subject,$mailbody,"From: \"$bbtitle Mailer\" <$webmasteremail>");
    echo 
"ok</li>\n";
    
//flush();


Replace With:
PHP Code:

// Allow HTML in Community Bulletin - Start
while ($user $DB_site->fetch_array($users)) {
    
$username $user[username];
    
$password $user[password];
    
$posts number_format($user[posts]);
    
$joindate date($dateformat,$user[joindate]);
    
$lastactivity date("$timeformat$dateformat",$user[lastactivity]);
    eval (
"\$mailbody = \"".$message."\";");
    echo 
"<li>".htmlspecialchars($username)." (<i>$user[email]</i>) .... ";
    
$camEmailHeader "From: \"$bbtitle Mailer\" <$webmasteremail>\n";
    
$camEmailHeader .= "Content-Type: text/html\n";
    
mail($user[email],$subject,$mailbody,$camEmailHeader);
    echo 
"ok</li>\n";
    
//flush();
}
// Allow HTML - End 

--------------------------------------------
You will need to insert HTML into the commbull.php file. You can also add HTML into the preview page. If you make these modifications be aware that the current hyper-links will no longer work unless you add the appropriate HTML tags.

SirSteve 10-25-2001 09:17 PM

Am I the ONLY one that has the problem with it not removing e-mail addresses via the User CP when you do not want the community bulletin??

DarkReaper 10-26-2001 12:43 AM

Would it be possible to have forums which are private marked as "No" in the "include these forums list" by default?


All times are GMT. The time now is 12:50 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.02453 seconds
  • Memory Usage 1,762KB
  • 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
  • (4)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
  • (2)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