From Arnost.Valicek a seznam.cz Sat Oct 15 18:40:05 2005 From: Arnost.Valicek a seznam.cz (=?us-ascii?Q?Arnost=20Valicek?=) Date: Sat Oct 15 18:44:01 2005 Subject: [Users] Installing Hyper Journal without root rights Message-ID: <690.840-19562-707897623-1129394405@seznam.cz> Hi, I'd like to try Hyper Journal, but I have one problem: I can't work as root. Is it posible to install it as regular user (without superuser rights)? thanks Arnost From barbera a netseven.it Sat Oct 15 22:36:21 2005 From: barbera a netseven.it (Michele Barbera) Date: Sat Oct 15 23:05:12 2005 Subject: [Users] Installing Hyper Journal without root rights Message-ID: <20051015203621.12822.qmail@netseven.it> In principle it's possible(Piergiorgio and Antlon please confirm. They programmed most of the installer btw). We've never tried (did we?). You will have to set some file permissions, create directories and do similar things manually, instead of using the makefile. Unfortunately this is undocumented but the config.sh and the Makefile are really simple. If you want to try we will help you as much as we can. Best, michele >I'd like to try Hyper Journal, but I have one problem: I can't work as root. >Is it posible to install it as regular user (without superuser rights)? From barbera a netseven.it Sat Oct 15 22:57:20 2005 From: barbera a netseven.it (Michele Barbera) Date: Sat Oct 15 23:26:09 2005 Subject: [Users] [Moved] sesame problem Message-ID: <20051015205720.13011.qmail@netseven.it> Hi Ilaria, I moved your message from the hjournal-developers list to the hjournal-users list. Please consider subscribing to this list instead of 'developers'. configSesame is a desktop application developed by the sesame team to graphically edit the sesame xml configuration file. It is't really necessary because the system.conf is very understandable. You can try to edit it manually. Refer to the sesame documentation for details, you can find it at www.openrdf.org However, if for any reason you need it, I suggest you to post your question to the Sesame developers, at www.openrdf.org too. There is a very active community the should be able to solve your problem easily. >Testing sesame installation from web interface when we select one of >MySQL DB we obtain the HTTP status 500 error... What do you mean with "one of MySQL DB"? One of the default repositories included in the demonstration configuration of Sesame? If so, you'll have to ask this question too to the Sesame community. I suggest you to re-run the HJ web installer and choose to create a contextualization repository, this will automatically create a sesame repository for you (provided you correctly installed sesame). It will also check that the repository is accessible, otherwise it will warn you. Ciao, michele ------------------------------------------- Message moved from: hyperjournal-developers list ------------------------------------------- >Hi all, >we have a problem with Sesame. >In WEB-INF/bin of the Sesame home directory, when we launch the script >configSesame.sh we obtain this error: >"Exception in thread "main" java.lang.NoClassDefFoundError: >org/openrdf/sesame/config/ui/ConfigureSesame" >We have set the right CLASSPATH. > >Testing sesame installation from web interface when we select one of >MySQL DB we obtain the HTTP status 500 error... >any suggest? > >Setup steps of Hyper Journal have been a success. >thanks in advance > >Ilaria From Arnost.Valicek a seznam.cz Sun Oct 16 22:57:37 2005 From: Arnost.Valicek a seznam.cz (=?us-ascii?Q?Arnost=20Valicek?=) Date: Sun Oct 16 23:01:46 2005 Subject: =?us-ascii?Q?Re=3A=20=5BUsers=5D=20Installing=20Hyper=20Journal=20without=20root=20rights?= Message-ID: <690.840-17609-656387934-1129496257@seznam.cz> > In principle it's possible(Piergiorgio and Antlon please confirm. They > programmed most of the installer btw). We've never tried (did we?). You will > have to set some file permissions, create directories and do similar things > manually, instead of using the makefile. Unfortunately this is undocumented > but the config.sh and the Makefile are really simple. If you want to try we > will help you as much as we can. > Best, > michele Hi Michele, I made script which should install HJ in user directory (~/public_html/...). It is attached to this email, you can see what I have tried. This has one bug - sed command doesn't work - I must do "sed" work substitutions manualy. When I do that, setup script works. My problems in setup.php - are some of them crucial?: * I don't know mysql superuser password. * my system isn't running sendmail (mail can't be send) * I have no Sesame repository After going through setup.php steps, I tried index.php and this error appears get this error: exception 'DbException' with message 'DB Error: no such table' in /home/arnost/public_html/hjournal/classes/class.Utils.php:488 Stack trace: #0 /home/arnost/public_html/hjournal/classes/class.Utils.php(522): Utils::doQuery('SELECT * FROM h...', Array) #1 /home/arnost/public_html/hjournal/classes/class.HomeComposerBoxes.php(103): Utils::doQueryAndReturnArray('SELECT * FROM h...') #2 /home/arnost/public_html/hj_server/index.php(82): HomeComposerBoxes->load(Array, NULL) #3 {main} I looks that there is problem with database. Configuration file "configuration.xml" contains right database name, login and password. Any idea how to solve that? Thanks for any help. Arnost --------------------------------------------- #!/bin/bash SOURCE_DIR=$PWD TARGET_DIR=/home/arnost/public_html/hjournal SERVER_DIR=/home/arnost/public_html/hj_server INSTALL_DIR=/home/arnost/public_html/hjournal HTACCESS=$SERVER_DIR/.htaccess INSTALL_DIR_NS=`echo $INSTALL_DIR | sed -e "s/\/$//"` cp -rp $SOURCE_DIR/* $INSTALL_DIR cp $INSTALL_DIR/www/config.dist.php $INSTALL_DIR/www/config.php mkdir -p $INSTALL_DIR/cache mkdir -p $INSTALL_DIR/upload mkdir -p $INSTALL_DIR/www/tmp mkdir -p $INSTALL_DIR/www/captchatmp mkdir -p $INSTALL_DIR/www/home mkdir -p $INSTALL_DIR/www/home/local/admin mv $INSTALL_DIR/www/* $SERVER_DIR/ #configuration XML file sed s/{ABS_PATH}/'$INSTALL_DIR_NS\/'/ $INSTALL_DIR/configuration.dist.xml > $INSTALL_DIR/configuration.xml.tmp #cp $INSTALL_DIR/configuration.xml $INSTALL_DIR/configuration.xml.bak mv $INSTALL_DIR/configuration.xml.tmp $INSTALL_DIR/configuration.xml #config.php sed s/{CONFIG_FILE}/'$INSTALL_DIR_NS'/ $SERVER_DIR/config.php > $SERVER_DIR/config.php.tmp cp $SERVER_DIR/config.php $SERVER_DIR/config.php.bak mv $SERVER_DIR/config.php.tmp $SERVER_DIR/config.php #setup.php sed s/{CONFIG_FILE}/'$INSTALL_DIR_NS'/ $SERVER_DIR/setup.dist.php > $SERVER_DIR/setup.php #ughh chmod -R a+rwX $INSTALL_DIR chmod -R a+rwX $SERVER_DIR #htaccess echo '# --BEGIN-HJ-DO-NOT-REMOVE-THIS-LINE--' >> $HTACCESS echo 'RewriteEngine On' >> $HTACCESS echo 'RewriteCond %{QUERY_STRING} ^view=html$$' >> $HTACCESS echo 'RewriteRule ^/$(HJ_RELATIVE_PATH)/([^./]+)$$ $(SERVER_ROOT)/$(HJ_RELATIVE_PATH)/viewContributionWindow.php?siglum=$$1 [L]' >> $HTACCESS echo 'RewriteRule ^/$(HJ_RELATIVE_PATH)/([^./]+)$$ $(SERVER_ROOT)/$(HJ_RELATIVE_PATH)/viewContribution.php?id=$$1 [L]' >> $HTACCESS echo '# --END-HJ-DO-NOT-REMOVE-THIS-LINE--' >> $HTACCESS From barbera a netseven.it Mon Oct 17 16:30:55 2005 From: barbera a netseven.it (Michele Barbera) Date: Mon Oct 17 16:28:47 2005 Subject: [Users] Installing Hyper Journal without root rights In-Reply-To: <690.840-17609-656387934-1129496257@seznam.cz> References: <690.840-17609-656387934-1129496257@seznam.cz> Message-ID: <200510171630.56007.barbera@netseven.it> > Hi Michele, Hi Arnost, > I made script which should install HJ in user directory > (~/public_html/...). It is attached to this email, you can see what I have > tried. This has one bug - sed command doesn't work - I must do "sed" work > substitutions manualy. When I do that, setup script works. It seems correct, except you probably forgot to define HJ_RELATIVE_PATH and SERVER_ROOT, which you use later on in the rewrite rules. By the way, using .htacces is a good idea :-) Moreover, you don't need to chmod 777 all, it can be dangerous. Only the Apache user needs read and write access to some dirs (have a look in the makefile and config for details). You can also keep the INSTALL_DIR outside the server document root. > My problems in setup.php - are some of them crucial?: > * I don't know mysql superuser password. This is not crucial, provided you can create an empty database and a user with all permissions on that database, you can tell to the setup.php that you already create a mysql db, the installer will then create the db tables without asking you mysql superuser password. > * my system isn't running sendmail (mail can't be send) This is a blocking problem. The ability to send emails is needed for user registration. Whitout being able to send emails your users will not be able to register. Maybe there is a workaround, check the PHP manual (under some conditions it is possible to use external sendmail programs). > * I have no Sesame repository This is blocking too, unless you have write access to a remote sesame repository. The installer again asks you if you want to create a local repository or use a remote one. However installing sesame is easy. Check the manual at www.openrdf.org. This probably can be done even if you haven't superuser rights. > After going through setup.php steps, I tried index.php and this error > appears get this error: exception 'DbException' with message 'DB Error: no > such table' in > /home/arnost/public_html/hjournal/classes/class.Utils.php:488 Stack trace: > #0 /home/arnost/public_html/hjournal/classes/class.Utils.php(522): > Utils::doQuery('SELECT * FROM h...', Array) #1 > /home/arnost/public_html/hjournal/classes/class.HomeComposerBoxes.php(103): > Utils::doQueryAndReturnArray('SELECT * FROM h...') #2 > /home/arnost/public_html/hj_server/index.php(82): > HomeComposerBoxes->load(Array, NULL) #3 {main} > I looks that there is problem with database. Configuration file > "configuration.xml" contains right database name, login and password. > > Any idea how to solve that? Thanks for any help. Yes, you got this error because the database is empty. I mean that the database you are trying to connect to contains no tables! You can create it with the setup.php as explained above. Michele From Alessandro.Enea a ilc.cnr.it Wed Oct 19 11:19:25 2005 From: Alessandro.Enea a ilc.cnr.it (Alessandro Enea) Date: Wed Oct 19 11:23:54 2005 Subject: [Users] Upgrade from 0.3 to 0.4 In-Reply-To: <20051018100003.AD911A0CFB@mail1.noze.it> References: <20051018100003.AD911A0CFB@mail1.noze.it> Message-ID: Hi all, I wish to upgrade my Hyperjournal site from 0.3 version to 0.4 "fever". After downloaded from download section the hyperjournal-0.4.tar.gz file, configured it, executed the setup.php using the already exists mysql db and sesame repository and so on ... when i login to the new version as Admin and select the "Control Panel" under "Journal Config" i see this error on the top bar: #insufficient permissions to access page# Please note that i have tried also to execute the setup.php and use a new mysql db and a new sesame repository, but with the same error. Last question: the version 0.4b used by BTFP it's free available ? Regards. Alessandro Enea -- Alessandro Enea Phone: +39 050 3152842 ILC - Ist. Linguistica Computazionale Fax: +39 050 3152839 Via Giuseppe Moruzzi 1 56124 Pisa - Italia Mail: Alessandro.Enea@ilc.cnr.it ---------- From barbera a netseven.it Thu Oct 20 16:35:31 2005 From: barbera a netseven.it (Michele Barbera) Date: Thu Oct 20 17:04:50 2005 Subject: [Users] Upgrade from 0.3 to 0.4 Message-ID: <20051020143531.29816.qmail@netseven.it> >Hi all, > >I wish to upgrade my Hyperjournal site from 0.3 version to 0.4 "fever". >After downloaded from download section the hyperjournal-0.4.tar.gz file, >configured it, executed the setup.php using the already exists mysql db >and sesame repository and so on ... when i login to the new version as >Admin and select the "Control Panel" under "Journal Config" i see this >error on the top bar: > >#insufficient permissions to access page# This is a very strange error, we've never encountered it. It may depend by pre-existing session data which conflicts with the new installation. Does the rest of the journal work correctly? Do you experience the error in "Journal Config" or in the whole control panel? If the problems pops out only in "Journal Config" you may have not set the right permission for Administrator to access that panel, please try to go to "Editorial Management" --> "Roles and Permissions" and *give all permissions* to group admin. >Last question: the version 0.4b used by BTFP it's free available ? What do you mean? The 0.4b is unavailable because it's a beta but the 0.4 "fever" has exactly the same features of the 0.4b plus some more! You probably mean the graphical theme? Yes, there is a very similar theme pre-installed into 0.4 "fever" Ciao, Michele Barbera >Regards. > >Alessandro Enea ------------------------------ Michele Barbera Net7 - Internet Open Solutions - Tel: +39 050 552574 Mobile: +39 3381185055 www.netseven.it ------------------------------ From Alessandro.Enea a ilc.cnr.it Fri Oct 21 11:33:49 2005 From: Alessandro.Enea a ilc.cnr.it (Alessandro Enea) Date: Fri Oct 21 11:38:39 2005 Subject: [Users] Re: Upgrade from 0.3 to 0.4 Message-ID: >> Hi all, >> >> I wish to upgrade my Hyperjournal site from 0.3 version to 0.4 "fever". >> After downloaded from download section the hyperjournal-0.4.tar.gz >> file, configured it, executed the setup.php using the already exists >> mysql db and sesame repository and so on ... when i login to the new >> version as Admin and select the "Control Panel" under "Journal Config" >> i see this error on the top bar: >> >> #insufficient permissions to access page# > > This is a very strange error, we've never encountered it. It may depend > by > pre-existing session data which conflicts with the new installation. > Does the rest of the journal work correctly? Do you experience the error > in > "Journal Config" or in the whole control panel? > If the problems pops out only in "Journal Config" you may have not set > the > right permission for Administrator to access that panel, please try to > go to > "Editorial Management" --> "Roles and Permissions" and *give all > permissions* to group admin. Hi Michele, i cannot access to "Editorial Management" because it's under the "Admin Menu" and the error appairs when i click under control panel in the "User Menu" (as i have verified into your HJ Demo site [85.39.151.140]) before to access to the "Admin Menu". Anyway, in admin/index.php i have using your debug instruction in row 84 and i see these permissions for admin: array ( 'Create committee' => false, 'Delete committee' => false, 'Change committee name' => false, 'Change committee permission' => false, 'Assign user to committee' => false, 'Remove user from committee' => false, 'Assign publish to committee' => false, 'Remove publish from committee' => false, 'Assign eval to committee' => false, 'Remove eval from committee' => false, 'Assign edit to committee' => false, 'Remove edit from committee' => false, 'Write publication assignation rules' => false, 'Write editing assignation rules' => false, 'Write evaluation assignation rules' => false, 'skipPeerReview' => false, 'skipEvaluationTime' => false, 'Eval each contribute' => false, 'Eval assigned contribute' => false, 'Edit each contribute' => false, 'assignContributionsToCategory' => false, 'Edit assigned contribute' => false, 'Publish each contribute' => false, 'Publish assigned contribute' => false, 'manageAuthors' => false, 'editCategories' => false, 'editIssues' => false, 'editTemplates' => false, 'ManageHJConfig' => false, 'JustAccessControlPanel' => false, 'ManagePublicationCriteria' => false, 'editHomeComposer' => false, ) I suppose that they must be true ! I am searching into mysql tables for this permissions .... right ? Where i have to search ? But i am ill-fated and i have a second problem: Using "Register now" to add a new user, after the label "Personal data" the PHP script userRegistration.php give me this error: No Truetypefont available for the CaptchaClass. I think it depend from this instruction into /opt/hyperjournal/classes/third/hn_captcha.class.php row number 120: var $TTF_RANGE = array('COMIC.TTF','JACOBITE.TTF','LYDIAN.TTF','MREARL.TTF','RUBBERSTAMP.TTF','ZINJARON.TTF'); I have upgraded my Macos to Tyger and is it possible that anyone of these TTF files is present ? In /Library/Fonts any of these are present ! What you suggest me ? Bye Alessandro -- Alessandro Enea Phone: +39 050 3152842 ILC - Ist. Linguistica Computazionale Fax: +39 050 3152839 Via Giuseppe Moruzzi 1 56124 Pisa - Italia Mail: Alessandro.Enea@ilc.cnr.it ---------- From giomi a netseven.it Fri Oct 21 13:05:01 2005 From: giomi a netseven.it (Riccardo Giomi) Date: Fri Oct 21 13:01:57 2005 Subject: [Users] Re: Upgrade from 0.3 to 0.4 In-Reply-To: References: Message-ID: <200510211305.01676.giomi@netseven.it> Hi, the table you are looking for is the 'committee' table. In there are the permissions assigned to each user group. The installation process should have filled the first row (the admins' one) with the values: 1, 'admin', 63, 511, 12, 2, 0, 0, 127, 1 corresponding to the fields: 'id', ' name', ' committeeedit', ' assigntasks', ' evaluate', ' essayedit', 'publish', ' other', ' configuration', ' home' These values along with those of the other committees can be found in the sql/committee.sql file. If the problem persists another table to look into, and the relative values, is in the sql/action.sql file. The true type font can be assigned from the admin panel once the previous problem is taken care of. The complete option path in the admin panel is database & filesytem -> locations. Riccardo Antonio From Alessandro.Enea a ilc.cnr.it Fri Oct 21 14:56:54 2005 From: Alessandro.Enea a ilc.cnr.it (Alessandro Enea) Date: Fri Oct 21 15:01:39 2005 Subject: [Users] Re: Re: Upgrade from 0.3 to 0.4 Message-ID: > Hi, > > the table you are looking for is the 'committee' table. In there are the > permissions assigned to each user group. > The installation process should have filled the first row (the admins' > one)with the values: > 1, 'admin', 63, 511, 12, 2, 0, 0, 127, 1 > > corresponding to the fields: > 'id', ' name', ' committeeedit', ' assigntasks', ' evaluate', ' > essayedit','publish', ' other', ' configuration', ' home' > > These values along with those of the other committees can be found in the > sql/committee.sql file. > > If the problem persists another table to look into, and the relative > values,is in the sql/action.sql file. > > The true type font can be assigned from the admin panel once the previous > problem is taken care of. The complete option path in the admin panel is > database & filesytem -> locations. > > Riccardo > Antonio Hi, the first row of the 'committee' table is exactly as you have written, and the 'action' table is well created from the sql/action.sql file. But I have found the error using your infos ! Let's back to the Setup.php. 1. Into the "Paths and URLs" form i have inserted: ... HyperJournal Absolute URL: http://ijdph.ilc.cnr.it HyperJournal Relative URL: hyperjournal ... 2. Into the "Create an Admin User" form i have inserted: ... Your journal PURL: http://purl.org/ilc.cnr.it/ijdph Infact i have created a PURL subdomain for my journal into http://www.purl.org 3. My Hyperjournal Home page (calculated from 1. values) is http://ijdph.ilc.cnr.it/hyperjournal , right, and every username has before "http://ijdph.ilc.cnr.it/hyperjournal/" as appears into my home page. 4. Now the error is into the 'user2committee' table ! In the first row i have found these values: '1', 'http://purl.org/ilc.cnr.it/ijdph/admin', '1', 'accepted' So the admin complete username: http://ijdph.ilc.cnr.it/hyperjournal/admin is different from: http://purl.org/ilc.cnr.it/ijdph/admin and the admin is equal to a simple user. If i use as username http://purl.org/ilc.cnr.it/ijdph/admin in my home page all works fine and the 'Admin menu' appears. Which is the correct value for 'user2committee' table ??? Can you distribute a correct version of Setup.php ??? Alessandro -- Alessandro Enea Phone: +39 050 3152842 ILC - Ist. Linguistica Computazionale Fax: +39 050 3152839 Via Giuseppe Moruzzi 1 56124 Pisa - Italia Mail: Alessandro.Enea@ilc.cnr.it ---------- From barbera a netseven.it Fri Oct 21 15:15:23 2005 From: barbera a netseven.it (Michele Barbera) Date: Fri Oct 21 15:44:47 2005 Subject: [Users] Re: Re: Upgrade from 0.3 to 0.4 In-Reply-To: <> References: <> Message-ID: <20051021131523.9527.qmail@netseven.it> You are right Alessandro, there is a bug in the setup.php, thank you for discovering it! To solve the problem cleanly (we will release a patch soon!), just open the configuration.xml with an editor, go to .....$HERE and write (instead of $HERE) http://purl.org/ilc.cnr.it/ijdph everithing should run smoothly. The value "http://purl.org/ilc.cnr.it/ijdph" in the database tables is correct. It is the configuration.xml file wich is wrong. The login interface automaticcally fills the first part of the username with the value of purl as found in the configuration.xml file, if it's blank, the login uses the hjournal full url. So it makes me think that the setup.php fails to write the proper value into the configuration.xml. Thank you once more, Michele > Hi, > > the first row of the 'committee' table is exactly as you have written, and > the 'action' table is well created from the sql/action.sql file. > > But I have found the error using your infos ! > > Let's back to the Setup.php. > > 1. Into the "Paths and URLs" form i have inserted: > ... > HyperJournal Absolute URL: http://ijdph.ilc.cnr.it > HyperJournal Relative URL: hyperjournal > ... > > 2. Into the "Create an Admin User" form i have inserted: > ... > Your journal PURL: http://purl.org/ilc.cnr.it/ijdph > > Infact i have created a PURL subdomain for my journal into > http://www.purl.org > > 3. My Hyperjournal Home page (calculated from 1. values) is > http://ijdph.ilc.cnr.it/hyperjournal , right, and every username has > before "http://ijdph.ilc.cnr.it/hyperjournal/" as appears into my home > page. > > 4. Now the error is into the 'user2committee' table ! > In the first row i have found these values: > '1', 'http://purl.org/ilc.cnr.it/ijdph/admin', '1', 'accepted' > > So the admin complete username: > http://ijdph.ilc.cnr.it/hyperjournal/admin > is different from: > http://purl.org/ilc.cnr.it/ijdph/admin > and the admin is equal to a simple user. > > If i use as username http://purl.org/ilc.cnr.it/ijdph/admin in my home > page all works fine and the 'Admin menu' appears. > > Which is the correct value for 'user2committee' table ??? > Can you distribute a correct version of Setup.php ??? > > Alessandro > > > -- > Alessandro Enea Phone: +39 050 3152842 > ILC - Ist. Linguistica Computazionale Fax: +39 050 3152839 > Via Giuseppe Moruzzi 1 > 56124 Pisa - Italia Mail: Alessandro.Enea@ilc.cnr.it > ---------- > > From giomi a netseven.it Fri Oct 21 18:47:11 2005 From: giomi a netseven.it (Riccardo Giomi) Date: Fri Oct 21 18:44:05 2005 Subject: [Users] Important: new HyperJournal update Message-ID: <200510211847.11771.giomi@netseven.it> Hi, after the latest error report by Alessandro Enea, we found a bug in the installer script. The script doens't save purl informations in the configuration file during the installation. The bug has been solved and the indications to update Hyper Journal can be found at the follwing address: http://www.hjournal.org/download/ Riccardo From Alessandro.Enea a ilc.cnr.it Mon Oct 24 11:42:46 2005 From: Alessandro.Enea a ilc.cnr.it (Alessandro Enea) Date: Mon Oct 24 11:48:05 2005 Subject: [Users] A suggestion for the next version Message-ID: Hi, during the user registration procedure an e-mail comes sended to the new user to confirm the registration. This e-mail has in the From: field the name and the address of the www apache user. My suggestion is: why not use the hyperjournal name as name and the hyperjournal admin address as address ? In this matter if the new user has sometimes of trouble about the registration can contact the admin. For my experience, a solution that i have tested on my HJ site is modifing the file: userRegistration/internalUserReg.inc.php change line 161: mail($_POST[2]['email1'], HJOURNAL_PUBLISHER.': Subscription Request', $body); with: mail($_POST[2]['email1'], HJOURNAL_PUBLISHER.': Subscription Request', $body, 'From: '.HJOURNAL_PUBLISHER.' <'.HJOURNAL_ADMIN_EMAIL.'>'); What about from HJ developes ? Bye Alessandro -- Alessandro Enea Phone: +39 050 3152842 ILC - Ist. Linguistica Computazionale Fax: +39 050 3152839 Via Giuseppe Moruzzi 1 56124 Pisa - Italia Mail: Alessandro.Enea@ilc.cnr.it ---------- From giomi a netseven.it Mon Oct 24 15:34:39 2005 From: giomi a netseven.it (Riccardo Giomi) Date: Mon Oct 24 16:04:19 2005 Subject: [Users] A suggestion for the next version In-Reply-To: <> References: <> Message-ID: <20051024133439.25635.qmail@netseven.it> On Mon, 24 Oct 2005 11:42:46 +0200, "Alessandro Enea" wrote : > > Hi, > during the user registration procedure an e-mail comes sended to the new > user to confirm the registration. > This e-mail has in the From: field the name and the address of the www > apache user. > My suggestion is: why not use the hyperjournal name as name and the > hyperjournal admin address as address ? > In this matter if the new user has sometimes of trouble about the > registration can contact the admin. > This is a good idea that has been added to the features list for the next update. Thanks for the feedback and the idea. Riccardo From tolu a netseven.it Fri Oct 28 13:16:02 2005 From: tolu a netseven.it (Antonio Tolu) Date: Fri Oct 28 13:21:01 2005 Subject: [Users] A suggestion for the next version In-Reply-To: References: Message-ID: <1130498162.31440.10.camel@localhost> Hi Alessandro, I suggest you to modify also the other files for the same reason. Files : confirmRagistration.php ( row 103 ). generateNewUserPassword.php ( row 73 ). thank you for your support. Antonio On Mon, 2005-10-24 at 11:42 +0200, Alessandro Enea wrote: > Hi, > during the user registration procedure an e-mail comes sended to the new > user to confirm the registration. > This e-mail has in the From: field the name and the address of the www > apache user. > My suggestion is: why not use the hyperjournal name as name and the > hyperjournal admin address as address ? > In this matter if the new user has sometimes of trouble about the > registration can contact the admin. > > For my experience, a solution that i have tested on my HJ site is modifing > the file: > userRegistration/internalUserReg.inc.php > change line 161: > mail($_POST[2]['email1'], HJOURNAL_PUBLISHER.': Subscription Request', > $body); > with: > mail($_POST[2]['email1'], HJOURNAL_PUBLISHER.': Subscription Request', > $body, 'From: '.HJOURNAL_PUBLISHER.' <'.HJOURNAL_ADMIN_EMAIL.'>'); > > What about from HJ developes ? > > Bye > Alessandro > > _______________________________________________ > Users mailing list > Users@hjournal.org > http://list.netseven.it/mailman/listinfo/users