Change user posts automatically
+2
Ape
TamDonCo
6 posters
Page 1 of 1
Change user posts automatically
Hi All
Is it anyway to have script/code to change the contents of specific user posts instead of keeping ban him/her ?
Is it anyway to have script/code to change the contents of specific user posts instead of keeping ban him/her ?
Last edited by TamDonCo on Mon Jul 04, 2016 5:57 pm; edited 1 time in total
Re: Change user posts automatically
Hello im not sure i get what you mean can you be a little more precise on what your trying to do ?
Re: Change user posts automatically
I have a user who spams a forum, I just want change his/her post to the word "spam" automatically by using script/code instead ban him/her . s/he has nothing to do
Re: Change user posts automatically
So you want a script that will automatically find when a user is spamming?
Or you want to change all posts from a specific user?
Or you want to change all posts from a specific user?
Re: Change user posts automatically
but would it be better just to ban them member for a set time and then if they keep sending spam ban then long term.
and if you ban them long term you can use this to remove all there posts all in one go
https://help.forumotion.com/t134526-remove-messages-of-a-member
Remember your forum will not look good if you have members posting spam your better off getting rid of them before it gets to bad.
and if you ban them long term you can use this to remove all there posts all in one go
https://help.forumotion.com/t134526-remove-messages-of-a-member
Remember your forum will not look good if you have members posting spam your better off getting rid of them before it gets to bad.
Re: Change user posts automatically
Also if you give me time, I could get a code that would hide all messages from a specific user.
Re: Change user posts automatically
Ace 1 wrote:Also if you give me time, I could get a code that would hide all messages from a specific user.
sounds wonderful
either hide or delete is good for me
I do not want other members get sick of it
Thanks a lot
Thanks APE for the deleting code, I try later
Re: Change user posts automatically
I just try above code, nothing happens ..
Do I have to turn on HTML page somewhere ???
Do I have to turn on HTML page somewhere ???
Re: Change user posts automatically
Yes you do. And I recommend hiding the messages so you have evidence of the spam. But if it doesn't matter, then Ape's link should solve your problem.
Re: Change user posts automatically
I found it but still does not work, Do I need to put HTML file in specific page/location ?
Re: Change user posts automatically
Hello,
To create a new html page or modify a current one go to: ACP (Admin panel)-->Modules--->HTML Pages management
-Brandon
To create a new html page or modify a current one go to: ACP (Admin panel)-->Modules--->HTML Pages management
-Brandon
Remember to mark your topic when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?
Team Leader
Review Section Rules | Request A Review | Sticker Points
Re: Change user posts automatically
How i do this is to add it to your toolbar and then only set it to your Admin's
This is how its done.
ACP >> Display Tan >> Homepage >>
Now your see this page you need to set it as you wish but i have set this as i would use it
Then you need to open a new window on your browser and go get your URl of your page
head to
ACP >> Modules tab >> HTML & JAVASCRIPT >>
Now you will have your tool in your navbar and only admins can see it
if you want to give this right to other staff then you just need to change it from admin to admin and mods
To turn on your HTML go ACP >> General Tab >> Messages and e-mails >> Configuration >> Allow HTML : YES SAVE don't got get to go to your profile and set it to yes aswell
This is how its done.
ACP >> Display Tan >> Homepage >>
- Headers & Navigation >> Add a custom menu >>
Now your see this page you need to set it as you wish but i have set this as i would use it
Then you need to open a new window on your browser and go get your URl of your page
head to
ACP >> Modules tab >> HTML & JAVASCRIPT >>
- HTML pages management >> find your URL in the list and copy the url now head back to the settings you are making the navbar in and then paste the code then save,
Now you will have your tool in your navbar and only admins can see it
if you want to give this right to other staff then you just need to change it from admin to admin and mods
To turn on your HTML go ACP >> General Tab >> Messages and e-mails >> Configuration >> Allow HTML : YES SAVE don't got get to go to your profile and set it to yes aswell
Re: Change user posts automatically
if your still having problems and you have a test account on your forum with admin rights i will be happy to set this up for you.
All you have to do is PM me a test account Not founders account thou and i will install this for you but its better if you give this a go first.
Remember you should not post your admin account in full public view only by pm to staff members.
All you have to do is PM me a test account Not founders account thou and i will install this for you but its better if you give this a go first.
Remember you should not post your admin account in full public view only by pm to staff members.
Re: Change user posts automatically
Do you have the feature activated where ban members' messages are hidden?
Administration Panel > Messages & E-Mails > Configuration
Topics Section
Hide messages from banned members:
Administration Panel > Messages & E-Mails > Configuration
Topics Section
Hide messages from banned members:
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Change user posts automatically
That option still allows users to read the messages by clicking "Read the message" I believe.
Re: Change user posts automatically
I know. It gives the staff team time to remove them or delete.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Change user posts automatically
APE
Thank You very much, it works good but I still like Ace 1 idea
ACE 1
It 's very useful to hide than delete just in case I want something back
Thanks in advance for your code
Thank You very much, it works good but I still like Ace 1 idea
ACE 1
It 's very useful to hide than delete just in case I want something back
Thanks in advance for your code
Re: Change user posts automatically
Oh @TamDonCo I'm so sorry I forgot to give you the script.
Administration Panel >> Modules >> HTML & Javascript >> Javascript codes management >> Create a new javascript
Title: Hidden Messages
Placement: In all the pages
Code:
And this should hide all posts from banned members. If you want to hide all posts from a specific user just let me know
Administration Panel >> Modules >> HTML & Javascript >> Javascript codes management >> Create a new javascript
Title: Hidden Messages
Placement: In all the pages
Code:
- Code:
$(function() {
var $link = $('a[id^="hidden-title"]');
var $post = $link.parents(".post.row2");
$post.css("display","none");
});
And this should hide all posts from banned members. If you want to hide all posts from a specific user just let me know
Re: Change user posts automatically
Ace 1 :
I thinks we have a setting to hide message from ban members already
I want to to hide all messages of certain members so NO ONE can see his/her messages, is it possible ?
I thinks we have a setting to hide message from ban members already
I want to to hide all messages of certain members so NO ONE can see his/her messages, is it possible ?
Re: Change user posts automatically
Oh alright. Then create a new javascript with the following code:
is the URL of the user that you want to hide their posts.
- Code:
$(function() {
$('a[href="/u1"]').parents("div.post").css("display", "none");
});
|
Re: Change user posts automatically
Alright let me know how it works out.
And I think you should still use the first script because it hides banned messages.
And I think you should still use the first script because it hides banned messages.
Re: Change user posts automatically
Ace 1 wrote:Alright let me know how it works out.
And I think you should still use the first script because it hides banned messages.
wow, it works perfectly
Thanks a lot
it 's wonderful if you have IF condition to allow owner to see the messages his/her self
Re: Change user posts automatically
There is a way to do this but I don't think I know how. Kinda over my head
Re: Change user posts automatically
Hello is this topic solved ? Please mark your topic as Solved if it is completed. Thank you.
|
Re: Change user posts automatically
Problem solved & topic archived.
|
Similar topics
» Can I make pets level up from a value of a user automatically?
» How to automatically remove posts with certain vocabulary in them?
» Automatically save posts in progress
» View latest posts automatically
» How or can you when a new user register he gets a message from the owner automatically.
» How to automatically remove posts with certain vocabulary in them?
» Automatically save posts in progress
» View latest posts automatically
» How or can you when a new user register he gets a message from the owner automatically.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum