Hello There, Guest! › Register

MySubscriptions 2.3 released. MyAchievements 1.11 released.
Looking for a custom plugin for your site? Ask here for a quote.

[Shop Plugins] Show User Items at Signature

(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!

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

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

Edit Template : Global Templates ->newpoints_shop_postbit:
Replace all by:
<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>

And results:

[Image: itemOnsig.png]

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

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']}">

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

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

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

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?

Users browsing this thread: 1 Guest(s)