vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - Yet Another Awards System (https://vborg.vbsupport.ru/showthread.php?t=232684)

squidsk 06-22-2011 03:57 PM

Edit the awards_userawards_bit template and delete the relevant section.

dej 06-23-2011 03:07 AM

Quote:

Originally Posted by squidsk (Post 2211375)
Edit the awards_userawards_bit template and delete the relevant section.

Thank you, worked perfectly :)

Gamelobby 06-23-2011 04:07 AM

Quote:

Originally Posted by squidsk (Post 2207931)
You accidentally deleted the start of the html comment in the awards_awardusers_bit template. Open that template find the line and add <! to the start of it so the start read <!-- (notice no spaces). This will make it a proper html comment.

This is all i have in that template. (awards_awardusers_bit)
Quote:

, <a href="member.php?$session[sessionurl]u=$awardusers[userid]&tab=myawards#award">$awardusers[username]</a>
That is the entire template.?
Am i missing something.?



Thanks

squidsk 06-23-2011 07:39 PM

I don't have that phrase in any template but either way I was looking in the wrong location, it would be in the awards_awardbit template because that's where you'll get both the awards_awardusers_bit being used and the phrase "users who have received this award".

I'm guessing your seeing this on http://www.yourforum.com/forum/awards.php (where http://www.yourforum.com/forum/ is your main forum index) in each different award right?

Gamelobby 06-24-2011 12:02 AM

Yes exactly. on every award, on the awards.php page

Here is the entire code from the awards_awardbit template
Quote:

<tr>
<if condition="$vboptions[aw_showicon]">
<td align="center" class="blockrow">
<img src="$award[award_icon_url]" border="0">
</td>
</if>

<if condition="$vboptions[aw_showimage]">
<td valign="top" align="center" class="blockrow">
<a name="award$award[award_id]"></a>
<img src="$award[award_img_url]" alt="$award[award_name]" border="0">
</td>
</if>

<if condition="$vboptions[aw_showdesc]">
<td class="blockrow"><br /><b><a href="awards.php?do=viewaward&award_id=$award[award_id]">$award[award_name]</a></b>
<div class="smallfont">$award[award_desc]</div>
<if condition="$vboptions[aw_showmembers]">
<hr style="border: 1px solid;" align="left" />
<div style="font-size:11px">
<if condition="$awarduserslist">
$vbphrase[users_with_thisaward]: $aw_ui<br>
$awarduserslist
<else />
$vbphrase[no_award_users]
</if>
</td>
</if>
</div>
</if>
<if condition="$vboptions[aw_actioncolumn]">
<td align="center" nowrap class="blockrow">
<if condition="$vboptions[aw_requestaward]">
<if condition="$award[award_allowrequest]">
<a href="request_award.php?$session[sessionurl]award_id=$award[award_id]">$vbphrase[request_award]</a>
</if>
</if>
<if condition="$vboptions[aw_recommendaward]">
<if condition="$award[award_allowrecommend]">
<br /><a href="recommend_award.php?$session[sessionurl]award_id=$award[award_id]">$vbphrase[award_recommend_award]</a>
</if>
</if>

</td>
</if>

</tr>

ProFifaLeagues 06-24-2011 06:02 PM

  • Award Recommendation Form
vBulletin Message

There's some error when sending your award request. Please contact site's administrator for assistant.




Any ideas on a fix for this???
Running 4.1.3 and all usergroup permissions are set to Yes

gamerscms 06-27-2011 08:59 AM

1 Attachment(s)
Hi all

Members who are using IE9 are reporting a display error with the award showcase in the postbit.

Please see the screen shot for more details.

Any ideas how to fix this?

Regards

Patriots1049 06-28-2011 02:23 AM

rammieone

you have to set a location for the award request/recommendation to be sent to. Just set up a forum or thread anywhere.

Nocturnal222 06-29-2011 08:13 AM

When I was trying to upload the .xml I got the collowing error. Can anyone help me please?
Code:

Database error in vBulletin 4.1.4:

Invalid SQL:
ALTER TABLE award ADD award_allowrecommend TINYINT( 1 ) DEFAULT 1 NOT NULL,ADD award_pointvalue TINYINT( 3 ) DEFAULT 0 NOT NULL;

MySQL Error  : Table 'zmu.award' doesn't exist
Error Number  : 1146
Request Date  : Thursday, June 30th 2011 @ 07:09:41 AM
Error Date    : Thursday, June 30th 2011 @ 07:09:42 AM
Script        : http://www.********.***/*****/admincp/plugin.php?do=productimport
Referrer      : http://www.********.***/*****/admincp/plugin.php?do=productadd
IP Address    : **.**.***.***
Username      : *******
Classname    : vB_Database
MySQL Version : 5.5.8

Any help is appreciated

flbutterflyz 07-03-2011 04:31 AM

^^And I was just about to ask if this works with v4.1.4...

ETA: It does, but the award tab in the Members Profile isn't like the other tabs. Screenshot:
ETA2: Fixed through post #758. :)

flbutterflyz 07-05-2011 02:49 AM

Quote:

Originally Posted by MarceloS (Post 2182722)
Same thing for me.

Same question as some others. Is it possible to get the code so we can manually change the awards location in the postbit?

1stsAz 07-05-2011 04:34 PM

Hey, we have it installed in 4.1.4 and it is working fine except one thing. When we activated it as a Tab on our NavBar, our banner disappears at the top of the page. We think there is a CSS reference missing and we tried to get it in there by modifying the XML but it isn't taking. Anyone else have this issue?

Gamelobby 07-07-2011 03:31 AM

Quote:

Originally Posted by 1stsAz (Post 2217079)
Hey, we have it installed in 4.1.4 and it is working fine except one thing. When we activated it as a Tab on our NavBar, our banner disappears at the top of the page. We think there is a CSS reference missing and we tried to get it in there by modifying the XML but it isn't taking. Anyone else have this issue?

I know a friend who's site works fine except on the awards.php page there is no header. lol

nacaruncr 07-07-2011 04:08 AM

try with this:
https://vborg.vbsupport.ru/showpost....26&postcount=7

;) or copying the css award's code in your additional.css :)

danswano 07-08-2011 01:57 PM

When i disable or remove this product all avatars disappear, any idea why?

if a disable all plugins and keep this one active YAAS - postbit_display_start the avatars appears.

If i remove the whole product and i add a plugin contains this code to postbit_display_start

Code:

// [START HACK='Yet Another Award System' AUTHOR='HacNho']
if ((THIS_SCRIPT == 'showpost') OR (THIS_SCRIPT == 'private') OR (THIS_SCRIPT == 'showthread') OR (THIS_SCRIPT == 'announcement') OR (THIS_SCRIPT == 'newreply'))
{
        global $db, $vbulletin;
        {
                if (THIS_SCRIPT == 'private')
                {
                        $this->post['userid'] =& $post['fromuserid'];
                }
                if (($vbulletin->options['aw_postbit']) AND ($this->post['userid']))
                {
                       
                        $post['userawards'] = '';
                        // Obtain list of awards for current user
                        $alluserawards =  $db->query_read("
                                SELECT a.*, au.*
                                FROM " . TABLE_PREFIX . "award a, " . TABLE_PREFIX . "award_user au
                                WHERE (au.userid = ".$this->post['userid'].") AND (a.award_id=au.award_id) AND (a.award_active=1)
                                ORDER BY ".$vbulletin->options[aw_awardorder]."
                        ");

                        $post['showuserawards'] = false;
                       
                        if ($post['num_awards'] = $db->num_rows($alluserawards))
                        {
                                $aw_i = 0;

                                while ($award = $db->fetch_array($alluserawards))
                                {
                                        $aw_i++;
                                        if ($aw_i <= $vbulletin->options['aw_display_limit'])
                                        {
                                                //- VB3 -// eval('$post[userawards] .= "' . fetch_template('awards_bit') . '";');
                                                //- BEGIN VB4 -//
                                                $templater = vB_Template::create('awards_bit');
                                                        $templater->register('award', $award);
                                                $post[userawards] .= $templater->render();
                                                //- END VB4 -//
                                        }
                                }
                               
                                if (($vbulletin->options['aw_points']) AND ($this->post['userid']))
                                {
                                        $userpoints = $db->query_read("
                                                SELECT a.*, au.*, SUM(award_pointvalue) AS TotalPoints
                                                FROM " . TABLE_PREFIX . "award a, " . TABLE_PREFIX . "award_user au
                                                WHERE (au.userid = ".$this->post['userid'].") AND (a.award_id=au.award_id) AND (a.award_active=1)
                                                GROUP BY au.userid
                                        ");
                               
                                        while ($array = $db->fetch_array($userpoints))
                                                {
                                                $post['total_points'] = $array['TotalPoints'];
                                                } 
                                }
                                       
                                $post['showuserawards'] = true;
                                $db->free_result($alluserawards);
                        }
                }
        }
}
// [END HACK='Yet Another Award System' AUTHOR='HacNho']

the avatar appears too, what's wrong with this plugin i can't see the avatars without it?

any clue?

Gamelobby 07-08-2011 06:40 PM

Quote:

Originally Posted by squidsk (Post 2211891)
I don't have that phrase in any template but either way I was looking in the wrong location, it would be in the awards_awardbit template because that's where you'll get both the awards_awardusers_bit being used and the phrase "users who have received this award".

I'm guessing your seeing this on http://www.yourforum.com/forum/awards.php (where http://www.yourforum.com/forum/ is your main forum index) in each different award right?

I just checked my template with a friends, & they are identical, so it must be a conflict of mods or something. :erm: :(

TheLastSuperman 07-08-2011 06:49 PM

Quote:

Originally Posted by nacaruncr (Post 2217647)
try with this:
https://vborg.vbsupport.ru/showpost....26&postcount=7

;) or copying the css award's code in your additional.css :)

Actually I found in this case it was better to use:

Code:

{vb:raw headinclude_bottom}
Instead of:

Code:

{vb:cssfile additional.css}
Mods are nearly identical so edit template AWARDS instead ;) - https://vborg.vbsupport.ru/showpost....58&postcount=2

Gamelobby 07-08-2011 11:57 PM

Is that to help fix my issue or someone else's.?

I didn't try the original one or your "better" one, because i thought it was directed at someone else.

TheLastSuperman 07-09-2011 12:06 AM

Quote:

Originally Posted by Gamelobby (Post 2218380)
Is that to help fix my issue or someone else's.?

I didn't try the original one or your "better" one, because i thought it was directed at someone else.

An attempt to fix yours as he replied directly after your post, as I took it kwim ;).

Tahir_Younus786 07-10-2011 10:46 AM

Is this hock work in VB 4.1.4

faraz_hamza 07-12-2011 05:31 AM

Code:

There's some error when sending your award request. Please contact site's administrator for assistant.

i m gettting this error on vb 4.1.4. when user click on request award.
i also check the permission and set to yes still getting the same error.
is there any fix?

discodoran 07-12-2011 07:55 AM

yer i get this error two but says that none of my admins user names can be found

TheLastSuperman 07-12-2011 07:35 PM

Quote:

Originally Posted by Tahir_Younus786 (Post 2218875)
Is this hock work in VB 4.1.4

Yes

Quote:

Originally Posted by faraz_hamza (Post 2219540)
Code:

There's some error when sending your award request. Please contact site's administrator for assistant.
i m gettting this error on vb 4.1.4. when user click on request award.
i also check the permission and set to yes still getting the same error.
is there any fix?

This could be due to how you have min time between posts set OR could be a issue w/ how it installed the tables... ( https://vborg.vbsupport.ru/showpost....4&postcount=33 ) I've updated this in my ranks mod (identical to this pretty much) however you can edit the .xml and find:

Code:

                                                ) TYPE=MyISAM
                                        ");

Replace TYPE with ENGINE as shown in all occcurances within the .xml:

Code:

                                                ) ENGINE=MyISAM
                                        ");

Make a backup before importing the modified .xml in case you do anything wrong ;).

COL NIL SATIS 07-13-2011 01:11 PM

Quote:

Originally Posted by TheLastSuperman (Post 2219749)
Yes



This could be due to how you have min time between posts set OR could be a issue w/ how it installed the tables... ( https://vborg.vbsupport.ru/showpost....4&postcount=33 ) I've updated this in my ranks mod (identical to this pretty much) however you can edit the .xml and find:

Code:

                                                ) TYPE=MyISAM
                                        ");

Replace TYPE with ENGINE as shown in all occcurances within the .xml:

Code:

                                                ) ENGINE=MyISAM
                                        ");

Make a backup before importing the modified .xml in case you do anything wrong ;).

Thanks Mike,will give that a whirl :)

TheLastSuperman 07-13-2011 04:04 PM

Quote:

Originally Posted by COL NIL SATIS (Post 2220011)
Thanks Mike,will give that a whirl :)

I also updated my ranks mod last night w/ this info and it should hold true for the Awards mod since they are virtually identical (say to yourself ohh ok everywhere I see Rank or Ranks I replace w/ Award or Awards respectively :D)

Quote:

Originally Posted by TheLastSuperman
Attention:

If you do not properly setup this modification you will see errors such as:

Quote:

Originally Posted by faraz_hamza (Post 2219546)
Code:

Something unexpected has happened, your rank request cannot be sent at this time. Please contact a site administrator for assistance.
I am getting this error when i recommend or issue rank request?

how to fix it ?

Basically here's the short on this:
  • Edit your usergroups, for each usergroup set whether they can request and recommend ranks.
  • Setup the mod options in AdminCP > Ranks System > Rank System Settings.
  • If your having the requests or recommendations posted as a New Thread OR New Post within a existing thread please ensure that the members usergroup has permission to do so, in other words they can't post a new rank request into a private admin-only forum or a new post in a admin only thread correct? Bingo :p. You can create a new forum and only allow viewing to normal members ;).
  • If your having users requesting ranks every min or two, adjust your minimum time between posts to be one minute.
  • Try disabling the Points System, do you still have a issue?

Other issues:
  • What is the minimum version of MySQL Required?
    - The core of the ranks sytem will function on MySQL 4.1. However, in order to use the Points System you must be running at least MySQL 5.0+
  • I'm seeing output like "-- BEGIN TEMPLATE: ranks_rankusers_bit -->" before it displays members. Why?
    In your AdminCP > Settings > Options > General Settings > Add Template Name in HTML Comments = OFF
  • Styling issues? - https://vborg.vbsupport.ru/showpost....58&postcount=2


sadiq6210 07-13-2011 05:59 PM

:)
Quote:

Originally Posted by sadiq6210 (Post 2189701)
UPDATE FOR: 4.0.8 - 4.1.3
(TAKE BACKUP BEFORE ANY REPLACE)


1- Find the template (memberinfo_block_myawards) and replace it all
Code:

<div id="view-myawards" class="<vb:if condition="$selected_tab == 'myawards'">selected_view_section<vb:else />view_section</vb:if>">
<div>

<div class="blocksubhead subsectionhead userprof_headers userprof_headers_border">
{vb:rawphrase award_showcase} - {vb:raw $block_data[num]} {vb:rawphrase awards} <vb:if condition="$vboptions[aw_points]"> - {vb:raw $block_data[total_points]} {vb:rawphrase points}</vb:if>
</div>

<div class="blockbody">
<table width="100%">
<tr align="center">
        <vb:if condition="$vboptions[aw_showicon]"><th class="blocksubhead" nowrap="nowrap">{vb:rawphrase award_icon}</th></vb:if>
        <vb:if condition="$vboptions[aw_showimage]"><th class="blocksubhead" nowrap="nowrap">{vb:rawphrase award_image}</th></vb:if>
        <th class="blocksubhead" width="100%">{vb:rawphrase award_description}</th>
</tr>
{vb:raw $block_data[myawards]}
</table>
</div>
</div>
</div>



2- From(Plugin Manager)
Find (YAAS - Profile Tab) and disactive it.


3- From (plugin manager)
Find (YAAS in Member Profile - Profile) >> EDIT >> Replace it all
Code:

$blocklist['myawards'] = array(
        'class' => 'MyAwards',
        'title' => $vbphrase['my_awards'],
        'options' => array(
                'pagenumber' => $vbulletin->GPC['pagenumber']
        ),
        'hook_location' => 'profile_tabs_last',
        'wrap' => false
);

require_once('./global.php');
global $vbulletin; 
require_once(DIR . '/includes/class_bbcode.php');
$bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());

class vB_ProfileBlock_MyAwards extends vB_ProfileBlock
{
    var $template_name = 'memberinfo_block_myawards';

    function confirm_empty_wrap()
    {
        return false;
    }

    function confirm_display()
    {
        return ($this->block_data['myawards'] != '');
    }

    function prepare_output($id = '', $options = array())
    {
        global $show, $vbphrase, $stylevar, $vbcollapse, $bgclass, $vbulletin;
       
        require_once(DIR . '/includes/class_bbcode.php');
        $bbcode_parser =& new vB_BbCodeParser($this->registry, fetch_tag_list());

               
                $result = $this->registry->db->query_read('
            SELECT
                *
            FROM
            ' . TABLE_PREFIX . 'award_user AS award_user
                LEFT JOIN ' . TABLE_PREFIX . 'award AS award USING (award_id)
            WHERE
                award_user.userid = ' . $this->profile->userinfo['userid'] . '
                AND award.award_active = "1"
            ORDER BY
              '.$vbulletin->options['aw_awardorder'].'
        ');
       
                                if (($vbulletin->options['aw_points']) AND ($this->profile->userinfo['userid']))
                                {
                                        $userpoints = $this->registry->db->query_read('
                                                SELECT a.*, au.*, SUM(award_pointvalue) AS TotalPoints
                                                FROM ' . TABLE_PREFIX . 'award a, ' . TABLE_PREFIX . 'award_user au
                                                WHERE (au.userid = '.$this->profile->userinfo['userid'].') AND (a.award_id=au.award_id) AND (a.award_active = "1")
                                                GROUP BY au.userid
                                        ');
                               
                                        while ($array = $this->registry->db->fetch_array($userpoints))
                                                {
                                                $this->block_data['total_points'] = $array['TotalPoints'];
                                                } 
                                }
               
        $num = $this->block_data['num'] = $this->registry->db->num_rows($result);
       
        $this->block_data['myawards'] = '';
       
        if ($num > 0)
        {
            // Display Awards
            while ($award = $this->registry->db->fetch_array($result))
            {
                exec_switch_bg();
               
                $award['award_desc'] = $bbcode_parser->parse($award['award_desc']);
                $award['issue_reason'] = $bbcode_parser->parse($award['issue_reason']);
               
                $award_issue_date = vbdate($this->registry->options['dateformat'], $award['issue_time'], true);
                $award_issue_time = vbdate($this->registry->options['timeformat'], $award['issue_time']);
               
                //- VB3 -// eval('$this->block_data[\'myawards\'] .= "' . fetch_template('awards_userawards_bit') . '";');
                                //- BEGIN VB4 -//
                                $templater = vB_Template::create('awards_userawards_bit');
                                        $templater->register('award', $award);
                                        $templater->register('award_issue_date', $award_issue_date);
                                        $templater->register('award_issue_time', $award_issue_time);
                                $this->block_data['myawards'] .= $templater->render();
                                //- END VB4 -//
            }
        }
    }
}


Good luck :)

Also, It works with 4.1.4 :)

COL NIL SATIS 07-14-2011 01:00 PM

Quote:

Originally Posted by TheLastSuperman (Post 2220077)
I also updated my ranks mod last night w/ this info and it should hold true for the Awards mod since they are virtually identical (say to yourself ohh ok everywhere I see Rank or Ranks I replace w/ Award or Awards respectively :D)

Cheers mate

Takumi85 07-17-2011 01:31 PM

Hi, I think after I installed the yaas has created this problem. My vb version is 4.0.8.

A <fieldset> when replying to a topic, in advanced mode (go advanced).

How to remove the black line?

Sorry for my English. :)

Here the images of the problem:

http://img121.imageshack.us/img121/9514/problem2m.png
http://img11.imageshack.us/img11/7516/problemyg.png

thanks!

GameOverViper 07-17-2011 02:09 PM

Quote:

Originally Posted by sadiq6210 (Post 2189701)
UPDATE FOR: 4.0.8 - 4.1.3
(TAKE BACKUP BEFORE ANY REPLACE)


1- Find the template (memberinfo_block_myawards) and replace it all
Code:

<div id="view-myawards" class="<vb:if condition="$selected_tab == 'myawards'">selected_view_section<vb:else />view_section</vb:if>">
<div>

<div class="blocksubhead subsectionhead userprof_headers userprof_headers_border">
{vb:rawphrase award_showcase} - {vb:raw $block_data[num]} {vb:rawphrase awards} <vb:if condition="$vboptions[aw_points]"> - {vb:raw $block_data[total_points]} {vb:rawphrase points}</vb:if>
</div>

<div class="blockbody">
<table width="100%">
<tr align="center">
        <vb:if condition="$vboptions[aw_showicon]"><th class="blocksubhead" nowrap="nowrap">{vb:rawphrase award_icon}</th></vb:if>
        <vb:if condition="$vboptions[aw_showimage]"><th class="blocksubhead" nowrap="nowrap">{vb:rawphrase award_image}</th></vb:if>
        <th class="blocksubhead" width="100%">{vb:rawphrase award_description}</th>
</tr>
{vb:raw $block_data[myawards]}
</table>
</div>
</div>
</div>



2- From(Plugin Manager)
Find (YAAS - Profile Tab) and disactive it.


3- From (plugin manager)
Find (YAAS in Member Profile - Profile) >> EDIT >> Replace it all
Code:

$blocklist['myawards'] = array(
        'class' => 'MyAwards',
        'title' => $vbphrase['my_awards'],
        'options' => array(
                'pagenumber' => $vbulletin->GPC['pagenumber']
        ),
        'hook_location' => 'profile_tabs_last',
        'wrap' => false
);

require_once('./global.php');
global $vbulletin; 
require_once(DIR . '/includes/class_bbcode.php');
$bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());

class vB_ProfileBlock_MyAwards extends vB_ProfileBlock
{
    var $template_name = 'memberinfo_block_myawards';

    function confirm_empty_wrap()
    {
        return false;
    }

    function confirm_display()
    {
        return ($this->block_data['myawards'] != '');
    }

    function prepare_output($id = '', $options = array())
    {
        global $show, $vbphrase, $stylevar, $vbcollapse, $bgclass, $vbulletin;
       
        require_once(DIR . '/includes/class_bbcode.php');
        $bbcode_parser =& new vB_BbCodeParser($this->registry, fetch_tag_list());

               
                $result = $this->registry->db->query_read('
            SELECT
                *
            FROM
            ' . TABLE_PREFIX . 'award_user AS award_user
                LEFT JOIN ' . TABLE_PREFIX . 'award AS award USING (award_id)
            WHERE
                award_user.userid = ' . $this->profile->userinfo['userid'] . '
                AND award.award_active = "1"
            ORDER BY
              '.$vbulletin->options['aw_awardorder'].'
        ');
       
                                if (($vbulletin->options['aw_points']) AND ($this->profile->userinfo['userid']))
                                {
                                        $userpoints = $this->registry->db->query_read('
                                                SELECT a.*, au.*, SUM(award_pointvalue) AS TotalPoints
                                                FROM ' . TABLE_PREFIX . 'award a, ' . TABLE_PREFIX . 'award_user au
                                                WHERE (au.userid = '.$this->profile->userinfo['userid'].') AND (a.award_id=au.award_id) AND (a.award_active = "1")
                                                GROUP BY au.userid
                                        ');
                               
                                        while ($array = $this->registry->db->fetch_array($userpoints))
                                                {
                                                $this->block_data['total_points'] = $array['TotalPoints'];
                                                } 
                                }
               
        $num = $this->block_data['num'] = $this->registry->db->num_rows($result);
       
        $this->block_data['myawards'] = '';
       
        if ($num > 0)
        {
            // Display Awards
            while ($award = $this->registry->db->fetch_array($result))
            {
                exec_switch_bg();
               
                $award['award_desc'] = $bbcode_parser->parse($award['award_desc']);
                $award['issue_reason'] = $bbcode_parser->parse($award['issue_reason']);
               
                $award_issue_date = vbdate($this->registry->options['dateformat'], $award['issue_time'], true);
                $award_issue_time = vbdate($this->registry->options['timeformat'], $award['issue_time']);
               
                //- VB3 -// eval('$this->block_data[\'myawards\'] .= "' . fetch_template('awards_userawards_bit') . '";');
                                //- BEGIN VB4 -//
                                $templater = vB_Template::create('awards_userawards_bit');
                                        $templater->register('award', $award);
                                        $templater->register('award_issue_date', $award_issue_date);
                                        $templater->register('award_issue_time', $award_issue_time);
                                $this->block_data['myawards'] .= $templater->render();
                                //- END VB4 -//
            }
        }
    }
}


Good luck :)

Working for me as well on 4.1.4 on www.RevolutionofGaming.net. Thanks!

TheLastSuperman 07-17-2011 05:51 PM

Quote:

Originally Posted by Takumi85 (Post 2221467)
Hi, I think after I installed the yaas has created this problem. My vb version is 4.0.8.

A <fieldset> when replying to a topic, in advanced mode (go advanced).

How to remove the black line?

Sorry for my English. :)

Here the images of the problem:

http://img121.imageshack.us/img121/9514/problem2m.png
http://img11.imageshack.us/img11/7516/problemyg.png

thanks!

The default css they say to include actually overwrites your normal field css, remove that and it should now be back to normal ;). Alternatively you can use the CSS I adjusted for the Ranks mod, simply replace award w/ rank either lower or upper case in every instance and use it instead ;).
Code:

.ranks_fieldset {
  padding-left: 4px;
  border: 1px solid rgb(15, 16, 19);
  }

Use this for the Awards mod:

Code:

.awards_fieldset {
  padding-left: 4px;
  border: 1px solid rgb(15, 16, 19);
  }

Paste the above code ^ into additional.css

NOW - Edit awards_postbit_display template and find:

Code:

<fieldset>
Replace with:

Code:

<fieldset class="ranks_fieldset">

RollaJedi 07-18-2011 01:19 PM

i just wanted to know a couple things:

Does this automatically generate awards for certain criteria? And if so, what is the criteria?

And if it does automatically generate awards for certain criteria being met, does it get rid of the award if that criteria is NO LONGER met?

Thank you!

TheLastSuperman 07-18-2011 04:00 PM

Quote:

Originally Posted by RollaJedi (Post 2221948)
i just wanted to know a couple things:

Does this automatically generate awards for certain criteria? And if so, what is the criteria?

And if it does automatically generate awards for certain criteria being met, does it get rid of the award if that criteria is NO LONGER met?

Thank you!

No.

Plainly put you can set this up for automated approval after a Award has been requested or recommended otherwise it's manual setup and manual issuing of Awards from AdminCP.

That's a good idea though ;)

maxie 07-19-2011 09:38 AM

i also got problem when i trying to edit the pm content i was recieve a messages saying

No Phrases Matched Your Query

any don

TheLastSuperman 07-19-2011 03:51 PM

Quote:

Originally Posted by maxie (Post 2222366)
i also got problem when i trying to edit the pm content i was recieve a messages saying


No Phrases Matched Your Query


any don

Sometimes a phrase itself will contain a {1} <-- Variable so searching for the same text you read after the page was rendered and the variable parsed as a value/word will not work, try searching for a shorter snippet of the error or 3-4 words that seem like they would only be in that phrase and I bet something will come up ;).

Gunturz 07-20-2011 02:46 AM

1 Attachment(s)
Quote:

Originally Posted by gamerscms (Post 2213429)
Hi all

Members who are using IE9 are reporting a display error with the award showcase in the postbit.

Please see the screen shot for more details.



Any ideas how to fix this?

Regards

i have the same problem, but it appear on both firefox and IE.
any one know how to fix the template ?

dej 07-20-2011 07:11 AM

Quote:

Originally Posted by Takumi85 (Post 2221467)
Hi, I think after I installed the yaas has created this problem. My vb version is 4.0.8.

A <fieldset> when replying to a topic, in advanced mode (go advanced).

How to remove the black line?

Sorry for my English. :)

Here the images of the problem:

http://img121.imageshack.us/img121/9514/problem2m.png
http://img11.imageshack.us/img11/7516/problemyg.png

thanks!

I have the same issue! Thanks for posting this - I couldn't figure it out :confused:

maxie 07-20-2011 05:19 PM

Quote:

Originally Posted by Gunturz (Post 2222714)
i have the same problem, but it appear on both firefox and IE.
any one know how to fix the template ?


Quote:

Originally Posted by gamerscms (Post 2213429)
Hi all

Members who are using IE9 are reporting a display error with the award showcase in the postbit.

Please see the screen shot for more details.



Any ideas how to fix this?

Regards



go to admin panel--->Award System--->Award System Settings--->Postbit: Display Location-->Where do you want awards showcase to appear in postbit? then set to userinfor_right_after_posts (horizontal postbit)


For me works fine both IE v9 google chrome,mozila,


im using vb 4.1.2

maxie 07-20-2011 05:20 PM

Quote:

Originally Posted by Gunturz (Post 2222714)
i have the same problem, but it appear on both firefox and IE.
any one know how to fix the template ?

Quote:

Originally Posted by TheLastSuperman (Post 2222464)
Sometimes a phrase itself will contain a {1} <-- Variable so searching for the same text you read after the page was rendered and the variable parsed as a value/word will not work, try searching for a shorter snippet of the error or 3-4 words that seem like they would only be in that phrase and I bet something will come up ;).


thank you sir i will try

maxie 07-20-2011 05:53 PM

Quote:

Originally Posted by TheLastSuperman (Post 2222464)
Sometimes a phrase itself will contain a {1} <-- Variable so searching for the same text you read after the page was rendered and the variable parsed as a value/word will not work, try searching for a shorter snippet of the error or 3-4 words that seem like they would only be in that phrase and I bet something will come up ;).



i got it sir thanks for the tips


right now fully working this hack in my forum.


:up:

Scalemotorcars 07-20-2011 07:07 PM

1 Attachment(s)
Ive read all edits to make this work on 4.1.4. I upgraded to patch 2 today.

First issue. Ive made the edits and Im still getting 2 tabs on the profile page. Screenshot below.

Second issue. If I click an award on the profile page I get a massive list of errors. I've removed all duplicate errors from the list. The first 2 errors duplicated about 30 times.

Any help would be great.
HTML Code:

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: awards_awardbit in [path]/includes/functions.php on line 4161

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: awards_awardusers_bit in [path]/includes/functions.php on line 4161

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: awards_categorybit in [path]/includes/functions.php on line 4161

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: awards_category in [path]/includes/functions.php on line 4161

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in [path]/includes/functions.php on line 4161

Parse error: syntax error, unexpected T_STRING in /home/EDITED/public_html/forum/awards.php(205) : eval()'d code on line 1

Fatal error: Call to undefined function construct_forum_jump() in /home/EDITED/public_html/forum/awards.php on line 207



All times are GMT. The time now is 05:19 AM.

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.03147 seconds
  • Memory Usage 1,971KB
  • 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
  • (19)bbcode_code_printable
  • (1)bbcode_html_printable
  • (28)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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