vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - Yet Another Awards System 2.1.4 (https://vborg.vbsupport.ru/showthread.php?t=142487)

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.

Quote:

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

Quote:

Originally Posted by haytham (Post 1453468)
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

Quote:

Originally Posted by insidedesign (Post 1453775)
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

Quote:

Originally Posted by JVCode (Post 1455103)
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

Quote:

Originally Posted by katie hunter (Post 1452000)
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

Quote:

Originally Posted by mtha (Post 1459485)
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/mem...?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

Quote:

Originally Posted by fluentdesigns (Post 1462515)
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

Quote:

Originally Posted by Xanlamin (Post 1462855)
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.

Code:

$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[bbtitle] - $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

<!-- 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 **

Quote:

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

Quote:

Originally Posted by Xanlamin (Post 1466236)
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

Quote:

Originally Posted by Xanlamin (Post 1466503)
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

Quote:

Originally Posted by Xanlamin (Post 1466509)
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

Quote:

Originally Posted by PoetJA-1975 (Post 1465871)
** 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?


All times are GMT. The time now is 08:10 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03108 seconds
  • Memory Usage 1,902KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete