Purchase Credits 2.0.1 released and NewPoints 2.1.2 released .
Hello please I want to help
#11
(04-16-2020, 04:04 AM)Diogo Parrinha Wrote: Hi,

I'm guessing that happens because of the styling in your theme. It works fine in the MyBB default theme. If you wish, post a link and I can try to take a look

okay mr diogo i sent website in private massage and i want ask you I am very sorry for my many questions i'm installed the shop items plugin but after test to buy item and item show only in profile don't show with the users example after create post or threads like this

[Image: l]
Reply
#12
I can't seem to login on your site: "Authorization code mismatch. Are you accessing this function correctly? Please go back and try again."
Oddly, this issue happens here some times, I haven't been able to find the cause but you should contact MyBB for support on that, as it seems to happen on more sites.

Do you have {$post['newpoints_shop']} in your postbit or postbit_classic templates? The plugin tries to add this automatically but depending on the theme, it may not be able to do it
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.
Reply
#13
(04-17-2020, 04:28 AM)Diogo Parrinha Wrote: I can't seem to login on your site: "Authorization code mismatch. Are you accessing this function correctly? Please go back and try again."
Oddly, this issue happens here some times, I haven't been able to find the cause but you should contact MyBB for support on that, as it seems to happen on more sites.

Do you have {$post['newpoints_shop']} in your postbit or postbit_classic templates? The plugin tries to add this automatically but depending on the theme, it may not be able to do it

I try a lot mr Diogo to get help from community i want to add this to user any user shop the items with create any threads or post any one can show the items like a flags country or any items like this 

[Image: l]

first code newpoints_shop

Code:
<html>
<head>
<title>{$lang->newpoints} - {$lang->newpoints_shop}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" border="0" align="center">
<tr>
<td valign="top" width="180">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$lang->newpoints_menu}</strong></td>
</tr>
{$options}
</table>
</td>
<td valign="top">
{$inline_errors}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="5"><div style="float: right"><strong><a href="{$mybb->settings['bburl']}/newpoints.php?action=shop&amp;shop_action=myitems" style="text-decoration: underline">{$lang->newpoints_shop_myitems}</a></strong></div><strong>{$lang->newpoints_shop}</strong></td>
</tr>
<tr>
<td class="tcat" width="1%"><strong>{$lang->newpoints_shop_icon}</strong></td>
<td class="tcat"><strong>{$lang->newpoints_shop_name}</strong></td>
<td class="tcat" width="20%" align="center"><strong>{$lang->newpoints_shop_price}</strong></td>
<td class="tcat" width="20%" align="center"><strong>{$lang->newpoints_shop_stock}</strong></td>
<td class="tcat" width="10%" align="center"><strong>{$lang->newpoints_shop_buy}</strong></td>
</tr>
{$cats}
</table>
</td>
</tr>
</table>
{$footer}
</body>
</html>


2 code newpoints_postbit

Code:
<br /><span class="smalltext">{$currency}: <a href="{$mybb->settings['bburl']}/newpoints.php">{$points}</a></span>{$donate}{$post['newpoints_shop_items']}

3 code newpoints_shop_item

Code:
<tr>
<td class="{$bgcolor}" width="1%" valign="middle" align="center">{$item['icon']}</td>
<td class="{$bgcolor}" valign="middle"><a href="{$mybb->settings['bburl']}/newpoints.php?action=shop&amp;shop_action=view&amp;iid={$item['iid']}">{$item['name']}</a><br /><span class="smalltext">{$item['description']}</span></td>
<td class="{$bgcolor}" width="20%" align="center" valign="middle">{$item['price']}</td>
<td class="{$bgcolor}" width="20%" align="center" valign="middle">{$item['stock']}</td>
<td class="{$bgcolor}" width="10%" align="center" valign="middle"><form action="newpoints.php?action=do_shop&amp;shop_action=buy" method="POST"><input type="hidden" name="postcode" value="{$mybb->post_code}"><input type="hidden" name="iid" value="{$item['iid']}"><input type="submit" name="buy" value="{$lang->newpoints_shop_buy}" onclick="return confirm('{$lang->newpoints_shop_confirm_buy}');"></form></td>
</tr>


newpoints_shop_profile

Code:
<tr>
    <td class="trow2"><strong>{$lang->newpoints_shop_items}:</strong></td>
    <td class="trow2">{$shop_items} <span class="smalltext">(<a href="{$mybb->settings['bburl']}/newpoints.php?action=shop&amp;shop_action=myitems&amp;uid={$memprofile['uid']}">{$lang->newpoints_shop_view_all_items}</a>)</span></td>
</tr>


i don't get postbit_classic 
Reply
#14
Hey,

It's in your theme's templates -> Post section.
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.
Reply
#15
(04-17-2020, 06:31 PM)Diogo Parrinha Wrote: Hey,

It's in your theme's templates -> Post section.

yes mr Diogo 


postbit_classic 


Code:
{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<div class="post classic {$unapproved_shade}" style="{$post_visibility}" id="post_{$post['pid']}">
    <div class="post_author scaleimages">
    <strong><span class="largetext"><center>{$post['profilelink']}</center></span></strong>
    {$post['useravatar']}
    <div class="author_information col-sm-3">
            
            <span class="smalltext">
<div class="post-usertitle"><span class="title_gid_{$usergroup['gid']}">{$post['usertitle']}</span></div>
                
                {$post['groupimage']}

            </span>
    </div>
<div class=" hidden-xs author_statistics">




    {$post['user_details']}{$post['newpoints_postbit']}{$post['ougc_awards']}{$post['my_activity']}<center></center></br>
<center><div class="user-service user-service--postbit">{$post['yearsofservicePostbit']}</div></center>
</div>

<script>
$(document).ready(function() {
  $('button.btn-info').each(function(index) {
    $(this).attr('data-target', '.user-stat' + index);
  })

  $('div.user-stat').each(function(index) {
    $(this).removeClass('user-stat');
    $(this).addClass('user-stat' + index);
  })
})
</script>

<div class="visible-xs author_statistics">
  <button type="button" class="btn btn-info" data-toggle="collapse" data-target=".user-stat">
  <strong><i class="fa fa-eye"></i> Author's Statistic <i class="fa fa-angle-down"></i></strong>
  </button>
  <div class="panel-body user-stat collapse">
    <div class="col-lg-12 scaleimages padding-8px">{$post['user_details']}{$post['newpoints_postbit']}{$post['ougc_awards']}{$post['myawards']}{$post['my_activity']}</div>

  </div>
</div>
</div>
<div class="post_content col-sm-9">
    <div class="post_head">
{$post['badge']}
        {$post['posturl']}
        {$post['icon']}
        <span class="post_date">{$post['postdate']} <span class="post_edit" id="edited_by_{$post['pid']}">{$post['editedmsg']}</span></span>
    {$post['subject_extra']}
    </div>
    <div class="post_body scaleimages" id="pid_{$post['pid']}">
        {$post['message']}
    </div>
    {$post['attachments']}
    {$post['signature']}
    <div class="post_meta" id="post_meta_{$post['pid']}">
        {$post['quick_quote']}{$post['iplogged']}
    </div>
</div>
    <div style="post_controls {$post['tyl_display']}" id="tyl_{$post['pid']}">{$post['thankyoulike_data']}</div>
<div class="panel-footer post_controls">
    <div class="postbit_buttons author_buttons float_left">
        {$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
<!-- AddToAny BEGIN -->
<a class="a2a_dd" href="https://www.addtoany.com/share">Share</a>
<script async src="https://static.addtoany.com/menu/page.js"></script>
<!-- AddToAny END -->
    </div>
    <div class="postbit_buttons post_management_buttons float_right">
{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quickrestore']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_mention']}{$post['button_report']}{$post['button_warn']}{$post['button_purgespammer']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
    </div>
</div>
<div id="edit_post_{$post['pid']}_popup" class="popup_menu1" style="display: none;"><div class="popup_item_container"><a href="javascript:;" class="popup_item quick_edit_button" id="quick_edit_post_{$post['pid']}">{$lang->postbit_quick_edit}</a></div><div class="popup_item_container"><a href="editpost.php?pid={$post['pid']}" class="popup_item">{$lang->postbit_full_edit}</a></div></div>   
<script type="text/javascript">
// <!--
    if(use_xmlhttprequest == "1")
    {
        $("#edit_post_{$post['pid']}").popupMenu();
    }
// -->
    </script>
</div>
Reply
#16
WHat about the 'postbit' template?
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.
Reply
#17
(04-19-2020, 09:49 PM)Diogo Parrinha Wrote: WHat about the 'postbit' template?


where i can get it
Reply
#18
It's near the postbit_classic template
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.
Reply
#19
(04-19-2020, 10:06 PM)Diogo Parrinha Wrote: It's near the postbit_classic template


postbit code 

Code:
{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<div class="post {$unapproved_shade}" style="{$post_visibility}" id="post_{$post['pid']}">
    <div class="post_author">
        {$post['useravatar']}
        <div class="author_information">
            <strong><span class="large">{$post['profilelink']}</span></strong><br />
            <span class="small">
                {$post['usertitle']}<br />
                {$post['userstars']}
                {$post['groupimage']}
<div class="user-service user-service--postbit">{$post['yearsofservicePostbit']}</div>
            </span>
        </div>
<div class=" hidden-xs author_statistics">
    <strong><i class="fa fa-dot-circle-o"></i> Author's Statistic:</strong><br />

    {$post['user_details']}{$post['newpoints_postbit']}{$post['ougc_awards']}



</div>

<script>
$(document).ready(function() {
  $('button.btn-info').each(function(index) {
    $(this).attr('data-target', '.user-stat' + index);
  })

  $('div.user-stat').each(function(index) {
    $(this).removeClass('user-stat');
    $(this).addClass('user-stat' + index);
  })
})
</script>

<div class="visible-xs author_statistics">
  <button type="button" class="btn btn-info" data-toggle="collapse" data-target=".user-stat">
  <strong><i class="fa fa-eye"></i> Author's Statistic <i class="fa fa-angle-down"></i></strong>
  </button>
  <div class="panel-body user-stat collapse">
    <div class="col-lg-12 scaleimages padding-8px">{$post['user_details']}{$post['newpoints_postbit']}{$post['ougc_awards']}{$post['myawards']}</div>
  </div>
</div>
    </div>
    <div class="post_content">
        <div class="post_head">
            {$post['posturl']}
            {$post['icon']}
            <span class="post_date">{$post['postdate']} <span class="post_edit" id="edited_by_{$post['pid']}">{$post['editedmsg']}</span></span>
            {$post['subject_extra']}
        </div>
        <div class="post_body scaleimages" id="pid_{$post['pid']}">
            {$post['message']}
        </div>
        {$post['attachments']}
        {$post['signature']}
        <div class="post_meta" id="post_meta_{$post['pid']}">
            {$post['iplogged']}
        </div>
    </div>
        <div class="panel-footer post_controls">
        <div class="postbit_buttons author_buttons pull-left">
            {$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
<!-- AddToAny BEGIN -->
<a class="a2a_dd" href="https://www.addtoany.com/share">Share</a>
<script async src="https://static.addtoany.com/menu/page.js"></script>
<!-- AddToAny END -->
        </div>
        <div class="postbit_buttons author_buttons pull-right">
            {$post['button_edit']}{$post['button_quickdelete']}{$post['button_quickrestore']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_mention']}{$post['button_report']}{$post['button_warn']}{$post['button_purgespammer']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
        </div><br><br>
<div id="edit_post_{$post['pid']}_popup" class="popup_menu1" style="display: none;"><div class="popup_item_container"><a href="javascript:;" class="popup_item quick_edit_button" id="quick_edit_post_{$post['pid']}">{$lang->postbit_quick_edit}</a></div><div class="popup_item_container"><a href="editpost.php?pid={$post['pid']}" class="popup_item">{$lang->postbit_full_edit}</a></div></div>   
<script type="text/javascript">
// <!--
    if(use_xmlhttprequest == "1")
    {
        $("#edit_post_{$post['pid']}").popupMenu();
    }
// -->
    </script>        
    </div>
</div>
Reply
#20
So your templates are fine. What exactly do you want to achieve? I've just read this again: "can show the items like a flags country or any items like this" - there's no feature to do this
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.
Reply





Users browsing this thread: 1 Guest(s)

About MyBB-Plugins

Plug Yourself into the best MyBB AddOn.

Copyright © 2009-2020 MyBB-Plugins Forums.

Statistics

  • 51,000+ Posts
  • 19,000+ Members
  • 3,600+ Threads

Impressed? For sure
Check Full Stats here