Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Public Beta] Awards System
Author Message
byker
Junior Member


Posts: 9
Joined: Jul 2009
Reputation: 0
Thanked 0 Times in 0 Posts
MyBux: 0
Post: #141
RE: [Public Beta] Awards System

(07-28-2009 01:53 AM)Polarbear541 Wrote:  How is it not working for you?

It's ok now, i changed the value from -1 to 6 and it started to display the images, normally the -1 value should display all images anyway but this wasn't the case.

07-28-2009 08:11 PM
StitchRokcs
Junior Member


Posts: 6
Joined: Jul 2009
Reputation: 0
Thanked 0 Times in 0 Posts
MyBux: 8
Post: #142
RE: [Public Beta] Awards System

Yes I am having the same issue as you I have mine set to 6 but it doesnt cut off after the 6th award it just keeps going.

07-29-2009 01:03 AM


byker
Junior Member


Posts: 9
Joined: Jul 2009
Reputation: 0
Thanked 0 Times in 0 Posts
MyBux: 0
Post: #143
RE: [Public Beta] Awards System

This would depend on how many awards you decide to setup i suppose.


(03-29-2009 09:57 AM)Rob1991 Wrote:  If someone has awards, and the code is in the post bit, it will work when looking at a thread but not in private message post bit :(

TIP!

If you want a vbulletin style box around your awards you can use

Code:
<div style="margin-right: 38px;">
<div style="border: 1px solid #b2b2b2; padding: 5px;">
<center><div style="margin-top: -13px; padding-left: 6px; padding-right: 6px; width: 47px; background-color: #fefdff;"><a href="/forums/award.php" title="Awards">Awards</a><br></div></center>
{$post['awards']}
</div>

Which will give you:

[Image: awardsd.png]

To get it to where it is in the image, i did the following:
(Note iv done so many code changes yours may look slightly different)

Your template > Posbit > Postbit

Look for the <td> </td> like this

Code:
                        <td class="post_author" width="200px">
<strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']} <a href="misc.php?action=myspecs&amp;uid={$post['uid']}" onclick="MyBB.popupWindow(this.href, 'myspecs_popup', 800, 550); return false;"><img src="images/orange14/computer.png"></a><br />
                            <span class="smalltext">
                                {$post['usertitle']}<br />
                                {$post['userstars']}
                                {$post['groupimage']}
                            </span>
                        </td>

AND AFTER! PUT

Code:
<td class="trow1" align="left" valign="middle" border="0">
<div style="margin-right: 38px;">
<div style="border: 1px solid #b2b2b2; padding: 5px;">
<center><div style="margin-top: -13px; padding-left: 6px; padding-right: 6px; width: 47px; background-color: #fefdff;"><a href="/forums/award.php" title="Awards">Awards</a><br></div></center>
{$post['awards']}
</div>
</td>

The awards will now be between td sections class="post_author" and class="smalltext post_author_info"

A few suggestions for the plugin,

- Award Description
- Awards page displays Award Icon | Award name | Award Description |
and each award name bit, links to a page which tells you what users have that award

Sorry but i cannot give much support if you need anything for the above, just backup your template your going to edit before you do anything so you can revert back =]

Sorry i rushed this post so its a bit untidy and in a wierd order, Tongue

Apologies for the double posting.

Fantastic peice of code, i've used this with a slight modification on the post bit, only problem is now that the awards don't appear in private messages, i'm trying to figure out why it isn't displaying the images but just the table? Other than that works a treat.

(This post was last modified: Today 09:11 AM by byker.)
Today 08:52 AM
Leepish
Junior Member


Posts: 8
Joined: Mar 2009
Reputation: 0
Thanked 0 Times in 0 Posts
MyBux: 2
Post: #144
RE: [Public Beta] Awards System

idk if its just me or not... but the awards wont show on my classic postbit?
if its just me how can i fix it?


never mind i added

{$post['awards']}

to postbit_classic

(This post was last modified: Today 10:09 AM by Leepish.)
Today 09:56 AM


StitchRokcs
Junior Member


Posts: 6
Joined: Jul 2009
Reputation: 0
Thanked 0 Times in 0 Posts
MyBux: 8
Post: #145
RE: [Public Beta] Awards System

Ok as for putting a box around it could you just do:

PHP Code:
<fieldset><legend>Awards:</legend>{$post['awards']}</fieldset


In later versions could we possibly see:
- Better Showcase Page with Award Image | Award Name | Award Description | Users who have this award
- Possible Separate block in the profile that displays Award Image | Award Name | Award Description | Date Received Award
- In the post-bit have the ALT tag (The little yellow box that appears if you hold your cursor up to it) say the awards name

Bug Fixes:
- If I set my awards to 6 to appear in the postbit they will appear all in one row even in classic view, thus stretching the bit. Is there a way to break after 3 award?
- No matter what number I set it to in the ACP it always thinks the value is -1.

(This post was last modified: Today 01:58 PM by StitchRokcs.)
Today 01:50 PM
Nickman
Manager



Posts: 1,908
Joined: May 2008
Reputation: 37
Thanked 32 Times in 16 Posts
MyBux: 938
Post: #146
RE: [Public Beta] Awards System

Please report all of those into the tracker.



My Blog
Today 02:47 PM


StitchRokcs
Junior Member


Posts: 6
Joined: Jul 2009
Reputation: 0
Thanked 0 Times in 0 Posts
MyBux: 8
Post: #147
RE: [Public Beta] Awards System

Oh! Ok done and reported.

Today 03:52 PM
 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [Public Beta] MyDownload Section Alexandru21 80 2,018 Today 01:06 PM
Last Post: hecktro
  [Public Beta] MyGallery Alexandru21 165 4,470 Today 01:05 PM
Last Post: hecktro
  [Quick Beta]PaidToPromote Alexandru21 33 683 Today 09:27 AM
Last Post: byker
  [Quick Beta]MyRiddles Alexandru21 17 367 07-15-2009 02:48 PM
Last Post: .Paradox
  [Public BETA] MyFeedback Polarbear541 37 867 07-14-2009 06:54 PM
Last Post: Polarbear541
  [Public Beta] AdvancedProfiles Alexandru21 28 1,251 06-01-2009 02:29 AM
Last Post: Alexandru21



New to MyBBSource?Need Assistance?
  • Mark Forums Read
  • View Forum Staff
  • Looking for a MyBB Host?




Theme created by AK-47. Find more great themes and skins at K! Dezign Web Design
Wordpress Web Design
Youtube Video