PDA

View Full Version : Major Additions - Yet Another Awards System 2.1.4


Pages : 1 [2] 3

Nate Dawg
11-02-2007, 10:22 PM
If forum = vbulletin.org
{ Yes it is for vbulletin}
Else
{ Its not }

BUG!


if ($forum = $vbulletin.org) {
echo("Yes, is it for vBulletin.");
} else {
echo("No, it's not for vBulletin.");
}


I think ;)

VenomMaster
11-07-2007, 07:22 PM
Hi there!

I just stumbled upon a very, very tiny blemish... If you notify the user about bein' awarded, the PM (in my case) is from "1". It seems to be the UserID rather than the Username.

Any way to fix this?

Btw, thanks for this really great Mod!

Lookin' forward,

-Venom

HATED
11-07-2007, 07:45 PM
Does any one know how to resize the awards display area in postbits? its aboute 175 wide but it would help me alot if I could change it to 158px wide to match my rank system. Thanx for any help you may provide.

VenomMaster
11-07-2007, 08:07 PM
Hi HATED,

go to AdminCP, Templates and edit the postbit_legacy / postbit-template. You should have something like this:

<!-- show awards -->
<if condition="$post[showuserawards]">
<fieldset><legend><a href="member.php?u=$post[userid]#award" title="$vbphrase[more_awards]">$vbphrase[award_showcase]</a></legend>
<div>
$post[userawards]
<br>
<a href="member.php?u=$post[userid]#award" title="$vbphrase[more_awards]">$vbphrase[total_awards]</a>: $post[num_awards]
</div>
</fieldset>
</if>
<!-- /show awards -->

Now we're going to change a bit, to resize it to your needs:

<!-- show awards -->
<if condition="$post[showuserawards]">
<div style="width:158px;">
<fieldset><legend><a href="member.php?u=$post[userid]#award" title="$vbphrase[more_awards]">$vbphrase[award_showcase]</a></legend>
<div>
$post[userawards]
<br>
<a href="member.php?u=$post[userid]#award" title="$vbphrase[more_awards]">$vbphrase[total_awards]</a>: $post[num_awards]
</div>
</fieldset>
</div>
</if>
<!-- /show awards -->

There you go!

Btw... Nice work!

Greets,

-Venom

HATED
11-08-2007, 12:07 AM
Thank you.

powerful_rogue
11-11-2007, 08:41 PM
Hi,

How would I go about having the awards being displayed like in the picture below:

https://vborg.vbsupport.ru/attachment.php?attachmentid=62062&d=1174296028

At present on my forum they show up like the picture in the attatchment - They just look a little bit too big!

Any help is greatly appreciated

Edit - Does anyone know where you can get the really small award icons like in the post above? Ive had a search around but cant seem to find any that small!

kevcj
11-13-2007, 06:38 PM
Instead of putting the awards under the contact information, such as yahoo or msn, can the awards be put under the persons name and avatar?

My site, and example thread - http://www.survivalistboards.com/showthread.php?t=2968

I have the "Thank you" hack installed, so instead of the awards being under the "Thank you's" how do I move then all the way to the left and under the persons name?

And this is a wonderful add-on. I wanted to give awards like this, but was not sure how to do it.

kevcj
11-13-2007, 06:41 PM
Edit - Does anyone know where you can get the really small award icons like in the post above? Ive had a search around but cant seem to find any that small!

Use an image resizer to resize the awards.I am using the Mihov free image reziser

RollaJedi
11-15-2007, 08:26 PM
hello, love the hack man! I was just wondering if there was a way to integrate this hack with the promotions inside your admincp? I mean, what if when you got so many awards it promoted you. Instead of posts, use awards instead? Could this be done perhaps? Thank you!

vnairp11
11-19-2007, 06:35 PM
Here is only the pic files for them who not know about photoshop and just need pics....

i Will do a new set with different looks and bigger in size. post a screenshot later

Cheers ...

Thank you dude you are a life saver!

ssslippy
11-23-2007, 05:50 PM
Can some of the template edits please be automated.

VenomMaster
11-23-2007, 06:43 PM
You can pseudo-automate the edits with another hac for vbulletin called TMS (Template Modification System) witch you can find here (http://www.vbulletin-germany.org/showthread.php?t=24).

As i remember it is written in german, but i can help you if you wish.

KarenneLyn
11-23-2007, 07:01 PM
I would like to know if there is a way to automatically have the awards issued or for it to prompt me that someone is due an award based on any perameters that I set. Is that possible?

codedigital
11-28-2007, 06:13 PM
In MEMEBERINFO where it plops the Showcase, where is $userawards coming from?

expatdirectory
11-28-2007, 06:16 PM
Looks good, thanks

daviblight
12-01-2007, 03:26 PM
I installed this system, and it seems like everything works but the actual display of the images.

Here's an example of what i get in IE.
72861

Under the admincp/award section it shows that i have the award set up, yet it isnt using the url for the images ive uploaded to be awards... is there something that could be conflicting?

any help would be grateful.

CypherSTL
12-09-2007, 05:03 AM
Seems to be a missing file in your downloadable zip.

in your instructions it says to edit /includes/settings.award.php and re-upload, no where does that file exist...

Kiint
12-09-2007, 09:15 AM
Seems to be a missing file in your downloadable zip.

in your instructions it says to edit /includes/settings.award.php and re-upload, no where does that file exist...

probably a small typing error, not that hard to figure out really considering that the full stop is next to the forward slash key on a keyboard. Try:

/includes/settings/award.php

CypherSTL
12-09-2007, 08:46 PM
that does not exist either.

iou1
12-09-2007, 08:52 PM
All those table edits and the difficulty level is "easy"? I don't think so! LOL

I wish I could install this.:(

Good work though!

Zero2Cool
12-16-2007, 11:12 AM
It's possible to automatically give a award to the members of a special usergroup?

MalebolgiaHR
12-16-2007, 02:59 PM
Ok, I have a strange issue. I can see the awards when I do a post, but when I come back to the post later, the awards are not there. Has anyone else seen this?

I don't have the problem on the MemberInfo.

It looks like the $post[showuserawards] and $post[userawards] are not set after I do an edit or refresh a thread. Did I miss something?

Kiint
12-17-2007, 06:16 AM
Been using this with no problem, working great, but thought I would give you a suggestion for a future version.

When a user requests an award, how about a link in the PM that can take the admin to a page with the award details filled in, with the reason and the username (obviously we would have to have the power to edit these as some people can't put the right info in the right boxes).

It would just save me a lot of time when I receive 10 award requests in one night for different reasons and have to manually find each one, edit each one, give award and do again another 9 times...

Or another suggestion.

If one user selects several awards, take us to a page that only lists their requests, with their username filled in for each type and we can just edit the reason and tick a box to say ok, click submit once. done

MalebolgiaHR
12-19-2007, 04:27 AM
Ok, I have a strange issue. I can see the awards when I do a post, but when I come back to the post later, the awards are not there. Has anyone else seen this?

I don't have the problem on the MemberInfo.

It looks like the $post[showuserawards] and $post[userawards] are not set after I do an edit or refresh a thread. Did I miss something?


Anyone else had this issue?

jdbnsnobal.net
12-19-2007, 11:13 AM
Hello everyone,

I'm quite new to vBulletin and desire to add this to our site but am concerned after seeing the difficulties some folks have had. First off, most of the screen shots I've seen display the medals in a side banner but our forums do not have one, it is configured like this site. Second, is it easy to remove if it becomes problematic?
Thanks in advance,

Jon

amroawad
12-19-2007, 03:11 PM
Can any one tell me what awards/images they have on there forum?

edytwinky
12-19-2007, 04:15 PM
Is there a way to make the awards.php private to non-registered and members who are not logged in? That page is currently showing up on google searches and I'd prefer it not too.

AWJunkies
12-19-2007, 11:04 PM
Is there a way to make the awards.php private to non-registered and members who are not logged in? That page is currently showing up on google searches and I'd prefer it not too.

Yes, YES


Yes to all your questions past 5 posts.

I have a cron that runs to auto give some of the medals. Also when a person applies to a medal it sends PM now in that PM it has the thread details so you can just click and see the poll results to see if meets your standards. Also adding a click able link to give them the medal in the PM that is sent when they apply which will also delete the thread associated with this apply.

edytwinky
12-20-2007, 02:24 PM
How do you go making the awards.php file private?

AWJunkies
12-21-2007, 04:53 AM
With a redirect if not part of X group at top of the php page. Or you can do if user not logged in redirect.

Just an easy if statement at the top of the awards.php file. Will show you example in a minute.

I wanted to share that I have created a cron job that has extensive options to it for this mod. I have done donations merger for example but can be used for anything. I knew donations would be most widely used one so here is the concept and will release it later. If a user donates X amount it will auto give them a donation award X and send them a PM saying they have earned it (you set the cron job time, I did 6 hours). Right now I have it setup for if someone donates $100, $300, $500, $1000. Now you can add more very easily within code by copy then pasting previous code and changing only 2 variables the award_id and $reasonX. Has a lot more then this but dam tired just finished it and is working perfect.

Forgot to mention it also has an option to give X credits per medal as well.

AWJunkies
12-22-2007, 01:30 AM
Ok just integrated it with more things like photos, news, donations, videos and much more. I know a LOT of people do not have what I am doing but can use same code and concept to work with any medal you have to create a hierarchy and have it auto cron the medals to the user with sending PM and can also send credits to the user. Will show some screen shots in a bit and show stage one of the code.

I also created two new templates for the PM so you can have like a MASTER level PM type of thing like I do. Much much more to come. Remember sky is the limit for this. I am customizing it for my setup but remember can be used for anyone and for any medal type. Can do over X posts or threads etc can do whatever you desire.

jluerken
12-22-2007, 10:43 AM
AWJunkies looks good. Can you try to make a vB 3.7.x product ?

AWJunkies
12-22-2007, 03:56 PM
3.7 is not even out of beta so why would anyone work on mods for it until it i completely done and been tested for another month or so on live sites. So I will not support 3.7 for at least month-3 months until it is completely bug free. I have to many sites with over 50k members that one slip up can cost me a lot. So will continue the support on this one for now. Also this cron job etc should work with 3.7 no problem not sure with the mod itself. Will do that testing when time comes. Also I should be done with the cron job and all the work on this before christmas. But to release it as another story. I have already gone through about 4 revisions of the code. It is almost as streamlined as it can get. Just need to do a few more big hook array's and will be ready for a release.

amroawad
12-23-2007, 12:31 PM
Yes, YES


Yes to all your questions past 5 posts.

I have a cron that runs to auto give some of the medals.

Can you tell me how to set this up please?

silver surfer
12-23-2007, 01:47 PM
Ok just integrated it with more things like photos, news, donations, videos and much more. I know a LOT of people do not have what I am doing but can use same code and concept to work with any medal you have to create a hierarchy and have it auto cron the medals to the user with sending PM and can also send credits to the user. Will show some screen shots in a bit and show stage one of the code.

I also created two new templates for the PM so you can have like a MASTER level PM type of thing like I do. Much much more to come. Remember sky is the limit for this. I am customizing it for my setup but remember can be used for anyone and for any medal type. Can do over X posts or threads etc can do whatever you desire.

A_W_E_S_U_M_ !!!

Dude...u need to SHARE !!! :)

GREAT WORK !

Dudeness
12-23-2007, 03:35 PM
In
Admin CP > Award System > Award Manager > Give award to user

If you look, it's below the form to give a user an award.
Choose the person you want, tick the box which is 'remove' and submit.

Is it also possible to give or remove a award from a group of users (usergroup) instead of individuals? If not which modification can do this?

edytwinky
12-23-2007, 04:24 PM
With a redirect if not part of X group at top of the php page. Or you can do if user not logged in redirect.

Just an easy if statement at the top of the awards.php file. Will show you example in a minute.
.

Can you explain this a little more, i'm not very good with php code.

MalebolgiaHR
12-25-2007, 12:14 AM
Ok, I have a stupid question. I just noticed this:

Files to edit: 8 (/admincp/index.php, member.php, showthread.php, showpost.php, announcement.php, private.php, memberlist.php, /include/functions_online.php)

I didn't find anything that has anything with editing any of these files. Am I missing something?

RollaJedi
12-26-2007, 02:16 PM
is there anyway you could do something that, when you get so many awards it could assign you to a custom usergroup perhaps?

AWJunkies
12-26-2007, 04:25 PM
YES and already working on that within my cron job :) I can release it now but need to do instructions and HATE to do them anyone want to do the instructions and they can have the code. V1.0 is already done. I will contently be upgrading the cron job and system

azn_romeo_4u
12-26-2007, 06:45 PM
Anyone know the changes in the file award.php?

The Ottoman
12-26-2007, 06:49 PM
YES and already working on that within my cron job :) I can release it now but need to do instructions and HATE to do them anyone want to do the instructions and they can have the code. V1.0 is already done. I will contently be upgrading the cron job and system


I wouldn't mind taking a crack at the documentation.

reece12
12-26-2007, 11:36 PM
god hack mate

AWJunkies
12-27-2007, 06:09 AM
It is only a few instructions just explaining what you can change to customize it for your board. Hit me up on AIM.

dirtycrow
12-27-2007, 09:21 PM
any plans to post this over to 3.7?

AWJunkies
12-28-2007, 03:55 AM
MAN the site admins need to make a POST to make aware that no developer will be working on any software till it is out of beta and been tested for few months and bug free meaning may be 3.7.1 or 2 before mods will be worked on for latest version. Be aware guys BETA is not made for LIVE sites! It is for test only to find bugs and fix before getting out of beta. Since code changes all the time within alpha and beta no coder should mess with it until it is finally released. That is just stupid programing.

I will be keeping up with this mod, since I have to have it on site, so expect me to keep this mod going for all later software upgrades.

CypherSTL
12-30-2007, 09:43 PM
any plans to post this over to 3.7?

This does work without issues in 3.7 Beta 3.

AWJunkies
12-31-2007, 01:40 AM
Working on even more features guys will be done soon. Was finishing up donation bar and donation mod.

RollaJedi
01-02-2008, 01:08 AM
YES and already working on that within my cron job :) I can release it now but need to do instructions and HATE to do them anyone want to do the instructions and they can have the code. V1.0 is already done. I will contently be upgrading the cron job and system

i'm assuming you are referring to my question about assigning someone to a usergroup based on the number of awards you have, correct? If so, THANK YOU!!!! Awesome and cant wait!

mum2gem
01-03-2008, 11:15 PM
can someone help me im new to all this
i have uploaded it but nothing works, there is no pics and when i click on award on my forum page it goes to "can not display this page"

AWJunkies
01-04-2008, 12:18 PM
FYI I will get back to this mod after Monday! I will be releasing my new donation system MOD about that time.

Raptor
01-05-2008, 07:20 AM
AWJunkies - many thanks for your work. Your cron jobs are exactley what im looking for

I highly anticipate your release. My main requirements are giving auto awards on X amount of posts and also for X usergroups.

Looking forward to it - many thanks again !

AWJunkies
01-05-2008, 09:36 AM
I can give you the cron to mess around with but not supported till after I am done with this donation system. It may go another week or two depending on when I will be happy with all the features.

Raptor
01-05-2008, 06:30 PM
that would be great m8 - i can have a play in the meantime

u have a nice forum btw ;)

MalebolgiaHR
01-06-2008, 02:53 AM
Ok, I have a strange issue. I can see the awards when I do a post, but when I come back to the post later, the awards are not there. Has anyone else seen this?

I don't have the problem on the MemberInfo.

It looks like the $post[showuserawards] and $post[userawards] are not set after I do an edit or refresh a thread. Did I miss something?

Anyone?

mvigod
01-07-2008, 04:59 PM
One small problem. I created a Automated Bot user to give out the awards in place of the moderator or admin (userid 0). When entereing the user ID it doesnt want to see anything past the first digit. So with the user ID entered 19344, it sends the PM or email from userID "1". Change it to 15 and it does the same thing (sends it from USERID "1").

If set to 0 it works fine.

Great Mod and works really well!

mvigod
01-07-2008, 05:00 PM
Anyone?
Post your Postbit template. Any other Mods installed that alter the postbit?

Raptor
01-09-2008, 03:54 AM
I can give you the cron to mess around with but not supported till after I am done with this donation system. It may go another week or two depending on when I will be happy with all the features.

could you pm that to me pls bro ?

cheers

AWJunkies
01-09-2008, 09:51 AM
About to change it old version is php4+ compliant but going to use speed features of php5+ to send all the PM's when there is mass amount of people who qualify for awards. I should be releasing the Donation MOD tomorrow then getting back to this. AGAIN sorry for delay I hope you guys like the donation mod :)

jluerken
01-10-2008, 08:27 AM
It would be nice to get this updated for vB 3.7 using the new TABs in the member profile

Kaelon
01-11-2008, 03:25 PM
It would be nice to get this updated for vB 3.7 using the new TABs in the member profile
Agreed!

glorify
01-12-2008, 04:38 AM
This does work without issues in 3.7 Beta 3.

Yes, without the memberinfo template. No Go there even after trying to add it back into the blocks.

theoz1
01-15-2008, 07:58 AM
Were there suppose to be 5 medals with this? I only have one.

jdbnsnobal.net
01-18-2008, 12:47 AM
I have a question, I don't know if it's a bug or an error on my part. I placed a link to the award list/description page which has the "request award" link on it. I filled out all of the info in the award manager and checked the user ID (mine) over and over thinking it must be the problem. What happens is a user puts in a request for an award and submits it. Then the next page is an error message stating;

1. The following users were not found:

1. 3943 This is my user ID#



In my award settings, I have;

From Userid for Congratulation PM and/or Email (field highlighted yellow) "my own user ID#"

Award request Forum ID "0"

Award request Thread ID "0"

Award request PM address "my user ID#"

Award request email address (highlighted yellow) left blank

Am I just overlooking a simple setting or is this a possible bug? Otherwise this award system is exactly what I was looking for. If I could figure out this tiny problem it would be perfect, great job!

katie hunter
01-25-2008, 11:31 AM
hi everyone,

I am not sure if this mod or other mod caused this but after installing this hack with 2 more hacks, server load reached max etc.. Does anyone know if this modification eats a lot of queries ?

AWJunkies
01-26-2008, 03:14 AM
Need more info on what Vb version you are using and these other mods. This mod should not have this effect.

Also sorry guys almost done with donation system so stay tuned for that then I will get to this mod. Just so much on plate at moment.

CypherSTL
01-26-2008, 05:01 AM
Yes, without the memberinfo template. No Go there even after trying to add it back into the blocks.

I installed this on my board 3.7 beta 3 and everything shows up fine, even in the memberinfo.

You can check it out on my site (battle-lands.com)

No one has had any issues with it at all.

the other day I upgraded forums to 3.7 beta 4 and hack still works with no issues.

cykelmyggen
01-26-2008, 12:17 PM
I've had this nice mod working for a long time - even upgrading from 3.5. to 3.6. without any problems. After i installed a custom template it has stopped working. Everything looks fine except awards doesn't show up in user profile. Tried to upgrade and overwrite mod without succes and I even removed and reinstalled it - still without succes. Running vb 3.6.8. Patch Level 2. Any ideas what could be my problem?:confused:

therogueforums
01-28-2008, 06:52 AM
Will there be a 3.7 release? When I tried to install this, the reputation display went haywire. Granted, 3.7 is still in beta, and there are bound to be issues.

MalebolgiaHR
01-28-2008, 11:01 AM
Post your Postbit template. Any other Mods installed that alter the postbit?

The only other mod in the template is an unrelated if condition. I highlighted the mods in read.

Here it is:



<table class="tborder" id="post$post[postid]" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead" $post[scrolltothis]>
<div class="normal" style="float:$stylevar[right]">
&nbsp;
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a> &nbsp;</if>
<if condition="$show['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>&nbsp;
</if>
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a> &nbsp;</if>
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a> &nbsp;</if>
$post[iplogged]
<!-- start code 'bft' -->
<if condition="$post['threadbanlinkinfo']"><a href="$post[threadbanlinkinfo]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/threadban.gif" alt="Thread Ban Info" border="0" /></a></if>
<!-- end code 'bft' -->

<if condition="$show['inlinemod']">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
</if>
</div>

<div class="normal">
<!-- status icon and date -->
<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
<if condition="!$show['announcement']">
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
<else />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</div>
</td>
</tr>
<tr>
<td class="alt2" style="padding:0px">
<!-- user info -->
<table cellpadding="0" cellspacing="$stylevar[cellpadding]" border="0" width="100%">
<tr>
<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>
<td nowrap="nowrap">

<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
$post[onlinestatus]
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>

<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>

</td>
<td width="100%">&nbsp;</td>
<td valign="top" nowrap="nowrap">

<div class="smallfont">
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
<div>
$vbphrase[posts]: $post[posts]
</div>
<div>Debriefings: $post[debriefings]
</div>
<div>
<img src="image.php?u=$post[userid]&dateline=$post[profilepicdateline]&type=profile">
</div>

<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
<if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>

</div>
</td>
</tr>
</table>
<!-- / user info -->
</td>
</tr>
<tr>
<td class="alt1" id="td_post_$post[postid]">
<!-- message, attachments, sig -->

<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>

<!-- message -->
<div id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->

<if condition="$show['attachments']">
<!-- attachments -->
<div style="padding:$stylevar[cellpadding]px">

<if condition="$show['thumbnailattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_thumbnails]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachmentlink']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</fieldset>
</if>

<if condition="$show['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</table>
</fieldset>
</if>

<if condition="$show['moderatedattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attachments_pending_approval]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</fieldset>
</if>

</div>
<!-- / attachments -->
</if>

<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<br>
<!-- / sig -->
</if>


<if condition="$post[showuserawards]">
<fieldset><legend><a href="member.php?u=$post[userid]#award" title="$vbphrase[more_awards]">$vbphrase[award_showcase]</a></legend>
<div>
$post[userawards]
<br>
<a href="member.php?u=$post[userid]#award" title="$vbphrase[more_awards]">$vbphrase[total_awards]</a>: $post[num_awards]
</div>
</fieldset>
</if>


<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont"> <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<em>
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
<if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
</em>
</div>
<!-- / edit note -->
</if>

<div style="margin-top: 10px" align="$stylevar[right]">
<!-- controls -->
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>

<if condition="$post['debriefing'] == 0">
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
</if>
<if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
</if>
<if condition="$show['quickreply'] AND !$show['threadedmode']">
<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>
<if condition="$show['moderated']">
<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
<if condition="$show['deletedpost']">
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
<if condition="$show['redcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
<else />
<if condition="$show['yellowcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
</if>
</if>
<!-- / controls -->
</div>

<!-- message, attachments, sig -->

</td>
</tr>
</table>

<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none;">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td></tr>
</if>
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if>
<!-- start code 'bft' -->
<if condition="$post['threadunbanlink']">
<tr><td class="vbmenu_option"><a href="$post[threadunbanlink]"><phrase 1="$post[username]">$vbphrase[unban_x_from_thread]</phrase></a></td></tr>
<else />
<if condition="$post['threadbanlink']">
<tr><td class="vbmenu_option"><a href="$post[threadbanlink]"><phrase 1="$post[username]">$vbphrase[ban_x_from_thread]</phrase></a></td></tr>
</if>
</if>
<!-- end code 'bft' -->

</table>
</div>
<!-- / post $post[postid] popup menu -->

alfieuk
01-28-2008, 11:00 PM
Works on 3.6.8 perfectly ;)

Thank you

mvigod
01-30-2008, 11:43 AM
The only thing I can see is you have it below your signature line. You want it below your icon's as below

The only other mod in the template is an unrelated if condition. I highlighted the mods in read.

Find:
<div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>

Add below:
<if condition="$post[showuserawards]">
<fieldset><legend><a href="member.php?u=$post[userid]#award" title="$vbphrase[more_awards]">$vbphrase[award_showcase]</a></legend>
<div>
$post[userawards]
<br>
<a href="member.php?u=$post[userid]#award" title="$vbphrase[more_awards]">$vbphrase[total_awards]</a>: $post[num_awards]
</div>
</fieldset>
</if>

TCE Killa
01-30-2008, 12:56 PM
I installed this along time ago, it is brilliant and running very well on 3.6.8.

MalebolgiaHR
02-01-2008, 03:42 PM
It seems like there is nothing wrong with that code segment, because when I do a new post it comes up and shows the awards. However, if I am veiwing threads, the awards do not show up on the posts. From the troubleshooting I have done, I can see that the $show[userawards] and $post[userawards] array values are not set. So, I am wondering if I missed some coding for this, and where the code that sets these values would be for viewing threads as opposed to a new post.

Does that make sense?

The only thing I can see is you have it below your signature line. You want it below your icon's as below



Find:
<div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>

Add below:
<if condition="$post[showuserawards]">
<fieldset><legend><a href="member.php?u=$post[userid]#award" title="$vbphrase[more_awards]">$vbphrase[award_showcase]</a></legend>
<div>
$post[userawards]
<br>
<a href="member.php?u=$post[userid]#award" title="$vbphrase[more_awards]">$vbphrase[total_awards]</a>: $post[num_awards]
</div>
</fieldset>
</if>

majordork82
02-03-2008, 12:39 AM
edit: Thanks to Toucan42, I found the frameset tag and all, I have the box and assorted text removed. Thanks for the help there.

For anyone wondering how to remove the awards showcase box in your post pit do the following:
- Go into your style/template manager
- Into the style you have the mod installed under
- Open the post_bit legacy template.
Remove the <fieldset> and <legend> tags also be sure to remove their closing tags as well i.e </fieldset> and </legend>

If you want to remove the space in between the awards do the following:
Go into your style/template manager
Into the style where the mod is installed
Open the Yet Another Awards System Templates tab
Open the Awards bit template
Remove the following at the very end of the code: &nbsp;
Now all the awards will be right next to each other.


I still need to figure how to get it to wrap after 5 awards though, anyone can help?

So I tried this on my site but it didn't seem to work. I was nervous to delete anything that said "class" though (as a lot of the "fieldset" things said "<fieldset class="fieldset">"). Is this what I actually delete? Someone please help me. Thanks

majordork82
02-03-2008, 12:47 AM
If it helps here is my coding, maybe someone can help me?

$template_hook[postbit_start]
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
<if condition="$show['announcement']">
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]" colspan="2">
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</td>
<else />
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-right: 0px" $post[scrolltothis]>
<!-- status icon and date -->
<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</td>
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px" align="$stylevar[right]">
&nbsp;
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
<if condition="$show['inlinemod']">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
</if>
</td>
</if>
</tr>
<tr valign="top">
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">

<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>

<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
$template_hook[postbit_userinfo_left]

<if condition="$show['avatar']">
<div class="smallfont">
&nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
</div>
</if>

<div class="smallfont">
&nbsp;<br />
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
<div>
$vbphrase[posts]: $post[posts]
</div>
$template_hook[postbit_userinfo_right_after_posts]
<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
<if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
$template_hook[postbit_userinfo_right]
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>




<!-- show awards -->
<if condition="$post[showuserawards]">
<a href="member.php?u=$post[userid]#award" title="$vbphrase[more_awards]">$vbphrase[award_showcase]</a>
<div>
$post[userawards]
<br>
<a href="member.php?u=$post[userid]#award" title="$vbphrase[more_awards]">$vbphrase[total_awards]</a>: $post[num_awards]
</div>

</if>
<!-- /show awards -->




</div>

</td>
<if condition="$show['moderated']">
<td class="alt2" id="td_post_$post[postid]" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
<else />
<td class="alt1" id="td_post_$post[postid]" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
</if>
$template_hook[postbit_messagearea_start]
<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>

<!-- message -->
<div id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->

<if condition="$show['attachments']">
<!-- attachments -->
<div style="padding:$stylevar[cellpadding]px">

<if condition="$show['thumbnailattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_thumbnails]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>

</if>

<if condition="$show['imageattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>

</if>

<if condition="$show['imageattachmentlink']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</fieldset>
</if>

<if condition="$show['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</table>
</fieldset>
</if>

<if condition="$show['moderatedattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attachments_pending_approval]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</fieldset>
</if>

</div>
<!-- / attachments -->
</if>

$template_hook[postbit_signature_start]

<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>

$template_hook[postbit_signature_end]

<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont"> <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<em>
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
<if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
</em>
</div>
<!-- / edit note -->
</if>

</td>
</tr>
<tr>
<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px">
$post[onlinestatus]
<if condition="$show['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>
</if>
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a></if>
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if>
$post[iplogged]
&nbsp;
</td>
<if condition="$show['moderated']">
<td class="alt2" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px; border-top: 0px">
<else />
<td class="alt1" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px; border-top: 0px">
</if>
<!-- controls -->
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
<if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
</if>
<if condition="$show['quickreply'] AND !$show['threadedmode']">
<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>
<if condition="$show['moderated']">
<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
<if condition="$show['deletedpost']">
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
<if condition="$show['redcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
<else />
<if condition="$show['yellowcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
</if>
</if>
$template_hook[postbit_controls]
<!-- / controls -->
</td>
</tr>
</table>
$template_hook[postbit_end]

<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr>
</if>
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if>
$template_hook[postbit_user_popup]
</table>
</div>
<!-- / post $post[postid] popup menu -->

MatthewH12
02-03-2008, 11:29 PM
Running VB Version 3.6.8 Patch 2 and VBAdvanced and on VBA's site navigation it has an awards link, which I want, except it says this:

Not Found

The requested URL /->options[bburl]}/awards.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Also, under the site navigation settings it says:
This setting has been customized in the following page(s):
1 Pages -- Homepage
This setting has previously had a custom value set for it in the page(s) listed above. The value set in any of these pages will override the value set here. To change the value of this setting on these pages, you must edit the page and change the value there, or revert the setting on that page so it will use the value set here.

and I have no idea what that means.

Any ideas?

Thanks!

Zero2Cool
02-04-2008, 11:27 AM
It's possible to give a award to members from a special usergroup?
Incl. automatic giving und removing.

KenDude
02-05-2008, 01:22 PM
It's possible to give a award to members from a special usergroup?
Incl. automatic giving und removing.

Right now you cannot give awards by usergroup, I really wish that was an option because I have a large group I'd like to give all of them an award. Additionally, I have a bunch of people that I've given awards to in the past and I'd like to create a new usergroup based on the people who have a certain awards so it would be great if someone could tie together usergroups and this award system in an update.

I am running on VB 3.6.8 SP2 without any problems.

therogueforums
02-05-2008, 02:59 PM
All I'd like to do is to be able to add this to the user profiles for 3.7. Perhaps in the Statistics block or something. However, when I try to add the code, it messes up the profile, and suspends the AJAX.

*sigh* Hopefully someone will get to this.

edytwinky
02-06-2008, 07:57 PM
Any way to make the awards page private to only members logged in?

Hannan
02-08-2008, 02:55 AM
Nice MOD, thank you

therogueforums
02-08-2008, 08:22 AM
Would anyone be willing to contact the author, and make a go at getting this 3.7 compatible?

MalebolgiaHR
02-09-2008, 01:38 PM
Ok, I have a strange issue. I can see the awards when I do a post, but when I come back to the post later, the awards are not there. Has anyone else seen this?

I don't have the problem on the MemberInfo.

It looks like the $post[showuserawards] and $post[userawards] are not set after I do an edit or refresh a thread. Did I miss something?

:cool:

Yes! Yes! Yes! I found my issue. My membership wants to see their awards on every post; so when they are reading a thread, they want to see the awards on every post. I am assuming this is not part of the original plan, but I finally figured out how to make it happen.

For anyone else that may want this, all you have to do is go into the hook titled YAAS - postbit_display_start and add the showthread script to the beginning. This will force the awards to appear everytime a thread is shown.

Beautiful Hack mtha! My members love it.

:cool:

Deadly Assassin
02-12-2008, 04:24 AM
I have this installed and its ace, thanks.

Just one thing; is there any way this can support .png's as the trans .gifs i have made look well ropey when i try to use them?

Thanks for a great hack/Mod

RokuDaMerlin
02-16-2008, 08:43 AM
work good to 3.7.0 Beta 5 ;)

Queball_Beast
02-16-2008, 09:56 PM
Hi,

Is there a way to automatically give all new registrants a new members medal as an incentive .

Member award just for being a member, given automatically.

An awards setting where members can earn an award after achieving or meeting a certain criteria or goal.

Thanks

.

FOMSCU Forum
02-19-2008, 03:44 PM
I Thank You 4 This Amazing Hack

edytwinky
02-20-2008, 03:56 PM
Any way to make the awards page private to only members logged in?

Anybody have an idea if this is possible?

CLF
02-20-2008, 11:16 PM
Amazing! I'm working on my images right now. However, I got one question. I edited all the templates like instructed, but in the last one (NAVBAR) I couldn't find this:

<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>

...therefore I didn't know where to add this:

<!-- show awards -->
<td class="vbmenu_control"><a href="awards.php$session[sessionurl_q]">$vbphrase[award]</a></td>
<!-- /show awards -->

Does nayone know where to put this code into my NAVBAR?

Thank you!
CLICKED INSTALL! :)

CLF
02-21-2008, 02:11 AM
Amazing! I'm working on my images right now. However, I got one question. I edited all the templates like instructed, but in the last one (NAVBAR) I couldn't find this:

<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>

...therefore I didn't know where to add this:

<!-- show awards -->
<td class="vbmenu_control"><a href="awards.php$session[sessionurl_q]">$vbphrase[award]</a></td>
<!-- /show awards -->

Does nayone know where to put this code into my NAVBAR?

Thank you!
CLICKED INSTALL! :)

Please, anyone... THANK YOU!

CLF
02-21-2008, 03:44 AM
Amazing! I'm working on my images right now. However, I got one question. I edited all the templates like instructed, but in the last one (NAVBAR) I couldn't find this:

<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>

...therefore I didn't know where to add this:

<!-- show awards -->
<td class="vbmenu_control"><a href="awards.php$session[sessionurl_q]">$vbphrase[award]</a></td>
<!-- /show awards -->

Does nayone know where to put this code into my NAVBAR?

Thank you!
CLICKED INSTALL! :)

Looks like the author of this hack has not logged in in quite some time, so I would need to quote myself and ask again if anyone here knows the answer for my question. Please, anyone... THANK YOU!

CLF
02-21-2008, 02:26 PM
yup it is working perfect.... :) vbulletin 3.6.8 :)

just one thing i couldnt find this:

<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>

on the navbar

so idont know where this goes...

<!-- show awards -->
<td class="vbmenu_control"><a href="awards.php$session[sessionurl_q]">$vbphrase[award]</a></td>
<!-- /show awards -->

my navbar look like this:

<script type="text/javascript">
<!--
function log_out()
{
ht = document.getElementsByTagName("html");
ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grays cale=1)";
if (confirm('$vbphrase[sure_you_want_to_log_out]'))
{
return true;
}
else
{
ht[0].style.filter = "";
return false;
}
}
//-->
</script>

<br />

<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%">
<if condition="is_array($navbits)">
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="bottom">
<td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
<td>&nbsp;</td>
<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
</tr>
<tr>
<td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="" border="0" /><else /><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <strong>$navbits[lastelement]</strong></td>
</tr>
</table>
<else />
<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
</if>
</td>

<if condition="$show['member']">

<td class="alt2" valign="top" nowrap="nowrap">
<div class="smallfont">
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
<if condition="$show['pmwarning']"><br /><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if><br />
<a href="$vboptions[bburl]/login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a>




</div>
</td>

<else />

<td class="alt2" nowrap="nowrap" style="padding:0px">

<!-- login form -->
<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td class="smallfont"><label for="navbar_username">$vbphrase[username]</label></td>
<td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
<td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td>
</tr>
<tr>
<td class="smallfont"><label for="navbar_password">$vbphrase[password]</label></td>
<td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td>
<td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
</tr>
</table>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<!-- / login form -->

</td>

</if>

</tr>
</table>
<!-- / breadcrumb, login, pm info -->

<br />

any ideas where to put the other missing thing????

thank you!!!:p


Same problem here. It looks like nobody has an answer to this question. I hate quoting myself and the author hasn't logged in in quite some time now.
SOMEBODY?
Thank you!

therogueforums
02-21-2008, 04:01 PM
Would someone running 3.7 beta please PM me the Memberinfo template they are using, so I can try to add this hack. Every time I try, it freezes the Ajax, and everything gets weird. Looking at a stable template would help out a lot.

R-D
02-21-2008, 10:10 PM
Same problem here. It looks like nobody has an answer to this question. I hate quoting myself and the author hasn't logged in in quite some time now.
SOMEBODY?
Thank you!Try the "header" template.

CLF
02-21-2008, 11:21 PM
Try the "header" template.

Thank you for the response. I just checked it... No, it's not there either.
Any ideas? Thank you!

mousegeek
02-22-2008, 01:06 AM
Will this work on 3.6.8??

PoetJA-1975
02-22-2008, 01:19 AM
Thank you for the response. I just checked it... No, it's not there either.
Any ideas? Thank you!

That bit of code is used only to show the link to the Awards page - your navbar template may be differenct from the default vB style if you've added a different skin...

PM me your navbar template and site url - I'll find where to put the code for you ;)

Jacquii.

PoetJA-1975
02-22-2008, 01:21 AM
Will this work on 3.6.8??


Yes - works wonderfully on my vB 3.6.8 PL2 install: http://jpicforum.info/awards.php

Jacquii.

mousegeek
02-22-2008, 02:50 AM
I can't seem to get it to display in my Admin Cp but in my Mod CP I can find it on the colomum. Any reason how to get it to show on my Admin CP coloum??

therogueforums
02-25-2008, 01:52 PM
It's amazing how no one here has even attempted to help me. I was even willing to throw a few bucks to the person's PayPal, just for the help. *sigh* All I wanted was for someone to PM me a copy of what their MEMBERINFO template looked like, running on 3.7, so I can compare, and see where my code was wrong. I honestly didn't think that was too much to ask. This level of cooperation is inspiring.:up:

Jafo232
02-25-2008, 05:37 PM
Conditional awards would be nice in this hack.. I.e. if #ofposts > 1000 -> award user..

katie hunter
02-27-2008, 10:13 AM
Does anyone know where i can find the instruction to edit my php files ? i can't find it in the doc folder.i see template edit but not the php edit file.

TTG
02-27-2008, 10:27 AM
Does anyone know where i can find the instruction to edit my php files ? i can't find it in the doc folder.i see template edit but not the php edit file.

There are no .php edits :confused:

Just tested in 3.7.0 beta 5 and it works well :up:

katie hunter
02-27-2008, 10:38 AM
There are no .php edits :confused:

Just tested in 3.7.0 beta 5 and it works well :up:

But it states that in the doc :confused: i uploaded the files > import xml but i can't see the award panel in my admin cp, did i miss to edit something ?


This part , php files not template
Files to edit: 8 (/admincp/index.php, member.php, showthread.php, showpost.php, announcement.php, private.php, memberlist.php, /include/functions_online.php)

mousegeek
02-27-2008, 10:24 PM
It's amazing how no one here has even attempted to help me. I was even willing to throw a few bucks to the person's PayPal, just for the help. *sigh* All I wanted was for someone to PM me a copy of what their MEMBERINFO template looked like, running on 3.7, so I can compare, and see where my code was wrong. I honestly didn't think that was too much to ask. This level of cooperation is inspiring.:up:

I would show you mine but im running off of 3.6.8.

therogueforums
02-28-2008, 05:59 AM
Well, I appreciate you at least responding.

floydian1
02-28-2008, 01:23 PM
My members can't see the awards.

I can see them... but no one else can.

Any ideas?

mousegeek
02-29-2008, 02:42 AM
Try checking your usergroup settings, happened to me also. I wish the creator would respond to our questions seeing it clearly states ''Supported''

haytham
02-29-2008, 06:41 AM
https://vborg.vbsupport.ru/

how do I remove these img tags from the request message?

masterweb
02-29-2008, 03:23 PM
Installed on a 3.6.8 board. Works great!

insidedesign
02-29-2008, 04:38 PM
Has anyone had issues with this MOD when upgrading to vB 3.7?

therogueforums
02-29-2008, 05:32 PM
I have. I had to go through the templates and find the code, not an easy feat for me, as I usually run, fast, from php and html. I finally got it working, though. BIG THANKS to all the people who helped me!

leannet
02-29-2008, 11:19 PM
I have vbulletin 3.6.4 i cant find where to give users an award in admin cp, i coulf find in modcp and went to test it and it said there was an error

PC-Junky
03-01-2008, 07:30 PM
Wenn i start import the file product-yet_another_award_system_212.xml, i receipt this Errormessage.


Importiere Add-on, Bitte warten...

[:]
Alter table - award
Alter table - usergroup

Tables Altered Successfully


Warnung: require_once(/kunden/139549_12307/testvb/includes/class_bitfield_builder.php) [function.require-once]: failed to open stream: No such file or directory in /admincp/plugin.php5(1970) : eval()'d code (Zeile 16)

Fatal error: require_once() [function.require]: Failed opening required '/kunden/139549_12307/testvb/includes/class_bitfield_builder.php' (include_path='.:/usr/local/lib/php') in /kunden/139549_12307/testvb/admincp/plugin.php5(1970) : eval()'d code on line 16


What is wrong?

AWJunkies
03-01-2008, 07:33 PM
Hey guys I am back. I will get to this mod now :). I released the payment system and donation system mods so have some time to dedicate to this.

Elenna
03-01-2008, 09:59 PM
Thanks very much, AW! We are thinking of implementing this on our site over the next month or so. Can you share any ideas you have up your sleeve for this?

haytham
03-02-2008, 09:11 AM
http://farazdk.com/easypics/images/klz1204274435a.jpg

how do I remove these img tags from the request message?

just hoping to find a solution. These tags don't look right. At least tell me if you've got those when you installed the mod or not so I know it must be something in my own forum.

TTG
03-02-2008, 11:14 AM
Has anyone had issues with this MOD when upgrading to vB 3.7?

Running it with no problems on 3.7.0 beta 5 :up:

JVCode
03-02-2008, 12:01 PM
Can anyone give me some help with the template changes on 3.7 Beta 5.

therogueforums
03-02-2008, 01:18 PM
Can anyone give me some help with the template changes on 3.7 Beta 5.
PM me what your errors are, and I'll TRY to help. Unlike some of these blokes, I'm willing to share my knowledge, however limited it is.

AWJunkies
03-03-2008, 03:07 AM
I will be finishing up the cron job sometime this week to release for you guys along with more default medals and images. Also have it integrated with my new payment and donation system which you guys should pick up. Stay tuned probably looking wed-fri for release of the cron and package for YAAS.

dsmoke
03-05-2008, 10:29 PM
can't wait to see what u have come up with keep us posted

Xanlamin
03-06-2008, 08:38 AM
Does anyone know where i can find the instruction to edit my php files ? i can't find it in the doc folder.i see template edit but not the php edit file.

You do not edit any PHP files for this hack.

mtha
03-07-2008, 04:46 PM
wow, good to see that you guys like this one, and support each other on problems.

I've been too busy with my work, haven't have time for this at all. sorry sorry :)

hope you guys have fun

therogueforums
03-09-2008, 08:46 AM
wow, good to see that you guys like this one, and support each other on problems.

I've been too busy with my work, haven't have time for this at all. sorry sorry :)

hope you guys have fun
Yes, one of the most useful hacks I have ever seen, at least for my site! Took a while to get it to work properly on my board, but now that it is, I am loving it- great work!

PoetJA-1975
03-09-2008, 09:59 PM
Is there anyway to use this modification to stamp POSTS as well as stamping THREADS???

Thanx,

JAcquii.

ERAFOX
03-10-2008, 06:00 PM
great idea , nice !

daviblight
03-11-2008, 09:11 PM
I have the script setup, and everything seems to sorta work...

but its not showing the actual award images/links within the profiles or posts...

here is an example of my profile: http://www.conceptart.org/forums/member.php?u=11725#award
and here is the awards page
http://www.conceptart.org/forums/awards.php

I've only given myself the default award and everything looks fine in the admincp

any suggestions on how to fix this would be very much grateful.

fluentdesigns
03-11-2008, 09:13 PM
Thanks AW, looking forward to release. Will it be for 3.7 as well?

AWJunkies
03-11-2008, 11:12 PM
Thanks AW, looking forward to release. Will it be for 3.7 as well?

Yes, Sorry again have a LOT of projects on plate at the moment. So we shall see.

Xanlamin
03-12-2008, 08:46 AM
Hi there again AW...

Anyways, back to my post.

This hack works flawless in 3.7, been running it since 3.7 came out and I am currently on 3.7.0 Beta 6 with no issues.

hjmaier
03-13-2008, 06:26 PM
Hi there again AW...


Anyways, back to my post.

This hack works flawless in 3.7, been running it since 3.7 came out and I am currently on 3.7.0 Beta 6 with no issues.
Could you post your memberinfo template?

Best regards
hj

Xanlamin
03-14-2008, 12:03 AM
Not a problem.

I just added it at the very end just above the footer hook (highlighted in bold red) so that it would not interfere with the new profiles.

$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude

$usercss
$memberinfo_css
<style type="text/css" id="vbulletin_tabctrl_css">
@import url("clientscript/vbulletin_tabctrl.css?v=$vboptions[simpleversion]");
<if condition="$show['rtl']">@import url("clientscript/vbulletin_tabctrl_rtl.css?v=$vboptions[simpleversion]");</if>
</style>

<script type="text/javascript" src="clientscript/vbulletin_tabctrl.js?v=$vboptions[simpleversion]"></script>

<title>$vboptions - $vbphrase[view_profile]: $userinfo[username]</title>

<if condition="$userinfo['userid'] == $bbuserinfo['userid']">
<script type="text/javascript" src="clientscript/vbulletin_profilefield_edit.js?v=$vboptions[simpleversion]"></script>
</if>
<script type="text/javascript">
<!--
vbphrase['server_failed_respond_try_again'] = "$vbphrase[server_failed_respond_try_again]";
vbphrase['edit_value'] = "$vbphrase[edit_value_js]";

<if condition="$show['post_visitor_message']">
function goto_post_pm()
{
vB_TabCtrls['profile_tabs'].switch_tab('visitor_messaging');
fetch_object('visitor_messaging').scrollIntoView() ;

var textarea = fetch_object('visitor_message_form_textarea');
if (textarea)
{
textarea.focus();
textarea.select();
}
}
</if>
-->
</script>

</head>
<body>

$header
$navbar


<!-- begin user css -->
<div id="usercss" class="floatcontainer">

<div id="content_container">
<div id="content">

<div id="main_userinfo" class="floatcontainer">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<if condition="$prepared['profilepicurl']">
<td id="profilepic_cell" class="tborder alt2"><img src="$prepared[profilepicurl]" $prepared[profilepicsize] alt="<phrase 1="$prepared[username]">$vbphrase[xs_picture]</phrase>" /></td>
</if>
<td valign="top" width="100%" id="username_box"<if condition="$prepared['profilepicurl']"> class="profilepic_adjacent"</if>>
<if condition="$prepared['rank'] OR $prepared['reputationdisplay']">
<div id="reputation_rank">
<if condition="$prepared['reputationdisplay']">
<div id="reputation">$prepared[reputationdisplay]</div>
</if>
<if condition="$prepared['rank']">
<div id="rank">$prepared[rank]</div>
</if>
</div>
</if>
<h1>$prepared[musername] $prepared[onlinestatus]</h1>
<if condition="$prepared['usertitle']">
<h2>$prepared[usertitle]</h2>
</if>
</td>
</tr>
</table>

<!-- link bar -->
<div class="tborder content_block" id="link_bar">
<ul class="thead block_row block_title list_no_decoration floatcontainer">
<if condition="$show['usercss_switch']">
<if condition="$prepared['myprofile']">
<li class="thead" id="usercss_switch_link"><a href="profile.php?$session[sessionurl]do=customize">$vbphrase[customize_profile]</a></li>
<else />
<li class="thead" id="usercss_switch_link"><a href="profile.php?$session[sessionurl]do=switchusercss&amp;hash=$bbuserinfo[logouthash]&amp;u=$prepared[userid]">$usercss_switch_phrase</a></li>
</if>
</if>

<if condition="$show['contactlinks']">
<li class="thead" id="minicontact"><a href="#contactinfo">$vbphrase[send_message]</a> <script type="text/javascript">vBmenu.register("minicontact");</script></li>
</if>

<if condition="$show['userlists']">
<li class="thead" id="userlists"><a href="profile.php?$session[sessionurl]do=buddylist&amp;nojs=1">$vbphrase[user_lists]</a> <script type="text/javascript">vBmenu.register("userlists");</script></li>
</if>

<if condition="$show['usernotes']">
<li class="thead"><a href="usernote.php?$session[sessionurl]u=$prepared[userid]">$vbphrase[user_notes] ($prepared[usernotecount])</a></li>
</if>

<if condition="can_moderate()">
<li class="thead"><a href="moderator.php?$session[sessionurl]do=useroptions&amp;u=$userinfo[userid]">$vbphrase[edit_user_profile]</a></li>
</if>
</ul>

<!-- current activity -->
<if condition="$prepared['lastactivitydate'] OR $prepared['action']">
<div class="alt2 smallfont block_row" id="activity_info">
<if condition="$prepared['lastactivitydate']">
<div id="last_online">
<span class="shade">$vbphrase[last_activity]:</span> $prepared[lastactivitydate]<if condition="!$show['detailedtime']"> <span class="time">$prepared[lastactivitytime]</span></if>
</div>
</if>
<if condition="$prepared['action']">
<span class="shade">$vbphrase[current_activity]:</span> $prepared[action] $prepared[where]
</if>
</div>
</if>
<!-- / current activity -->

</div>
<!-- / link bar -->

<!-- user list menu -->
<ul id="userlists_menu" class="vbmenu_popup list_no_decoration" style="display: none">
<li class="thead first"><phrase 1="$prepared[username]">$vbphrase[user_lists]</phrase></li>
<if condition="$prepared['canbefriend']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=friend&amp;u=$prepared[userid]"><if condition="$prepared['requestedfriend']">$vbphrase[confirm_friendship_request]<else />$vbphrase[add_to_friends_list]</if></a>
</li>
</if>
<if condition="$prepared['isfriend']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=friend&amp;u=$prepared[userid]">$vbphrase[remove_from_friends_list]</a>
</li>
</if>
<if condition="$show['addbuddylist']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$prepared[userid]">$vbphrase[add_to_contacts]</a>
</li>
</if>
<if condition="$show['removebuddylist']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=buddy&amp;u=$prepared[userid]">$vbphrase[remove_from_contacts]</a>
</li>
</if>
<if condition="$show['addignorelist']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=ignore&amp;u=$prepared[userid]">$vbphrase[add_to_ignore_list]</a>
</li>
</if>
<if condition="$show['removeignorelist']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=ignore&amp;u=$prepared[userid]">$vbphrase[remove_from_ignore_list]</a>
</li>
</if>
</ul>

<!-- contact popup menu -->
<ul id="minicontact_menu" class="vbmenu_popup list_no_decoration" style="display:none">
<if condition="$show['post_visitor_message'] OR $show['pm'] OR $show['email']">
<li class="thead first"><phrase 1="$prepared[username]">$vbphrase[send_message_to_x]</phrase></li>
</if>
<if condition="$show['post_visitor_message']"><li class="vbmenu_option"><img src="$stylevar[imgdir_button]/sendtofriend.gif" alt="" class="alt2 inlineimg" /> <a href="visitormessage.php?$session[sessionurl]do=message&amp;u=$prepared[userid]" onclick="return goto_post_pm();"><phrase 1="$prepared[username]">$vbphrase[post_a_visitor_message_for_x]</phrase></a></li></if>
<if condition="$show['pm']">
<li class="vbmenu_option"><img src="$stylevar[imgdir_button]/sendtofriend.gif" alt="" class="alt2 inlineimg" /> <a href="private.php?$session[sessionurl]do=newpm&amp;u=$prepared[userid]" rel="nofollow"><phrase 1="$prepared[username]">$vbphrase[send_private_message_to_x]</phrase></a></li>
</if>
<if condition="$show['email']"><li class="vbmenu_option"><img src="$stylevar[imgdir_button]/sendtofriend.gif" alt="" class="alt2 inlineimg" /> <a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$prepared[userid]" rel="nofollow"><phrase 1="$prepared[username]">$vbphrase[send_message_via_email_to_x]</phrase></a></li></if>
<if condition="$prepared['hasimdetails']">
<li class="thead<if condition="!$show['post_visitor_message'] AND !$show['pm'] AND !$show['email']"> first</if>">$vbphrase[instant_messaging]</li>
<if condition="$prepared['icq']">
<li class="vbmenu_option"><img class="alt2 inlineimg" alt="" src="$stylevar[imgdir_misc]/im_icq.gif" /> <a href="#" dir="ltr" onclick="imwindow('icq', '$prepared[userid]', 500, 450); return false;"><phrase 1="$prepared[username]">$vbphrase[send_icq_message_to_x]</phrase></a></li>
</if>
<if condition="$prepared['aim']">
<li class="vbmenu_option"><img class="alt2 inlineimg" alt="" src="$stylevar[imgdir_misc]/im_aim.gif" /> <a href="#" dir="ltr" onclick="imwindow('aim', '$prepared[userid]', 400, 200); return false;"><phrase 1="$prepared[username]">$vbphrase[send_aim_message_to_x]</phrase></a></li>
</if>
<if condition="$prepared['msn']">
<li class="vbmenu_option"><img class="alt2 inlineimg" alt="" src="$stylevar[imgdir_misc]/im_msn.gif" /> <a href="#" dir="ltr" onclick="imwindow('msn', '$prepared[userid]', 400, 200); return false;"><phrase 1="$prepared[username]">$vbphrase[send_msn_message_to_x]</phrase></a></li>
</if>
<if condition="$prepared['yahoo']">
<li class="vbmenu_option"><img src="$stylevar[imgdir_misc]/im_yahoo.gif" alt="" class="alt2 inlineimg" /> <a href="#" dir="ltr" onclick="imwindow('yahoo', '$prepared[userid]', 400, 200); return false;"><phrase 1="$prepared[username]">$vbphrase[send_yahoo_message_to_x]</phrase></a></li>
</if>
<if condition="$prepared['skype']">
<li class="vbmenu_option"><img src="$stylevar[imgdir_misc]/im_skype.gif" alt="" class="alt2 inlineimg" /> <a href="#" dir="ltr" onclick="imwindow('skype', '$prepared[userid]', 400, 285); return false;"><phrase 1="$prepared[username]">$vbphrase[send_skype_message_to_x]</phrase></a></li>
</if>
</if>
</ul>
<!-- / contact popup menu -->
</div>

<div id="profile_tabs">
$template_hook[profile_left_first]
$blocks[visitor_messaging]
$blocks[aboutme]
$blocks[stats]
$blocks[friends]
$blocks[infractions]
$blocks[contactinfo]
$template_hook[profile_left_last]
</div>

<script type="text/javascript">
<!--
vBulletin.register_control("vB_TabCtrl", "profile_tabs", "$selected_tab", "&raquo;", "profile.php?u=2&do=loadtab&tabid={1:tabid}");
//-->
</script>

</div>
</div>

<div id="sidebar_container">
<!-- sidebar -->
$template_hook[profile_right_first]
$blocks[stats_mini]
$template_hook[profile_right_mini]
$blocks[friends_mini]
$blocks[albums]
$template_hook[profile_right_album]
$blocks[groups]
$blocks[visitors]
$template_hook[profile_right_last]
<!-- / sidebar -->
</div>

<!-- end usercss -->
</div>



$dmemberinfo
$dmemberfiles

[B]<!-- Award detail list -->
<if condition="$show['userawards']">
<a name="award"></a>
<br>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="3" align="center">$vbphrase[award_showcase]</td>
</tr>
<tr>
<if condition="$vboptions[aw_showicon]">
<td class="thead" nowrap>$vbphrase[award_icon]</td>
</if>
<if condition="$vboptions[aw_showimage]">
<td class="thead" nowrap>$vbphrase[award_image]</td>
</if>
<td class="thead" width="100%">$vbphrase[award_description]</td>
</tr>
$userawardslistbits
</table>
</if>
<!-- /Award detail list -->

$footer

</body>
</html>

My site is http://www.Battle-Lands.com if you wanted to see how it looks in the profiles.

J105C
03-14-2008, 04:40 AM
How do you delete a user from getting an award? I tested it, now I want to remove him from receiving the award lol

Xanlamin
03-14-2008, 07:39 AM
Click on Award Manager and then click on "manage" on the award you want to remove the user from, you will see the following options within:

J105C
03-14-2008, 09:40 AM
Thanks :D

J105C
03-16-2008, 04:11 AM
Installed and looking mighty fine. I had to change the award PM, tables in the award page, and a few other things though. Looks awesome :)

PoetJA-1975
03-16-2008, 05:29 AM
** BUMPITY BUMP **

Is there anyway to use this modification to stamp POSTS as well as stamping THREADS???

Thanx,

JAcquii.

ramsayeg
03-16-2008, 10:28 AM
Is this working on 3.7 Beta 6 as well by any chance?

Xanlamin
03-16-2008, 04:18 PM
I don't mean to sound rude....but obviously you have not read a single page, cause just 8 post up from yours gives you the answer....

I hate when people do not read...if your to lazy to read your to lazy to Admin vBulletin.

Kiint
03-16-2008, 04:23 PM
I don't mean to sound rude....but obviously you have not read a single page, cause just 8 post up from yours gives you the answer....

I hate when people do not read...if your to lazy to read your to lazy to Admin vBulletin.

a simple Yes would have been better rather than to start a flame war with pointless posts...

Yes it does work, although you will need to customise some of your templates I expect. I'm currently modifying my own system now.

Xanlamin
03-16-2008, 04:44 PM
There was a simple yes stated, in 8 post above his by me.

It was not meant to be a flame, but it was very obvious that he read the hack discription (maybe all of it) and then clicked on the last page and scrolled down and made a post without reading anything else.

jmurrayhead
03-16-2008, 08:49 PM
I recieve the following error when a user attempts to view a userprofile with awards (non award members' profiles view as normal):

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in \member.php(838) : eval()'d code on line 115

Any idea what this means?

Xanlamin
03-16-2008, 09:24 PM
What version of vB you running? Can you link me to your site please?

jmurrayhead
03-16-2008, 09:27 PM
What version of vB you running? Can you link me to your site please?
3.6.8 http://www.developerbarn.com

Xanlamin
03-16-2008, 09:30 PM
Ok, it would seem the error is caused by placement in your memberinfo template.

jmurrayhead
03-16-2008, 09:58 PM
Ok, it would seem the error is caused by placement in your memberinfo template.

I sent you some info, I checked the placement in the memberinfo template and it is as stated to be in the documentation as far as I can see.

PoetJA-1975
03-17-2008, 12:24 AM
** BUMPITY BUMP **

I assume know one has any idea how to adapt this modification so it can be used to stamp posts as well as threads then...

Oh well... Nice modification anyway.

Jacquii.

RollaJedi
03-17-2008, 07:37 PM
are we all still waiting on the automatic giving rewards mod mentioned by aw?

cafenetland
03-19-2008, 01:51 AM
installed. thx.

AWJunkies
03-19-2008, 06:38 AM
<a href="http://www.allwheelcoding.com" target="_blank">www.allwheelcoding.com</a>

I hate to post that but that is where you can contact me 20 hours a day in the chatbox or whatever BUG me so I release it to you guys. It has been done for 5 months ahah. Just need to change donation table since I created own system. Then an AUTO build XML which would take 5 seconds for a dump. So PLEASE BOTHER ME or I will never get to sending this to you guys. Just so busy with other projects things keep getting pushed ahead.

mirageboss
03-21-2008, 05:37 PM
can u use this on 3.6.8?

Xanlamin
03-21-2008, 06:00 PM
As it was designed to work on 3.6.5...yes you can use it on 3.6.8

mum2gem
03-24-2008, 03:16 AM
Ive uploaded this and i dont get any of the screens that is shown in the screen shots page and i cant figur out how to add medals?

Xanlamin
03-24-2008, 04:07 AM
what version of vB you running?

mum2gem
03-24-2008, 07:52 AM
its 3.6.8

JayJay
03-24-2008, 01:07 PM
Just an idea AW, but tickboxes in the user bitfields for awards would be ideal for somebody like me who utilises the Awards system heavily. Or at the least, the ability to add more than one award at a time as opposed to the current heavy handed way of navigating.

RollaJedi
03-24-2008, 03:53 PM
I too have a suggestion. Could we possibly get the option to let moderators give out only certain awards, or awards in certain categories? I want to let my mods the ability to give awards, but not all of them. I have a collecting site so I have mods that each oversee a particular area of collecting. I would like to have the mod for toy collecting to be able to give out the toy collecting awards, but thats it. And likewise for say cars collecting, giving only the cars collecting mod the ability for giving that particular category of awards. And so on and so on.

Crrrazzzy
03-25-2008, 07:51 AM
With the release of vBulletin 3.7, is there any possibility of a newer version being released or of some template edits being made to show the awards for a user in a tab on their profile page?

If that wouldn't be a full release, could someone point me in the right direction about how to go about creating such an award tab for the users' profile pages?

mum2gem
03-26-2008, 10:21 PM
Is someone going to help me, how come i cant see the award menu in my admin panel??????????????

crashys
03-27-2008, 11:24 AM
3.7 version is important indeed... anyone manage to install it there? :|

Majava
03-28-2008, 07:36 AM
Well, it's been over 24 hours so I guess it's ok to bump...

I have this problem as well. I read through every single page and I couldnt find a single answer to the issue.

I hate to uninstall but the member profile is messed up....

Xanlamin
03-28-2008, 08:26 AM
I made a post as to how to add this in the members profile. It installs on 3.7 with zero issues, and the fix I posted fixes the members profile so it shows

Cloudrunner
03-28-2008, 12:33 PM
I made a post as to how to add this in the members profile. It installs on 3.7 with zero issues, and the fix I posted fixes the members profile so it shows
A link perhaps? maybe?

JVCode
03-28-2008, 12:33 PM
3.7 version is important indeed... anyone manage to install it there? :|

I have it installed and working fine on 3.7 RC1 - Although i'm looking for a solution to adding it to memerinfo again. that template doesn't seem to like the awards system.

EDIT: I've managed to sort out the MEMBERINFO problems, looks great now :)

Xanlamin
03-28-2008, 01:28 PM
A link perhaps? maybe?

Sure.

Page 26 of this thread.

https://vborg.vbsupport.ru/showpost.php?p=1464253&postcount=384

Majava
03-28-2008, 03:00 PM
Im using 3.6.8, so your fix doesnt apply to me.

My error starts when I give the award, then messes up their profile. Even when its disabled, the profile is messed up till I uninstall.

Majava
03-28-2008, 06:27 PM
nm..

uninstalled.

mahsazn
03-30-2008, 12:42 AM
i don't have the menu in admincp! (though i've uploaded all the files)

Xanlamin
03-30-2008, 03:05 AM
Thats weird, I have never had an issue with this hack on 3.6 nor 3.7 at all.

mahsazn
03-30-2008, 07:55 PM
then i must have had a mistake but i donno where...

mum2gem
03-31-2008, 02:19 AM
i don't have the menu in admincp! (though i've uploaded all the files)

I had the same prob but i deleted all the uploads i done in my cpanel and then uploaded again.

Did you upload them in the appropriate folders? admincp contents into your admincp folder on your CP file manager?

mum2gem
03-31-2008, 03:18 AM
My board is 3.6.4

I have it all installed and all looks great, i can change settings, add awards etc.. BUT when i try to open the "Give Awards to members' from the drop down menu, it won't open, i can't give the awards. shouldn't that have been included when i uploaded the php files in my admin cp in my CPanel??

therogueforums
03-31-2008, 05:06 PM
Is it possible to make a Mini Awards showcase for 3.7x users, that displays the awards given out in order of precedence? Something like:

http://www.therogueforums.com/imagehosting/147f127c8dedd4.png

Mrdby
04-01-2008, 08:48 PM
3.6.9?

haytham
04-02-2008, 09:28 AM
I have upgraded to 3.6.9 and it's working fine.

ruger
04-02-2008, 04:54 PM
I shoot down one problem and another comes up... or rather several.

1. Look at this page: SOuthwest Regulators (http://www.southwestregulators.com/forums/showpost.php?p=7740&postcount=3) notice how the two full lines of ribbons are not spaced at all (which is good) but the third one with only two ribbons has a gap between it and the others. How do I remove that gap? I've looked through my code searching for a rogue &nbsp; tag or something and nothing... what is causing this?

2. It only wraps after 5 ribbons in the postbit_legacy, not in the new style horizontal postbit. How can I have it wrap after 5 ribbons in the new post bit?

Any help is appreciated. Thanks!

Can anyone help me set up the wrapping after 5 awards. Basically make it so I can stack rows? PLEASE

Jdm Ej1 Coupe
04-03-2008, 12:27 AM
Installed and working on 3.7.0 candidate 1

aztam
04-03-2008, 01:26 PM
Great hack thanks for your work on it.

Would anyone know how to make the awards appear in the signature of users rather than the post bit?

mahsazn
04-03-2008, 11:07 PM
I had the same prob but i deleted all the uploads i done in my cpanel and then uploaded again.

Did you upload them in the appropriate folders? admincp contents into your admincp folder on your CP file manager?

yes i had uploaded one of the files in wrong folder; now it's OK. thank u :)

gx123
04-06-2008, 08:44 PM
i got this warning messages in every member profile pages that i awarded.


Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /member.php(838) : eval()'d code on line 95

what's happening ?
link to one of the member that have been awarded in my forum :
http://www.gamexeon.com/forum/members/unwinged.html

please help :)
thanks.

POKER UTD
04-08-2008, 02:00 PM
Was play around in photoshop anyone interessted in this kind. see screen

Can be a new set with medals ....

Hi

I run http://www.pokerunited.co.uk

Its a forum for a poker room with a football theme.

Could you design a few football specific awards? We can give you a bit of money :)

POKER UTD
04-08-2008, 02:02 PM
BTW I love this mod

toucan42
04-13-2008, 12:28 AM
This works on 3.7RC3 without issue - great hack - have loved this one all along

pygmyshrew
04-13-2008, 09:03 AM
Having an issue where the app seems to have installed fine but the medal arent being displayed anywhere on the forums, under names, in user profiles etc.

It may be worth mention we have upgraded the mod from a previous version, 2.1.2 i believe so it has been working in the past.

Any ideas what I can do to fix this?

Edit:

Not sure if this will help, I've given myselt a test award and its not displaying the image but rather this,

The Order of St. Michael & St George
images/medals/stmichaelstgeorge.png

Dear Blake!

If I click on it I get a description of the award, whos got it, what it looks like etc, that bits fine.

toucan42
04-13-2008, 01:51 PM
make sure the image is in the path specified - if you are seeing the link I imagine you are using firefox - in IE do you see the red X?

Icleus
04-16-2008, 05:40 PM
I have uploaded the add files and they work fine. AdminCP and all its functions work properly. The problem I have is with the file edits. The code that needs to inserted before and after certain formats is in HTML but all of my files are set up in PHP code. :confused:

I see all the variables such as navbar, MEMBERINFO, and postbit but they're being handled a lot differently than what the Templates Editing says to do.

Without the edits in those files the awards display doesn't show up in profiles nor under the user's names. :(

I'm using VB version 3.6.8
Any help would be appreciated.

toucan42
04-16-2008, 05:43 PM
don't edit the PHP files, but rather in your admincp go to Style & Templates ---> Style Manager ---> Edit Templates and select the appropriate template for editing.

Icleus
04-16-2008, 06:29 PM
Wow I made it way more painful than it really was...
Thanks! I'm use to going into seas of code and either end up sinking or swimming.

Got it to work. :)

GrossKopf
04-22-2008, 02:38 PM
There's 30 pages of replies, so please forgive me if this is contained there, but it's hard to page through 30 pages...

I go into the AdminCP, click on the Awards System Settings, then go down to "From Userid for Congratulation PM and/or Email" and try editing the PM text, but when I click on the link, I get "No Phrases Matched Your Query".

*** EDIT

Just found this reply:

To edit PM content you edit the phrase "award_pm". For some reason it doesn't show under the award phrases so go to "Search Phrases" and search for "{$award_name}" and it'll bring it right up.

I don't quite understand what that means.

myown
04-27-2008, 09:40 AM
this work with 3.7 RC4?

SavvyPirates
04-30-2008, 01:26 AM
Not a problem.

I just added it at the very end just above the footer hook (highlighted in bold red) so that it would not interfere with the new profiles.


Thanks dude! I was wondering where to put it since they totally redid this template.

I agree with some of the others. Making a tab for this to work with the new profile page would be great, but there's no hurry since this works just fine. :D

Mum
04-30-2008, 01:48 AM
Wanting to know if this will work with 3.7.0?

Xanlamin
04-30-2008, 08:54 AM
Wanting to know if this will work with 3.7.0?

Yes it does.

Xanlamin
04-30-2008, 08:55 AM
Thanks dude! I was wondering where to put it since they totally redid this template.

I agree with some of the others. Making a tab for this to work with the new profile page would be great, but there's no hurry since this works just fine. :D

I will be doing this soon, right now I have a lot on my plate but this is on my agenda to do, once done I will post code for it.

LAJAURIA
04-30-2008, 10:45 PM
I'm using 3.7 and I can't modify the templates, because they are different, for example "MEMBERINFO"...

What should I do?

Xanlamin
04-30-2008, 11:59 PM
Not a problem.

I just added it at the very end just above the footer hook (highlighted in bold red) so that it would not interfere with the new profiles.

$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude

$usercss
$memberinfo_css
<style type="text/css" id="vbulletin_tabctrl_css">
@import url("clientscript/vbulletin_tabctrl.css?v=$vboptions[simpleversion]");
<if condition="$show['rtl']">@import url("clientscript/vbulletin_tabctrl_rtl.css?v=$vboptions[simpleversion]");</if>
</style>

<script type="text/javascript" src="clientscript/vbulletin_tabctrl.js?v=$vboptions[simpleversion]"></script>

<title>$vboptions - $vbphrase[view_profile]: $userinfo[username]</title>

<if condition="$userinfo['userid'] == $bbuserinfo['userid']">
<script type="text/javascript" src="clientscript/vbulletin_profilefield_edit.js?v=$vboptions[simpleversion]"></script>
</if>
<script type="text/javascript">
<!--
vbphrase['server_failed_respond_try_again'] = "$vbphrase[server_failed_respond_try_again]";
vbphrase['edit_value'] = "$vbphrase[edit_value_js]";

<if condition="$show['post_visitor_message']">
function goto_post_pm()
{
vB_TabCtrls['profile_tabs'].switch_tab('visitor_messaging');
fetch_object('visitor_messaging').scrollIntoView() ;

var textarea = fetch_object('visitor_message_form_textarea');
if (textarea)
{
textarea.focus();
textarea.select();
}
}
</if>
-->
</script>

</head>
<body>

$header
$navbar


<!-- begin user css -->
<div id="usercss" class="floatcontainer">

<div id="content_container">
<div id="content">

<div id="main_userinfo" class="floatcontainer">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<if condition="$prepared['profilepicurl']">
<td id="profilepic_cell" class="tborder alt2"><img src="$prepared[profilepicurl]" $prepared[profilepicsize] alt="<phrase 1="$prepared[username]">$vbphrase[xs_picture]</phrase>" /></td>
</if>
<td valign="top" width="100%" id="username_box"<if condition="$prepared['profilepicurl']"> class="profilepic_adjacent"</if>>
<if condition="$prepared['rank'] OR $prepared['reputationdisplay']">
<div id="reputation_rank">
<if condition="$prepared['reputationdisplay']">
<div id="reputation">$prepared[reputationdisplay]</div>
</if>
<if condition="$prepared['rank']">
<div id="rank">$prepared[rank]</div>
</if>
</div>
</if>
<h1>$prepared[musername] $prepared[onlinestatus]</h1>
<if condition="$prepared['usertitle']">
<h2>$prepared[usertitle]</h2>
</if>
</td>
</tr>
</table>

<!-- link bar -->
<div class="tborder content_block" id="link_bar">
<ul class="thead block_row block_title list_no_decoration floatcontainer">
<if condition="$show['usercss_switch']">
<if condition="$prepared['myprofile']">
<li class="thead" id="usercss_switch_link"><a href="profile.php?$session[sessionurl]do=customize">$vbphrase[customize_profile]</a></li>
<else />
<li class="thead" id="usercss_switch_link"><a href="profile.php?$session[sessionurl]do=switchusercss&amp;hash=$bbuserinfo[logouthash]&amp;u=$prepared[userid]">$usercss_switch_phrase</a></li>
</if>
</if>

<if condition="$show['contactlinks']">
<li class="thead" id="minicontact"><a href="#contactinfo">$vbphrase[send_message]</a> <script type="text/javascript">vBmenu.register("minicontact");</script></li>
</if>

<if condition="$show['userlists']">
<li class="thead" id="userlists"><a href="profile.php?$session[sessionurl]do=buddylist&amp;nojs=1">$vbphrase[user_lists]</a> <script type="text/javascript">vBmenu.register("userlists");</script></li>
</if>

<if condition="$show['usernotes']">
<li class="thead"><a href="usernote.php?$session[sessionurl]u=$prepared[userid]">$vbphrase[user_notes] ($prepared[usernotecount])</a></li>
</if>

<if condition="can_moderate()">
<li class="thead"><a href="moderator.php?$session[sessionurl]do=useroptions&amp;u=$userinfo[userid]">$vbphrase[edit_user_profile]</a></li>
</if>
</ul>

<!-- current activity -->
<if condition="$prepared['lastactivitydate'] OR $prepared['action']">
<div class="alt2 smallfont block_row" id="activity_info">
<if condition="$prepared['lastactivitydate']">
<div id="last_online">
<span class="shade">$vbphrase[last_activity]:</span> $prepared[lastactivitydate]<if condition="!$show['detailedtime']"> <span class="time">$prepared[lastactivitytime]</span></if>
</div>
</if>
<if condition="$prepared['action']">
<span class="shade">$vbphrase[current_activity]:</span> $prepared[action] $prepared[where]
</if>
</div>
</if>
<!-- / current activity -->

</div>
<!-- / link bar -->

<!-- user list menu -->
<ul id="userlists_menu" class="vbmenu_popup list_no_decoration" style="display: none">
<li class="thead first"><phrase 1="$prepared[username]">$vbphrase[user_lists]</phrase></li>
<if condition="$prepared['canbefriend']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=friend&amp;u=$prepared[userid]"><if condition="$prepared['requestedfriend']">$vbphrase[confirm_friendship_request]<else />$vbphrase[add_to_friends_list]</if></a>
</li>
</if>
<if condition="$prepared['isfriend']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=friend&amp;u=$prepared[userid]">$vbphrase[remove_from_friends_list]</a>
</li>
</if>
<if condition="$show['addbuddylist']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$prepared[userid]">$vbphrase[add_to_contacts]</a>
</li>
</if>
<if condition="$show['removebuddylist']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=buddy&amp;u=$prepared[userid]">$vbphrase[remove_from_contacts]</a>
</li>
</if>
<if condition="$show['addignorelist']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=ignore&amp;u=$prepared[userid]">$vbphrase[add_to_ignore_list]</a>
</li>
</if>
<if condition="$show['removeignorelist']">
<li class="vbmenu_option">
<a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=ignore&amp;u=$prepared[userid]">$vbphrase[remove_from_ignore_list]</a>
</li>
</if>
</ul>

<!-- contact popup menu -->
<ul id="minicontact_menu" class="vbmenu_popup list_no_decoration" style="display:none">
<if condition="$show['post_visitor_message'] OR $show['pm'] OR $show['email']">
<li class="thead first"><phrase 1="$prepared[username]">$vbphrase[send_message_to_x]</phrase></li>
</if>
<if condition="$show['post_visitor_message']"><li class="vbmenu_option"><img src="$stylevar[imgdir_button]/sendtofriend.gif" alt="" class="alt2 inlineimg" /> <a href="visitormessage.php?$session[sessionurl]do=message&amp;u=$prepared[userid]" onclick="return goto_post_pm();"><phrase 1="$prepared[username]">$vbphrase[post_a_visitor_message_for_x]</phrase></a></li></if>
<if condition="$show['pm']">
<li class="vbmenu_option"><img src="$stylevar[imgdir_button]/sendtofriend.gif" alt="" class="alt2 inlineimg" /> <a href="private.php?$session[sessionurl]do=newpm&amp;u=$prepared[userid]" rel="nofollow"><phrase 1="$prepared[username]">$vbphrase[send_private_message_to_x]</phrase></a></li>
</if>
<if condition="$show['email']"><li class="vbmenu_option"><img src="$stylevar[imgdir_button]/sendtofriend.gif" alt="" class="alt2 inlineimg" /> <a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$prepared[userid]" rel="nofollow"><phrase 1="$prepared[username]">$vbphrase[send_message_via_email_to_x]</phrase></a></li></if>
<if condition="$prepared['hasimdetails']">
<li class="thead<if condition="!$show['post_visitor_message'] AND !$show['pm'] AND !$show['email']"> first</if>">$vbphrase[instant_messaging]</li>
<if condition="$prepared['icq']">
<li class="vbmenu_option"><img class="alt2 inlineimg" alt="" src="$stylevar[imgdir_misc]/im_icq.gif" /> <a href="#" dir="ltr" onclick="imwindow('icq', '$prepared[userid]', 500, 450); return false;"><phrase 1="$prepared[username]">$vbphrase[send_icq_message_to_x]</phrase></a></li>
</if>
<if condition="$prepared['aim']">
<li class="vbmenu_option"><img class="alt2 inlineimg" alt="" src="$stylevar[imgdir_misc]/im_aim.gif" /> <a href="#" dir="ltr" onclick="imwindow('aim', '$prepared[userid]', 400, 200); return false;"><phrase 1="$prepared[username]">$vbphrase[send_aim_message_to_x]</phrase></a></li>
</if>
<if condition="$prepared['msn']">
<li class="vbmenu_option"><img class="alt2 inlineimg" alt="" src="$stylevar[imgdir_misc]/im_msn.gif" /> <a href="#" dir="ltr" onclick="imwindow('msn', '$prepared[userid]', 400, 200); return false;"><phrase 1="$prepared[username]">$vbphrase[send_msn_message_to_x]</phrase></a></li>
</if>
<if condition="$prepared['yahoo']">
<li class="vbmenu_option"><img src="$stylevar[imgdir_misc]/im_yahoo.gif" alt="" class="alt2 inlineimg" /> <a href="#" dir="ltr" onclick="imwindow('yahoo', '$prepared[userid]', 400, 200); return false;"><phrase 1="$prepared[username]">$vbphrase[send_yahoo_message_to_x]</phrase></a></li>
</if>
<if condition="$prepared['skype']">
<li class="vbmenu_option"><img src="$stylevar[imgdir_misc]/im_skype.gif" alt="" class="alt2 inlineimg" /> <a href="#" dir="ltr" onclick="imwindow('skype', '$prepared[userid]', 400, 285); return false;"><phrase 1="$prepared[username]">$vbphrase[send_skype_message_to_x]</phrase></a></li>
</if>
</if>
</ul>
<!-- / contact popup menu -->
</div>

<div id="profile_tabs">
$template_hook[profile_left_first]
$blocks[visitor_messaging]
$blocks[aboutme]
$blocks[stats]
$blocks[friends]
$blocks[infractions]
$blocks[contactinfo]
$template_hook[profile_left_last]
</div>

<script type="text/javascript">
<!--
vBulletin.register_control("vB_TabCtrl", "profile_tabs", "$selected_tab", "&raquo;", "profile.php?u=2&do=loadtab&tabid={1:tabid}");
//-->
</script>

</div>
</div>

<div id="sidebar_container">
<!-- sidebar -->
$template_hook[profile_right_first]
$blocks[stats_mini]
$template_hook[profile_right_mini]
$blocks[friends_mini]
$blocks[albums]
$template_hook[profile_right_album]
$blocks[groups]
$blocks[visitors]
$template_hook[profile_right_last]
<!-- / sidebar -->
</div>

<!-- end usercss -->
</div>



$dmemberinfo
$dmemberfiles

[B]<!-- Award detail list -->
<if condition="$show['userawards']">
<a name="award"></a>
<br>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="3" align="center">$vbphrase[award_showcase]</td>
</tr>
<tr>
<if condition="$vboptions[aw_showicon]">
<td class="thead" nowrap>$vbphrase[award_icon]</td>
</if>
<if condition="$vboptions[aw_showimage]">
<td class="thead" nowrap>$vbphrase[award_image]</td>
</if>
<td class="thead" width="100%">$vbphrase[award_description]</td>
</tr>
$userawardslistbits
</table>
</if>
<!-- /Award detail list -->

$footer

</body>
</html>

My site is http://www.Battle-Lands.com if you wanted to see how it looks in the profiles.

I'm using 3.7 and I can't modify the templates, because they are different, for example "MEMBERINFO"...

What should I do?

Follow that.

katie hunter
05-01-2008, 11:36 PM
Hey, anyone know how to fix this error ? when i upgraded to 3.6.10

Now if you went to create a new Award, and put the url to the medal image, the image don't show instead it shows the url that you just inserted it.

How can i fix this ?

Xanlamin
05-02-2008, 12:03 AM
If your only seeing the URL then your URL is incorrect, double check it and make sure (epically if your on a Linux server) that the URL is caps where it needs to be and so forth, if the image title is .JPG and not .jpg then you need to us .JPG as .jpg would be incorrect.

fariborz
05-02-2008, 05:18 PM
This Product is not supported for 3.7 version of vbulletin?

Xanlamin
05-02-2008, 08:01 PM
It is built for 3.6 but if you read through the pages you will see that this does work on 3.7 with small modifications.

stickskills
05-04-2008, 11:41 PM
I read that this can work for 3.7, but I'd rather get verification that it's still the same in terms of installing. If it isn't, could we get a bit of updated directions? Thanks!

Xanlamin
05-05-2008, 12:28 AM
I read that this can work for 3.7, but I'd rather get verification that it's still the same in terms of installing. If it isn't, could we get a bit of updated directions? Thanks!

You install it normal, the only thing that is different is the profile edits...if you read a few post back you will see how to do it. I have this installed on my site and it is working perfectly with doing the only edit that I posted.

stickskills
05-05-2008, 01:08 AM
K, any idea on which page that is on so I'm not stuck looking through the last 15 pages? :P

RipperHoss
05-05-2008, 01:47 AM
i got this warning messages in every member profile pages that i awarded.



what's happening ?
link to one of the member that have been awarded in my forum :
http://www.gamexeon.com/forum/members/unwinged.html

please help :)
thanks.I have this exact same problem. Any suggestions?

Kiint
05-05-2008, 06:41 AM
K, any idea on which page that is on so I'm not stuck looking through the last 15 pages? :P

maybe do what I did, just go back one page at a time, oh don't worry, page 26.

Xanlamin
05-05-2008, 07:59 AM
Here is a direct link to the post.

https://vborg.vbsupport.ru/showpost.php?p=1503998&postcount=448

I have this exact same problem. Any suggestions?

When I was using 3.6.x I had that once also...however I do not remember how I fixed it, it has been over a year since I was on that version...sorry.

RipperHoss
05-05-2008, 06:54 PM
This is hardly a "fix" for the problem I described, but it will prevent errors from peppering every user's profile.

If you comment out line 426 and 674 in the product-yet_another_award_system_214.xml file, it will prevent the problem code and associated variable from causing you any headaches.

I attached the modified version that I used. Everything appears to be working well on 3.7 since.

Xanlamin
05-05-2008, 07:44 PM
I never had any problems with this modification at all on 3.7, other than the memberinfo template was different, so doing what I did solved that issue, there was nothing else wrong, I never got any errors showing up on 3.7 at all ever.

Playa82
05-07-2008, 07:27 AM
is there an option to get the awards listed in pages ?

i got over 20 awards, it's a very big user profile and u have to scroll down a long time...

thanks if anybody can help me out...

ndut
05-10-2008, 08:25 AM
i already install this add ons, when i using vbulletin v. 3.6.8 and its works fine.
the problem is when i upgrade vbulletin v. 3.7.0 gold.
the medal in user profile & postbit.. has been disappear... and also in memberlist, the awards are all gone.

anybody can help me, how to fix this problem.. may be guide me, step by step? :)

i also has update my memberinfo from admincp, with a guide from page 26.
but it still not workings.. the awards still disappeared?

i also has try the modifications from post #459, but there is an error message when i install it..

A conflict was detected in the bitfields. You cannot continue with the installation of this product until this has been fixed. The conflicts found were:

* Bitfield Collision: prefixrequired = credits_cantearn


help me, please..
thank you

JBMoney
05-11-2008, 06:35 PM
Here is a direct link to the post.

https://vborg.vbsupport.ru/showpost.php?p=1503998&postcount=448

When I was using 3.6.x I had that once also...however I do not remember how I fixed it, it has been over a year since I was on that version...sorry.

How would I include this on the statistics tab of the new 3.7 profiles?

I've tried using a variation of the same code you've used, but it refuses to pull up the data in $userawardslistbits (template 'awards_userawards_bit').

chick
05-12-2008, 12:21 PM
This looks like a very nice & handy system, I'm using 3.6.8 but my question is not related to the board version.
---
When I went to install awards on a 'test board', some of the files wanted to overwrite some of my vbcredits files (samefilenames.php) so I stopped and did not install it.

I see reading through this thread others (and by looking at their sites) are using this awards hack and vbcredits too... but HOW? I doubt that I should let any awards php files overwrite any of my vbcredits php files so what do I do to use this awards system, I'd really like to use it.

Thanks for any help. :confused:

ndut
05-13-2008, 04:25 AM
i already install this add ons, when i using vbulletin v. 3.6.8 and its works fine.
the problem is when i upgrade vbulletin v. 3.7.0 gold.
the medal in user profile & postbit.. has been disappear... and also in memberlist, the awards are all gone.
but in admincp, the settings are still there.. the medals are there.. just didn't show up.

anybody can help me, how to fix this problem.. may be guide me, step by step? :)

akoj
05-13-2008, 05:29 PM
Follow that.
Thank you for the memberinfo change. Worked great

goddess_dix
05-13-2008, 05:47 PM
i already install this add ons, when i using vbulletin v. 3.6.8 and its works fine.
the problem is when i upgrade vbulletin v. 3.7.0 gold.
the medal in user profile & postbit.. has been disappear... and also in memberlist, the awards are all gone.
but in admincp, the settings are still there.. the medals are there.. just didn't show up.

anybody can help me, how to fix this problem.. may be guide me, step by step? :)

this post describes the differences in the new member profile edits - https://vborg.vbsupport.ru/showpost.php?p=1503998&postcount=448

with the memberlist, i haven't encountered that, but your best bet is to dig into your templates and see if you can get any ideas about what's going on. chances are pretty good it's a template issue.

ndut
05-14-2008, 08:35 AM
i'm already add that script into memberinfo... but, still.. the awards didn't show up... :(
any body can help?

Playa82
05-14-2008, 11:19 AM
SOMEBODY KNOW HOW TO SHOW ONLY 5 or 10 AWARDS WITH SITE NAVIGATION OPTION ?

Xanlamin
05-14-2008, 01:08 PM
i already install this add ons, when i using vbulletin v. 3.6.8 and its works fine.
the problem is when i upgrade vbulletin v. 3.7.0 gold.
the medal in user profile & postbit.. has been disappear... and also in memberlist, the awards are all gone.
but in admincp, the settings are still there.. the medals are there.. just didn't show up.

anybody can help me, how to fix this problem.. may be guide me, step by step? :)

As stated many times, the MEMBERINFO template HAS changed, you need to add the code to the end of the template (as instructed via at least 4 post in this thread), or you can add it at the END of any tabbed template. I have installed/uninstalled and reinstalled many many many times on each version release of 3.7.x and also on 3.7.0 Gold...this hack installed with no issues, only had to do the memberinfo fix.

I know alot of Mods have alot of pages in them, but please read every single page before you go posting questions that have already been answered several times by people.

aamirkhj
05-16-2008, 09:35 PM
I am using Vb 3.7 and no award image is displaying inside post under member information. Can some one help me tell me the codes to add inside post bit for 3.7, the instructions that comes with it is for 3.6 only .

Any help??

RedTrinity
05-17-2008, 12:26 AM
I am using Vb 3.7 and no award image is displaying inside post under member information. Can some one help me tell me the codes to add inside post bit for 3.7, the instructions that comes with it is for 3.6 only .

Any help??

Maybe you should take the above poster's advice, because if you checked the last few pages you would realise that this has been addressed numerous times now.

BigDog56
05-18-2008, 03:50 AM
Got it working on 3.7. Thank you for the above posts!

stickskills
05-18-2008, 06:06 PM
I figured it out, thanks guys!

Just curious, is there any way for users to order the awards by their favorite ones they've received?

sheryjutt
05-18-2008, 08:59 PM
any update for 3.7.0

Xanlamin
05-19-2008, 12:21 AM
I figured it out, thanks guys!

Just curious, is there any way for users to order the awards by their favorite ones they've received?

No there is not, you can only order them from newest to oldest or vice versa.

Xanlamin
05-19-2008, 12:22 AM
any update for 3.7.0

It works on 3.7.0

Pocket Aces
05-19-2008, 09:15 AM
Anyone knows how to place it on a separate tab in memberinfo?

Playa82
05-19-2008, 09:26 AM
Anyone knows how to place it on a separate tab in memberinfo?

good question

Sgt Pepper
05-21-2008, 08:43 AM
Great mod. Works perfect on 3.6.8 1 question though..could you add more images to future versions?

alfieuk
05-21-2008, 09:06 AM
Look at post 13

Easy to alter for your own needs too :)

terminator2k2
05-25-2008, 11:10 AM
i got
Warnung: mysql_num_rows(): supplied argument is not a valid MySQL result resource in [path]/member.php(493) : eval()'d code (Zeile 154)
on the profile page from awarded users, any solutions?

running on vb 3.7 gold

aryabod_co
05-25-2008, 11:38 AM
please update for 3.7.0 gold

DeeperImage
05-25-2008, 03:07 PM
please update for 3.7.0 gold

Ditto. Thanks, guys.

PHILIPS-08
05-25-2008, 05:29 PM
Thanx alot cool mod

trackpads
05-26-2008, 12:18 AM
i got
Warnung: mysql_num_rows(): supplied argument is not a valid MySQL result resource in [path]/member.php(493) : eval()'d code (Zeile 154)
on the profile page from awarded users, any solutions?

running on vb 3.7 gold
It isnt compatible on the 3.7 profile pages yet. Go to your plugin manager and just uncheck the plugins in the awards mod that effect the profile. The rest of the mods still works fine though.

Please mtha!! I want my medals in the profile! :)

Xanlamin
05-26-2008, 12:32 AM
It works fine on the 3.7 profile. I have had this installed on every version of 3.7 from beta 1 to gold, uninstalling each time and reinstalling and this mod has no troubles at all.

Take a look at my previous post about this, it is a very simple fix, you still add it to the memberinfo template just in a different location than what the instructions tell you.

trackpads
05-26-2008, 01:10 AM
wow am I retarded!! Sorry about that. Thanks for all your patience Xan!!!

-Jason

mktrilogy
05-26-2008, 01:27 PM
When i installe the 3.7 gold, my postbit and membeinfo doesnt show i did the fix of Xanlamin for memberinfo but i think i look over this thread and cant find the fix for postbit. Im using a extremepixels skin but its 3.7 version as well. can anyone help how to do it with the postbit?

Mark Fortune
05-28-2008, 02:01 AM
Great Hack! When a member clicks on request award, the header drops off my page...has anyone had a similiar situation. Or what section in templates can I edit to make the header appear properly...

Xanlamin
05-28-2008, 05:53 AM
When i installe the 3.7 gold, my postbit and membeinfo doesnt show i did the fix of Xanlamin for memberinfo but i think i look over this thread and cant find the fix for postbit. Im using a extremepixels skin but its 3.7 version as well. can anyone help how to do it with the postbit?

It could be a skin problem, make sure the skin is 100% 3.7 compatible.

Great Hack! When a member clicks on request award, the header drops off my page...has anyone had a similiar situation. Or what section in templates can I edit to make the header appear properly...

What skin you running, as with the above user it may be a problem with the skin itself and not the hack.

Playa82
05-28-2008, 06:08 AM
is there an option to get the awards listed in pages ?

i got over 20 awards, it's a very big user profile and u have to scroll down a long time...

thanks if anybody can help me out...

any solutions for this ???

Xanlamin
05-28-2008, 06:54 AM
I am still in the works of making it's own profile tab that all awards would be shown in, someone else may have already completed this though as I am slow at it cause I can not devote as much time as I would like for it.

But to answer your question....a new tab that would show the awards is the best bet.

Playa82
05-28-2008, 07:15 AM
I am still in the works of making it's own profile tab that all awards would be shown in, someone else may have already completed this though as I am slow at it cause I can not devote as much time as I would like for it.

But to answer your question....a new tab that would show the awards is the best bet.

i tried it, too. but i'm not a good coder. i hope somebody can release a tab or a page navigation for that soon.

thanks

Boosted Panda
05-28-2008, 04:13 PM
Is there anyway to get it to where if a member hits X amount of posts an award is automatically given?

choccyclaire
05-28-2008, 05:01 PM
Its still working fine on my 3.7.0! Although I can't vouch for showing in your profile because I've altered that part of the code!

gamerscms
05-29-2008, 02:05 PM
I have contacted the author of this mod to see if he would port it and our clan would pay for the port to be done.

lets hope he is feeling good :P

myown
06-01-2008, 07:44 AM
any one running it successfully on 3.7 ?

Xanlamin
06-01-2008, 08:46 AM
I have contacted the author of this mod to see if he would port it and our clan would pay for the port to be done.

lets hope he is feeling good :P

Port it for what? It does not need porting to 3.7, it works as is with the small fix that I had already posted.

any one running it successfully on 3.7 ?

Apparently you do not read cause your question has been answered many times already.

gamerscms
06-06-2008, 12:39 AM
This mod works perfect with 3.7 thanks to Xanlamin for posting his profile fix :)