Notice: Undefined variable: _nodesforum_edit_creation_time in /Users/anunes/Sites/SPVOO/modules/nodesforum/pre_else.php on line 1095
Notice: Undefined index: ghost in /Users/anunes/Sites/SPVOO/modules/nodesforum/pre_folder_view.php on line 19
Notice: Undefined variable: remember_parent_titles in /Users/anunes/Sites/SPVOO/modules/nodesforum/pre_folder_view.php on line 151
Notice: Undefined variable: countadd in /Users/anunes/Sites/SPVOO/modules/nodesforum/pre_folder_view.php on line 165
Notice: Undefined variable: _nodesforum_creator_publicname in /Users/anunes/Sites/SPVOO/modules/nodesforum/pre_folder_view.php on line 193
forum options | my forum page | my posting history | moderation on my things
Notice: Undefined index: _nodesforum_search in /Users/anunes/Sites/SPVOO/modules/nodesforum/body.php on line 81
Notice: Undefined variable: _nodesforum_display_fapID in /Users/anunes/Sites/SPVOO/modules/nodesforum/bod_folder_view.php on line 62
Notice: Undefined index: _nodesforum_moderated_uniqueID in /Users/anunes/Sites/SPVOO/modules/nodesforum/bod_mod_forms.php on line 82
Notice: Undefined index: _nodesforum_moderated_given_level in /Users/anunes/Sites/SPVOO/modules/nodesforum/bod_mod_forms.php on line 84
Notice: Undefined variable: _nodesforum_display_banned_uniqueID in /Users/anunes/Sites/SPVOO/modules/nodesforum/bod_mod_forms.php on line 193
Notice: Undefined index: _nodesforum_banned_uniqueID in /Users/anunes/Sites/SPVOO/modules/nodesforum/bod_mod_forms.php on line 233
Notice: Undefined index: _nodesforum_banned_reason in /Users/anunes/Sites/SPVOO/modules/nodesforum/bod_mod_forms.php on line 235
Notice: Undefined index: _nodesforum_delete_user in /Users/anunes/Sites/SPVOO/modules/nodesforum/bod_mod_forms.php on line 262
Notice: Undefined variable: _nodesforum_display_banned_ip_ip in /Users/anunes/Sites/SPVOO/modules/nodesforum/bod_mod_forms.php on line 279
Notice: Undefined index: _nodesforum_banned_ip in /Users/anunes/Sites/SPVOO/modules/nodesforum/bod_mod_forms.php on line 321
Notice: Undefined index: _nodesforum_banned_ip_reason in /Users/anunes/Sites/SPVOO/modules/nodesforum/bod_mod_forms.php on line 323
Notice: Undefined index: _nodesforum_delete_ip in /Users/anunes/Sites/SPVOO/modules/nodesforum/bod_mod_forms.php on line 353
about languages, im planning to make the french version for 2.0 sometime soon. for other languages im gonna need help though cos i only speak french and english at the moment...
but before i can use help with other languages i want to make the french version first because at this point im gonna make the language system, after it will be easy for a non-programmer to add more languages. maybe with luck some ppl might volunteer to make other languages. if not maybe trying to hire a translator. but at the moment im concentrating on building the "free hosted forum system" (i got my plan and it should be ready in a few days)...
about these error messages you get i see that they are all notices of undeclared variable...
i guess what happens is that on all my servers (i have multiple websites scattered over 4 servers) i have these notices turned off so i never seen them and always freely compared undeclared variables without knowing that this caused a "notice"...
but i am guessing that the forum should work correctly under these errors right? (well assuming that you figured out the little twist that you have to first register a user and then put this user's uniqueID in your config.php to start administrating your forum...)
so anyways i think you can turn off these errors by changing the config of your php so that all these "notices" dont show.
but if you dont want to play with your php config i think theres a way to disable these notices from the code, so im gonna go ahead and look into how i can do that and try to add it to the forum script so we can get rid of these notices without requiring the user to change his php config.
at the top of your page, and then you can also run any script that you normally run to deal with your user accounts if you have any (...script to auto login people from a cookie, script to logout banned users ect..)
then place the
also in the config.php, $_nodesforum_external_user_system_table_name must contain the name of the table in which you keep your users information, it can be in a different database but it must be physically on the same server
). then you will want to chose "no" at $_nodesforum_show_login_logout_bar.
or alternatively you can chose "yes" at $_nodesforum_show_login_logout_bar and the forum will show its own login/logout menu on top, but since you are using your site's user system the register, login/logout links will point to your register login/logout pages and for that you must make sure to set these variables correctly on the config.php
$_nodesforum_external_user_system_loginusername_session_name=''; //what is the name of the php session variable in which you keep the username or email that the user logged in with to be able to say "logged in as..."
$_nodesforum_external_user_system_login_link='/login'; //link to your login page from the forum
$_nodesforum_external_user_system_logout_link='/logout'; //link to your logout page from the forum
$_nodesforum_external_user_system_register_link='/register'; //link to your register page from the forum
$_nodesforum_external_user_system_profile_options_link='/options'; //link for logged in user to get to his profile options page from the forum
a little trick to help you figure out what is wrong, is it that you didnt specify your values correctly in config.php or is it that the forum is unable to find the SESSION of your user?
if you have set your variables correctly in config.php (including $_nodesforum_main_mod_uniqueID) the forum should show the name of your account on your site as the "moderator of this folder" on the root
if the name down there appears empty then either it is not reading your users table correctly (double check $_nodesforum_external_user_system_table_name, $_nodesforum_external_user_system_user_uniqueID_rowname and $_nodesforum_external_user_system_publicname_rowname) or either the uniqueID of the main mod is not correct (double check $_nodesforum_main_mod_uniqueID)
if the moderator thing down there show the name of your profile on your site but you dont have main moderator powers while beeing on the forum make sure that the user session is started on the page of the forum, that the unique indentifier of your user is set on a session variable and that the name of that session variable is set as $_nodesforum_external_user_system_uniqueID_session_name in the config
the forum when working with your site user system assumes that you will take care of starting your session yourself, possibly do some verification/run scripts on it/maybe run an auto login from the cookies
and then after that include the forum
but at the very least you must at least start the session on top of the page in which you include the forum
also probably if you want to use your site's user system you might probably also want to show the same "header" (navigation menu) on top of the forum page than on top of the rest of the pages of your forum. every site is different but me on most of my site the login/logout links are usually located in this header. if your login/logout links are not in this header or you will not show your header then just set $_nodesforum_show_login_logout_bar='yes'; (which is already the default) to use the login/logout bar of the forum
example of including the forum on a page and working with your site's user system:
//run any session related scripts here... auto-login from cookie? logout banned? record user's last pageload?...
//display site header here, top and left side ads, ect...
//display page bottom here, right side and bottom ads, ect...
I have tried everything above but still having trouble.
I have it set $_nodesforum_use_external_user_system='yes';
My username shows up in the button as moderator but I still don't have moderator powers.
I tried with two different databases with the same results.
Here is what I have
//-----------EXTERNAL USER SYSTEM SETTINGS (only needed if $_nodesforum_use_external_user_system=='yes')
$_nodesforum_external_user_system_site_name='The name of my site'; //the name of the main website from which we are using the user system
$_nodesforum_external_user_system_site_name_at_or_at_the='The name of my site'; //should we say at *main site name* or at the *main site name*
$_nodesforum_external_user_system_uniqueID_session_name='user_id'; //name of the php session variable in which you keep track of your users uniqueID
$_nodesforum_external_user_system_table_name='users'; //name of the users table
$_nodesforum_external_user_system_user_uniqueID_rowname='user_id'; //name of the column in which you store the users uniqueID in your users table
$_nodesforum_external_user_system_publicname_rowname='username'; //name of the column in which you store the users name or public name in your users table
$_nodesforum_external_user_system_show_registration_time='yes'; //does your users table contain a column where the registration time of the user is recorded (in unix timestamp format)
$_nodesforum_external_user_system_registration_time_rowname='reg_date'; //if yes what is the name of the column where the registration time of the user is recorded
$_nodesforum_external_user_system_userpage_link='/userpage?u='; //how should we build the links to the user pages on your main site (will take the value in this variable and will append the user uniqueID to it to build the link to the userpage)
at the bottom of a random page of your site where the login is working and also at the bottom of the page where the forum is included (if you are not including the forum in a page then that would be the index.php that is contained in the forum files).
this will allow you too see the session data that is following you and you will see right away all the names of the session variables and if they are following you on the page of the forum.
hi thanks for the time you have put in to this free forum im having a problem and getting the following error message
the connection to the database was successful but the query to read the posts and folders in your forum did not work. this could possibly be because you have not yet created the tables to run the forum..
this forum is trying to read the set of tables starting with "forum1_" which was not successful.
there was an error when attempting to create a table named forum1__nodesforum_folders_and_posts.
The used table type doesn't support FULLTEXT indexes
create new empty tables starting with "forum1_"
i have tried both with and without my sites own login/registration i get the same problem.
i have tried onndb & myisam database engine with the same affect
can you please help php and mysql is jsut out of my comfort zone
Recycling is Good for You Me and Our Planet.
Visit the Recycle Me Free website www.recyclemefree.com and take 5 minutes to think how you can help our planet.
i suspect that for some reason tables by default on your db tables do not get created as MyISAM and thats a requirement for the FULLTEXT to work
i think you could possibly fix this error by opening the file "pre_create_tables.php" and changing the line 8 from
if(mysql_query("CREATE TABLE ".$_nodesforum_db_table_name_modifier."_nodesforum_folders_and_posts (fapID int NOT NULL AUTO_INCREMENT, PRIMARY KEY(fapID), folder_or_post int NOT NULL, containing_folder_or_post varchar(102), creator_uniqueID varchar(100), creator_ip varchar(128), creation_time int NOT NULL, title varchar(1000), post longtext, allow_posting int NOT NULL, allow_guest_reply int NOT NULL, ancestry text, subfolders int NOT NULL, posts int NOT NULL, replies int NOT NULL, views int NOT NULL, last_post_postID int NOT NULL, last_post_user_uniqueID varchar(100), last_post_time int NOT NULL, sticky int NOT NULL, skeleton int NOT NULL, deletion_time int NOT NULL, disable_auto_smileys int NOT NULL, disable_auto_links int NOT NULL, FULLTEXT(title, post));"))
if(mysql_query("CREATE TABLE ".$_nodesforum_db_table_name_modifier."_nodesforum_folders_and_posts (fapID int NOT NULL AUTO_INCREMENT, PRIMARY KEY(fapID), folder_or_post int NOT NULL, containing_folder_or_post varchar(102), creator_uniqueID varchar(100), creator_ip varchar(128), creation_time int NOT NULL, title varchar(1000), post longtext, allow_posting int NOT NULL, allow_guest_reply int NOT NULL, ancestry text, subfolders int NOT NULL, posts int NOT NULL, replies int NOT NULL, views int NOT NULL, last_post_postID int NOT NULL, last_post_user_uniqueID varchar(100), last_post_time int NOT NULL, sticky int NOT NULL, skeleton int NOT NULL, deletion_time int NOT NULL, disable_auto_smileys int NOT NULL, disable_auto_links int NOT NULL, FULLTEXT(title, post)) ENGINE = MYISAM;"))