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)

Kesha 12-17-2014 01:25 PM

I got it working... Turns out that "turning it off and on again" doesn't apply to JUST computers.

CAG CheechDogg 12-17-2014 01:47 PM

Quote:

Originally Posted by Kesha (Post 2527656)
I got it working... Turns out that "turning it off and on again" doesn't apply to JUST computers.

Good stuff !!! lol :D

alcazarx 12-17-2014 02:33 PM

1 Attachment(s)
You two are not old, me is old (or why would me hide under that cloak :cool: ).
Anyway, here are the changes requested.
Me is not familiar with xml used to create / edit pluigns, so me used an old mod-variant.
Row-Number (as shown in notepad++) is included for easier finding.

/* edit
Sorry.
Of course you have to create some phrases too, i. e. for "allow_mod" when adding/editing an award.
Code:

Allow moderators to give this award in ModCP.<br /><i>You need to activate 'Turn on YAAS in ModCP' in Award settings for this.</i>
*/

squidsk 12-17-2014 03:34 PM

Quote:

Originally Posted by Kesha (Post 2527656)
I got it working... Turns out that "turning it off and on again" doesn't apply to JUST computers.

I'm glad you got it working, but I'm still curious why it required turning yaas off and then on again.

squidsk 12-17-2014 03:38 PM

Quote:

Originally Posted by alcazarx (Post 2527662)
You two are not old, me is old (or why would me hide under that cloak :cool: ).
Anyway, here are the changes requested.
Me is not familiar with xml used to create / edit pluigns, so me used an old mod-variant.
Row-Number (as shown in notepad++) is included for easier finding.

/* edit
Sorry.
Of course you have to create some phrases too, i. e. for "allow_mod" when adding/editing an award.
Code:

Allow moderators to give this award in ModCP.<br /><i>You need to activate 'Turn on YAAS in ModCP' in Award settings for this.</i>
*/

Thanks for those changes. I'll see about incorporating them into the 4.1 release.

alcazarx 12-17-2014 08:14 PM

As for the guest restriction.
Me thinks not everyone would lock them out, so making this an option in settings ("Display Award List to Guests" i. e.) could be the better solution then our hardcoded.

squidsk 12-17-2014 09:52 PM

Quote:

Originally Posted by alcazarx (Post 2527751)
As for the guest restriction.
Me thinks not everyone would lock them out, so making this an option in settings ("Display Award List to Guests" i. e.) could be the better solution then our hardcoded.

What I'm thinking of going to do is make it a usergroup permission. If you don't want guests to see the awards page you'd set it to false for unregistered users.

alcazarx 12-19-2014 02:01 PM

Even better solution.
Its clear, that me is just a small normal user and youre the great author :rolleyes:

squidsk 12-19-2014 03:23 PM

Quote:

Originally Posted by alcazarx (Post 2528041)
Even better solution.
Its clear, that me is just a small normal user and youre the great author :rolleyes:

I may be the developer but most of the additions over the last couple of releases have been ideas that were proposed by users of yaas or based on ideas proposed by users of the yaas. Having gone over the change logs for versions 4.0.7, 4.0.8 and 4.0.9 the only idea that was entirely my own was the md5 sums.

As I said keep giving me ideas and if feasible I will try to implement them.

CAG CheechDogg 12-19-2014 04:23 PM

Quote:

Originally Posted by squidsk (Post 2528046)
I may be the developer but most of the additions over the last couple of releases have been ideas that were proposed by users of yaas or based on ideas proposed by users of the yaas. Having gone over the change logs for versions 4.0.7, 4.0.8 and 4.0.9 the only idea that was entirely my own was the md5 sums.

As I said keep giving me ideas and if feasible I will try to implement them.

Yes, I proposed the idea of managing each individual's awards from the back end and he put it together and made it happen ... so much easier now to manage the awards ....thank you squidsk !!!!

alcazarx 12-19-2014 08:32 PM

1 Attachment(s)
Quote:

Originally Posted by squidsk (Post 2527764)
What I'm thinking of going to do is make it a usergroup permission. If you don't want guests to see the awards page you'd set it to false for unregistered users.

I may be the developer but most of the additions over the last couple of releases have been ideas that were proposed by users of yaas or based on ideas proposed by users of the yaas. Having gone over the change logs for versions 4.0.7, 4.0.8 and 4.0.9 the only idea that was entirely my own was the md5 sums.

However, our technician ordered me to post this.
Its a modified bitfield.xml and in "<forum_root>/awards.php" below
Code:

// #######################################################################
// ######################## START MAIN SCRIPT ############################
// #######################################################################

add
Code:

if (!($permissions['awardpermissions'] & $vbulletin->bf_ugp_awardpermissions['canviewaward']))
{
        print_no_permission();
}

Also, create a phrase
Code:

Location: ControlCenter->Permissions
Name: award_can_view_award
Text: Can view award list

-
Again (no flattery), have seen many award systems for different scripts and even most of your features are suggested by users, its the best award system me knows :up:

pantani 12-21-2014 04:31 PM

How can i delete one reward given to one member plz?

pantani 12-21-2014 04:45 PM

Found it :)

HKimF 12-22-2014 03:29 PM

I recently moved my db to the InnoDB engine, and noticed that my awards aren't sticking... does YaaS have issues with non MyISAM engines?

squidsk 12-22-2014 07:42 PM

Quote:

Originally Posted by HKimF (Post 2528365)
I recently moved my db to the InnoDB engine, and noticed that my awards aren't sticking... does YaaS have issues with non MyISAM engines?

It has no issues with innodb or any other db engine. Awards not sticking is not a lot of details, and you aren't running the latest version. If you'd like further help please update to the current version and mark yaas as installed.

Psyd0x 01-04-2015 01:49 PM

I have a problem with the postbit legacy
i using the userinfo_right but that what happen on 2 postbit profiles

https://vborg.vbsupport.ru/external/2015/01/43.png

https://vborg.vbsupport.ru/external/2015/01/44.png

one buggy and one not i want it to look like the second picture

squidsk 01-05-2015 06:56 PM

First you're using postbit not postbit legacy. My guess without seeing the actual site is that the issue has to do with the fact that in the second image you've got an extra image on the left which is pushing the awards below the other bits of information on the right.

Psyd0x 01-06-2015 02:47 AM

Quote:

Originally Posted by squidsk (Post 2530621)
First you're using postbit not postbit legacy. My guess without seeing the actual site is that the issue has to do with the fact that in the second image you've got an extra image on the left which is pushing the awards below the other bits of information on the right.

yes you right but how can i add the awards under the vouch system[itrader]
The post legacy option is under the posts and i need it under the vouches like the second picture

Inked_Mono 01-11-2015 09:20 PM

I must be daft, but I can't figure out how to get the Automation system working at all. Everything installed cleanly, however I'm unable to really get a grip on how the profile fields are supposed to be correctly filled out.

http://i.imgur.com/2c0T8KH.png

squidsk 01-12-2015 02:48 AM

Quote:

Originally Posted by Inked_Mono (Post 2531967)
I must be daft, but I can't figure out how to get the Automation system working at all. Everything installed cleanly, however I'm unable to really get a grip on how the profile fields are supposed to be correctly filled out.

http://i.imgur.com/2c0T8KH.png

What isn't clear? As for the award id, you get from the award manager page where you see all the awards.

Inked_Mono 01-12-2015 11:37 PM

Quote:

Originally Posted by squidsk (Post 2532029)
What isn't clear? As for the award id, you get from the award manager page where you see all the awards.

http://i.imgur.com/SWJK6Cx.png

I've left the default awards for now, but where would I find the ID? I don't see anything specific there.

CAG CheechDogg 01-13-2015 12:44 AM

Just look at the link of every award my Man from the awards page ...it looks like this

yourdomain.com/your-forums/awards.php?do=viewaward&award_id=11

The id for that award would be (11)

Inked_Mono 01-13-2015 12:54 AM

Quote:

Originally Posted by CAG CheechDogg (Post 2532179)
Just look at the link of every award my Man from the awards page ...it looks like this

yourdomain.com/your-forums/awards.php?do=viewaward&award_id=11

The id for that award would be (11)

Didn't even think to do that. Thanks, man.

squidsk 01-13-2015 01:54 AM

I think it also lists it on the page where you edit the awards.

CAG CheechDogg 01-13-2015 07:15 AM

Quote:

Originally Posted by squidsk (Post 2532185)
I think it also lists it on the page where you edit the awards.


Yes it does squidsk I forgot about that ...

walshymyster 02-04-2015 08:50 PM

Hi There
Been using the mod for years (since released)

I am rebuilding my site due to it being dormant and bringing it back
When i used the old version 4.0.0 of YAAS i managed to get the awards to display 4 per line and adding a new line each time and centering the awards in my signature as such

http://www.tcfleet.com/awards.png

however on the latest version im having issues replicating this.
all my award ribbons are the same size so im thinking restrict the signature width? and get them to center when added.

any ideas anyone on how to bring this back in.
I know before i made a change to the "postbit_display_start" plugin but i believe thats now obsolete?

if anyone can point me in the right direction i would be grateful

squidsk 02-05-2015 04:00 PM

The easiest way, though maybe not the best, would probably be to set a width on the surrounding div for the awards it has the class yaas_postbit. The rule should be placed in your additional.css template. Something like the rule below.

Code:

.yaas_postbit {
    width: ###px;
}


walshymyster 02-05-2015 07:57 PM

cheers ill give that a go

MistViper 02-06-2015 01:10 AM

Looks good, I'll definitely be downloading and marking as installed shortly! Just a quick suggestion since this looks like it works for Vb 4.2.2 could you update that in the OP? Took me a bit of searching to find that it did in fact work for that version.

squidsk 02-06-2015 04:33 AM

Quote:

Originally Posted by MistViper (Post 2536382)
Looks good, I'll definitely be downloading and marking as installed shortly! Just a quick suggestion since this looks like it works for Vb 4.2.2 could you update that in the OP? Took me a bit of searching to find that it did in fact work for that version.

The version in the OP is the minimum version it works for, not the maximum.

Inked_Mono 02-11-2015 03:32 AM

For the automation system, is there always a huge delay between the creation of the automated tasks and the processings of them? I've set several awards to be given on post count, however, it's been several hours now and it still has yet to distribute them automatically. All profile fields are correct, as I've checked several times.

http://i.imgur.com/F4mWeTd.png

squidsk 02-12-2015 02:35 PM

Quote:

Originally Posted by Inked_Mono (Post 2536943)
For the automation system, is there always a huge delay between the creation of the automated tasks and the processings of them? I've set several awards to be given on post count, however, it's been several hours now and it still has yet to distribute them automatically. All profile fields are correct, as I've checked several times.

http://i.imgur.com/F4mWeTd.png

If you haven't altered the default settings on the cron script it can take up to an hour and a half to run.

From my understanding, by default, the cron scripts are triggered by the cron image in the footer on each page being loaded. So if the cron image isn't being loaded cron scripts don't run. If my understanding is correct then on a site with low activity levels it could be longer than an hour and a half before the script runs.

afg 1 actual IV 02-28-2015 04:55 AM

Need a little new guy help here..
I am running VB 4.2.2 patch level 4

I am getting the "XML Error: Not well-formed (invalid token) at Line 1" when trying to install this.. can anyone advise if there is a compatibility issue with vb4.2? or i have something wrong?

Thanks

squidsk 02-28-2015 03:50 PM

What are you trying to upload on the product page in admincp?

jagtpf 06-16-2015 12:40 PM

Hi guys,

I've upgraded to this version as part of vB upgrade to 4.2.3 from 3.8.7 - Most of it works, but in the v3 version I had icon for both Admin & Mods & Specific Member to give award from first post in a thread.

What I don't know is whether that facility is part of this excellent plugin, or a previous owner's hack to it.

Would appreciate any comments.

Ta.
Geoff.

squidsk 06-16-2015 09:34 PM

Previous owner's hack as that functionality has never been a part of any version of this plugin.

jagtpf 06-17-2015 05:04 AM

Quote:

Originally Posted by squidsk (Post 2548004)
Previous owner's hack as that functionality has never been a part of any version of this plugin.

OK, thanks .... :up:

SnakeEaterITA 07-09-2015 08:15 AM

Is it possible to display the Awards UNDER the avatar rather than on top?

squidsk 07-09-2015 03:54 PM

Quote:

Originally Posted by SnakeEaterITA (Post 2549743)
Is it possible to display the Awards UNDER the avatar rather than on top?

There are options in admincp to chance where the awards display. If none of those work for you, then you'll need to customize your install to get it to show where you want it show.

akz645 08-01-2015 11:16 PM

Quote:

Originally Posted by squidsk (Post 2549764)
SNIP

Suggestion:
- Option for awards to be stackable.
Example:
https://vborg.vbsupport.ru/external/2015/08/17.png

I would be ever so grateful, if you could make this possible :)

Edit:
Suggestion 2:
- Allow users to arrange which order they they wish to display their awards in their postbit via UserCP.
Example: Like the Navigation bar display order, they can assign numbers. The lower the number assigned, the higher up in the postbit the award they've earned will be displayed.


All times are GMT. The time now is 10:51 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.03033 seconds
  • Memory Usage 1,841KB
  • 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
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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