| We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
- Pages:
- 1
- 2
| [ C ] Edit Alert | |
|---|---|
| Tweet Topic Started: Jul 14 2015, 11:18 AM (766 Views) | |
| JamieMN | Jul 14 2015, 11:18 AM Post #1 |
|
Member
![]() ![]() ![]() ![]() ![]()
|
I'm using a "Reason for Edit" modification [Code below] for my forums, is there a way we can do it so when someone edits a topic, it sends an alert [PM] to Staff members?
|
![]() |
|
| Replies: | |
|---|---|
| Cory | Jul 31 2015, 12:34 AM Post #16 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I'm pretty sure you can send the edit alert PM to an indefinite amount of users. Though, each user the PM is sent to will require an additional AJAX request. |
![]() |
|
| JamieMN | Jul 31 2015, 02:41 AM Post #17 |
|
Member
![]() ![]() ![]() ![]() ![]()
|
I don't think an additional AJAX would be a problem.
|
![]() |
|
| Cory | Jul 31 2015, 05:30 PM Post #18 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Fellow coders, can I make this work with a for loop and array, or some other way to send to multiple users? I currently can only get the code to process for one user only:
|
![]() |
|
| DaPizzaMan | Aug 4 2015, 07:05 PM Post #19 |
![]()
#TeamSupport
![]()
|
Have you tried something along the lines of this? |
![]() |
|
| Cory | Aug 5 2015, 02:01 AM Post #20 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
It appears a function does the trick:
|
![]() |
|
| JamieMN | Aug 21 2015, 07:18 AM Post #21 |
|
Member
![]() ![]() ![]() ![]() ![]()
|
Thanks Cory! Request is complete. ^^ |
![]() |
|
| Roby | Aug 22 2015, 09:42 AM Post #22 |
![]()
#27
![]()
|
Completed! Your request has been completed. If you have any questions or concerns regarding the state of your request, please feel free to contact me via PM. |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Closed Requests · Next Topic » |
- Pages:
- 1
- 2
| Track Topic · E-mail Topic |
8:17 PM Jul 10
|


![]](http://b1.ifrm.com/0/1/0/p601690/pipright.png)





8:17 PM Jul 10