adrian15 | 21 Jan 11:46
Picon
Gravatar

Prefixed from in send page - How to implement?

One of my customers has asked me so that his email (the one associated 
with its normal admin account) does not appear in the From field when 
sending an email (send page).

He wants something else to appear like noreply <at> hisdomain.com.

So... the question is how should I implement this?

Maybe a field associated to the list? So that you when create or edit a 
list you can also fill this field?

This will imply modifying the database and thus changing the database 
version as I did with my admin ownership patch.

And should there be a config option to enable or disable this feature?
In the same list new/edit page? Maybe in config.php (or its successor, I 
just cannot remember the name right now).

Maybe this field should be more useful if it can be used in all the 
lists (config table on database)? (I personally do no think so.)

What are your thoughts as a phplist developer or advanced user?

Thank you very much for your advice.

adrian15
--

-- 
Support free software. Donate to Super Grub Disk. Apoya el software 
libre. Dona a Super Grub Disk. http://www.supergrubdisk.org/index.php?pid=10
_______________________________________________
(Continue reading)

adrian15 | 18 Jan 17:05
Picon
Gravatar

Average time for patch acception in svn

What's the average time so that a patch reported in mantis is accepted 
in the svn?

I have some several patches that I would like to see in the svn (or at 
least in mantis being reported as fixed) and it seems too long for me. 
(More than one month and a half).

But maybe I am wrong and phplist has some timings that I am unaware of?

Thank you.

adrian15
--

-- 
Support free software. Donate to Super Grub Disk. Apoya el software 
libre. Dona a Super Grub Disk. http://www.supergrubdisk.org/index.php?pid=10
_______________________________________________
Phplist-developers mailing list
Phplist-developers <at> tincan.co.uk
http://mail.tincan.co.uk/mailman/listinfo/phplist-developers

adrian15 | 9 Jan 20:12
Picon
Gravatar

Autophlist (Automatic PhpList Installer)

Hi,

	I have developed kind of an automatic phplist installer which I call: 
Autophplist.

You can find it here:

http://adrian15.raulete.net/ficheros/phplist/autophplist/

It might not work on your setup so you might need to tweak some sql 
files to your own needs. It is based on a fork of phplist dev version 
(An hipothetic 2.11.5 version).

You can download the fork source code here:

http://adrian15.raulete.net/ficheros/phplist/cumulus_fork/

Any comments, requests, new features, ideas, are welcome.

adrian15
--

-- 
Support free software. Donate to Super Grub Disk. Apoya el software 
libre. Dona a Super Grub Disk. http://www.supergrubdisk.org/index.php?pid=10
_______________________________________________
Phplist-developers mailing list
Phplist-developers <at> tincan.co.uk
http://mail.tincan.co.uk/mailman/listinfo/phplist-developers

Tim Holliefield | 23 Dec 17:26

oracle and adodb status report

I would like to update the list on my efforts to use phpList with adodb 
and Oracle. I don't have a complete migration to adodb but would like to 
share what I have learned.

There is a lot of mysql-specific syntax in the code. One way for phpList 
to use different database backends via adodb is to make the sql more 
generic. Generic date data is an issue. Adodb provides some support for 
handling dates but in some cases the only way I could see to keep the 
code generalized was to do the date arithmetic in the code.

The file structure.php is almost entirely mysql "create table" 
statements. I rewrote it into a version more usable with the adodb table 
creation facility, which also slightly simplified other parts of the 
code that referenced the database structure.

Adodb provides a Replace() function call similar to the mysql "replace 
into". I was able to change almost all remaining instances of "replace 
into" with calls to Sql_Replace() in adodb.inc.

If you are targeting Oracle use the adodb driver oci8po, not oci8.

My current set of changes will create a database structure and 
initialise the tables using Oracle as the backend. I can see the setup 
page but have not gotten very far past that due to date handling issues. 
I've also run out of time - these changes were made during work hours 
and I need to move on to other tasks. I will probably try to get a 
stealth mysql database running because phpList has needed functionality.

If anyone would like a copy of the changed code please let me know.

(Continue reading)

Alberto Granzotto | 9 Dec 16:26
Picon

ver. 2.10.10 - error handling in processqueue.php

PHPList version: 2.10.10
PHP version: 5
Hosting: tophost.it

I had a problem sending a message, after pressing "Process Queue" I had
a lot of "MySQL server has gone away" errors.
  I have took a look to [b]processqueue.php[/b], the common pattern in
errors handling is:
  $userids = Sql_query($query);
  if (Sql_Has_Error($database_connection)) {
ProcessError(Sql_Error($database_connection)); }

  More or less:
 * do the query;
 * if some error happens, do ProcessError (which [b]exits[/b] from the
script).

  Sql_Has_Error w/ ProcessError are not used -- as far as I can see, and
only in the "sending loop" -- in those lines:

528: $userids = Sql_Query(sprintf('select * from %s where id =
0',$tables["user"]));

559: $um = Sql_query("select entered from {$tables['usermessage']} where
userid = $userdata[0] and messageid = $messageid");

564: $users = Sql_query("select
id,email,uniqid,htmlemail,rssfrequency,confirmed,blacklisted from
{$tables['user']} where id = $userid");

(Continue reading)

Tim Holliefield | 2 Dec 14:58

phplist rewrite started?

Hi list,

While looking over the list archives I saw a thread from August 2009 
discussing a rewrite of phplist. Did anything actually happen as a 
result of that thread? There have been no further messages on the topic 
on this list and what seems to be a low level of activity in svn. Am I 
not looking in the correct location, or has there really been no further 
work done on a rewrite?

--

-- 
Tim Holliefield
System Administrator
Information Technology
UMUC Europe
+49(0)6221-378281
_______________________________________________
Phplist-developers mailing list
Phplist-developers <at> tincan.co.uk
http://mail.tincan.co.uk/mailman/listinfo/phplist-developers

adrian15 | 29 Nov 16:28
Picon
Gravatar

List page: Added Edit column

When evaluating svn_r1703 it seems that list page does not have an 
explicit edit column.
I have made a patch so that there is an explicit edit column.

Are you interested in this patch?
Should I open a mantis issue for this?

Thank you for your time.

adrian15
-- 
Support free software. Donate to Super Grub Disk. Apoya el software
libre. Dona a Super Grub Disk. http://www.supergrubdisk.org/index.php?pid=10

diff -urN
svn_r1703_sin_punto_svn_improved_05_id_is_not_a_link_to_editlist/phplist/public_html/lists/admin/list.php svn_r1703_sin_punto_svn_improved_06_there_is_not_edit_column/phplist/public_html/lists/admin/list.php
---
svn_r1703_sin_punto_svn_improved_05_id_is_not_a_link_to_editlist/phplist/public_html/lists/admin/list.php	2009-11-29
16:08:56.000000000 +0100
+++
svn_r1703_sin_punto_svn_improved_06_there_is_not_edit_column/phplist/public_html/lists/admin/list.php	2009-11-29
16:25:21.000000000 +0100
@@ -174,6 +174,9 @@
     $GLOBALS['require_login'] ? adminName($row['owner']):$GLOBALS['I18N']->get('n/a'),
     $desc
     );
+     $ls->addColumn($row['id'],
+       $GLOBALS['I18N']->get('Edit'),
(Continue reading)

adrian15 | 29 Nov 16:14
Picon
Gravatar

List page: Id links to editlist page

When evaluating svn_r1703 I have seen that id (the number) links to 
editlist (even if there is no permissions from the owner to editlist page).

However I do not like this behaviour so I just rewrite the code so that 
the id is seen as a plain number.

You might be interested in this patch or maybe not.

I have made a patch so that the delete links come back.

As always I will open a mantis issue whenever I have time.

adrian15
--

-- 
Support free software. Donate to Super Grub Disk. Apoya el software
libre. Dona a Super Grub Disk. http://www.supergrubdisk.org/index.php?pid=10

diff -urN
svn_r1703_sin_punto_svn_improved_04_list_delete_link_not_there/phplist/public_html/lists/admin/list.php svn_r1703_sin_punto_svn_improved_05_id_is_not_a_link_to_editlist/phplist/public_html/lists/admin/list.php
---
svn_r1703_sin_punto_svn_improved_04_list_delete_link_not_there/phplist/public_html/lists/admin/list.php	2009-11-29
15:43:24.000000000 +0100
+++
svn_r1703_sin_punto_svn_improved_05_id_is_not_a_link_to_editlist/phplist/public_html/lists/admin/list.php	2009-11-29
16:08:56.000000000 +0100
@@ -146,7 +146,7 @@
     $desc = $plugin->displayLists($row) . $desc;
   }
(Continue reading)

adrian15 | 29 Nov 15:48
Picon
Gravatar

List page: Delete link was not there patch

When evaluating svn_r1703 it seems that list page no longer has the 
delete column with links to delete the different lists.

I have made a patch so that the delete links come back.

As always I will open a mantis issue whenever I have time.

adrian15
-- 
Support free software. Donate to Super Grub Disk. Apoya el software
libre. Dona a Super Grub Disk. http://www.supergrubdisk.org/index.php?pid=10

diff -urN
svn_r1703_sin_punto_svn_improved_03_list_title_can_be_seen_always/phplist/public_html/lists/admin/list.php svn_r1703_sin_punto_svn_improved_04_list_delete_link_not_there/phplist/public_html/lists/admin/list.php
---
svn_r1703_sin_punto_svn_improved_03_list_title_can_be_seen_always/phplist/public_html/lists/admin/list.php	2009-11-29
14:08:12.000000000 +0100
+++
svn_r1703_sin_punto_svn_improved_04_list_delete_link_not_there/phplist/public_html/lists/admin/list.php	2009-11-29
15:43:24.000000000 +0100
@@ -191,6 +191,9 @@
     $row["active"] ? 'checked' : ''));
     $ls->addColumn($row['id'],
       $GLOBALS['I18N']->get('Owner'),$GLOBALS['require_login'] ? adminName($row['owner']):$GLOBALS['I18N']->get('n/a'));
+    $ls->addColumn($row['id'],
+      $GLOBALS['I18N']->get('Delete'),
+      PageLink2("list",$GLOBALS['I18N']->get('Delete'),"delete=".$row["id"]));
     if (trim($desc) != '') {
(Continue reading)

adrian15 | 29 Nov 14:12
Picon
Gravatar

List: Admin can see list title even if editlist accesslevel is none

If an admin that had list page enabled wanted to see its lists and at 
the same time editlist acceslevel was set to none:

He saw listing but with the title of each mailing list empty.

This is because the title was set to be an editlist link with the 
PageLink2 function.

This patch fixes this issue.

As always I will open a mantis issue for this problem whenever I have time.

adrian15
--

-- 
Support free software. Donate to Super Grub Disk. Apoya el software
libre. Dona a Super Grub Disk. http://www.supergrubdisk.org/index.php?pid=10

diff -urN
svn_r1703_sin_punto_svn_improved_02_list_delete_any_list/phplist/public_html/lists/admin/list.php svn_r1703_sin_punto_svn_improved_03_list_title_can_be_seen_always/phplist/public_html/lists/admin/list.php
---
svn_r1703_sin_punto_svn_improved_02_list_delete_any_list/phplist/public_html/lists/admin/list.php	2009-11-29
13:01:51.000000000 +0100
+++
svn_r1703_sin_punto_svn_improved_03_list_title_can_be_seen_always/phplist/public_html/lists/admin/list.php	2009-11-29
14:08:12.000000000 +0100
@@ -176,7 +176,7 @@
     );
     $ls->addColumn($row['id'],
(Continue reading)

adrian15 | 29 Nov 13:02
Picon
Gravatar

admin can delete other admins lists patch

If one admin have access to list page he can write an url like this:
http://domain.com/lists/admin/?page=list&delete=4

Even if list with id=4 is not a property of the admin it gets deleted!

Attached you will find a patch to solve this issue.

As always whenever I have time I will open a mantis issue for this problem.

adrian15
-- 
Support free software. Donate to Super Grub Disk. Apoya el software
libre. Dona a Super Grub Disk. http://www.supergrubdisk.org/index.php?pid=10

diff -urN
svn_r1703_sin_punto_svn_improved_01_editlist_acceslist/phplist/public_html/lists/admin/list.php svn_r1703_sin_punto_svn_improved_02_list_delete_any_list/phplist/public_html/lists/admin/list.php
---
svn_r1703_sin_punto_svn_improved_01_editlist_acceslist/phplist/public_html/lists/admin/list.php	2009-11-29
11:27:41.000000000 +0100
+++
svn_r1703_sin_punto_svn_improved_02_list_delete_any_list/phplist/public_html/lists/admin/list.php	2009-11-29
13:01:51.000000000 +0100
@@ -11,12 +11,18 @@

 if (isset($_GET['delete'])) {
   $delete = sprintf('%d',$_GET['delete']);
+  print $GLOBALS['I18N']->get('Checking')." $delete ...\n";
+  $req = Sql_Query(sprintf("select * from %s where ((owner = %d) and (id =
(Continue reading)


Gmane