|
|
Due to the volume of spam happening on our forums, posting is now restricted to verified members only. If you're not verified, drop us a note with your username.
|
|
Home > FlexCMS Support Forum > Recent Messages
FlexCMS Support Forum
Recent Messages
|
|
|
|
moving from subdomain | August 1, 2008 @ 3:18am | hallo david! i am almost ready to move my install, buy the full license, tweak and go live.
I currently have my demo - with a lot of content in place - on a subdomain. I did this thinking it would aid me when moving the install since I would not be moving the database....
I want to move the install to the main domain; can you tell me a little more about what i need to do - to preemptively avoid disaster?!
Can you explain more about the NewLKS settings since my url is changing?
chuss, h
|
|
|
|
| |
|
|
|
|
articles by permission | August 1, 2008 @ 12:49am | aha! you rule. sounds like a good project for me to learn on...and then see how you would do it whenever you get to it.
again, million thanks
~h |
|
|
|
| |
|
|
|
|
| July 31, 2008 @ 11:23pm | Heather,
There's really three parts to it;
1 - Min permission level stored somewhere (ie added field in db table)
2 - Ability to edit permission setting (either manually through the db, or alongside the rest of the article in the edit form)
3 - Determine whether person viewing article meets the min level required (in inc-na-idx.php)
Pretty busy with a myriad of things at the moment, but I'm happy to put something together for you if/when I get some free time. Entirely possible something like that will make it into a future version of FlexCMS too.
David |
|
|
|
| |
|
|
|
|
articles with permission | July 31, 2008 @ 12:58pm | David~ The database option is doable to me as I am fairly comfortable with mySQLadmin. That said, I am sure that I can create a new field - but what to do after that? (yes, i am hogging your attention to teach me how to do things.)
any help is beyond appreciated. i am currently testing everything i can in the demo before getting the license and going live.
best, heather |
|
|
|
| |
|
|
|
|
| July 31, 2008 @ 12:47am | Heather,
You could do it one of two ways - either with a new field in the database (na-Articles table), that identified the minimum permission level (the current user's level is stored in the $UserLevel variable - such as 1 for basic members, 100 for admins, etc) - or hard code the various article ID's into the inc-na-idx.php file.
David |
|
|
|
| |
|
|
|
|
articles permissions per article basis? | July 31, 2008 @ 12:25am |
Quote (DCSun)
David,
If you want all articles to behave the same, it's pretty straightforward:
inc-na-idx.php, line 36 should be "if ($Arguments2 == 'view') {". You could replace that with:
Code
if ($Arguments2 == 'view' && $UserLevel < 1) { RedirectToLogin(); } else if ($Arguments2 == 'view') { |
|
If you want to allow viewing of some articles but not others, it's going to get more complicated.
David |
|
how much more complicated? i think I would like to be able to do this...is this already covered somewhere else?
best, heather |
|
|
|
| |
|
|
|
|
| July 30, 2008 @ 10:45am | Thanks Dave & Otter! |
|
|
|
| |
|
|
|
|
| July 30, 2008 @ 10:43am | Thanks for the suggestion Wolf! We'll see what we can do to make that happen in a future version. |
|
|
|
| |
|
|
|
|
eCommerce enhancement | July 29, 2008 @ 11:17pm | How involved would it be to have the option to offer additional products based on a users membeship level?
For instance, I may want to offer products to the general public, but then restrict sales of "professional" products to a higher membership level.
Thanks!
Wolf |
|
|
|
| |
|
|
|
|
| July 29, 2008 @ 8:38pm | What images are you referring to? Images in a page should display the same on the printable version.
David |
|
|
|
|
|
|
| MEMBERS
|
|
|