DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Account Type

 7 Replies
 0 Subscribed to this topic
 40 Subscribed to this forum
Sort:
Author
Messages
New Around Here
Posts: 7
New Around Here

Is there an account type that would have full access to all portals/sub portals (Current and future), but not have access to run SQL commands/change server settings like a host account?

Veteran Member
Posts: 1182
Veteran Member
MVP
MVP
You're an MVP!

This is an interesting question. I can't remember about anything that let's you hide something from the PersonaBar based on roles, except some "hacks" with the stylesheets. Aaron Lopez wrote an article about Hide the PersonaBar from a Role in DNN.

This hides the whole PersonaBar, but maybe it's worth trying this (or at least something like this) with

#SqlConsole-panel { display: none; visibility: hidden; }

Happy DNNing!
Michael

Michael Tobisch
DNN★MVP

DNN Connect
New Around Here
Posts: 7
New Around Here
Thanks, I'll have a look.
I am new to DNN, I have some questions.
Hope you don't mind, I'll send them to you via DM.
Growing Member
Posts: 59
Growing Member
Posted By royovie on 31 Aug 2020 11:13 AM
Thanks, I'll have a look.
I am new to DNN, I have some questions.
Hope you don't mind, I'll send them to you via DM.

Hi,

If you post your quiestions here, you'll have more chances of getting them answered (although Michael knows a lot about DNN) and you'll be sharing knowledge with all our community ;-)

Thanks!
Francisco

 

 

New Around Here
Posts: 7
New Around Here

I linked a network drive using the UNC folder provider, Using the search feature on DNN. I find files based on content within the files, but searching for a part or even the exact name of a file known to exist sometimes find the file, often doesn't find the file.

New Around Here
Posts: 7
New Around Here

I develop module for DNN and i need to process HTTP request on backend and DNN throws error that there is no HTTPClient on DNN. Looks like something is wrong, could you please me how to make HTTP request on DNN?

Please see the code and error message below:

var client = new System.Net.Http.HttpClient();

var response = client.Get("http://api-develop.customer.site.com/api/quarterly-update); response.EnsureSuccessStatusCode();

var body = response.Content.ReadAsString();

var insight = JsonConvert.DeserializeObject(body);

Error CS0246: The type or namespace name 'HttpClient could not be found (are you missing a using directive or an assembly reference?)

Veteran Member
Posts: 1182
Veteran Member
MVP
MVP
You're an MVP!
Please open a new thread for each question.

Happy DNNing!
Michael

Michael Tobisch
DNN★MVP

DNN Connect
New Around Here
Posts: 7
New Around Here

I am doing it now, thanks

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved