members can post articles???

How can I shut off the function that allows my member / customers from posting admin type articles on the homepage???

 

thanks

Quote · 2 Jun 2008

Hello!

Try to apply nexty solution:

Find in inc/classes/BxDolArticles.php file next strings:

function ActionAddUpdateElements() {
$sActionText = '';

and change it to

function ActionAddUpdateElements() {
$sActionText = '';

if (! $this->bAdminMode) return '';

Regards

Quote · 2 Jun 2008

Thanks CitizenKane.  I needed that info also.  It seems to work nicely.  You may also want to comment out row 49 so that the "add new article" link isn't visible.

Quote · 2 Jun 2008

thanks for your reply and suggestion, but I added that line of text in the php, and it has not removed the add article link or functionality from the page...

 

any other suggestions??

 

 

Quote · 2 Jun 2008

ohhh I see....

 

it does not post now but it still allows you to enter the html editor

 

how do I remove the link??

 

THANK YOU SOOO MUCH!!

 

Quote · 2 Jun 2008

Not sure if you figured this out but I think what LHAdmin was referring to is commenting out with // like:

from:

$sAddNewArticleC = _t('_Add New Article');

to:

//$sAddNewArticleC = _t('_Add New Article');

That will hide the link and be invisible to your members, however it does not stop anyone from entering the form by:

yoursite.com//articles.php?action=addarticle


but if what citizenkane told you to edit above made it so members can no longer add articles then even if they actually found the edit addarticle page they wouldn't be able to post anyway.

Good Luck!!

gameutopia

DialMe.com - Your One and Only Source For Boonex Dolphin Tutorials and Resources
Quote · 8 Jun 2008

I found that if you comment out //$sAddNewArticleC = _t('_Add New Article'); that you also loose this link in the Admin Panel. So would the best solution not be to

Find:

if ($this->bAdminMode || $this->iVisitorID)


And change to:

if ($this->bAdminMode )


This will make this link invisible to non admin and visitors but will keep the link in the Admin Panel.

http://www.truckbuddies.com/articles

Quote · 17 Aug 2008

Hi,

I've found that I have just the oposite problem. As Admin I can add articles, but members can't.

As a member I can type in an article title, but nothing below that line, and after hitting submit there is no article listed.

Any ideas?

Thanks,

Gary

Quote · 2 Jun 2009

ok my problem is 360% different, How can I let members post? I dont see how to do this

 

Anthony

Quote · 10 Oct 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.