![]() |
Quote:
|
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 |
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 |
Is there any way to send the bulletin automatically, as in weekly?
|
Still need help for my two problems posted above.
|
It'd be nice to be able to have this run every X amount of days, automatically.
Also, bug fixes? :) |
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?
|
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:
PHP Code:
Find: PHP Code:
PHP Code:
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. |
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??
|
Would it be possible to have forums which are private marked as "No" in the "include these forums list" by default?
|
Is this built into 2.2.0???
|
No.
|
Any ideas on completing the last step of the installation with 2.2.0:
Code:
admin/index.php Code:
makenavoption("Email Users","email.php?action=start","<br>"); Code:
makenavoption("Send Community Bulletin","commbull.php","<br>"); |
It shouldn't give you a 404 error if commbull.php is in your admin directory. I added something basically the same (although mine references commbull.php?s=, which I doubt makes any diff:)), and it worked fine...
Good luck :) |
Quote:
I've tried changing the block of code that outputs the forums to this, but its not working correctly: Code:
maketableheader("Include Info From Forums..."); |
Quote:
|
Don't forget, the admin control panel is also coded differently now, so the find and replace code portion of the instructions will not work.
I'm sure tubedogg will hook us up. I just hope it's before my next update is due to go out ;) |
The correct syntax for the addition would be:
PHP Code:
|
Can someone help me with my problem plz?
|
Quick thought: [DarkReaper]
if $permission == 0 It will pass the $value of 0 to the function makeyesnocode for each loop it makes, making the value = "No" if $permission != 0 It will pass the $value of 1 to the function makeyesnocode for each loop it makes, making the value = "Yes" It will not select between the two. Right? |
That's what its supposed to do, but it never does the "no" code.
|
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 |
Now everything is set to No instead of Yes. :(
|
That's because all the canview fields are (probably) set to 0.
|
I'm pretty sure my entire board isn't invisible to all users... :)
|
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 ? |
[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); } |
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! |
Quote:
|
My comment didn't fix that bug, if there was one. I just noticed that the wording didn't match the Community Bulletin name.
|
So the User CP receive community bulletin bug is not just me?
|
I haven't noticed that as a bug...
|
Has anyone attempted to automate the running of this hack from a cron job by using snoopy? Looked promising, but I have not played with it yet.
-t |
Quote:
Any ideas??? |
Quote:
|
[QUOTE]Originally posted by thewitt
There's a fix for the UBB Date import problem in an earlier post in this thread by tubedog. |
It didn't work with vB 2.2.0:
Quote:
|
Save as ubbfixdate.php, upload to admin and run in browser.
(back-up your database first!!!) PHP Code:
|
See my note above. The script did not work for me. :stupid:
|
Never mind! It was a file permissions problem. I ran it but I'm not sure if it worked or not. I'll test it out.
|
All times are GMT. The time now is 03:20 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|