Show all posts by user
All modules known to work or written for 5.2.0 and up. Modules are small packages that increase or change the functionality of Phorum in some way, without changing any of the main Phorum code.
You can find a list of Phorum 5.2 Modules --> Here
You can find a list of Phorum 5.2 Modules --> Here
Re: 2 questions - is email required , disabling login and new profile links. - 17 years ago
Hi My problem is then that it does not work... following is set in the code: $GLOBALS["PHORUM"]["allow_email_notify"]=FALSE; but as you can see in the picture the E-mail option is still available... /KWoodby KWood - Phorum Integration
Re: Module: Forum Lockdown - 17 years ago
Hi I have made a danish translation in utf-8 encoding for forum-lockdown. /Kenneth Wood - KWoodby KWood - v5/v6 Modules/Add-Ons
Re: Module: Private Message Alerts - 17 years ago
Hi I have maid a danish translation (in utf-8 encoding) for your module.by KWood - v5/v6 Modules/Add-Ons
Re: 2 questions - is email required , disabling login and new profile links. - 17 years ago
Hi when setting $GLOBALS["PHORUM"]["allow_email_notify"]=FALSE nothing seems to change in the controlpanel, what should that do ?by KWood - Phorum Integration
Re: 2 questions - is email required , disabling login and new profile links. - 17 years ago
and, the $GLOBALS["PHORUM"]["allow_pm_email_notify"]=FALSE; worked super (removed the PM email field) but i dont seem to be able to get the "$GLOBALS["PHORUM"]["email_notify"]=FALSE;" to do anything.... as a note I changed the functions name so t makes more sence :-) and thanks for all the your help!!!!by KWood - Phorum Integration
Re: 2 questions - is email required , disabling login and new profile links. - 17 years ago
Hi sorry if I'm a bit slow :-) but does that mean that in the template there already is a if statement that check if that field has to be disabled and all I have to do is to set/unset that variable? And if so how do i find the right variable?by KWood - Phorum Integration
Re: 2 questions - is email required , disabling login and new profile links. - 17 years ago
as a last question: can i make the changes to the form from my module? or do i have to make the changes to the template directly, and if so can i in the template test what the users email is ??by KWood - Phorum Integration
Re: 2 questions - is email required , disabling login and new profile links. - 17 years ago
Hi I am using the cc_save_user hook to prevent the user from altering certain fields... but changing email still workshalfway meaning that it creates and sends a cofirming mail to the new email adress, I am going to remove the email link from to template files (when i get to locate it) and have lock the display settings, but would like disable updating email al together... As for the notifyby KWood - Phorum Integration
Re: 2 questions - is email required , disabling login and new profile links. - 17 years ago
Yes just that. And I have change to using the common hook, but as far as I can se those 2 changes dos not work... my code is this (I am building a combined module for integrated login and invalid email "support): function phorum_mod_disableemailfunctions_user_get() { $PHORUM = $GLOBALS["PHORUM"]; IF (! $PHORUM['mod_disableemailfunctions']['no_email&by KWood - Phorum Integration
Re: 2 questions - is email required , disabling login and new profile links. - 17 years ago
Hi maurice can I edit the general forum settings from inside the get_user hook by doing as below inside the user_get hook: $GLOBALS["PHORUM"]["pm_email_notify"]=FALSE; $GLOBALS["PHORUM"]["allow_email_notify"]=FALSE;by KWood - Phorum Integration
Re: 2 questions - is email required , disabling login and new profile links. - 17 years ago
Hi Maurice. I am deep into the module creation, but I also want to disable/remove some edit options in the controlpanel for all users, more specifik the following: "Edit My Profile", "Edit Email Settings" and "Change Password" since these settings only should be changed in the mai system. can this be accomplish in af module or by a edit of the template ? As far asby KWood - Phorum Integration
Re: Module: Private Message Restrictions - 17 years ago
Hi For a inetegration use I have added a test of the users email. If the string added under settings is found in the users e-mail, PM is disabled. this can be used when Phorum is integrated into a main system where e-mail is not required (integration creates user with fake email) I have also created a danish language file (dansk.php) for the module.by KWood - v5/v6 Modules/Add-Ons
Re: Module: Forum Lockdown - 17 years ago
Hi I got an error whenentering settings for this module!: Parse error: syntax error, unexpected '=', expecting ']' in /hsphere/local/home/madam/madammangor.dk/medlemv2/phorum/mods/forum_lockdown/settings.php on line 13 You are missing the end bracket on line 13 to 19 in settings.php: changed the code from: $PHORUM["phorum_mod_forum_lockdown"]["disable_by KWood - v5/v6 Modules/Add-Ons
Re: Integration only works on first page. - 17 years ago
Hi isn't just typical... came home from work and started testing with the print_r and guess what IT WORKS!!! don't now how don't now why... but it works... but thanks for the help!by KWood - Phorum Integration
Re: Integration only works on first page. - 17 years ago
Hi this is my code: /* phorum module info title: External Login module desc: Uses Login credentials from Main site to login phorum. hook: user_session_restore|transparent_login_main */ function transparent_login_main($sessions) { // Override the session handling for front end forum sessions. // We could for example retrieve a session from a standard PHP // session by firsby KWood - Phorum Integration
Re: 2 questions - is email required , disabling login and new profile links. - 17 years ago
Hi Tanx alot!!! can you direct me to some guides off creating the module for disabling e-mail functions when email is invalid???by KWood - Phorum Integration
Integration only works on first page. - 17 years ago
Hi I have completed the single sign on module as found in this forum, and it works sort of.... It works when the user cliks on the link to the forum and gets the front page, user is logged in and all. BUT when clicking on a "internal" forum link like af thread og forum group the user is now not logged in... (user rigths arent correct og th top link in log in in stead of logged in...by KWood - Phorum Integration
2 questions - is email required , disabling login and new profile links. - 17 years ago
Hi I now have a working integration of Phorum to my site, but... when creating users via module as describe in this phorum i HAVE to create a Email for the user, my problem is that about 10% off my users don't have E-mails registered, so at the moment they dont have access to the forum, is there a possibility of creating the user without a e-mail - thereby disabling all E-mail functions foby KWood - Phorum Integration
Re: HELP Error when trying to create users in Phorum from main system - 17 years ago
Just found my problem.... second set of Phorum is actually placed outside of the Else clause.... sorry :-) Thanks at lot both of you for your help!!!!by KWood - Phorum Integration
Re: HELP Error when trying to create users in Phorum from main system - 17 years ago
Hi I think you got... my set uo is (a bit shortend) IF ($edit_user==1) { "some code (updating userdata in main system)" $curcwd = getcwd(); chdir("/hsphere/local/home/madam/madammangor.dk/medlemv2/phorum"); define('phorum_page','create_user'); global $PHORUM; include_once("./common.php"); echo "Opret medlem&qby KWood - Phorum Integration
Re: HELP Error when trying to create users in Phorum from main system - 17 years ago
Hi Thomas I dont get what you mean... (my bad :-)) they are both examples of the same line in common.php (line 146) I dont have a Print command any where?by KWood - Phorum Integration
Re: HELP Error when trying to create users in Phorum from main system - 17 years ago
The weird continues: changing line 146 to: require_once("./include/db/{$PHORUM['DBCONFIG']['type']}.php".p ); gives: Fatal error: main(): Failed opening required './include/db/mysql.phpp' (include_path='.:/hsphere/shared/apache/libexec/php4ext/php/') in /hsphere/local/home/madam/madammangor.dk/medlemv2/phorum/common.php on line 146 butby KWood - Phorum Integration
Re: HELP Error when trying to create users in Phorum from main system - 17 years ago
Hi again The $PHORUM variable is passed trough... changing line 146 to this: require_once( "./include/db/{$PHORUM['DBCONFIG']['type']}.php".$PHORUM['DBCONFIG']['type'] ); gives the output: Fatal error: main(): Failed opening required './include/db/mysql.phpmysql' (include_path='.:/hsphere/shared/apache/libexec/php4ext/php/by KWood - Phorum Integration
Re: HELP Error when trying to create users in Phorum from main system - 17 years ago
This is pretty wierd... as for testing I change line 146 to: require_once( "./include/db/{$PHORUM['DBCONFIG']['type']}.php".test ); which gives the following error: Fatal error: main(): Failed opening required './include/db/mysql.phptest' (include_path='.:/hsphere/shared/apache/libexec/php4ext/php/') in /hsphere/local/home/madam/madammangorby KWood - Phorum Integration
Re: HELP Error when trying to create users in Phorum from main system - 17 years ago
Hi Tried to include the line you gave, it did not work... config.php is loaded (tested by adding a extra varialbel and it came through perfectly...).... I am really at lost here... any other ideas?by KWood - Phorum Integration
HELP Error when trying to create users in Phorum from main system - 17 years ago
I am trying to create users in Phorum when they are created i the main system.. I have used the you made in another tread but get an error: the code (with a change in sitename): $curcwd = getcwd(); chdir("/hsphere/local/home/siteYY/siteXX/medlemv2/phorum"); define('phorum_page','create_user'); include("./common.php"); echo "Opret medlem";by KWood - Phorum Integration
Re: Problems with danish æ ø å! - 17 years ago
Hi I have made a new tread for this...by KWood - Phorum Integration
Re: Problems with danish æ ø å! - 17 years ago
THANKS!! That fixed it...but!! next step: creating users in Phorum when they are created i the main system.. I have used the you made in another tread but get an error: the code (with a change in sitename): $curcwd = getcwd(); chdir("/hsphere/local/home/siteYY/siteXX/medlemv2/phorum"); define('phorum_page','create_user'); include("./commby KWood - Phorum Integration
Re: Problems with danish æ ø å! - 17 years ago
Hi How the tjeck / find the character sets??? I am on hosted webserver so dont know where to find it...by KWood - Phorum Integration
Problems with danish æ ø å! - 17 years ago
Hi I am trying to integrate Phorum with my on login script, but I have a problem with user creation. From another tread I got this code: Language: PHP<?php chdir('/home/...../phorum_5_2'); define('phorum_page','create_user'); include_once("./common.php"); phorum_api_user_save(array( 'user_id' => NULL, 'usernameby KWood - Phorum Integration