 |

ColinW-O
User
Jun 7, 2002, 1:53 PM
Post #1 of 8
(5021 views)
Shortcut
|
|
Automatic name/e-mail on posting page
|
Can't Post
|
|
Purchased Article Manager last month and I must say that I've been very satisfied with the product, very easy to install and has some great features. I'm using it for my wrestling newsboard and one thing that I miss from the previous scripts that I have used is the automatic name and e-mail address listed on the posting page. It's very annoying that you have to type your name and address everytime you post something, especially if you post several times during the day. Is it possible to change it somehow to have it list your particulars automatically when you log in? It could use the same info from the login accounts. Colin http://www.wrestling-online.com
|
|
|  |
 |

Luke
Staff
/ Moderator

Jun 7, 2002, 2:23 PM
Post #2 of 8
(5015 views)
Shortcut
|
|
Re: [ColinW-O] Automatic name/e-mail on posting page
[In reply to]
|
Can't Post
|
|
I'm happy to hear that you are satisfied with Article Manager and that you found the installation easy. Article Manager doesn't support a feature to automatically enter your name and email address when creating a new article. Thanks for your comments. :) Luke Holzken Product Development
|
|
|  |
 |

Dave
Staff
/ Moderator

Jun 8, 2002, 10:36 PM
Post #3 of 8
(4996 views)
Shortcut
|
|
Re: [ColinW-O] Automatic name/e-mail on posting page
[In reply to]
|
Can't Post
|
|
You could try marking a bookmarklet. Bookmarklets are little snippets of javascript code you "bookmark" and then run by clicking on the bookmark. It still involves a mouse click on your toolbar or bookmarks menu but may be easier then typing everything out everytime. The spare fields are named spare1, spare2, etc. So say "name" was your first field ("spare1") and "address" was your second field ("spare2"), you could make a bookmarklet like this: javascript:void+eval("with(document.forms[1]){spare1.value='Your Name';spare2.value='your@name.com'}") Just replace "Your Name" and "your@name.com" with whatever you want and save it as a bookmark. Then you can click on it when you're on the "Create Article" page to autofill those fields. Hope that helps, if you decide to give it a try let me know how it turns out (or if you have any problems getting it to work). Dave Edis - Senior Developer interactivetools.com
|
|
|  |
 |

fraser_itools
Staff

Jun 10, 2002, 9:53 AM
Post #4 of 8
(4979 views)
Shortcut
|
|
Re: [ColinW-O] Automatic name/e-mail on posting page
[In reply to]
|
Can't Post
|
|
Dave has all the secret knowledge. I'm stealing that idea. ;-) Fraser Cain - Product Manager interactivetools.com, inc. Tel: (604)689-3347 - Fax: (604)689-3342 - Toll Free: 1(800)752-0455 Software for your Website - http://www.interactivetools.com/
|
|
|  |
 |

ColinW-O
User
Jun 10, 2002, 11:35 AM
Post #5 of 8
(4977 views)
Shortcut
|
|
Re: [Dave] Automatic name/e-mail on posting page
[In reply to]
|
Can't Post
|
|
Alright, I'm a total idiot when it comes to Javascript. So do I just create a bookmark and point it to: javascript:void+eval("with(document.forms[1]){spare1.value='YourName';spare2.value='your@name.com'}") with the YourName stuff edited? What about the admin URL? Where do I insert that? It's currently at http://www.wrestling-online.com/cgi-bin/news/exec/admin.cgi Sorry to sound stupid...but I'm just that when it comes to JS :) Colin Wrestling-Online.com
|
|
|  |
 |

Dave
Staff
/ Moderator

Jun 10, 2002, 11:49 AM
Post #6 of 8
(4976 views)
Shortcut
|
|
Re: [ColinW-O] Automatic name/e-mail on posting page
[In reply to]
|
Can't Post
|
|
hehe, don't worry, It does seem kinda complicated at first glance. What the "bookmarklet" does is run the javascript code in the context of the current page, so you'd just go to the "create article" page and then click the bookmarklet and it would run the javascript on the create page which fills out some of the fields for you. To test it, try just going to the "Create Article" page and pasting the javascript url into the address bar and hitting enter. That should do the same thing. I could probably make a little utility that would let users create bookmarks that automatically logged them in, went to the create article page and filled out some fields by default. Would anybody be interested in something like that? An easy way for users to create a bookmark URL that would jump them to the create page with their defaults filled in? Let me know... Maybe if I get some free time today I'll make it. Dave Edis - Senior Developer interactivetools.com
|
|
|  |
 |

Dave
Staff
/ Moderator

Jun 10, 2002, 9:43 PM
Post #7 of 8
(4959 views)
Shortcut
|
|
Re: [ColinW-O] Automatic name/e-mail on posting page
[In reply to]
|
Can't Post
|
|
For anyone who's interested -- Here's a little utility for making autofill bookmarklets: http://www.interactivetools.com/staff/dave/autofill.cgi Note: This should work with any form, not just the Article Manager create article page. Just enter the form field names and the autofill values you want and it will make a bookmarklet link for you. For example, for Article Manager, you can specify autofill content for any of the spare fields ("spare1", "spare2", etc), the "summary" field, article "content" field, etc. Dave Edis - Senior Developer interactivetools.com
|
|
|  |
 |

ColinW-O
User
Jun 11, 2002, 1:21 PM
Post #8 of 8
(4946 views)
Shortcut
|
|
Re: [Dave] Automatic name/e-mail on posting page
[In reply to]
|
Can't Post
|
|
Awesome. Thanks. Colin
|
|
|  |
|