This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Notice box potential
#8
RE: Notice box potential
I think he is looking for a script of some sort that will update the client notice on multiple servers with the same info as server 1 (for example). As explained, currently you would have to log into each server to update the client notice manager. Basically a global client manager.

To answer your question StefanMNS, currently there is no such script.

Running through it in my head right now, it should be very simple to create.

  1. Create new Client Notice
  2. Parse list of all of your mysql servers and connection info
  3. Connect server 1 => UPDATE x_accounts ac_notice_tx WHERE ac_reseller_fk = 'n'; (n = reseller user ID #)
  4. Connect server 2 => UPDATE x_accounts ac_notice_tx WHERE ac_reseller_fk = 'n'; (n = reseller user ID #)
  5. Connect server 3 => UPDATE x_accounts ac_notice_tx WHERE ac_reseller_fk = 'n'; (n = reseller user ID #)
  6. ---repeat until end of server list---
This would be a very useful admin module.
-TGates - Project Council

SEARCH the Forums or read theĀ DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:


Messages In This Thread
Notice box potential - by StefanMNS - 02-10-2015, 10:58 PM
RE: Notice box potential - by Ron-e - 02-10-2015, 11:39 PM
RE: Notice box potential - by StefanMNS - 02-20-2015, 01:26 AM
RE: Notice box potential - by Me.B - 02-20-2015, 01:34 AM
RE: Notice box potential - by Ron-e - 02-20-2015, 01:47 AM
RE: Notice box potential - by StefanMNS - 02-20-2015, 06:57 AM
RE: Notice box potential - by MarkDark - 02-20-2015, 01:35 PM
RE: Notice box potential - by TGates - 02-20-2015, 04:32 PM
RE: Notice box potential - by StefanMNS - 02-21-2015, 02:44 AM
RE: Notice box potential - by TGates - 02-21-2015, 04:04 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Disabling warning and notice logging in /var/sentora/logs/domains/* JSmith 0 2 ,776 01-02-2021, 07:50 PM
Last Post: JSmith
Client Notice Manager wormsunited 8 19 ,846 07-12-2016, 04:06 AM
Last Post: TGates
Client Notice Manager - TinyMCE Fuzzy 3 10 ,130 10-08-2015, 05:34 AM
Last Post: Fuzzy

Forum Jump:


Users browsing this thread: 1 Guest(s)