2022-04-25, 01:05 AM
I have a question about this plugin. but I don't understand the coding language. Please help
main question:
IF NOT my POST url (PID) link will appear here. IF my POST the url (PID) will show
and this, is my code. however, it didn't go as I expected
NOTE:
Sorry for my incomprehensible English
main question:
Quote:if I am not the owner of the post, the link will display the URL (PID) to the donation ---> newpoints.php?action=donate
if I am the owner of the post, the link will display the URL (PID) to the newpoints ---> newpoints.php
IF NOT my POST url (PID) link will appear here. IF my POST the url (PID) will show
and this, is my code. however, it didn't go as I expected
{$post['username']} Koin:
<if $post['uid'] then>
<a href="{$mybb->asset_url}/newpoints.php?action=donate&uid={$post['uid']}">{$post['newpoints']}</a>
<else>
<a href="{$mybb->asset_url}/newpoints.php">{$post['newpoints']}</a>
</if>
<br />
NOTE:
Quote:the template i edited, is postbit_author_user
Sorry for my incomprehensible English