The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Standalone Add-On for Awards/Medals/Cards Hack Details »» | |||||||||||||||||||||||||||
Standalone Add-On for Awards/Medals/Cards Hack
Developer Last Online: May 2006
Stand Alone Awards/Medals/Cards Add-On Hack What this hack does: This hack removes the award showcase from your users profile, but leaves a link to the new standalone version. This hack gives your members (usergroups you specify) the ability to request awards for other members. Requires: Awards/Medals/Cards Hack installed! Instructions include: Template Edits: 5 New Templates: 3 New Files: 1 New Phrases: 2 File Edits: 5 DB Changes: 1 1.01 Update: -- Removed unused queries in award.php, and cached templates to make sure page loads as fast as possible. -- Grouped awards templates together, to make styles and templates cleaner -- Fixed typo in template causing images not to show properly in IE -- General coding cleanup! Screenies are attached, and you can see this in use here! Supporters / CoAuthors Show Your Support
|
Comments |
#42
|
|||
|
|||
OK i don't have a table prefix. I think what I'm asking is do I add a table to my usergroup or do I edit them in the dAtabase?
OK I fixed it. It was the darn ' that messed me up. |
#43
|
||||
|
||||
Quote:
|
#44
|
|||
|
|||
Checked and the modification is done correctly in the memberinfo :ermm:
|
#45
|
||||
|
||||
Can you provide a link to the site, or is this a localhost test?
|
#46
|
|||
|
|||
|
#47
|
|||
|
|||
OK I seem to have done something wrong I tested it out and this is the message I get...
Quote:
|
#48
|
||||
|
||||
So it seems it truncated the email.
Make sure that the global phrase : awards_email contains the following: PHP Code:
|
#49
|
|||
|
|||
Thanks alot that did it.
|
#50
|
|||
|
|||
Any solution to my problem Creed? , I did a clean install but ended up with the same problem.
www.webpal.nu/TRR Here is the code for memberinfo $stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> <title>$vboptions[bbtitle] - $vbphrase[view_profile]: $userinfo[username]</title> $headinclude </head> <body> $header $navbar <!-- main info - avatar, profilepic etc. --> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat">$vbphrase[view_profile]<span class="normal">: $userinfo[username]</span></td> </tr> <tr> <td class="alt2"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> <td style="border-bottom:1px solid $stylevar[tborder_bgcolor]" width="100%" colspan="2"> <if condition="$userinfo['rank'] OR $userinfo['reputationdisplay']"> <div style="float:$stylevar[right]; padding:4px"> <if condition="$userinfo['rank']"><div align="center">$userinfo[rank]</div></if> <if condition="$userinfo['reputationdisplay']"><div align="center">$userinfo[reputationdisplay]</div></if> </div> </if> <div style="font-size:18pt">$userinfo[musername]</div> <if condition="$userinfo['usertitle']"><div class="smallfont">$userinfo[usertitle]</div></if> </td> <if condition="$show['profilepic']"> <td valign="top" align="$stylevar[right]" rowspan="2"> <img src="image.php?u=$userinfo[userid]&type=profile&dateline=$userinfo[profilepicdateline]" alt="<phrase 1="$userinfo[username]">$vbphrase[xs_picture]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]" /> </td> </if> </tr> <tr valign="top"> <if condition="$show['avatar']"> <td><img src="$userinfo[avatarurl]" alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" /></td> <else /> <td> </td> </if> <td class="smallfont" valign="bottom" align="$stylevar[right]"> <if condition="$show['lastactivity']"> <div>$vbphrase[last_activity]: $userinfo[lastactivitydate] <span class="time">$userinfo[lastactivitytime]</span> </div> </if> <if condition="$show['currentlocation']"> <div><if condition="$userinfo['action']">$userinfo[action] $userinfo[where]<if condition="$show['detailedtime']"> - <else /> @ </if> $userinfo[time]<else />$vbphrase[offline]</if> </div> </if> </td> </tr> </table> </td> </tr> </table> <!-- / main info - avatar, profilepic etc. --> <!-- button row --> <if condition="$show['profilelinks']"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px"> <tr align="center"> <if condition="$userinfo['showvcard']"> <td class="vbmenu_control"><a href="member.php?$session[sessionurl]do=vcard&u=$userinfo[userid]">$vbphrase[download_vcard]</a></td> </if> <if condition="$show['member']"> <td class="vbmenu_control"> <if condition="$show['addbuddylist']"> <a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[add_x_to_buddy_list]</phrase></a> <else /> <a href="profile.php?$session[sessionurl]do=removelist&userlist=buddy&u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[remove_x_from_your_buddylist]</phrase></a> </if> </td> <td class="vbmenu_control"> <if condition="$show['addignorelist']"> <a href="profile.php?$session[sessionurl]do=addlist&userlist=ignore&u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[add_x_to_ignore_list]</phrase></a> <else /> <a href="profile.php?$session[sessionurl]do=removelist&userlist=ignore&u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[remove_x_from_your_ignorelist]</phrase></a> </if> </td> </if> <if condition="can_moderate()"> <td class="vbmenu_control"><a href="moderator.php?$session[sessionurl]do=useroptions&u=$userinfo[userid]">$vbphrase[user_options]</a></td> </if> </tr> </table> </if> <!-- / button row --> <br /> <if condition="$show['signature']"> <!-- signature row --> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="thead">$vbphrase[signature]</td> </tr> <tr> <td class="alt1" title="$vbphrase[signature]">$userinfo[signature]</td> </tr> </table> <!-- / signature row --> <br /> </if> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat" width="50%">$vbphrase[forum_info]</td> <td class="tcat" width="50%">$vbphrase[contact_info]</td> </tr> <tr valign="top"> <td class="panelsurround" align="center"> <div class="panel"> <div align="$stylevar[left]"> <div class="fieldset"> <div style="padding:$stylevar[formspacer]px"> $vbphrase[join_date]: <strong>$userinfo[datejoined]</strong> </div> </div> <fieldset class="fieldset"> <legend>$vbphrase[posts]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> <tr> <td> $vbphrase[total_posts]: <strong>$userinfo[posts]</strong> (<phrase 1="$postsperday">$vbphrase[x_posts_per_day]</phrase>) </td> </tr> <if condition="$vboptions['profilelastpost']"> <tr> <td> $vbphrase[last_post]:<br /> <a href="$userinfo[lastposturl]">$userinfo[lastposttitle]</a><br /> $userinfo[lastpostdate] <span class="time">$userinfo[lastposttime]</span> </td> </tr> </if> <tr> <td><a href="search.php?$session[sessionurl]do=finduser&u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td> </tr> <tr> <td><a href="search.php?$session[sessionurl]do=process&showposts=0&starteronly=1&e xactname=1&searchuser=$userinfo[urlusername]"><phrase 1="$userinfo[username]">$vbphrase[find_all_threads_started_by_x]</phrase></a></td> </tr> </table> </fieldset> <if condition="$vboptions['usereferrer']"> <div class="fieldset"> <div style="padding:$stylevar[formspacer]px"> $vbphrase[referrals]: <strong>$referrals</strong> </div> </div> </if> <if condition="$show['usernotes']"> <div class="fieldset"> <div style="padding:$stylevar[formspacer]px"> $vbphrase[user_notes]: <strong>$usernote[total]</strong> [<a href="usernote.php?$session[sessionurl]u=$userinfo[userid]">$vbphrase[view]</a>] <if condition="$show['usernotetotal']"> <br />($vbphrase[last]: $usernote[lastpostdate] <span class="time">$usernote[lastposttime]</span>) </if> </div> </div> </if> <!-- [Awards Hack ] --> <fieldset class="fieldset"> <legend>$userinfo[username]'s Awards</legend> <div class="fieldset"> <div style="padding:$stylevar[formspacer]px"> <a href="award.php?u=$userinfo[userid]">View $userinfo[username]'s Awards</a> </div> </div> </fieldset> <!-- [end Awards Hack ] --> </div> </div> </td> <td class="panelsurround" align="center"> <div class="panel"> <div align="$stylevar[left]"> <div class="fieldset"> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> <if condition="$show['homepage']"> <tr> <td> $vbphrase[home_page]:<br /> <a href="$userinfo[homepage]" target="_blank">$userinfo[homepage]</a> </td> </tr> </if> <tr> <td> $vbphrase[email]:<br /> <a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[send_message_via_email_to_x]</phrase></a> </td> </tr> <if condition="$userinfo['pm']"> <tr> <td> $vbphrase[private_message]:<br /> <a href="private.php?$session[sessionurl]do=newpm&u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[send_private_message_to_x]</phrase></a> </td> </tr> </if> </table> </div> <if condition="$show['hasimicons']"> <fieldset class="fieldset"> <legend>$vbphrase[instant_messaging]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> <if condition="$userinfo['showicq']"> <tr> <td>$userinfo[icqicon]</td> <td><a href="#" onclick="return imwindow('icq', '$userinfo[userid]', 500, 450)">$userinfo[icq]</a></td> </tr> </if> <if condition="$userinfo['showaim']"> <tr> <td>$userinfo[aimicon]</td> <td><a href="#" onclick="return imwindow('aim', '$userinfo[userid]', 400, 200)">$userinfo[aim]</a></td> </tr> </if> <if condition="$userinfo['showmsn']"> <tr> <td>$userinfo[msnicon]</td> <td><a href="#" onclick="return imwindow('msn', '$userinfo[userid]', 400, 200)">$userinfo[msn]</a></td> </tr> </if> <if condition="$userinfo['showyahoo']"> <tr> <td>$userinfo[yahooicon]</td> <td><a href="#" onclick="return imwindow('yahoo', '$userinfo[userid]', 400, 200)">$userinfo[yahoo]</a></td> </tr> </if> </table> </fieldset> </if> </div> </div> </td> </tr> <tr> <td class="tcat" width="50%">$vbphrase[additional_information]</td> <td class="tcat" width="50%">$vbphrase[group_memberships]</td> </tr> <tr valign="top"> <td class="panelsurround" align="center"> <div class="panel"> <div align="$stylevar[left]"> <div class="fieldset"> <if condition="$show['extrainfo']"> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> <if condition="$userinfo['birthday']"> <tr> <td> <strong>$vbphrase[birthday]</strong>:<br /> $userinfo[birthday] </td> </tr> </if> $customfields </table> <else /> <em>$vbphrase[n_a]</em> </if> </div> </div> </div> </td> <td class="panelsurround" align="center"> <div class="panel"> <div align="$stylevar[left]"> <div class="fieldset"> <table cellpadding="0" cellspacing="$stylevar[formspacer]px" border="0"> <tr> <if condition="$show['membergroups']"> <td><strong><phrase 1="$userinfo[username]">$vbphrase[x_is_a_member_of_the_following_groups]</phrase></strong>:</td> <else /> <td><strong><phrase 1="$userinfo[username]">$vbphrase[x_is_not_a_member_of_any_public_groups]</phrase></strong></td> </if> </tr> $membergroupbits </table> </div> </div> </div> </td> </tr> </table> $footer </body> </html> |
#51
|
||||
|
||||
BTW, I checked your site...and the hack is working
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|