Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 01-15-2017, 03:05 PM
Dinocanid's Avatar
Dinocanid Dinocanid is offline
Member
 
Join Date: Aug 2016
Location: Maryland, USA
Posts: 516
Gender: Unknown/Other
Credits: 79,460
Dinocanid is on a distinguished road
Default PM several/all members

Has anyone figured out how to PM several members at once, or maybe all of them? I read there was supposed to be something like this included in the news mod, but that chunk of the code was never written.
__________________
Reply With Quote
  #2  
Old 01-18-2017, 01:40 PM
JeVousDefie JeVousDefie is offline
Member
 
Join Date: Jan 2017
Location: Florida :(
Posts: 1
Gender: Female
Credits: 770
JeVousDefie is on a distinguished road
Default

I can think of 2 possible PHP ways to do this:

1. If you want to send the message massively, individually, so that in replying, the user is only replying to the sender: Have you tried to list the usernames/IDs into an array, then loop through the array, sending the mass message?

2. If you want to send the message as a "group", meaning that users can all see who is added to the message, and when replying, replies to the group as a whole, you could use a forum type of functionality. Of course, it would be private, and only individuals added to that message could send/receive messages on it.

Please note, I have not started using Mysidia, however, I'm an active PHP Programmer for other sites, and to my knowledge, Mysidia basically uses OOP PHP for it's scripting, therefore, the same concepts should apply.

Last edited by JeVousDefie; 01-18-2017 at 01:41 PM. Reason: Quick notice addition
Reply With Quote
  #3  
Old 01-18-2017, 02:49 PM
IntoRain's Avatar
IntoRain IntoRain is offline
Moderator
 
Join Date: Jul 2013
Location: Portugal
Posts: 461
Gender: Female
Credits: 20,966
IntoRain is on a distinguished road
Default

I will try to update that mod once I have more free time (sorry, coming back from a hiatus, so I'm still trying to refresh my memory) and add that notification feature.

But until then, like JeVousDefie said, you need to make a database call to get all usernames and then do something similar to the function post() inside class_privatemessage.php to send a message to each username
__________________


asp.net stole my soul.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 03:52 AM.

Currently Active Users: 1228 (0 members and 1228 guests)
Threads: 4,081, Posts: 32,032, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636