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)

stickskills 04-07-2011 02:57 PM

Quote:

Originally Posted by mikelf453 (Post 2181015)
When ever someone requests an award, this message comes up:



But the request still sends. Any idea how I can get rid of this message?

Getting this same exact message, and the request goes through as well. Would love to be able to fix that. Also, is there any way to display the total score from all awards a user has? Love to be able to incorporate this into our postbit.

stickskills 04-08-2011 01:23 PM

If we're manually trying to add this code into the postbit, do you have a quick mockup of the code?

MarceloS 04-09-2011 06:48 PM

Quote:

Originally Posted by stickskills (Post 2182300)
If we're manually trying to add this code into the postbit, do you have a quick mockup of the code?

Same thing for me.

Vick98 04-09-2011 08:17 PM

Quote:

Originally Posted by squidsk (Post 2180764)
On the previous page I had a couple of fixes that dealt with user profile pages that you could try.

Thank you very much for the reply and your codes fixed the extra tab issue but I still do not have a background image. Do you have any suggestion or ideas why this is occurring?

nerowolfe 04-10-2011 03:14 PM

Hi Cyp.

When I install your addon, I have this error im my vbull (4.1.2):

Code:

Database error in vBulletin 4.1.2:

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  : Duplicate column name 'award_allowrecommend'
Error Number  : 1060
Request Date  : Sunday, April 10th 2011 @ 06:11:28 PM
Error Date    : Sunday, April 10th 2011 @ 06:11:29 PM
Script        : http://name site/forum/admincp/plugin.php?do=productimport
Referrer      : http://name site/forum/admincp/plugin.php?do=productadd
IP Address    : xxx.xxx.xxx.xxx
Username      : user name of db
Classname    : vB_Database
MySQL Version : 5.0.32-Debian_7etch12-log

May you help me please?

Regards

squidsk 04-11-2011 03:39 PM

It means what it says it means, you're trying to add a column to the table that already exists.

dnk.it 04-11-2011 08:57 PM

Quote:

Originally Posted by dnk.it (Post 2180423)
when this mod will be updated? :(

My footer is misplaced and I think the cause is a bad css formatting, please see attachment

vbulletin Version 4.1.1

I have solved this

just remove the <br /> code in memberinfo_block_myawards template

Vick98 04-11-2011 09:00 PM

I am still looking for a fix with the disappearance of the backgrounds. If anyone can help it would be greatly appreciated. Anyone without a medal has the custom background but once a member receives a medal/award the background disappears.

Daisyboo 04-14-2011 01:33 PM

Clutching at straws...I had the 3.x version installed which I removed prior to upgrading to 4.
I want to add it back but I'm currently getting SQL errors emailed to me. Can anyone give me some clues as to how I sort them out? I asked on vB.com but because its a mod they won't help.
Its being triggered by a google bot so I don't know why its happening.
The error is
Quote:

Invalid SQL:

SELECT u.userid, u.username, au.award_id
FROM vb_award_user AS au
LEFT JOIN vb_user AS u ON (u.userid = au.userid)
WHERE au.award_id = 1
GROUP BY u.userid, u.username, au.award_id
ORDER BY u.userid;

MySQL Error : Table 'babydre_bumples2.vb_award_user' doesn't exist
Error Number : 1146
If I add the updated mod back will it affect the error or the error affect the install?

Thanks!

TNERatedEdge 04-15-2011 12:06 AM

Hi, for some reason one of my members cant revieve awards in there profile..

Any reason why?

TNERatedEdge 04-15-2011 03:49 AM

Also is there a way to put multiple awards in a certain display order for an individual user?

Android 18 04-15-2011 04:48 AM

Hi. I'm sorry if someone already asked this and received a solution. Going through 49 pages isn't my cup of tea here (especially if you have 15 users complaining to you and want a solution A.S.A.P!).

For our awards system, we have things placed in the legacy postbit. And it works, for some browsers. It was messing up for Chrome, but a user updated their browser and it went back to normal. There have been no complaints on Firefox but a plethora on Internet Explorer and Opera. Both browsers are updated to the latest version available. I have provided a screenshot of the issue (linked below). As you can tell, it shouldn't be like that - and isn't for a lot of people. It's quite annoying, though, so we would like it fixed as soon as it can possibly be fixed. ^^

Postbit Error

KaneR 04-15-2011 12:39 PM

I've installed this and it's working fine except for one problem. In the users profile, the tab has no background when it's inactive. Like this...
https://vborg.vbsupport.ru/external/2011/04/5.jpg

And when it is clicked/active, it shows up like this...
https://vborg.vbsupport.ru/external/2011/04/6.jpg

Does anybody know how I can fix this?

Thanks

Bryanek 04-18-2011 03:18 PM

Am I Blind or there is no installation guide? >.>"

mohammad6006 04-19-2011 06:38 PM

please update:
plugin:
YAAS - Profile Tab
PHP Code:

if ($selected_tab == 'myawards'

$template_hook['profile_tabs_last'] .= '<dd class="userprof_module"><a id="myawards-tab" href="'.$vbulletin->input->fetch_relpath().'#myawards" onclick="return tabViewPicker(this);">'.$vbphrase[awards].'</a></dd>'

else 

$template_hook['profile_tabs_last'] .= '<dd class="userprof_moduleinactive"><a id="
myawards-tab" href="'
.$vbulletin->input->fetch_relpath().'#myawards" onclick="return tabViewPicker(this);">'.$vbphrase[awards].'</a></dd>'



fishmaster 04-20-2011 12:39 AM

Hope the developer updates this, been waiting for awhile..

mohammad6006 04-20-2011 12:15 PM

Quote:

Originally Posted by KaneR (Post 2184909)
I've installed this and it's working fine except for one problem. In the users profile, the tab has no background when it's inactive. Like this...
https://vborg.vbsupport.ru/external/2011/04/5.jpg

And when it is clicked/active, it shows up like this...
https://vborg.vbsupport.ru/external/2011/04/6.jpg

Does anybody know how I can fix this?

Thanks

https://vborg.vbsupport.ru/showpost....&postcount=735

Vick98 04-24-2011 10:46 PM

I am still looking for a fix for the custom backgrounds disappearing when you add medals/awards to member's profiles.

SN1PERCITY 04-25-2011 09:51 AM

will this work on version 4.1.3 or no

Gamelobby 04-25-2011 06:03 PM

So just FYI in case anyone else has this issue.. (i could kick myself for how much time i spent trying to figure it out) BUT...

The awards do not show in the signature area if the user doesn't have a signature. ;)

Zighinno 04-28-2011 02:01 PM

Quote:

Originally Posted by KaneR (Post 2184909)
I've installed this and it's working fine except for one problem. In the users profile, the tab has no background when it's inactive. Like this...
https://vborg.vbsupport.ru/external/2011/04/5.jpg

And when it is clicked/active, it shows up like this...
https://vborg.vbsupport.ru/external/2011/04/6.jpg

Does anybody know how I can fix this?

Thanks

Same problem :(

sadiq6210 04-28-2011 03:42 PM

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 :)

Zighinno 04-28-2011 07:24 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 :)

Thank you :up::up::up::D:D:D

Katebekett 04-28-2011 07:40 PM

Thanks Sadiq6210,

This fixed the crazy tab without background, and the displaced footer issues. Hadn't noticed any other (unwanted) changes.:D

Kudos. :up:

Update:Found a problem: If there's an Avatar for the poster, the awards are displayed to the the right of the award, and not below.

If there's no Avatar, the awards are displayed in a more pleasing setting.

Is there a way to get the Awards showcase to show below the avatar, in the postion it's displayed if there's no Avatar?

http://forums.scifi-nexus.com/award_issue.png

Please accept my sincere thanks for your hard work. would you have any suggestions to fix this issue?

Update: Yet Again

Whoops, Nevermind.
Postbit: Display Location:
Where do you want awards showcase to appear in postbit? userinfo_right (legacy postbit) userinfo_right_after_posts (horizontal postbit)
Postbit: Style 1 (default)
Fixes the issue properly. Sorry about the confusion

ranafarooq 04-29-2011 01:20 PM

Giving Database Error For 4.1.3

sadiq6210 05-03-2011 11:55 AM

Quote:

Originally Posted by Katebekett (Post 2189788)
Update: Yet Again

Whoops, Nevermind.
Postbit: Display Location:
Where do you want awards showcase to appear in postbit? userinfo_right (legacy postbit) userinfo_right_after_posts (horizontal postbit)
Postbit: Style 1 (default)
Fixes the issue properly. Sorry about the confusion

That's right
____

You're welcome :)
Let me know about any bug in this product so I can try to fix it until CypherSTL release the new version.

MarceloS 05-04-2011 12:32 PM

Automation bug?

I created two tasks, one for 100 posts, another for 500 posts. When a user gets a 500 medal, the 100 medal he had disappears.

Vick98 05-04-2011 12:40 PM

I still have an issue when I add a medal to a users profile, their custom background image disappears. This has been ongoing for more than a month.

Original Sysop 05-04-2011 06:40 PM

Error when trying to install... please help!

Installing on vbulletin 4.1.3
Mod version 4.0.2 PL1
MySQL version 5.5

BE ADVISED I REPLACED TEXT BELOW THAT I WANT PRIVATE WITH "######"

Error -------------------------------------------------------------------------------------------------------
Database error in vBulletin 4.1.3:

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 '#####.award' doesn't exist
Error Number : 1146
Request Date : Wednesday, May 4th 2011 @ 01:33:29 PM
Error Date : Wednesday, May 4th 2011 @ 01:33:29 PM
Script : http://www.#######.com/admincp/plugi...=productimport
Referrer : http://www.#######.com/admincp/plugin.php?do=productadd
IP Address : ##.#.#.###
Username : #########
Classname : vB_Database
MySQL Version : 5.5.10

End of error ----------------------------------------------------------------------------------------------------
:(:mad::(:mad::(:mad:

Original Sysop 05-04-2011 08:45 PM

Quote:

Originally Posted by Original Sysop (Post 2191814)
Error when trying to install... please help!

Installing on vbulletin 4.1.3
Mod version 4.0.2 PL1
MySQL version 5.5

BE ADVISED I REPLACED TEXT BELOW THAT I WANT PRIVATE WITH "######"

Error -------------------------------------------------------------------------------------------------------
Database error in vBulletin 4.1.3:

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 '#####.award' doesn't exist
Error Number : 1146
Request Date : Wednesday, May 4th 2011 @ 01:33:29 PM
Error Date : Wednesday, May 4th 2011 @ 01:33:29 PM
Script : http://www.#######.com/admincp/plugi...=productimport
Referrer : http://www.#######.com/admincp/plugin.php?do=productadd
IP Address : ##.#.#.###
Username : #########
Classname : vB_Database
MySQL Version : 5.5.10

End of error ----------------------------------------------------------------------------------------------------
:(:mad::(:mad::(:mad:


Fixed it, change TYPE=MyISAM to ENGINE=MyISAM in the XML file.

mgurain 05-10-2011 12:14 PM

1. On conclusion does this hack work with vb 4.1.3 ?
We have an old version of this usefull hack here:
3.8.2
https://vborg.vbsupport.ru/showthread.php?t=196244
2. Is this an update for that hack ?
3. Will we loose awards given previously if we upgrade ?
Thanks in advance,,

Mobo 05-10-2011 04:40 PM

mgurain, I am running it on 4.2.0 with no problems. I did not lose my awards from when I was on 3.8. I currently do not use the automated or points portion of this Mod, so not sure if those are working that well or not.

ExciterNL 05-11-2011 12:54 AM

4.2.0 ?

Mobo 05-11-2011 03:30 AM

Opps, my bad. 4.1.0 4.2 was the version of one of my mods. lol

discodoran 05-13-2011 04:56 AM

I HAVE A PROBLEM
hey guys sorry about caps lol
anyways im using the automation system because i have reach 100,200 and 500 posts site awards.

But im facing a problem when a user gets to say 500 posts it removes the 100 and 200 post awards from them is there a way to make it so they keep all the post awards if they reach 500 so they will have the 100,200,500 post awards

hope you all know what im on about if not let me know and ill try explain better
cheers

MarceloS 05-16-2011 12:44 PM

Quote:

Originally Posted by discodoran (Post 2195022)
I HAVE A PROBLEM
hey guys sorry about caps lol
anyways im using the automation system because i have reach 100,200 and 500 posts site awards.

But im facing a problem when a user gets to say 500 posts it removes the 100 and 200 post awards from them is there a way to make it so they keep all the post awards if they reach 500 so they will have the 100,200,500 post awards

hope you all know what im on about if not let me know and ill try explain better
cheers

I have the exact same problem ;)

SN1PERCITY 05-17-2011 07:14 PM

can some one help me with this as well i blocked somestuff to insure privacy but could someone help me on why its not installing

Database error in vBulletin 4.1.3:

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 : Duplicate column name 'award_allowrecommend'
Error Number : 1060
Request Date : Tuesday, May 17th 2011 @ 01:11:28 PM
Error Date : Tuesday, May 17th 2011 @ 01:11:28 PM
Script : http://www.**********.com/admincp/pl...=productimport
Referrer : http://www.**********.com/admincp/pl...?do=productadd
IP Address : ++.+++.+.+++
Username : +++++++++
Classname : vB_Database
MySQL Version : 5.0.90-community-log

squidsk 05-18-2011 08:01 PM

Quote:

Originally Posted by KaneR (Post 2184909)
I've installed this and it's working fine except for one problem. In the users profile, the tab has no background when it's inactive. Like this...

<snipped images>

Does anybody know how I can fix this?

Thanks

Quote:

Originally Posted by Zighinno (Post 2189684)
Same problem :(

Quote:

Originally Posted by squidsk (Post 2171469)
Here's a fix that fixes both issues:

1) Disable/delete the YAAS - Profile Tab Plugin that is attached to the member_complete hook (in other words my previous fix for problem 1 is not required anymore). If this isn't done you will get two Awards tabs on profile pages.

2) Make the following edits (all text in blue needs to be added) to the YAAS in Member Profile - Profile plugin that is attached to the member_build_blocks_start hook:

Code:

$blocklist['myawards'] = array(
    'class' => 'MyAwards',
    'title' => $vbphrase['awards'],
    'options' => array(
            'pagenumber' => $vbulletin->GPC['pagenumber']
    ),

    'hook_location' => 'profile_tabs_last',
    'wrap' => false
);


Here's my fix for the issue from a few pages back.

SN1PERCITY 05-19-2011 02:35 AM

can someone help me with my previous post question-- just wondering.. its two up!

squidsk 05-19-2011 02:26 PM

The error means what it says, its trying to add a column to the table which already exists.


All times are GMT. The time now is 04:08 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.03413 seconds
  • Memory Usage 1,924KB
  • 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
  • (6)bbcode_code_printable
  • (1)bbcode_php_printable
  • (14)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