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)

Pingu 07-30-2001 07:54 PM

The .zip file in the first message has been updated every time. Besides, there isn't another one in this thread, so that's the one you want :)

datman99 08-02-2001 05:32 PM

At first when I installed it, I got this error:

----------------------------------
There seems to have been a slight problem with the database. Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.
-----------------------------------

But then I turned the Brithdays annd Calendar stuff to 0 and it worked like a charm Whew! I'm gonna have some fun now..

Thanks:)

Tarion 08-06-2001 04:12 PM

Hello, is a very good hack,

but i have some problems with the inclution of some code in members.php and index.php. All of this code i don't finde in the two files. waths happends???



PHP Code:

then find this: 
  $pmpopup=iif($pmpopup=="yes",1,0);
and after it add this 
  $receivebulletin=iif($receivebulletin=="yes",1,0);
and finally find this 
  $DB_site->query("UPDATE user
                   SET ".$updatestyles."adminemail='$adminemail',
and replace it with this: 
  $DB_site->query("UPDATE user
                   SET ".$updatestyles."adminemail='$adminemail', receivebulletin='$receivebulletin',


--------------------------------------------------------------------------------

admin/index.php 
You will need to make the following alterations to your admin/index.php file: 
After this:
<a href="email.php?s=<?php echo $session[sessionhash]; ?>"> Email users </a><br>
add this:
<a href="commbull.php?s=<?php echo $session[sessionhash]; ?>"> Send Community Bulletin </a><br>

I hope you can help me.

PS. I can open the file commbull.php an send mails to all users, but i didn't see the link in the cp.

Tarion 08-06-2001 04:20 PM

i was to stupid to find the code, but at the moment i see it.

THX

SirSteve 08-07-2001 08:57 AM

Does this work on 2.0.3 ?

tubedogg 08-07-2001 09:03 AM

Yes.

Tarion 08-07-2001 10:14 AM

perfektly it's a very good Hack and it works fine with V2.0.3

SirSteve 08-07-2001 10:28 AM

I just got this when trying to run commbull.php:

Fatal error: Call to undefined function: cpheader() in /usr/www/users/gandalf/starwarsguide.com/forums/commbull.php on line 6

tubedogg 08-08-2001 06:01 AM

You have to put commbull.php into your admin directory.

bob_pitbull 08-08-2001 06:46 AM

At the moment I'm just toying around with vBulletin, seeing what it can do etc, before putting it live (same thing can be said for my whole website actually), so I found the following error when I tried Previewing my "community bulletin"..

"Database error in vBulletin Control Panel: Invalid SQL: SELECT * FROM user WHERE SUBSTRING(birthday,6)>='08-08' AND SUBSTRING(birthday,6)<='08-22' 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: Wednesday 08th of August 2001 12:49:23 PM
Script: /forum/admin/commbull.php
Referer: http://www.dogwalks.org/forum/admin/commbull.php?"

If I set the number of birthdays to display to zero then it works... so I suspect that the problem is something like that there aren't 10 users subscribed to my forum, so therefore it's not gonna find 10 birthdays - 10 seems to be the default value for birthday output...

Just a minor error, doubt most people would see it, but thought you might like to know anyway.

Looking forward to using the community bulletin feature when I go live with the site :-).


All times are GMT. The time now is 10:34 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.01353 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_php_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