Hello There, Guest! › Register

MySubscriptions 2.2 released.
Looking for a custom plugin for your site? Ask here for a quote.

[Shop Plugins] Show User Items at Signature
#11

(08-10-2010, 09:49 PM)Iwakabe Wrote:
Quote:Now: you can see Item show in signature

Not at all in my case. I use Afresh sky template, all new points plugins are updated, signature image limit = 10, char limit = 2000. I tested it to the user who bought an item by writing new post.

My goal is to display items at signature and disallow to change signature manually by users. Could anyone please tell me how I suppose to do that?

/sry if my English is broken
Oh, this tips helps you add Item after signature, and don't care that user had change signature. You can disable user signature if you likes!
Reply
#12

btw, thanks again for this tips.. working fine Big Grin
i change postbit_signature to use full <hr>

that's better for this hack :p
Heart
Reply
#13

how did you put the =============My items=============== on top of the items?
Reply
#14

Edit Template : Global Templates ->newpoints_shop_postbit:
Replace all by:
Code:
<fieldset>
<legend>ღღღღღ {$post['profilelink']}'s Item <span class="smalltext" >(<a href="{$mybb->settings['bburl']}/newpoints.php?action=shop&amp;shop_action=myitems&amp;uid={$post['uid']}">{$lang->newpoints_shop_view_all_items}</a>)</span>ღღღღღ</legend>
    
   {$shop_items}
                                
</fieldset>

And results:

[Image: itemOnsig.png]

Demo: http://thuthuataccess.co.cc/forum/thread...t-329.html
Reply
#15

didnt work properly, i got this error
Warning: Unexpected character in input: ''' (ASCII=39) state=1 in ../public_html/inc/plugins/newpoints/newpoints_shop.php(1282) : eval()'d code on line 3

Warning: Unexpected character in input: ''' (ASCII=39) state=1 in ../public_html/inc/plugins/newpoints/newpoints_shop.php(1282) : eval()'d code on line 3
okay i managed to fix it, i think ur code {$post['uid]}"> is suppose to be{$post['uid']}">
Reply
#16

I don't know what happen for my post.
May be php tag ignore some char. I try with tag code and OK
Reply
#17

thanks for the code anyways =), i love it! looks soo much better
Reply
#18

Does anyone have an idea why it doesn't work on my forum?

Info:
NewPoints 1.6
Shop 1.4
Template Afresh Sky

Html etc. are allowed in signature, char limit is 3k, images limit 10. How is this possible?
Reply




Users browsing this thread: 1 Guest(s)