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


Posts: 13
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: 14
Joined: Jul 2009
Reputation: 0
Thanked 0 Times in 0 Posts
MyBux: 2
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: 13
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: 07-31-2009 09:11 AM by byker.)
07-31-2009 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: 07-31-2009 10:09 AM by Leepish.)
07-31-2009 09:56 AM


StitchRokcs
Junior Member


Posts: 14
Joined: Jul 2009
Reputation: 0
Thanked 0 Times in 0 Posts
MyBux: 2
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: 07-31-2009 01:58 PM by StitchRokcs.)
07-31-2009 01:50 PM
Nickman
Manager



Posts: 1,919
Joined: May 2008
Reputation: 37
Thanked 36 Times in 19 Posts
MyBux: 950
Post: #146
RE: [Public Beta] Awards System

Please report all of those into the tracker.



My Blog
07-31-2009 02:47 PM


StitchRokcs
Junior Member


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

Oh! Ok done and reported.

07-31-2009 03:52 PM
byker
Junior Member


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

(07-31-2009 01:50 PM)StitchRokcs Wrote:  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.

Just had a go at using your method on a test forum, it works but needs slight adjustments. I eventually managed to make my own code on the postbit template which looks major sweet now!

08-01-2009 01:13 AM


Chrissy
Junior Member


Posts: 25
Joined: Mar 2009
Reputation: 0
Thanked 0 Times in 0 Posts
MyBux: 4
Post: #149
RE: [Public Beta] Awards System

Thank you very much for this plugin 001_smile

08-03-2009 02:59 AM
byker
Junior Member


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

Can't thank you enough for this plugin as it's brought more live to my forum community.

08-03-2009 10:12 AM


 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [Quick Beta]MyRiddles Alexandru21 32 505 08-08-2009 02:36 PM
Last Post: zamime
  [Public Beta] MyDownload Section Alexandru21 83 2,108 08-07-2009 06:34 AM
Last Post: Chrissy
  [Public Beta] MyGallery Alexandru21 177 5,041 08-07-2009 03:34 AM
Last Post: Braum
  [Public BETA] MyFeedback Polarbear541 37 904 07-14-2009 06:54 PM
Last Post: Polarbear541
  [Public Beta] AdvancedProfiles Alexandru21 28 1,359 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 Free Bet Football Betting R1s