MODx Community Forums
The MODx Blog
Donations
Feedburner Feeds
Documentation
Bugs & Requests
The Wiki
download MODx
plugins, modules, snippets
online demo
Nov 21, 2008, 07:24 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search via SMF
or Google:
modx forums
all of modxcms.com
web
MODxCMS.com
Forums
Help
Login
Register
News
:Donate to MODx:
Donations
MODx Community Forums
»
Support
»
General Support
»
MODx 101
»
manager user and Front end posting with Newspublisher?
Pages: [
1
]
Go Down
« Previous topic
Next topic »
Print
Author
Topic: manager user and Front end posting with Newspublisher? (Read 571 times)
0 Members and 1 Guest are viewing this topic.
DfX
Member
Posts: 91
manager user and Front end posting with Newspublisher?
«
on:
Oct 05, 2008, 02:45 PM »
Hi Ive recentlt decided to revisit modx, Iv been playing with it again and really do enjoy it.
But when I got to newspublisher I suddenly got frustrated again.
"Manager users are stored separately from web (front-end) users for security reasons. A web user cannot log into the back-end nor can a Manager user log into the web site (front-end)."
I suddenly remembered this was the most frusterating element I had with modx. For crying ou load I just want to have one user who is able to edit content from the front end, and If I want to I can go theough the backend as well. To accomplish this thus far, I installed the manager login snippet, which has the front end interface. Nice. And either modx or maxigallery must have done an amendment because Its working as planned, I can login as a manager user and still manage a gallery...
But When It comes to Newspublisher Im ready to pull out my hair. I remember this was such an issue before that someone came up wth a Web2Manger plugin. But I also thought it was going to be resolved another via another method in the core...
So I think I may be missing the latest info on this and unfortunately my searches are sending me in circles.
Basically the question is...
Cant manager users post a blog from the front end, too? Is it really necessary to have a separate login and user for that? Perhaps I have an older version of that snippet. Please point me in the right direction.
Thanks so much. Modx is vey cool..I jsut hope this kind of issue has been resolved. Or alternatives present. (other than 2 sepertae logins)
«
Last Edit: Oct 05, 2008, 04:27 PM by DfX
»
Logged
BobRay
Coding Team
Posts: 1,720
Re: manager user and Front end posting with Newspublisher?
«
Reply #1 on:
Oct 05, 2008, 04:55 PM »
This might help:
http://modxcms.com/forums/index.php/topic,14977.0.html
. I don't know why FDM isn't in the Repository.
The permission system for Modx Revolution (currently in alpha) is much different and should solve many of your problems.
NewsPublisher, IMO, is not that much easier than creating documents in the Manager and it's no use for editing them, so having manager users do all their work in the Manager isn't that much of a hardship.
Also, I think a manager user who wants to use NewsPublisher can always right-click on the document with the NewsPublisher call and select "preview."
Logged
MODx info for newbies:
http://bobsguides.com/MODx.html
dev_cw
Testers
Posts: 2,696
Re: manager user and Front end posting with Newspublisher?
«
Reply #2 on:
Oct 05, 2008, 05:18 PM »
Quote
I don't know why FDM isn't in the Repository.
Because it is officially in beta, although many have been using it.
I am pretty sure you can edit NewsPub to show for manager users.
Logged
Shane Sponagle
|
Snippet Call Anatomy
|
Document Specific Variables
Something is happening here, but you don't know what it is.
Do you, Mr. Jones? - [bob dylan]
DfX
Member
Posts: 91
Re: manager user and Front end posting with Newspublisher?
«
Reply #3 on:
Oct 05, 2008, 08:57 PM »
Thanks for the responses. I looked into FDM looks very promising.
I agree really it is easy to edit from the backend. But Im trying to streamline it for someone technically challenged. That is they get intimidated by too many options. In my opinion, as someone who usually codes in xhtml and css I find that Modx Is superior to many.
But the publication user mangement issue, i thought was fixed. I rember there was also a newmanager snippet that got close too it too.
I looked through FDM and its not working for me, yet. But I also see a lot of conflicts with my naming convention so Im not ready to dive into that one yet..Ill keep reading up on it though.
dev_Cw do you know where I can read more about editing NewsPub for manager users?
Thanks in advance.
!
Logged
BobRay
Coding Team
Posts: 1,720
Re: manager user and Front end posting with Newspublisher?
«
Reply #4 on:
Oct 05, 2008, 10:40 PM »
Quote from: dev_cw on Oct 05, 2008, 05:18 PM
Quote
I don't know why FDM isn't in the Repository.
Because it is officially in beta, although many have been using it.
I think it might be in permanent beta.
It's been there since May of 2007.
Logged
MODx info for newbies:
http://bobsguides.com/MODx.html
dev_cw
Testers
Posts: 2,696
Re: manager user and Front end posting with Newspublisher?
«
Reply #5 on:
Oct 06, 2008, 05:56 AM »
FDM should work.
Anyway a simple hack to make newsPub for managers only is to edit this code (it is the last bit of code for the snippet):
Code:
default:
// display news form
// check if user has rights to post comments
if(!$allowAnyPost && !$modx->isMemberOfWebGroup($postgrp)) {
$formTpl = '';
} else {
foreach($_POST as $n=>$v) {
$formTpl = str_replace('[+'.$n.'+]',$v,$formTpl);
}
}
// return form
return $message.$formTpl;
break;
change this line:
Code:
if(!$allowAnyPost && !$modx->isMemberOfWebGroup($postgrp)) {
to:
Code:
if(!$_SESSION['usertype'] === "manager") {
This worked for me in my test environment. Note, this will only allow manager users and it will allow any manager user. To limit it to a specific manager group will need more code.
About using the manager interface, my experience is that most users can handle it with a little initial coaching. You can slim it down by limiting the role (remove chunks, snippets) and now there is also the ManagerManager plugin that allows you to move things around and rename fields as well as add some nice widgets.
Logged
Shane Sponagle
|
Snippet Call Anatomy
|
Document Specific Variables
Something is happening here, but you don't know what it is.
Do you, Mr. Jones? - [bob dylan]
DfX
Member
Posts: 91
Re: manager user and Front end posting with Newspublisher?
«
Reply #6 on:
Oct 06, 2008, 10:34 AM »
Thank you!
Im not sure why its not working but it seems like a simple hack. This isn't just for comments is it?
Do I need to create a doc group or something?
Thanks for your assistance.
Logged
dev_cw
Testers
Posts: 2,696
Re: manager user and Front end posting with Newspublisher?
«
Reply #7 on:
Oct 06, 2008, 11:02 AM »
It should work. I have attached the entire file, maybe a typo or something.
NewsPublisher_ManagerUser.zip
(4.91 KB - downloaded 12 times.)
Logged
Shane Sponagle
|
Snippet Call Anatomy
|
Document Specific Variables
Something is happening here, but you don't know what it is.
Do you, Mr. Jones? - [bob dylan]
BobRay
Coding Team
Posts: 1,720
Re: manager user and Front end posting with Newspublisher?
«
Reply #8 on:
Oct 06, 2008, 11:36 AM »
Be sure to clear the site cache and your browser cache before testing the changed code.
Logged
MODx info for newbies:
http://bobsguides.com/MODx.html
DfX
Member
Posts: 91
Re: manager user and Front end posting with Newspublisher?
«
Reply #9 on:
Oct 06, 2008, 01:11 PM »
Still cant get it to work.
Im going to go through it thoroughly though and make sure Im doing the calls right.
Do I need any user groups set up? (I have two admins (managers) on my test site.
Ill keep digging, if its working for you its more likely I have an error somewhere in my set up. So ill double check before saying this fix doesnt work for me.
Thanks again for taking the time to do that..
Logged
BobRay
Coding Team
Posts: 1,720
Re: manager user and Front end posting with Newspublisher?
«
Reply #10 on:
Oct 06, 2008, 02:04 PM »
Check here to make sure you understand how permissions work. It's complicated:
http://wiki.modxcms.com/index.php/Document_Access_Permissions
Logged
MODx info for newbies:
http://bobsguides.com/MODx.html
DfX
Member
Posts: 91
Re: manager user and Front end posting with Newspublisher?
«
Reply #11 on:
Oct 06, 2008, 10:21 PM »
darn the point of course would be not to deal with that.
So far besides FDM (which I will try tackling soon) it looks like the only recourse is to creat web users with the same username and password and then use a plugin like web2manager to merge them. Of course that might not work either.
Thanks for the link. It has all those steps that ive dreaded...and still shows a separation between the users. Web and Manager--
I kinda get it but I kept hearing about how things would change so a year latre I hope they had.
It just seems too bad that really to have someone post from the frontend(news publisher) and be able to do basic edits (via quickedit)
The only solution still seems to be to have manager login and weblogin side by side with a replicate user/password. argghh.
I mean personally , I refer the manager side, but I can tell you without a flinch most people I make web sites for dont want to deal with it like that. We can probably thank popular applications like facebook and myspace for the "why cant I just update it from the page" request...
LOL----
Again really appreciate the support -thanks, Im kinda re-learning this all again..
«
Last Edit: Oct 07, 2008, 01:02 AM by DfX
»
Logged
dev_cw
Testers
Posts: 2,696
Re: manager user and Front end posting with Newspublisher?
«
Reply #12 on:
Oct 07, 2008, 06:03 AM »
what does your NewsPublisher call look like? You should not need to deal with permissions with the manager hack. There are some required fields that are native to NP. I have not used it much so I am not aware of the details.
I used it like this:
Code:
[!NewsPublisher? &folder=`2` &makefolder=`1` &clearcache=`1` !]
Logged
Shane Sponagle
|
Snippet Call Anatomy
|
Document Specific Variables
Something is happening here, but you don't know what it is.
Do you, Mr. Jones? - [bob dylan]
DfX
Member
Posts: 91
Re: manager user and Front end posting with Newspublisher?
«
Reply #13 on:
Oct 07, 2008, 09:38 AM »
well the issue appears to be this...
If I leave the document in the public view...
Even with the Hack..
People can still see the post blog link and then after clicking that the form is available. It may not accept the submission..is that what it does?
--thanks
Im going to go ahead and look at the FDM...appreciate all the pointers..
«
Last Edit: Oct 07, 2008, 11:02 AM by DfX
»
Logged
DfX
Member
Posts: 91
Re: manager user and Front end posting with Newspublisher? try FDM
«
Reply #14 on:
Oct 07, 2008, 11:33 PM »
Ok -So it looks like FDM will work for me, Although I only need its most basic functions (Its quite a robust one), I finally figured out how to get it to work...
-Phew-
Just got to do some cleaning up. This definitely should be the next step toward the evolution of blog type posting and modx (with all due credit to previous tools too). IMO-Its really great to be able to have Manager users go in and post a quick note/doc from the front end while still also being able to use Quickedit on those created docs and more. It provides a simple way for some users to just not deal with all the rest of the 'fun stuff'.
While providing more experienced users an alt. with the flexible backend mgt.
Very impressive, I knew modx would not let me down. Glad to be back.
i look forward to learning more..thanks so much for your assistance.
Logged
Pages: [
1
]
Go Up
Print
« Previous topic
Next topic »
Jump to:
Please select a destination:
-----------------------------
Announcements
-----------------------------
=> Important News
=> Security Notices
-----------------------------
Commercial Support
-----------------------------
=> [CS] About Commercial Support
-----------------------------
Development & Coding
-----------------------------
=> Commercial Inquiries & Bounties
=> Core Code
===> MODx Next
===> xPDO
=> Module, Plugin & Snippet Creation and Modification
=> In Development
=> Templates
=> Internationalization
===> Bulgarian
===> Chinese
===> Czech
===> Dutch
===> French
===> German
===> Irish
===> Italian
===> Japanese
===> Polish
===> Portuguese
===> Russian
===> Slovak
===> Spanish
===> Swedish
===> Persian - فارسي
-----------------------------
Support
-----------------------------
=> Release Support
===> 0.9.6.2
===> 0.9.6.1
===> 0.9.6
===> 0.9.5 and earlier
=> General Support
===> MODx 101
===> E-Commerce, E-Marketing, Analytics & SEO
===> Hosting Experiences
===> IIS / Windows Hosting Issues
=> Documentation, Tips & Tricks
===> Documentation Suggestions & Corrections
-----------------------------
Add-ons, Extensions & Elements
-----------------------------
=> Module, Plugin & Snippet Usage
=> General Repository Items Support
=> Navigation & Tagging/Taxonomy
===> Wayfinder & DropMenu
=> Creating & Repurposing Content
===> Ditto
===> Jot
===> QuickEdit
=> Users, Authentication & Personalization
===> WebloginPE
===> WebLogin, WebSignup and WebChangePwd
=> Rich Text Editors & File Browser
===> TinyMCE
===> FCKeditor
===> MCPuck File Browser
=> Forms, Form Processing & Anti-Spam
===> eForm
=> Search
===> AjaxSearch
=> E-business
=> Polls, Calendars, Address Book and Community
=> Third-party integrations
=> Images, Videos & Podcasts
===> MaxiGallery
=> Manager, Parser & the Core
===> Backup & Versioning
===> Doc Finder
===> ManagerManager
===> PHx
=> Templates
-----------------------------
General Discussions
-----------------------------
=> General MODx Discussions
=> Web Design and Development
=> Wishlist
=> You and Your Sites
=> modxcms.com Discussions and Suggestions
=> Off-topic
-----------------------------
Czech Community
-----------------------------
=> Oznámení
===> Důležitá oznámení/novinky
===> Bezpečnost
=> Podpora
===> FAQ (často kladené otázky)
===> Instalace
===> Moduly, pluginy, "snippets & code" (šablony zdrojových kódů)
===> Design & Šablony
=> Dokumentace, tutoriály (návody) a překlady
===> Dokumentace
===> Tutoriály (návody)
===> Překlady (lokalizace)
=> Komunita
===> Oznámení
===> Představte se, prosím
===> Ukázky práce
===> Různé aneb cokoli co se jinam nehodí
-----------------------------
Bulgarian Community
-----------------------------
=> Поддръжка
===> Често задавани въпроси
===> Инсталация
===> Модули, Плъгини, Снипети и код
===> Дизайн и Шаблони
=> Документация, Ръководства и Превод
===> Документация
===> Ръководства
===> Превод
=> Общество
===> Съобщения
===> Представете се
===> Представете сайта си
===> Дискусии извън MODx
-----------------------------
Dutch Community
-----------------------------
=> Ondersteuning
===> Veel gestelde vragen
===> Modules, Plugins, Snippets & Code
===> Design & Templates
=> Documentatie, Tutorials en Vertalingen
===> Documentatie
===> Tutorials
===> Vertalingen
=> Community
===> Aankondigingen
===> Stel jezelf voor
===> Site Showcase
===> De stamkroeg
-----------------------------
Finnish Community
-----------------------------
=> Tuki
===> UKK
===> Asennus
===> Moduulit, liitännäiset, koodinpätkät
===> Ulkoasu/Sivustopohjat
=> Dokumentaatio, oppaat ja käännökset
===> Dokumentaatio
===> Käännökset
===> Oppaat
=> Yhteisö
===> Tiedotteet
===> Esittele itsesi
===> MODx sivustosi
===> Kahvihuone
-----------------------------
Filipino Community
-----------------------------
=> Suporta
===> Kadalasang tanong
===> Instalasyon
===> Moduler, Maidadagdag, Karagdagang mga Code
===> Desenyo at Templates
=> Dokumentasyon, Mga Turo, Mga Salin
===> Dokumentasyon
===> Mga Turo
===> Mga Salin
=> Kumunidad
===> Anunsyo
===> Ipakilala ang sarili
===> Ang Galing ng pinoy
===> Tsismisan atbp
-----------------------------
French Community
-----------------------------
=> Support
===> FAQ
===> Installation
===> Module, plugin, snippets
===> Design/Templates
=> Documentation, Tutoriels et Traductions
===> Documentation
===> Traduction
===> Tutoriels
=> Communauté
===> Annonces
===> Présentez vous
===> Vos sites
===> Le Bistrot Français
-----------------------------
German Community
-----------------------------
=> Support (de)
===> FAQ (de)
===> Installation (de)
===> Module, Plugins, Snippets & Code (de)
===> Design & Templates (de)
=> Dokumentation, Tutorials und Übersetzung
===> Dokumentation
===> Tutorials (de)
===> Übersetzung
=> Community (de)
===> Ankündigungen
===> Stellt Euch vor
===> Beispielseiten
===> Off Topic / Verschiedenes
-----------------------------
Irish Community
-----------------------------
=> Tacaíocht
===> CC Ceisteanna Coitianta
===> Breiseáin (cláir bhreise), Snippets & Comhaid
===> Suiteáil
===> Dearadh & Teimpléid
=> Doiciméid, Teagascóireacht agus Aistriúchán
===> Doiciméadú
===> Teagascóireacht
===> Aistriúchán
=> Pobal
===> Fógraí
===> Cuir Tú Féin in Aithne
===> Gailearaí an Láithreáin
===> Caifé / An Tábhairne / Ábhar Cainte Eile / Ilghnéitheach
-----------------------------
Italian Community
-----------------------------
=> Supporto
===> FAQ
===> Installazione
===> Moduli, Plugin, Snippet e altro codice
===> Web Design e Template
=> Documentazione, Tutorial e Traduzione
===> Documentazione
===> Tutorial
===> Traduzione
=> Comunità
===> Annunci
===> Presentazioni
===> Siti in vetrina
===> Chiacchiere in libertà
-----------------------------
Japanese Community
-----------------------------
=> サポート
===> 良くある質問
===> インストール
===> モジュール・プラグイン・スニペット・本体
===> デザインやテンプレート
=> マニュアル・テュートリアル・翻訳
===> マニュアル
===> 事例集、テュートリアル
===> 日本語化
=> コミュニティ
===> お知らせ
===> MODxサイト展示場
===> 自己紹介
===> 雑談
===> 国産リソース
-----------------------------
Persian Community
-----------------------------
=> پشتيباني
===> راهنما
===> نصب
===> ماژول , پلاگین ها , کد ها و جزییات
===> طراحی و قالب ها
=> مستند سازی , آموزش ها و ترجمه ها
===> مستند سازی
===> آموزش ها
===> ترجمه ها
=> انجمن ها
===> اخبار
===> معرفی کردن خود
===> نمایش دادن سایت ها
===> بحث های عمومی و سایر موضوعات
-----------------------------
Polish Community
-----------------------------
=> Wsparcie
===> FAQ
===> Instalacja
===> Moduły, pluginy, snipety i kod
===> Wygląd i szablony
=> Dokumentacja, tutoriale i tłumaczenie
===> Dokumentacja
===> Tutoriale
===> Tłumaczenie
=> Społeczność
===> Ogłoszenia
===> Przedstaw się
===> Twój serwis WWW
===> Hyde Park
-----------------------------
Portuguese Community
-----------------------------
=> Suporte
===> FAQ - Dúvidas Frequentes
===> Instalação
===> Módulos, Plugins, Snippets e Código
===> Design e Templates
=> Documentação, Guias e Traduções
===> Documentação
===> Guias
===> Traduções
=> Comunidade
===> Anúncios
===> Apresente-se!
===> Bar da esquina (fora de tópico)
===> Portfólio de Sites
-----------------------------
Russian Community
-----------------------------
=> Поддержка
===> ЧАВО (FAQ)
===> Установка
===> Модули, плагины, сниппеты и код
===> Дизайны и шаблоны
=> Документация, Уроки, Перевод
===> Документация
===> Уроки
===> Перевод
=> Сообщество
===> Объявления
===> Представьтесь публике
===> Галерея сайтов
===> Диван
-----------------------------
Scandinavian Community
-----------------------------
=> Support
===> Frågor och svar
===> Installation
===> Moduler, plugins, snippets och kod
===> Design & sidmallar
=> Dokumentation, guider och översättningar
===> Dokumentation
===> Guider
===> Översättningar
=> Webbgemenskap
===> Meddelanden
===> Presentera dig själv
===> Visa upp dina webbsidor
===> Ordet fritt
-----------------------------
Spanish Community
-----------------------------
=> Soporte
===> FAQ
===> Instalación
===> Modulos, Plugins, Snippets & Código
===> Diseño y plantillas
=> Documentación, Tutoriales y Traducciones
===> Documentatción
===> Tutoriales
===> Traducciones
=> Comunidad
===> Anuncios
===> Presentaciones personales
===> Muestra de sitios
===> El Café
-----------------------------
TÜRKÇE (Turkish)
-----------------------------
=> Destek
===> SSS
===> Kurulum
===> Modüller, Pluginler, Snippetlar & Kodlar
===> Dizayn & Temalar
=> Belgeleme, Eğitmenler ve Çeviri
===> Belgeleme
===> Eğitmenler
===> Çeviri
=> Topluluk
===> Duyurular
===> Kendinizi Tanıtın
===> Site Vitrini
===> Konu Dışı