The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Revoking Reputation Votes?

4 posters

Go down

Solved Revoking Reputation Votes?

Post by Beyonder May 16th 2023, 7:40 pm

My apology in advance if this isn't the proper section but I am wondering about the Reputation system and if there is any way to "undo" a cast vote? any and all help will be greatly appreciated.

I did copy Improve the reputation system so it counts votes by Ange Tuteur

It does state this within the code:

Code:
 // revoke voting capabilities on the post once the vote is cast
                    for (; i < j; i++) {
                      vote[i].href = '#';
                      vote[i].className = vote[i].className.replace(/fa_vote/, 'fa_voted');
                      vote[i].onclick = function() { return false };
                    }
           
                    return false;
                  },
             
                  vote = $('.vote'), i = 0, j = vote.length,
                  version = $('.bodylinewidth')[0] ? 0 :
                            document.getElementById('phpbb') ? 1 :
                            $('.pun')[0] ? 2 :
                            document.getElementById('ipbwrapper') ? 3 :
                            document.getElementById('modernbb') ? 4 :
                            $('body')[0] ? 5 :
                            'badapple', // version check
           

and upon testing it says "MISSING_STRING's post" instead of the user's own name when upvoting the person. scratch


Last edited by Beyonder on May 21st 2023, 6:27 pm; edited 1 time in total
Beyonder
Beyonder
Forumember

Male Posts : 726
Reputation : 29
Language : English
Location : Beyond Realm

http://fictionalomniverse.forumotion.com/

Back to top Go down

Solved Re: Revoking Reputation Votes?

Post by Razor12345 May 17th 2023, 9:49 am

Good afternoon!

Provide all of the code you are using, not part of it.
-----------------
I would not recommend playing with functionality that is not provided by the server.
Do not confuse changing the appearance of a system with changing the logic of a system. The tutorial you gave is about changing the appearance of the system. You want to change the logic of the system.
The forums do not provide an option to delete voting.
In any case, any decision may adversely affect the operation of this function. You can break the logic of data transfer/storage.

I would rather ask in the future to add the ability to delete a vote in the relevant section.
Razor12345
Razor12345
Support Moderator
Support Moderator

Male Posts : 1594
Reputation : 270
Language : Ukr, Rus, Eng
Location : Ukraine

TonnyKamper and Beyonder like this post

Back to top Go down

Solved Re: Revoking Reputation Votes?

Post by Niko May 17th 2023, 12:09 pm

@Beyonder you may rename the options "Like" and "Dislike" and use it as a sort of voting system. The option of likes allows to undo the action, so you may use it in this way :bene:

https://help.forumotion.com/t159416-customization-of-the-new-like-system-via-the-administration-pannel
Niko
Niko
Helper
Helper

Male Posts : 3326
Reputation : 256
Language : English, Italian, French
Location : Italy

https://www.fmcodes.net/

TonnyKamper and Beyonder like this post

Back to top Go down

Solved Re: Revoking Reputation Votes?

Post by Beyonder May 17th 2023, 6:08 pm

Razor12345 wrote:Good afternoon!

Provide all of the code you are using, not part of it.
-----------------
I would not recommend playing with functionality that is not provided by the server.
Do not confuse changing the appearance of a system with changing the logic of a system. The tutorial you gave is about changing the appearance of the system. You want to change the logic of the system.
The forums do not provide an option to delete voting.
In any case, any decision may adversely affect the operation of this function. You can break the logic of data transfer/storage.

I would rather ask in the future to add the ability to delete a vote in the relevant section.

Thats dishearting to hear!

Edit 12:49:53 05.17.2023: Made a thread for such a suggestion! Revamping the Reputation System with revoking/resetting features?
Beyonder
Beyonder
Forumember

Male Posts : 726
Reputation : 29
Language : English
Location : Beyond Realm

http://fictionalomniverse.forumotion.com/

Back to top Go down

Solved Re: Revoking Reputation Votes?

Post by skouliki May 18th 2023, 9:48 am

When your request is completed or answered, please mark it as Solved.
skouliki
skouliki
Manager
Manager

Female Posts : 15408
Reputation : 1709
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Revoking Reputation Votes?

Post by skouliki May 22nd 2023, 7:14 am

Problem solved & topic archived.
Please read our forum rules: ESF General Rules
skouliki
skouliki
Manager
Manager

Female Posts : 15408
Reputation : 1709
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum