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)

tidus78 02-23-2011 06:31 AM

Hello

When I upload XML file :

"Database error in vBulletin 4.1.1:

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

Help!

COL NIL SATIS 02-23-2011 01:16 PM

re-tagged

COL NIL SATIS 02-23-2011 01:17 PM

Quote:

Originally Posted by CypherSTL (Post 2162329)
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.

great news

Yurified 02-26-2011 11:57 AM

I installed it and when I click on Award tab I get this error
Code:

Parse error: syntax error, unexpected $end in /home/yurified/public_html/community/awards.php on line 330
Does anyone know how to fix this? ._.

also is it possible to have it in navbar (or w/e is it called ._. ) and not as tab? I have lots of tabs so there's no room :/

sadiq6210 02-26-2011 01:29 PM

Quote:

Originally Posted by CypherSTL (Post 2162329)
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.

CypherSTL
Welcome back :up::up::up:


Maybe you want to read this post:
https://vborg.vbsupport.ru/showthrea...42#post2148842

Great news CypherSTL
Thanks and good luck in your life

COL NIL SATIS 02-26-2011 06:08 PM

Looking forward to getting the awards working again on our site,its a tremendous mod this and i miss it lol

hyperviperx99 02-26-2011 08:37 PM

This looks good. However, I'm new to Vbulletin. How do I install this? I see the download files, but I don't know what to do with them. Please let me know. I would really appreciate it. Thanks

Lemmy_6 02-28-2011 05:14 AM

First of all works fine, thanks for the great work.
And now i have a request, is it possible to implant an option where you can award the same award multiple times to a user and replace the image with anohter file.
Like this pictures http://www.5th-sfg.com/images/medals...dal_ribbon.png 1st time awarded http://www.5th-sfg.com/images/medals...es/bc2/2_r.png2nd time awarded http://www.5th-sfg.com/images/medals...es/bc2/3_r.png3rd time awarded.
The mod i used on our old forums with phpbb3 used this mod, and it supported this dynamic Images. http://www.phpbb.com/community/viewt...7a7aabc801429a
Sorry for the bad english.

icedearth15324 03-02-2011 07:39 AM

Quote:

Originally Posted by tidus78 (Post 2165693)
Hello

When I upload XML file :

"Database error in vBulletin 4.1.1:

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

Help!

I get the same error, any help would be appreciated.

RobbieZ 03-02-2011 02:22 PM

Quote:

Originally Posted by Taurus1 (Post 2164466)
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?

According to your site in your sig it shows a border around your awards!

wrestlingv123 03-05-2011 10:17 AM

I've uploaded all the files to my public_html and also the xml file to my ACP however, I cannot get the plugin to work and the awards.php page on my forum shows a broken link message. Its probably something my end but help would be great!

Mobo 03-08-2011 09:13 AM

I have a suggestion for an improvement to this mod. I think it would be very helpful if you could sort the list of members with an award by username or date on the "Give award to user" pages.

squidsk 03-08-2011 04:26 PM

1 Attachment(s)
I've found two minor display bugs in the most recent version of YAAS. I'm running YAAS 4.0.2.1 and VB 4.1.2. I also noticed this on the boards of another member who posted a problem here so I know it isn't just me (in fact the screenshots are from the other members boards).

If you look at the two screens I've labeled the problems 1 & 2. Problem 1 only appears when a members profile page first displays or if you refresh the page, as soon as you select any tab on the member page problem 1 disappears (due to the call to tabViewPicker(this)). Problem 2 is always there.

The fix for problem 1 a small change to the YAAS - Profile Tab plugin that runs on the member_complete hook as follows::
Code:

if ($selected_tab == 'myawards')
{
$template_hook['profile_tabs_last'] .= '<dd class="[S]selected[/S]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>';
}

I have not yet been able to determine where the code that generates problem 2 comes from.

Both bugs are on the default skin with no alterations on my boards.

websimplicity 03-09-2011 01:59 AM

This is awesome! the only request I would have is whether it would be possible to manipulate a users user group based on awards received?

for example if member has achieved certain awards, and has x number of posts then their usergroup is automatically updated?

RobbieZ 03-09-2011 06:09 AM

Quote:

Originally Posted by squidsk (Post 2170986)
I've found two minor display bugs in the most recent version of YAAS. I'm running YAAS 4.0.2.1 and VB 4.1.2. I also noticed this on the boards of another member who posted a problem here so I know it isn't just me (in fact the screenshots are from the other members boards).


I have not yet been able to determine where the code that generates problem 2 comes from.

Both bugs are on the default skin with no alterations on my boards.

This is because the mod was written for a 4.0.2 board and barely anything above, vb changed the way the tabs are displayed and called and this is why the mod breaks as the original php was using 4.0.2 syntax.

Your 2nd problem will only be solved when the coder updates the mod for the latest version of vb.

squidsk 03-09-2011 04:31 PM

Quote:

Originally Posted by RobbieZ (Post 2171263)
This is because the mod was written for a 4.0.2 board and barely anything above, vb changed the way the tabs are displayed and called and this is why the mod breaks as the original php was using 4.0.2 syntax.

Your 2nd problem will only be solved when the coder updates the mod for the latest version of vb.

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


The_Rascal 03-09-2011 06:41 PM

I may have missed it, but is there a way to retrospectrively add awards to users?
e.g. post count awards, I have users that have posted 5000 times, but they haven't got the awards for the lower post counts...

Other than manually adding them to all the users, is there an automated way to add them?

Also, as a feature request - would it be possible to add awards per usergroup?

EDIT: -

I'm trying to edit the text of the PM that is sent out by YAAS... specifically to edit the [img] links
This is the PM I recieved earlier

http://i297.photobucket.com/albums/m...l/award_pm.png

I login into my ACP>Awards System>System settings
and click on the 'here' and 'here' links in the PM section

https://vborg.vbsupport.ru/external/2011/03/31.png

The first one (body) is trying to link to

https://vborg.vbsupport.ru/external/2011/03/32.png

whilst the second (subject) is linking to

https://vborg.vbsupport.ru/external/2011/03/33.png

clicking either gives me this error

https://vborg.vbsupport.ru/external/2011/03/34.png

Any ideas please?

TIA

Gamelobby 03-10-2011 02:54 AM

Quote:

Originally Posted by squidsk (Post 2170986)
I've found two minor display bugs in the most recent version of YAAS. I'm running YAAS 4.0.2.1 and VB 4.1.2. I also noticed this on the boards of another member who posted a problem here so I know it isn't just me (in fact the screenshots are from the other members boards).

If you look at the two screens I've labeled the problems 1 & 2. Problem 1 only appears when a members profile page first displays or if you refresh the page, as soon as you select any tab on the member page problem 1 disappears (due to the call to tabViewPicker(this)). Problem 2 is always there.

Quote:

Originally Posted by RobbieZ (Post 2171263)
This is because the mod was written for a 4.0.2 board and barely anything above, vb changed the way the tabs are displayed and called and this is why the mod breaks as the original php was using 4.0.2 syntax.

Your 2nd problem will only be solved when the coder updates the mod for the latest version of vb.

Same problem..
Also its screws up my footer start google ad. Same issue, will fix that too.?



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


When this mod is updated to 4.1.x will this need to be "undone".?
Since it only affacts the profile, & not the actual awards page itself, should i just wait.?

squidsk 03-10-2011 04:47 AM

Quote:

Originally Posted by Gamelobby (Post 2171710)
Same problem..
Also its screws up my footer start google ad. Same issue, will fix that too.?

Don't know.



Quote:

Originally Posted by Gamelobby (Post 2171710)
When this mod is updated to 4.1.x will this need to be "undone".?
Since it only affacts the profile, & not the actual awards page itself, should i just wait.?

This shouldn't need to be changed unless how tabs are created is changed.

CharlieDelta 03-10-2011 08:07 PM

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


Worked like a charm. Thank you. :up::D

Gamelobby 03-10-2011 09:28 PM

1 Attachment(s)
Hmm. i still have issues, some of which may not be this mod, but most of it is..

See Images*
When the Awards mod is enabled it screws up the background of the page, & moves the footer google ad all the way up. (which conflicts with other links, etc.)


*disregard the red circle around the broken image, that has nothing to do with this mod. (its a whole other headache. lol)


Correct (awards disabled)
https://vborg.vbsupport.ru/attachmen...6&d=1299799701


Incorrect (awards enabled)
https://vborg.vbsupport.ru/attachmen...2&d=1299799701


===============
Google Ad - Footer
===============


Correct, Google ad in footer (awards disabled)
https://vborg.vbsupport.ru/attachmen...5&d=1299799701

Ad not in wrong place.. (because its in the correct place the footer)
https://vborg.vbsupport.ru/attachmen...4&d=1299799701

Incorrect, Google ad (awards enabled)
https://vborg.vbsupport.ru/attachmen...3&d=1299799701

squidsk 03-11-2011 04:25 PM

OK here's an additional fix, that gets rid of the two deprecation messages and appears to fix visitor messages being messed up if awards are active on member pages.

Again in the YAAS in Member Profile - Profile plugin attached to the member_build_blocks_start hook make the following deletions:
Code:

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

and
Code:

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


russellw 03-12-2011 06:42 AM

A great addition (as always). In the 3.6 version I'm just migrating from I had our simple 2 award requests added as entries on the member drop-down and used a conditional statement so that they didn't show if the user viewing the drop-down didn't have permission to actually give awards.

I can't see how to duplicate that functionality in this version?

Cheers
Russ

Gamelobby 03-15-2011 02:29 AM

Quote:

Originally Posted by squidsk (Post 2172295)
OK here's an additional fix, that gets rid of the two deprecation messages and appears to fix visitor messages being messed up if awards are active on member pages.

Again in the YAAS in Member Profile - Profile plugin attached to the member_build_blocks_start hook make the following deletions:
Code:

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

and
Code:

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


Doesn't appear to do much on my site, should i keep the edits, or remove them.?

Gamelobby 03-17-2011 12:36 AM

Quote:

Originally Posted by Gamelobby (Post 2172056)
Hmm. i still have issues, some of which may not be this mod, but most of it is..
When the Awards mod is enabled it screws up the background of the page

Any idea where the issue might be that is screwing up my background.?

russellw 03-18-2011 03:19 AM

Quote:

Originally Posted by russellw (Post 2172483)
A great addition (as always). In the 3.6 version I'm just migrating from I had our simple 2 award requests added as entries on the member drop-down and used a conditional statement so that they didn't show if the user viewing the drop-down didn't have permission to actually give awards.

I can't see how to duplicate that functionality in this version?

Cheers
Russ

Resolved the issue the long way around by hard coding usergroup access permissions in the drop down menu - will be a pain to maintain when there are already inbuilt user permissions for request award but at least it works this way.

The next step of that process is now to pre-fill the user name of the nominated person - shouldn't be too difficult given that the form request is done from the user options drop down.

Cheers
Russ

Gamelobby 03-26-2011 09:22 PM

Since i updated to 4.0, awards are only showing for admins..!?
I dont see a setting for usergroups is there another reason they wouldn't show.?

*edit*
I didn't specify, but i meant they are not showing in the signature area, everywhere else seems fine.

LightFatality 03-27-2011 01:27 PM

I got mine to work on 4.1.2 but with one issue: the medal on the user posts is appear on the right side of the avatar. I cannot figure out how to move it below. I looked around in postbit, but couldn't seem to find the spot.

I checked in the plugin too for the postbit options, but I couldn't seem to figure out if I needed to change anything there.

Can someone help?

Gamelobby 03-28-2011 12:43 AM

In the options you can put it anywhere..
3rd option is:
Quote:

Postbit: Display Location

pygmalion2008 03-28-2011 04:04 AM

I was wondering if its possible to change the display location of the awards based on the award category. I have "Awards" and "Trinkets", and I want to display the trinkets on the right, and the awards next to the user. Is this possible?

Vick98 04-01-2011 03:13 AM

I recently added awards for my members of the forum and when doing so, all the members lost their custom profile backgrounds do to an extra tab on the profile. Does anyone have any suggestion to fix this issue?

ExciterNL 04-01-2011 07:41 PM

I have everything working Ok on my vB 4.1.1. MOTM for that!

Just one question: I use the automation too. I will like to see the automation on days registered to be also connected with an minimum amount of posts.
I've made an award for 5years of registration. Did not even think about, what would happend. You get it? Yeah, 1200 awards were made for every user, who is registered, even the ones with only one post.
Like this, the weight of an award is going to hell. So i did cancel all that awards...
Still the idea of an award for 5years is nice... Would you, please, think about this one?

And, then i find a big bug. When i click on "delete" of that one automation task, al my automation task's dissapeared. I have to create them all again.

But anyway, i really like this one!

LightFatality 04-02-2011 08:38 PM

Quote:

Originally Posted by Gamelobby (Post 2178163)
In the options you can put it anywhere..
3rd option is:

Thank you. I cannot believe I overlooked that! :)

dnk.it 04-03-2011 02:43 PM

1 Attachment(s)
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

Gunturz 04-04-2011 06:48 AM

1 Attachment(s)
default border colour is black... how can i change the border colour ? i want to change it to blue because my forum background is black..

Attachment 127883

squidsk 04-04-2011 02:52 PM

Quote:

Originally Posted by Vick98 (Post 2179642)
I recently added awards for my members of the forum and when doing so, all the members lost their custom profile backgrounds do to an extra tab on the profile. Does anyone have any suggestion to fix this issue?

On the previous page I had a couple of fixes that dealt with user profile pages that you could try.

Gamelobby 04-05-2011 12:29 AM

Quote:

Originally Posted by Gamelobby (Post 2177791)
Since i updated to vB4, awards are only showing for admins..!?
I dont see a setting for usergroups is there another reason they wouldn't show.?


*edit*
I didn't specify, but i meant they are not showing in the post/signature area (except for admins), everywhere else seems fine.

Any thoughts why this might be.?

*edit*

After some testing it has nothing to do with usergroup, but just certain users that it just doesn't show.
Is there individual settings in UserCP that they could change to not show them.?

Merriweather 04-05-2011 01:09 AM

I used the awards system in 3.8.1 and it was great. I just updated to 4.1.2 and installed the new award system, but it's made a mess of my site template on the page that shows all of the awards, and the tab on the user profile page is not formatted like the rest of my profile tabs. I can PM you a link to my site if you want to look. Not sure what I can do to fix this, but it's pretty bad. :(

mikelf453 04-05-2011 05:37 AM

When ever someone requests an award, this message comes up:

Quote:

vBulletin Message
There's some error when sending your award request. Please contact site's administrator for assistant.
But the request still sends. Any idea how I can get rid of this message?

Also, how can I make the awards under the Rep Power in the postbit instead of beside it?

samdu 04-06-2011 10:45 PM

Is there any way to automate an award for a user that starts a thread that grows to a certain number of posts? Or is pretty much the only automation related to overall post count?


All times are GMT. The time now is 08:15 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.02821 seconds
  • Memory Usage 1,874KB
  • 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
  • (9)bbcode_code_printable
  • (20)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