byker
Junior Member
Posts: 9
Joined: Jul 2009
Reputation: 0
Thanked 0 Times in 0 Posts MyBux: 0
|
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
|
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
|
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]](https://img23.imageshack.us/img23/9286/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&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, 
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
|
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
|
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
|
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
|
RE: [Public Beta] Awards System
Oh! Ok done and reported.
|
|
| Today 03:52 PM |
|