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)

Steve Machol 11-06-2001 08:42 PM

It worked! :D

DarkReaper 11-06-2001 08:49 PM

Quote:

Originally posted by christec
[DarkReaper] --
OK I think this is it.

After:

while ($forum = DB_site->fetch_array($forums)) {

Add This:
$perms=getpermissions($forum[forumid],0,2);
if ($perms[canview]==0) {
makeyesnocode($forum[title],"forum[$forum[forumid]]",0);
} else { makeyesnocode($forum[title],"forum[$forum[forumid]]",1);
}

Worked :)

Regarding the password being a long string of random text....in 2.2.0 passwords are encrypted, so don't bother trying to send the password :)

DarkReaper 11-06-2001 08:57 PM

To make excluding forums easier, would it be possible to have the forums shown in a hierarchial view, instead of a straight down list?

madhouse 11-07-2001 12:35 AM

ok I really have a problem here..I installed the hack except the one command line in the admin/index.php..cause it does not look
like its not there in the 2.2.0 version of VB..
Any ideas?:confused:

Guru 11-07-2001 12:40 AM

The line you didn't install is the line that adds the command to the admin menu.

madhouse 11-07-2001 01:17 AM

I know i didnt added cause the line i was looking for to added the caommand under neath was not there in the admin/index.php

thewitt 11-07-2001 11:11 AM

Quote:

Originally posted by orca
The correct syntax for the addition would be:

PHP Code:

makenavoption("Send Community Bulletin","commbull.php?action=info","<br>"); 

If you don't add the action command it will display a blank page. I tested it. It works on my site.

Here's the command to add for v2.2 - Orca posted it a few pages back.

madhouse 11-07-2001 11:53 AM

Ok thx for the line to add but were am i putting it at?or under..:D

christec 11-07-2001 01:19 PM

Quote:

Originally posted by madhouse
Ok thx for the line to add but were am i putting it at?or under..:D
PHP Code:

Find this:
makenavoption("Build Mailing List","email.php?action=genlist");
Replace With this:
makenavoption("Build Mailing List","email.php?action=genlist","<br>");
makenavoption("Community Bulletin Generator""commbull.php?action=info"); 


Littlebit 11-07-2001 01:29 PM

Is there a packaged install (including all the little changes and updates I see spread out in the forums) to work with 2.20? This seems like a great hack!


All times are GMT. The time now is 09:21 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.01522 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_php_printable
  • (3)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