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)

Mukashi 01-04-2011 11:32 PM

Quote:

Originally Posted by Shadow09 (Post 2143167)
Is this MOD abandoned?

I doubt it is, the developer has been online. I expect we'll see something soon, now that it's unlikely the same things are going to be broken again so soon.

sadiq6210 01-05-2011 04:20 AM

Quote:

Originally Posted by Mukashi (Post 2144163)
I doubt it is, the developer has been online. I expect we'll see something soon.

I expect that also :)

Juggernaut 01-10-2011 03:22 AM

Quote:

Originally Posted by Jungi (Post 2143194)
Having a small bug at the awards overview:


Running the CMS on version 4.1.0 Patch 2

Has anyone an idea how to fix this?

The fix is on the first message in this thread, in tha FAQ :D

Jungi 01-10-2011 08:17 AM

1 Attachment(s)
I've already seen that but when I change it, then I get the following:

Attachment 125429

Paul K 01-10-2011 10:09 AM

Confirmed working on vB 4.1.0 - I like it a lot since I just wanted a way to award people, without all the extra stuff with points and stuff!

Sadistikal 01-10-2011 07:30 PM

This looks absolutely AMAZING!

sadiq6210 01-14-2011 07:04 AM

UPDATE FOR: 4.0.8 - 4.1.1
(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 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 -//
            }
        }
    }
}


3- From same place (Plugin Manager) find (YAAS - Profile Tab) and disactive it.

jamunkala1 01-15-2011 03:38 PM

Quote:

Originally Posted by sadiq6210 (Post 2148842)
UPDATE FOR: 4.0.8 - 4.1.1
(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 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 -//
            }
        }
    }
}


3- From same place (Plugin Manager) find (YAAS - Profile Tab) and disactive it.

Thankyou :)

Otherwise it wasn't giving good appearance in member profile.

However there are still a few issues, like points have a limit of 127 as when I put 1000 or anything it chnaged back to 127.

// the recommend link is not working - or how does it work?
// -to me it says, you dont have the permission in 4.1 PL 2.

EDIT : The recommend link is working after i set the permissions in usergroups.

Thankyou

Cicada 01-20-2011 08:11 PM

thanks for the updated templates/code! looking good in 4.1

SpikedRocker 01-21-2011 12:11 AM

Anyone seen this error before?

Quote:

Fatal error: Cannot redeclare construct_depth_mark() (previously declared in /home/content/s/p/i/spikedrocker/html/surisite/tns2.0/forum/awards.php:98) in /home/content/s/p/i/spikedrocker/html/surisite/tns2.0/forum/includes/adminfunctions.php on line 1906

augrunt 01-25-2011 12:01 AM

I need some help...

When I give an award to a user via modcp. I get the following error

Code:

Warning: mysql_insert_id() [function.mysql-insert-id]: A link to the server could not be established in [path]/modcp/award.php on line 381
and when I grant it via admincp. I get the following error

Code:

Warning: mysql_insert_id() [function.mysql-insert-id]: A link to the server could not be established in [path]/admincp/award.php on line 595
They are quite obviously related. I haven't had time to poke around the code, has anyone else encountered this?

Mobo 01-26-2011 05:51 AM

Quote:

Originally Posted by sadiq6210 (Post 2148842)
UPDATE FOR: 4.0.8 - 4.1.1
(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 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 -//
            }
        }
    }
}


3- From same place (Plugin Manager) find (YAAS - Profile Tab) and disactive it.


This helps out alot with the look in the profile page. However, the tab still has some display issues:

1. There is an "inner tab" showing inside the normal tab (mine is renamed "My Medals")
2. When you click on the My Medals tab, the high light color is wrong.

Mobo 01-26-2011 07:53 AM

Is there a way to control what order the awards display in the postbit? I would like for them to display in the same order in the postbit as they do in the Awards List page.

I have my ordered from Highest to Lowest achievement for my site and would like for them to show that way from left to right in the postbit.

sadiq6210 01-26-2011 10:53 AM

Quote:

Originally Posted by Mobo (Post 2154745)
This helps out alot with the look in the profile page. However, the tab still has some display issues:

1. There is an "inner tab" showing inside the normal tab (mine is renamed "My Medals")
2. When you click on the My Medals tab, the high light color is wrong.

At the end of the template (awards_css.css)
Add this:

Code:

#myawards-tab, #myawards-tab a:hover {
background-color:transparent;
border:medium none;
display:inline;
height:25px;
margin:0;
padding:0;
text-align:center;
}

a#myawards-tab:hover {
background:none repeat scroll 0 0 transparent;
}


Mobo 01-26-2011 11:27 AM

Yep, that fixed it. Thank you!

Mobo 01-26-2011 11:29 AM

Okay, it does fix it, but it gives this error:

Code:

The following error occurred when attempting to evaluate this template:
Unclosed Curly Brace Expression
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.


SpikedRocker 01-26-2011 10:29 PM

Mobo, check to make sure you copied it right. The way to get that error is to have } missing. Check each conditional to make sure they are closed with }.

I don't see a problem with sadiq's css he placed on here.

Also, I'd like to bump my problem:
Quote:

Fatal error: Cannot redeclare construct_depth_mark() (previously declared in /home/content/s/p/i/spikedrocker/html/surisite/tns2.0/forum/awards.php:98) in /home/content/s/p/i/spikedrocker/html/surisite/tns2.0/forum/includes/adminfunctions.php on line 1906

sadiq6210 01-27-2011 05:40 AM

Quote:

Originally Posted by Mobo (Post 2154816)
Okay, it does fix it, but it gives this error:

Code:

The following error occurred when attempting to evaluate this template:
Unclosed Curly Brace Expression
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.


Replace all template (awards_css.css) with:

Code:

/* Begin Style 1 Fieldset Formatting*/

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

legend {

 }

/* End Style 1 Fieldset Formatting*/

DIV.awards_postbit_style2 {
 PADDING-LEFT: 2px;
}

DIV.awards_postbit_style3 {
 PADDING-LEFT: 2px;
}

/* Begin Postbit Custom Formatting*/
DIV.awards_postbit_customcss {
 PADDING-LEFT: 2px;
}

DIV.awards_showcase_headtext {

}

DIV.awards_showcase_awarddisplay {

}

DIV.awards_showcase_infodisplay {

}

#myawards-tab, #myawards-tab a:hover {
background-color:transparent;
border:medium none;
display:inline;
height:25px;
margin:0;
padding:0;
text-align:center;
}

a#myawards-tab:hover {
background:none repeat scroll 0 0 transparent;
}

/* End PostbitCustom Formatting*/


sadiq6210 01-27-2011 05:40 AM

Quote:

Originally Posted by SpikedRocker (Post 2155068)
Mobo, check to make sure you copied it right. The way to get that error is to have } missing. Check each conditional to make sure they are closed with }.

I don't see a problem with sadiq's css he placed on here.

Also, I'd like to bump my problem:

When you get this error and where?

SpikedRocker 01-27-2011 12:20 PM

The error is a constant error I get when anyone views the awards.php

We aren't too sure what we changed and what caused it. I've tried downloading and reuploading and updating the entire addon but this error sticks.

CharlieDelta 01-27-2011 01:18 PM

Quote:

Originally Posted by SpikedRocker (Post 2155243)
The error is a constant error I get when anyone views the awards.php

We aren't too sure what we changed and what caused it. I've tried downloading and reuploading and updating the entire addon but this error sticks.

I have just started to get this exact error as well. [S]I can't seem to figure it out either.[/S]

Got it; see below.

CharlieDelta 01-27-2011 01:45 PM

Quote:

Originally Posted by SpikedRocker (Post 2155243)
The error is a constant error I get when anyone views the awards.php

We aren't too sure what we changed and what caused it. I've tried downloading and reuploading and updating the entire addon but this error sticks.

SpikedRocker,
I did a little digging and I found a fix for the problem you and I are having. Check here for your solution, it worked like a charm for me.

http://www.dragonbyte-tech.com/threa...onflict/page2?

Cheers!

Mobo 01-27-2011 03:34 PM

Quote:

Originally Posted by sadiq6210 (Post 2155149)
Replace all template (awards_css.css) with:

Code:

/* Begin Style 1 Fieldset Formatting*/

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

legend {

 }

/* End Style 1 Fieldset Formatting*/

DIV.awards_postbit_style2 {
 PADDING-LEFT: 2px;
}

DIV.awards_postbit_style3 {
 PADDING-LEFT: 2px;
}

/* Begin Postbit Custom Formatting*/
DIV.awards_postbit_customcss {
 PADDING-LEFT: 2px;
}

DIV.awards_showcase_headtext {

}

DIV.awards_showcase_awarddisplay {

}

DIV.awards_showcase_infodisplay {

}

#myawards-tab, #myawards-tab a:hover {
background-color:transparent;
border:medium none;
display:inline;
height:25px;
margin:0;
padding:0;
text-align:center;
}

a#myawards-tab:hover {
background:none repeat scroll 0 0 transparent;
}

/* End PostbitCustom Formatting*/


Okay, I replaced all of my code with your code as quoted in this reply. I still get the same error about Unclosed Curly Brace Expression.

Here is the code I have in my template now:

Code:

/* Begin Style 1 Fieldset Formatting*/

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

legend {

 }

/* End Style 1 Fieldset Formatting*/

DIV.awards_postbit_style2 {
 PADDING-LEFT: 2px;
}

DIV.awards_postbit_style3 {
 PADDING-LEFT: 2px;
}

/* Begin Postbit Custom Formatting*/
DIV.awards_postbit_customcss {
 PADDING-LEFT: 2px;
}

DIV.awards_showcase_headtext {

}

DIV.awards_showcase_awarddisplay {

}

DIV.awards_showcase_infodisplay {

}

#myawards-tab, #myawards-tab a:hover {
background-color:transparent;
border:medium none;
display:inline;
height:25px;
margin:0;
padding:0;
text-align:center;
}

a#myawards-tab:hover {
background:none repeat scroll 0 0 transparent;
}

/* End PostbitCustom Formatting*/

I can't find any where that is missing a " } " :(

Mobo 01-27-2011 03:36 PM

Even with that error, the pages/site seems to look and run just fine.

sadiq6210 01-27-2011 05:02 PM

Quote:

Originally Posted by Mobo (Post 2155302)
Okay, I replaced all of my code with your code as quoted in this reply. I still get the same error about Unclosed Curly Brace Expression.

Here is the code I have in my template now:

Code:

/* Begin Style 1 Fieldset Formatting*/

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

legend {

 }

/* End Style 1 Fieldset Formatting*/

DIV.awards_postbit_style2 {
 PADDING-LEFT: 2px;
}

DIV.awards_postbit_style3 {
 PADDING-LEFT: 2px;
}

/* Begin Postbit Custom Formatting*/
DIV.awards_postbit_customcss {
 PADDING-LEFT: 2px;
}

DIV.awards_showcase_headtext {

}

DIV.awards_showcase_awarddisplay {

}

DIV.awards_showcase_infodisplay {

}

#myawards-tab, #myawards-tab a:hover {
background-color:transparent;
border:medium none;
display:inline;
height:25px;
margin:0;
padding:0;
text-align:center;
}

a#myawards-tab:hover {
background:none repeat scroll 0 0 transparent;
}

/* End PostbitCustom Formatting*/

I can't find any where that is missing a " } " :(

Okay Mobo, I know this is a strange solution but just try it :)

Find the template (awards_css.css), it is in red color yah?
Revert it and find it again so you it will be in white color

Now add at end of the template, add this and save

Code:

#myawards-tab, #myawards-tab a:hover {
background-color:transparent;
border:medium none;
display:inline;
height:25px;
margin:0;
padding:0;
text-align:center;
}

a#myawards-tab:hover {
background:none repeat scroll 0 0 transparent;
}


Don't edit the template again :erm:

SpikedRocker 01-27-2011 06:20 PM

Quote:

Originally Posted by CharlieDelta (Post 2155273)
SpikedRocker,
I did a little digging and I found a fix for the problem you and I are having. Check here for your solution, it worked like a charm for me.

http://www.dragonbyte-tech.com/threa...onflict/page2?

Cheers!

Thank you so much! Saved me about 6 hours of work ;-D

Mobo 01-27-2011 08:52 PM

Yep, that did it sadiq6210. Thanks for all the help!

Zighinno 01-28-2011 06:08 AM

1 Attachment(s)
Hi, i have one problem with show awards in postbit.

Firefox is ok, but chrome and opera no

See the image for example

Any idea for resolve this?

Thanks

1) Firefox 2) Chrome 3) Opera

gamerscms 01-29-2011 08:16 PM

Can we please get a working update to this mod, thanks!

Mobo 01-30-2011 01:13 AM

It is working just fine... it's not just in an easy to use package right now :( You need the product and the code from the last two pages to make it work on 4.1PL2... not much really.

Jungi 01-31-2011 12:30 PM

1 Attachment(s)
I just figured out that the addon causes a little trouble after editing a post. (See attachment)
After editing the post there is some html code visible on the displayed profile on the forum. The only thing I've changed in the templates (apart from the codes of the last pages to fix some bugs) is that I've added some <br /> tags in there to get the medal and the other things down a bit.

Has anyone else that problem or knows a fix for it?
I'm running CMS v4.1.0 Patch Level 2.

Avrojet 02-05-2011 09:24 AM

Is there a way to display only certain award categories on the awards listing instead of all of them?
We have a huge amount of awards on our forums and the list is extremely long.
It would be nice to create seperate pages where selected categories can be displayed individually.

Or if you could at least jump to a certain category on the main medal listing.
Like what you can do with the link awards.php?#award123
Where 123 is the id number of the award you want to jump to.

ElfenLied1337 02-08-2011 09:29 PM

Hey all, I'm curious, is there any way to give users the option to display the showcase in their postbit? Just so they can enable it/disable it if they don't like it.

I know it can be done through Profile Fields but I've been trying for a little while now without any luck, figured I'd ask.

Thanks. =]

SpikedRocker 02-11-2011 10:44 PM

I ran into a minor issue where automated awards are being awarded twice but in the award manager it only shows up once, I could remove the award that shows up but I have no way to remove the other without going through the database.

CypherSTL 02-13-2011 10:42 PM

Hey guys, just wanted to post a little update here. I've had lots of things going on in my personal life the past few months and honestly I haven't worked on YaAS in quite a while.

I've started doing small bits of updates to it over the past few days, as well was fixing the infamous profile tabs. So, an update IS coming. Just sit tight for a few more days please.

RobbieZ 02-14-2011 05:43 AM

Still going strong on 4.0.6, thanks for the look in :)

Taurus1 02-20-2011 12:25 AM

1 Attachment(s)
I got everything working and looking nice on 4.1.2, thanks!

The only thing I cannot get working is a border around it. Please see screenshot.

Attachment 126814

Anyone has a solution for me please?

MeisterGigi 02-21-2011 08:23 AM

I´ve just installed the latest version and it works perfectly!

2 Questions:

1- I have medals for e.g. 100 Posts, and 1000 Posts... And i´ve done an automistation for this, but is it possible that a user gehts a medal for 100 posts AND 1000 posts (because the 100 post disappears if the user gets 1000 posts)

2- Is there a good source somewhere for medal pictures?

br,
MeisterGigi

EasyEazy 02-21-2011 10:35 PM

Anyone got this working on 4.1.1?

thebigherm 02-22-2011 02:52 AM

Quote:

Originally Posted by EasyEazy (Post 2165178)
Anyone got this working on 4.1.1?

Yup, when I upgraded and reenabled it worked perfectly.


All times are GMT. The time now is 11:01 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.03297 seconds
  • Memory Usage 1,949KB
  • 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
  • (16)bbcode_code_printable
  • (16)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