Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

[UPDATE] Logo/Graphics Mod 01.02.01

Quote Reply
[UPDATE] Logo/Graphics Mod 01.02.01
I'm almost done with this rewrite.

It changes the way the plug-in works. It will still work from the "add" form, but it's really designed to work from the "modify" screen via an "upload" link.

I'm finishing up the admin portions tonight, and it should be ready tomorrow.

It will install over the 01.01.xx version, and should just be a major upgrade.

You'll need to add some new templates, and maybe make some changes, but the existing "add" templates will work as "is".

If you haven't used the mod before, the best way is to install it. There will be minor changes needed, but it will pretty much run "out of the box". YOu need to customize some of the display pages to your own format, but you won't have to edit the 'add' and 'modify' forms, as all new "attach_*" forms are installed.

Once a user uploads a link -- validated or not -- they can upload/attach a file or graphic to the link. The admin validates the link, but the attachments have to be validated in a separate program (actually, you can "manually" validate the image link, but you can't view the image in the admin (this is a limitation in the hooks available, and why I had to do it this way).

But, an admin/editor can validate images, or if the "user_mod" is enabled, if a user can modify their graphic as well.

The changes, obviouslyh, have to be in the link.html and detailed.html, and any other template you want to display the logo in. By using <%if%> tags in the templates, you can control what the user sees -- ie: a logged in user could see "more" about their links than a non-logged in, non-link owner, and an editor can see more as well.

I'll have specific details when I have the code ready for release, but it should be pretty significant. After that, the multi-attachment version will be worked on.

I won't really be adding more features to the 01.02 version, but will fix bugs, etc.




PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Forum:http://LinkSQL.com/forum
Quote Reply
Re: [UPDATE] Logo/Graphics Mod 01.02.01 In reply to
It's taken a bit longer to do the templates, and to fix some problems with people using plug-ins like "Days_Old" so that templates work as expected.

Might need fixing up in the future... but the way "display" works, each template has to be explicity named, or all tags have to be passed. anyway...

Add, update, delete all work. Right now I'm dealing with the Editor/Admin functions, and am trying how best to make them work --- through the Admin screens, or as an "editor" so that editors can validate the logos too.

Soon :)

All the big problems have been taken care of, it's now just trying to package it into a form that can be distributed and installed easily.

I don't think I've ever re done, reworked, and re-logiced any program this much before!


PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Forum:http://LinkSQL.com/forum
Quote Reply
Re: [UPDATE] Logo/Graphics Mod 01.02.01 In reply to
Is there any way to modify this to accept a fee when someone wants to add a logo?

Basically charge a customer a few bucks to add a logo. By using a credit card through authorize.net

Quote Reply
Re: [UPDATE] Logo/Graphics Mod 01.02.01 In reply to
It doesn't have any of the charge stuff in it. What I'm going to do on my sites, is let people upload their logo when they add a link, but remind them they need to complete a payment -- fax, mail, paypal, whatever -- to activate the logo.

You can use the "Show_Graphic" field along with the "Priority" field to order/rank the images.

I looked at authorize net just now, and it doesn't look like it would be too complicated to add this feature. I'm not sure what response codes the network provides, but if referrers are checked, you could be reasonably sure it was a valid transaction, and update the "Show_Graphic" field. I haven't tried it obviously, but the "return page" could be a script that was passed the LinkID and then calls the Link record via the ID and updates the "Show_Graphic" and or "Validated" field.

If anyone has worked with Authorize net, I'd like to hear from them... I know this is not really possible with PayPal (no way to really confirm successful transaction).



PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Forum:http://LinkSQL.com/forum
Quote Reply
Re: [UPDATE] Logo/Graphics Mod 01.02.01 In reply to
I sent you an email

Ken