The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
SPECIAL NOTE for those upgrading to vBulletin v2.0.0: You will need to make changes to the default RC3 files, as you did with the previous version files. The files are member.php and admin/index.php. After you upgrade to RC3, the link in your Admin CP will no longer be there. In order to find instructions for upgrading, go to http://yoursite/forum/admin/commbull.php and click the link for Instructions. Make these changes to your files, and reupload the two modified files. The link will then be back in your Admin CP.
------------------------------------------------------------------------------------ With Kier's permission, I am rereleasing this hack. It has been updated, but most of the credit still goes to Kier. I just added a couple things. Namely, I took Kier's starting point for birthdays and reworked it a bit so they can now be included. I also added 3 new sets of Latest Threads input, and added a sorting option to get topics with no replies (aka "Virgin" topics). I also added a box to change the section separation character (Kier had it as a "-", now you can change it) and the list item character (Kier had it as an "o"). There are also instructions on how to integrate it into your Admin CP. To install, just upload it to your Admin directory and go to it in a browser. If you had previously installed Kier's original version, simply overwrite the commbull.php file on your server, and make this change to your admin/index.php file: Find Code:
<a href="email.php?s=<?php echo $session[sessionhash]; ?>"> Email users </a><br> Code:
<a href="commbull.php?s=<?php echo $session[sessionhash]; ?>"> Send Community Bulletin </a><br> Hack version: 0.98 Changes since v0.97: Fixed a stupid bug that screwed up the script when you posted a copy to a forum and that forum didn't count posts toward post totals. Changes since v0.96: Fixed a minor bug that was causing large problems when the number of emails to send was more than it was set to per page. Changes since v0.95: Minor cosmetic changes; fixed "copy post to board" function so it actually works; added option to exclude threads from being used more than once (if doing multiple blocks); fixed sorting by most replies/most views so they don't return threads with 0 replies or 1 view, respectively; Changes since v0.93: Option to post a copy of the email to your board, to a forum you specify using a username your specify (If you do this, there is a function to exclude certain parts (for example, the user info section that details username/password etc) and it parses URLs so the message on your board has hyperlinks to the threads/polls/etc); various cosmetic upgrades; minor little things here and there; fixed/changed "Only include threads that have been started or replied to since this date?" so it doesn't defeat the purpose of specifying a date. For version: v2.0.0 Info for Clean Install ------- Files needed: commbull.php Files to edit: admin/index.php, member.php Templates to edit: none Instructions are in the script itself. When you first run it, it will tell you what you need to do. If upgrading from Kier's original version, see instructions above. End Info for Clean Install ------- Info for Upgrading from v0.90, v0.91, v0.93, v0.94, v0.95, v0.96, v0.97 ------ Files needed: commbull.php Files to edit: none Instructions: Upload the commbull.php file from the commbull98.zip file. End Info for Upgrading ------- Please do not bug Kier about this hack! Please also DO NOT contact me via AIM, ICQ, PM, or email about this hack. Post your question/problem here and I will try to help you. Show Your Support
|
Comments |
#222
|
|||
|
|||
That's what its supposed to do, but it never does the "no" code.
|
#223
|
|||
|
|||
This is what you need to add
After this: $permission = $DB_site->query("SELECT canview FROM forumpermission WHERE forumid='$forum[forumid]' AND usergroupid=2"); Add this: list($canview) = mysql_fetch_row($permission); Change if ($permission == 0) To if ($canview == 0) Thats it |
#224
|
|||
|
|||
Now everything is set to No instead of Yes.
|
#225
|
|||
|
|||
That's because all the canview fields are (probably) set to 0.
|
#226
|
|||
|
|||
I'm pretty sure my entire board isn't invisible to all users...
|
#227
|
|||
|
|||
Thanks to all of you ! I love this hack !
I have it running on my site with VB2.2.0 and have no major bugs found at all only one thing I would like to see a solution for or I missed it in this thread (sorry if I did). What about the password that is been send with the user info, till now I have only tested it to my own account and see to my surprise that my password is a very long number Is there a solution for this problem ? |
#228
|
|||
|
|||
[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); } |
#229
|
|||
|
|||
A couple of comments:
In the generated email, there is a line that tells how to use the UserCP to subscribe, but it doesn't match the actual entry in the CP (and receive is missing the "e"). Replace it with: Code:
and change \"Receive Community Bulletin Emails?\" from yes, to no. Code:
<smallfont>Selecting Yes subscribes you to our Community Bulletin Email.</smallfont> Anyway, very nice job overall. I'm using it. Thanks much! |
#230
|
|||
|
|||
Quote:
|
#231
|
|||
|
|||
My comment didn't fix that bug, if there was one. I just noticed that the wording didn't match the Community Bulletin name.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|