The changes that you ask for are not trivial, as the click actions (button colour and count) are handled by javascript with an underlying php controller. I am not able to support this at present, as I have too many other things already promised.Hervé wrote: Thu Apr 23, 2020 11:11 am Hi,
I would like to use PostLove for something a little bit different, can you help me to make the mod ?
Current operationDesired operation
- When you clic on the heart : it becomes transparent and the counter is incremented
- If you click again the counter is decremented and your heart becomes full red
- if somebody else (but not you) has clicked on the heart : you see the incremented counter but your hard is full red
In other words, you can only click once and the heart is transparent as soon as somebody has clicked i.e. as long as the counter is not zero.
- When you clic on the heart : it becomes transparent and the counter is incremented (no change)
- If you click again there is no change (you may only click once)
- if somebody else (but not you) has clicked on the heart : you see the incremented counter and your hard is also transparent
Feasable ?
Why do I want such a modification ?
For the health of a forum each message must be read by at least one moderator.
Currently each of our 4 moderators reads each message even if it has already been read by another moderator, this is a waste of time.
I would like tu use PostLove so that, after reading, a moderator clicks on the heart so that the 3 other knows they are not obliged to read the post.
PostLove would only be visible by moderator, this is done already.
Thanks a lot in advance
Forum www.LeForumRecifal.com phpbb 3.3.0
A bit cheeky asking for free support. Perhaps you could ask him what his hourly support rate is and pay him.
Code: Select all
/* MODALS */
.modal {
display: none;
width: 75%;
height: 70%;
background: #fff;
padding-right: 12px;
-webkit-border-radius: 0px;
-moz-border-radius: 8px;
-o-border-radius: 8px;
-ms-border-radius: 8px;
border-radius: 8px;
-webkit-box-shadow: 0 0 10px #000;
-moz-box-shadow: 0 0 10px #000;
-o-box-shadow: 0 0 10px #000;
-ms-box-shadow: 0 0 10px #000;
box-shadow: 0 0 10px #000;
background-color: rgba(0, 0, 0, 0.5);
}
Code: Select all
-webkit-border-radius: 0px;
-moz-border-radius: 8px;
-o-border-radius: 8px;
-ms-border-radius: 8px;
border-radius: 8px;
.m. wrote: Thu Jul 16, 2020 2:15 pm ^ you can try removing :Code: Select all
-webkit-border-radius: 0px; -moz-border-radius: 8px; -o-border-radius: 8px; -ms-border-radius: 8px; border-radius: 8px;
Code: Select all
<tr class="tr_likedposts <!-- IF most_liked_posts.ROWCOUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
Code: Select all
<li class="row <!-- IF lovelist.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->"style=" border-radius: 0;">{lovelist.LINE}</li>
bennybernaer wrote: Thu Jul 16, 2020 6:41 pm Now there is only the problem that the text sticks to the side.
Can there be a space here?Naamloos.png
padding-left
here. Has no effect. What is going wrong here.Code: Select all
.modal {
display: none;
width: 75%;
height: 70%;
background: #fff;
font-size: 1.2em;
line-height: 1.8em;
padding-right: 12px;
-webkit-border-radius: 0px;
-moz-border-radius: 8px;
-o-border-radius: 8px;
-ms-border-radius: 8px;
border-radius: 0px;
-webkit-box-shadow: 0 0 10px #000;
-moz-box-shadow: 0 0 10px #000;
-o-box-shadow: 0 0 10px #000;
-ms-box-shadow: 0 0 10px #000;
box-shadow: 0 0 10px #000;
background-color: rgba(0, 0, 0, 0.5);
}
Code: Select all
"style="padding-left: 1em; border-radius: 0;">
Indeed. Works. Thanks!