New features

paulbooker - November 20, 2008 - 00:30
Project:Affiliates
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:paulbooker
Status:closed
Description

Here are some new features that i will work on next week.

# Highest climbers (which affiliates are referring more than they did before )
# Additional UI for adding/editing/deleting categories
# Allow the possibility of circumventing writing to the affiliates tables for the case when affiliate referrals are being
collected by parsing apache logs ( a colleague has a working perl script that can do exactly this )
# Show affiliate banners on the list / edit pages

Best, Paul

#1

kbahey - November 20, 2008 - 01:14

1 and 2 are great, but please be mindful of performance. Use caching where appropriate to avoid excessive queries on every page load.

3 is very interesting. If the script can be licensed under the GPL, then we can include it in a tools directory, with your colleague credited on it. I am sure it is helpful to others.

4 I don't understand which list/edit pages.

All in all, go for it!

#2

paulbooker - November 20, 2008 - 08:58

A collection of screen shots of what i had in mind for #4

As soon i have something working ill release a patch for peer review. I'll see if i can get #3
done today.

Paul

AttachmentSize
Picture 2.png 22.09 KB
Picture 3.png 163.41 KB
Picture 4.png 71.45 KB

#3

paulbooker - November 20, 2008 - 13:43

First patch for review.

AttachmentSize
affiliates.336656.1.patch 10.66 KB

#4

paulbooker - November 20, 2008 - 13:53
Status:active» needs review

#5

kbahey - November 20, 2008 - 16:06

I gave it a visual inspection, and it looks OK. Some queries are scary, but you are caching them. The update query with a subselect is scary too, but if it works, then I am fine with it.

Perhaps at some point we should move all the points storage to the Userpoints module and let it be our "bank" for points. This way other actions can happen when points are gained, and lots of other modules can be used (e.g. role changes, badges integration with userpoints, ...etc.).

#6

paulbooker - November 20, 2008 - 18:26
Status:needs review» active

Hi Khalid

Userpoints module integration sounds v. interesting.

I have committed the work in the above patch into CVS @ DRUPAL-6--1.
As soon as the development branch is updated ill make a request to have these
changes pulled onto spreadthunderbird stage server @ mozilla for some final testing and then
you will be able to check out the changes on spreadthunderbird.com shortly after

I have asked my colleague if he would make his apache parsing script generic so that it
can be made available for download on drupal.org. Ill get back to you on that shortly.
Here is the script as it currenty stands...
http://viewvc.svn.mozilla.org/vc/projects/spreadfirefox.com/logs-parse/a...

Tomorrow i will work on ..

#Additional UI for adding/editing/deleting categories

Best, Paul

#7

paulbooker - November 21, 2008 - 18:17

Second patch . Almost ready for review .

I'll do some more testing on Monday . The clock has beaten me :-(

Paul

AttachmentSize
affiliates.336656.2.patch 10.34 KB

#8

paulbooker - November 24, 2008 - 12:47
Assigned to:paulbooker» Anonymous
Status:active» needs review

Second patch for review.

AttachmentSize
affiliates.336656.2b.patch 11.3 KB

#9

paulbooker - November 24, 2008 - 18:11

Adding the ability to host buttons on the hosting server.

AttachmentSize
affiliates.336656.2c.patch 13.22 KB

#10

paulbooker - November 24, 2008 - 18:25

#Show affiliate banners on the list / edit pages

I'll see if i can show the affiliate banner on the list page using jquery tooltips

#11

paulbooker - November 24, 2008 - 20:57

fixed a problem with editing a banner and uploading a new banner

AttachmentSize
affiliates.336656.2d.patch 13.3 KB

#12

paulbooker - November 24, 2008 - 23:19

Committed the recent changes to the development branch.

Please test and provide feedback.

Best, Paul

#13

paulbooker - November 24, 2008 - 23:20
Status:needs review» active

#14

paulbooker - February 9, 2009 - 13:48
Assigned to:Anonymous» paulbooker

Small change which allows you to automatically view your banners @ affiliates/admin provided you have lightbox2 installed.

AttachmentSize
affiliates.336656.2e.patch 533 bytes

#15

paulbooker - February 9, 2009 - 13:50
Status:active» fixed

#16

System Message - February 23, 2009 - 14:00
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

#17

jusyjim - August 15, 2009 - 19:41

Hi, Tuning in late but can I ask if these upgrades will ever happen for the 5.x version?

Thanks.

 
 

Drupal is a registered trademark of Dries Buytaert.