Bitcoin Forum
June 24, 2024, 05:37:09 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Merit option for poster  (Read 122 times)
promise444c5 (OP)
Full Member
***
Offline Offline

Activity: 322
Merit: 180


Keep Promises !


View Profile
June 03, 2024, 12:21:56 PM
 #1

We are all used to seeing the merit button on every post, even on self posts...
Recently I wonder why there's a merit button on my post so I tried to give it a try using one of my post  Cheesy
Here was my result:





It's just like a camouflage.... why not just hide it for self posts???

Hazink
Member
**
Offline Offline

Activity: 129
Merit: 85

Defend Bitcoin and its PoW: bitcoincleanup.com


View Profile
June 03, 2024, 12:28:02 PM
 #2

It has always been there; if you try sending it, it won’t go through, just as it displayed on that screenshot you shared. I also saw about two similar threads where the user was confused about whether she could merit herself or not.

Fiatless
Hero Member
*****
Online Online

Activity: 588
Merit: 564



View Profile
June 03, 2024, 12:46:16 PM
 #3

It has always been there; if you try sending it, it won’t go through, just as it displayed on that screenshot you shared. I also saw two similar threads where the user was confused about whether she could merit herself or not.
I have not tried this option, but since I have never seen anybody meriting his post, I believe that it cannot be done. Removing the option from post is a good option but since it cannot be done, it's not a big deal.



               ▄██▄▄                          ▄████
             ▄█▀   ▀▀▄▄                    ▄█▀▀   ▀█▄
            █▀         ▀▄                ▄█▀        █▄
           █▀   ▄█▄▄            ▄▄▄▄▄▄███▀      ▀▄   █▄
          ▄█   ▄█▀███▄▄                          █   ▀█
          █    ▀   ▀████▄   ▄▄▄▄▄▄▄▄▄▄▄▄▄▄        █   █▄
          █         ▀████████████████████████▄▄▄      ██
         ██        ▄██████████████████████████████▄    ▀█▄
        ▄█▀     ▄████████████▀▀▀▀▀▀▀▀▀▀█████████████▄▄   ▀█▄
      ▄█▀     █████████████              ▀▀████████████▄   █▄
    ▄█▀        ▄██████████████▀▀█▄    ▄▄     █  ▀██ ▀███▄   ██
   ███▄▄     ▄███████████▀▀           ▀██▄        ▀  ▀▀     █▀
     █▀     ███████████▀                               ▄▀   ██
    █▀    ▄██████████▀                       ▄▄▄       ▀   ▄█
   █▀    ▄██████████▀           ▄▄      ▀▀████████▄         ▀██▄
  █▀    ▄███████████          ▄██▀   ▀▀█▄   ▀███████▄▄▄██▄▄   ▀██▄
 █▀     ▀▀▀▀▀▀██████         ████      ▀██▄  ▀████████   ▀▀▀    ▀█▄
▄█              ▀▀█           ████  ▄▄█▄▄███▄  ▀██████           ▀█▄
██▄▄▄▄▄                       █████  ▀▀▀▀▀▀▀▀▀   ▀████▄           ██
       ▀▀▀▀▀▄▄▄                █████▄▄▄            ▀▀▀▀▀▀        ▄██
               ▀▀▀▄▄           ▀█████████████████▄▄          ▄▀▀▀
                    ▀▀▄▄         ▀▀▀▀▀▀▀▀▀▀▀▀▀▀    ▀
                        ▀
.
.BETFURY..
|
         ▄▄▄▄▄████▀▄▄▄
      ▄███▀▀▀█▀▀  ▄████▄
    ▄██     ▀       ▀▀███▄
  ▄██   ▄██▄    ▄█▄   ▀████▄
 ██▀    ████▀▀▀▀▀▀█     ▀███
██▀   ▄███   ███▄▄▄█▄    ▀███
██    ███  ▄█▀▀█▀▀███     ███
██    ███▄▄██ █▄█▄ ███    ██▀
██        ▀▀█▄▄▄▄▄▄█▀     ██
██▄   ▄  ▄▄▄ ▄▄▄  ▄▄     ▄█▀
 ██▄█▀  █▄▄█ █▄  █ ▄▄   ▄██
  ███   █▄▄█ █   █▄▄█  ▄█▀
   ████▄             ▄██▀
    ▀█▀█▄▄█▄▄▄▄▄▄▄███▀
       ▀▀▀████▀▀▀▀
WIN REAL CRYPTO IN THE REAL DROP
JOIN $20,000,000 CRYPTODROP
|Join Fury Game
Get Free Crypto
BFG, USDT, BTC, ETH
|▄████████████████████████▄
██████████████████████████
████▀▀▀▀▀██████████▀▀▀████
████▄ ▀█▄ ▀██████▀  ▄█████
██████▄ ▀█▄ ▀██▀  ▄███████
████████▄ ▀█▄   ▄█████████
██████████▄ ██ ▀██████████
█████████▀   ▀█▄ ▀████████
███████▀  ▄██▄ ▀█▄ ▀██████
█████▀  ▄██████▄ ▀█▄ ▀████
████▄▄▄██████████▄▄▄▄▄████
 ████████████████████████
▄█████████████████████▄
███████████████████████
████████████████▀▀█████
███████████▀▀▀    █████
██████▀▀▀   ▄▀   ██████
███▄     ▄█▀     ██████
██████▄ █▀      ███████
███████▌▐       ███████
████████ ▄██▄  ████████
██████████████▄████████
███████████████████████
▀█████████████████████▀
...PLAY...
[/tr
Beparanf
Hero Member
*****
Offline Offline

Activity: 2800
Merit: 766


Burpaaa


View Profile
June 03, 2024, 12:49:22 PM
 #4

I think due to SMF limitations or its an additional work to hide to own post while it doesn’t give bad effect by having a useless merit button on your own thread.

It’s like our appendix. It’s attached to us without any purpose yet it doesn’t give negative/positive effect so we are ok if we don’t remove it.

Unless you send a merit on your own then this feature should be hide.

.
.DuelbitsSPORTS.
▄▄▄███████▄▄▄
▄▄█████████████████▄▄
▄██████████████████████▄
██████████████████████████
███████████████████████████
██████████████████████████████
██████████████████████████████
█████████████████████████████
███████████████████████████
█████████████████████████
▀████████████████████████
▀▀███████████████████
██████████████████████████████
██
██
██
██

██
██
██
██

██
██
██
████████▄▄▄▄██▄▄▄██
███▄█▀▄▄▀███▄█████
█████████████▀▀▀██
██▀ ▀██████████████████
███▄███████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
▀█████████████████████▀
▀▀███████████████▀▀
▀▀▀▀█▀▀▀▀
OFFICIAL EUROPEAN
BETTING PARTNER OF
ASTON VILLA FC
██
██
██
██

██
██
██
██

██
██
██
10%   CASHBACK   
          100%   MULTICHARGER   
Despairo
Hero Member
*****
Offline Offline

Activity: 1078
Merit: 854



View Profile WWW
June 03, 2024, 12:51:40 PM
 #5

Read Why seeing merit button on my post when I can not merit my own post

Bitcointalk's hacker already noticed this discussion, so we might see there could be a new improvement.

This one's a bit tricky... I don't have access to theymos' code, so all I can really do is guess at what the code might look like, and then patch the reconstruction.

My guess would be that the code in question is somewhere between one half and two thirds of the way into a function called template_main() inside a file named Display.template.php, and that it looks something like this:

Code:
if(!$context['user']['is_guest'] && !$message['member']['is_guest'])
echo '
<a href="', $scripturl, '?action=merit;msg=', $message['id'], '" target="_blank"><span style="vertical-align: middle;"><b>+Merit</b></span></a>';

Using that guess as a baseline, the patch would consist of extending that if-condition with && $message['member']['id'] != $context['user']['id'], like so:

Code:
if(!$context['user']['is_guest'] && !$message['member']['is_guest'] && $message['member']['id'] != $context['user']['id'])
echo '
<a href="', $scripturl, '?action=merit;msg=', $message['id'], '" target="_blank"><span style="vertical-align: middle;"><b>+Merit</b></span></a>';

(For everyone's info: I don't receive notifications when I'm mentioned. I'm working on adding a simple mention system to SMF, but, until then, there's no guarantee that I'll bump into every @PowerGlove. If you suspect I've slept on some important forum-improvement topic, feel free to shoot me a PM.) Wink

I only checked this afterwards, so I'll leave my original guesswork as-is, but, I see that the "+Merit" link does appear on guest posts, so whatever the actual if-condition is, it's missing the && !$message['member']['is_guest'] that I included in the guessed-at code. (I would add it, though: guest-meriting is similar to self-meriting; may as well just not emit links that can only error-out if you visit them.)

acroman08
Legendary
*
Offline Offline

Activity: 2366
Merit: 1089



View Profile
June 03, 2024, 03:41:41 PM
Merited by Pmalek (2)
 #6

It's just like a camouflage.... why not just hide it for self posts???
probably because it is an unnecessary hassle so it is not worth "fixing". also, from my point of view, it doesn't really affect anyone or anything vital in the forum so I don't really see the point of giving much attention to it.

Unless you send a merit on your own then this feature should be hide.
yeah, if people can send merit to their own post through the merit button then it should be hidden/removed.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
Ojima-ojo
Sr. Member
****
Offline Offline

Activity: 756
Merit: 466



View Profile
June 03, 2024, 09:56:49 PM
 #7



It's just like a camouflage.... why not just hide it for self posts???

May be in the next forum upgrade that feature may be removed, but for now, since one can not send merits to they own posts even though the boton is available it doesn't make any different, and just as others have said, having such features does not effect anything but still it boring having such features which we all agree that it useless and at the same time harmless.


So it won't be a priority for admin and maybe in the near future that boton can be converted into a new forum future which at least not leave that space vacant since it already in the forum codes already.

R


▀▀▀▀▀▀▀██████▄▄
████████████████
▀▀▀▀█████▀▀▀█████
████████▌███▐████
▄▄▄▄█████▄▄▄█████
████████████████
▄▄▄▄▄▄▄██████▀▀
LLBITCRYPTO
FUTURES
[
1,000x
LEVERAGE
][
.
COMPETITIVE
FEES
][
INSTANT
EXECUTION
]██████
██
██
██
██
██
██
██
██
██
██
██
██████
████████████████████████████████████████████████████████
.
TRADE NOW
.
████████████████████████████████████████████████████████
██████
██
██
██
██
██
██
██
██
██
██
██
██████
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!