Home | Products | Consulting | Hosting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: Article Manager 2:
Guest Log In - Block Password change?

 

 


dimeco
User

Jan 8, 2007, 5:59 AM

Post #1 of 10 (1186 views)
Shortcut
Guest Log In - Block Password change? Can't Post

In the artman 1, I used to have the login automatic so that a person didn't have to log in, but just click the link, and it took them to the submit articles page.
(http://www.dime-co.com/cgi-bin/articles/exec/admin.cgi?id=guest&pw=guest&login=1)

Now I recognize that 2 doesn't work quite the same (I couldn't pass the login variables), so they have to enter the username (Guest) and password (guest01) at http://www.dime-co.com/cgi-bin/column/admin.cgi

When they log in there, they're given three options:
- Create an article
- User preferences
- Log off.

Is there a way with the new one, to take them ONLY to the create an article, and NOT allow them to change user preferences?

I know there will always be someone who will try to change the guest password just to be a troublemaker (or someone who seriously has no clue that its for other users).

If I can automate even the login it would be fantastic like the above, as otherwise *I* have to manually enter each article, and I found that when I gave them their own log in, 90% of the authors didn't bother using it. (They forgot they had it, and kept doing the manual submissions, which I have 4952 manual articles alone JUST in the past couple of months LOL-in ONE folder. Afraid to even count the other 10 folders)

Your thoughts?

Amber


ross
Staff / Moderator


Jan 8, 2007, 4:16 PM

Post #2 of 10 (1181 views)
Shortcut
Re: [dimeco] Guest Log In - Block Password change? [In reply to] Can't Post

Hi Amber.

Thanks for posting!

If you throw the following after your admin.cgi, you should be taken right to the article add page:

? action=loginSubmit&loginUsername=USERNAME&loginPassword=PASSWORD&nextAction=articleAdd

Just make sure to add in your username and password.

Now, that will take them right to the article page but there will still be links that let them change the preferences. If you wanted, I could show you how to use some templateif statements in your interface templates to hide that link when people log in with the guest account.

Let me know what you think Smile.
s
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Product Specialist
support@interactivetools.com


Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.




dimeco
User

Jan 8, 2007, 4:48 PM

Post #3 of 10 (1177 views)
Shortcut
Re: [ross] Guest Log In - Block Password change? [In reply to] Can't Post

Hi Ross - that worked, thanks!

But yes, if there's a way I could hide that preferences in the guest area, I'd greatly appreciate it :)

Amber


Donna
Staff / Moderator


Jan 10, 2007, 10:11 AM

Post #4 of 10 (1161 views)
Shortcut
Re: [dimeco] Guest Log In - Block Password change? [In reply to] Can't Post

Hi Amber,

Thanks for your post! :)

First, I just want to let you know that we don't technically support changes to the interface templates, so if something doesn't work as expected, the solution will be to revert to the originals. But! Luckily, this is pretty easy, so here's how to do it:

In a text editor, open up /templates/admin/menus/home.html and scroll down to line 37. It should say,

<!-- templateIf : $currentUser.accessLevel$ == "2" -->

Within this templateIf statement, you'll find the HTML for displaying the content on the login page for writer accounts. Simply remove this bit:


Code
  <td><a href="$_cgiurl$?action=userPreferencesEdit"><img src="$_weburl$images/icons/home_details.gif" height="65" width="65" border="0" alt="" /></a></td> 
<td width="33%"><b><a href="$_cgiurl$?action=userPreferencesEdit">User Preferences</a></b><br /> Edit your user settings, such as email and password.</td>

<td rowspan="99">&nbsp;&nbsp;&nbsp;&nbsp;</td>


...and make sure that you modify it in this section only! Similar code will appear in all of the other user accounts, you only want to remove it for the Writer accounts. The easiest way to make it go away without any risk is to simply add a comment tag around it.

I've attached an updated copy of the template to this post as well. You can simply back up your current home.html and replace it with this one.

I hope this helps! Let me know if you have any other questions. :)

Donna


Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
Attachments: home.html (4.12 KB)


dimeco
User

May 14, 2007, 5:17 PM

Post #5 of 10 (1081 views)
Shortcut
Re: [Donna] Guest Log In - Block Password change? [In reply to] Can't Post

Hi Donna -

this didn't work for me.

You can still see the change password link, I tried commenting it out, I tried even removing it completely.

None of it is working.

And I *DID* have someone block the access for a few days by being an idiot and changing the guest password and email.

(And I can view your html page, but I can't download it - its telling me its .cgi)

Amber


Donna
Staff / Moderator


May 14, 2007, 6:01 PM

Post #6 of 10 (1077 views)
Shortcut
Re: [dimeco] Guest Log In - Block Password change? [In reply to] Can't Post

Hi Amber,

Without seeing your template, I can't say exactly what the problem will be -- but note that the code is there multiple times, one for each "level" of user. You'll want to make sure you're working with the right one.

To view the html attachment, try left-clicking, which should then open it up in a new browser window. Once you've got that, you can simply view the source and see what changes I've made. :)

Donna


Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.


Glasairmell
User

Feb 5, 2008, 11:37 AM

Post #7 of 10 (807 views)
Shortcut
Re: [Donna] Guest Log In - Block Password change? [In reply to] Can't Post

This is works as stated however the Help | User Preferences | Logoff (guest) still appears at the top right of the page and the guest writer can access the password change from there. You would not want to remove this functionality from the admin. I suppose I can use the <!-- templateIf : $currentUser.accessLevel$ == "2" --> statement to manage that menu at the top of the page and will look at that. However that does not solve the main issue here. Please get up with the times provide a register and user system that provides the functionality of what your competitors are offering. You have a great program and I hate to see it tainted by the fact that there is no provision for community interaction with the system. To have the admin take the burden of managing thousands of writers manually is just too much to ask. In this day and age writers like to look at their account and provide information that the public can read about them such as a profile. Being able to see all articles by a particular writer on the front end is a plus too. Tossing every guest writer into the same bucket is just too insensitive. Your customers have brought this to you attention months ago and we are still at ground zero for this issue. Thank you for your efforts.


Glasairmell
User

Feb 5, 2008, 12:15 PM

Post #8 of 10 (803 views)
Shortcut
Re: [Glasairmell] Guest Log In - Block Password change? [In reply to] Can't Post

I put this in my _wrapper.html to fix the top right menu issue.

Quote
<!-- templateIf : $settings.help_url$ ne "" -->
<a href="$_cgiurl$?action=help">Help</a> |
<!-- /templateIf --> <!-- templateIf : $currentUser.accessLevel$ < "2" -->
<a href="$_cgiurl$?action=loginRequirements">Browser Requirements</a>
<!-- /templateIf --> <!-- templateIf : $currentUser.accessLevel$ >= "3" -->
<a href="$_cgiurl$?action=userPreferencesEdit">User Preferences</a> |
<!-- /templateIf --> <!-- templateIf : $currentUser.accessLevel$ >= "2" -->
<a href="$_cgiurl$?action=logoff">Logoff ($currentUser.username$)</a>
<!-- /templateIf -->



MikeB
Staff / Moderator


Feb 6, 2008, 3:00 PM

Post #9 of 10 (778 views)
Shortcut
Re: [Glasairmell] Guest Log In - Block Password change? [In reply to] Can't Post

Hi,

Thanks for the post and the update! Smile

I'm glad to hear that you've been able to tweak this for the top right corner and thanks for the update regarding this.

If you do have any other questions or comments, just let me know! Smile

Cheers,
Mike Briggs - Product Specialist
support@interactivetools.com


Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.


dimeco
User

Apr 18, 2008, 2:10 PM

Post #10 of 10 (467 views)
Shortcut
Re: [MikeB] Guest Log In - Block Password change? [In reply to] Can't Post

Thank you Glasairmell for coming up with this solution - that finally worked.

Now... it would be nice if we could allow people to create their OWN writer accounts (that require our approval of course)...

 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Hosting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4