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)

katie hunter 09-20-2013 08:44 PM

Hi Squidsk, thanks =)

Quote:

And yes this mod works with vb 4.2.1. The only thing it doesn't do is make use of the new navigation manager that came with vb 4.2
Can you update the mod so it is using the new navigation manager of vb 4.2? Vb 4.x would be very new for me when i upgrade so i would be lost and wouldn't know from where to start.

For me i have thousands of anime awards like these http://www.nihonomaru.com/awards, so i would really love to see pagination finally integrated, it never happened on vb 3.7.x. I really hope it is there for the vb 4.x version. Would you consider implementing it for the upcoming update?

I have another question, on mike's mod i see one of the admin tabs you can view the awards requests via admincp, do you have this? See where it says "Rank Requests" https://vborg.vbsupport.ru/attachmen...5&d=1309219379

dhonchik 09-21-2013 07:36 PM

Medals dont works in signature start and signature end

VB 4.2.1, fix please

squidsk 09-25-2013 04:50 PM

Quote:

Originally Posted by katie hunter (Post 2446967)
Can you update the mod so it is using the new navigation manager of vb 4.2? Vb 4.x would be very new for me when i upgrade so i would be lost and wouldn't know from where to start.

It is very easy to do there are plenty of guides available to walk someone through it. I am planning to eventually add that to the mod but can't say when it will happen.

Quote:

For me i have thousands of anime awards like these http://www.nihonomaru.com/awards, so i would really love to see pagination finally integrated, it never happened on vb 3.7.x. I really hope it is there for the vb 4.x version. Would you consider implementing it for the upcoming update?
I am not going to implement pagination of awards at this time.

Quote:

I have another question, on mike's mod i see one of the admin tabs you can view the awards requests via admincp, do you have this? See where it says "Rank Requests" https://vborg.vbsupport.ru/attachmen...5&d=1309219379
Yes, as I mentioned before that mod is a copy of this one with various internal stuff renamed. All features of that mod exist in this mod and any features added since that one was last updated are present in this mod but not that one.

Quote:

Originally Posted by dhonchik (Post 2447140)
Medals dont works in signature start and signature end

VB 4.2.1, fix please

Works just fine, the users either does not have a signature or has chosen not to display it, either of which will prevent awards from showing in the signature section.

fat_gezzar 09-30-2013 01:18 PM

Been using this mod for a long time now and love it :)

There is one thing i would like some help with and thats the number of awards displayed currently five are displayed on a line and i would like each line of awards to display only four.
So if someone has 8 awards they would display in two lines of 4 instead of 5 on the top and 3underneath.

thanks for your help in advance

squidsk 09-30-2013 02:07 PM

Quote:

Originally Posted by fat_gezzar (Post 2449003)
Been using this mod for a long time now and love it :)

There is one thing i would like some help with and thats the number of awards displayed currently five are displayed on a line and i would like each line of awards to display only four.
So if someone has 8 awards they would display in two lines of 4 instead of 5 on the top and 3underneath.

thanks for your help in advance

There's really no easy way to code that since there are so many factors that will affect how many awards are on each line, such as the width of the postbit and the size of the awards icons.

Vick98 10-01-2013 12:28 AM

What is the easiest way to center the awards under the signature? I am going for a block look for the awards under the signature. Similar to the ribbons on a soldiers uniform.

CAG CheechDogg 10-02-2013 04:43 AM

Quote:

Originally Posted by Vick98 (Post 2449145)
What is the easiest way to center the awards under the signature? I am going for a block look for the awards under the signature. Similar to the ribbons on a soldiers uniform.

Link to your site?

EBZ2010 10-02-2013 03:47 PM

Quote:

Originally Posted by CAG CheechDogg (Post 2449404)
Link to your site?

His site is www.soullessknights.com.

CAG CheechDogg 10-03-2013 06:19 AM

Quote:

Originally Posted by EBZ2010 (Post 2449485)

Can't view anything it is all set to private...

katie hunter 10-03-2013 06:26 AM

There is one feature that is needed, i hope it gets implemented. For sites which has many awards per category, we'd need to have the categories displayed in a drop down menu.

Having a very long 1 page with all categories and awards is really really bad. It would be nice to display awards per category. Visually too it is more organized and better.

katie hunter 10-05-2013 05:08 PM

Hey squidsk, why is there 3 files? what are these files used for?

Default CSS Data.txt
YaAS-Automation-R2.zip

Where do you upload the default css data? I presume this is for the style of the award in potbit_legacy?

squidsk 10-05-2013 08:00 PM

Quote:

Originally Posted by katie hunter (Post 2449617)
There is one feature that is needed, i hope it gets implemented. For sites which has many awards per category, we'd need to have the categories displayed in a drop down menu.

Having a very long 1 page with all categories and awards is really really bad. It would be nice to display awards per category. Visually too it is more organized and better.

It just isn't feasible, since there's no requirements that every category has to have X awards making pages look lopsided or having categories spread over pages.

Quote:

Originally Posted by katie hunter (Post 2450235)
Hey squidsk, why is there 3 files? what are these files used for?

Default CSS Data.txt
YaAS-Automation-R2.zip

Where do you upload the default css data? I presume this is for the style of the award in potbit_legacy?

The first is an old version of the default css, that would have been used to reset the css if you screwed it up. It's outdated right now so not helpful. The automation is an addon for the mod that grants awards to users based on certain criteria like post count, time as a member, etc.

CAG CheechDogg 10-05-2013 08:03 PM

Hey hey Squidskster, any news on the action log to see who awarded and deleted awards for the admin panel yet?

katie hunter 10-05-2013 11:09 PM

Hey Squidskster =) well i would really love to see a sort of a navigation with a drop down menu that helps me jump to a category, but i know what you mean but having a very long page of award is really bad, especially if someone has 100s of awards to upload.

Installed :) http://forum.nihonomaru.com/awards.php

katie hunter 10-07-2013 10:59 AM

Hi Squidskster =) do you know how can i apply a url redirect with vbseo ? so my url is /awards/ instead of awards.php

It is usually like this:
ex for calender ==> //'calendar/\?(.+)' => 'calendar.php?$1'

TRG 10-07-2013 09:47 PM

Any Idea or thoughts on a version of this for VB5*?

PAPPACLART 10-09-2013 11:57 AM

does this work fine for VB4.2.1

squidsk 10-09-2013 01:59 PM

Quote:

Originally Posted by katie hunter (Post 2450688)
Hi Squidskster =) do you know how can i apply a url redirect with vbseo ? so my url is /awards/ instead of awards.php

It is usually like this:
ex for calender ==> //'calendar/\?(.+)' => 'calendar.php?$1'

Since I don't use vbseo, its hard to say, but my guess would to copy an existing entry, such as the calendar one you've provided and rename the appropriate parts

Quote:

Originally Posted by TRG (Post 2450786)
Any Idea or thoughts on a version of this for VB5*?

Not anytime soon, I have a lot on my plate and even the changes/improvements/additions I want to make to the vb4 version are not yet complete.

Quote:

Originally Posted by PAPPACLART (Post 2451236)
does this work fine for VB4.2.1

Yes, with the exception of the fact that you will have to manually add an item to the navigation manager.

squidsk 10-11-2013 02:32 PM

Quote:

Originally Posted by CAG CheechDogg (Post 2450260)
Hey hey Squidskster, any news on the action log to see who awarded and deleted awards for the admin panel yet?

Sorry I missed this yesterday. I'm currently working on it and it should be in the next release. The next release will also include an option that should provide a performance boost, most noticeable for sites with lots of users with awards.

netzwart 10-15-2013 03:09 AM

Hi,

first of all: Congratulation for this brilliant MOD!

I am running this MOD in its version 4.0.4 and found out, that the latest version is 4.0.6, such that I want/need to update the MOD. How do I update? Is it possible to simply exchange those parts which have changed? Do I have to run the whole installation procedure again?

Thanks for your help !!!

nw

CAG CheechDogg 10-15-2013 08:01 AM

Quote:

Originally Posted by squidsk (Post 2452223)
Sorry I missed this yesterday. I'm currently working on it and it should be in the next release. The next release will also include an option that should provide a performance boost, most noticeable for sites with lots of users with awards.


Nice! You Da' Man squidsk! Thanks in advance Bro really appreciate it!

squidsk 10-15-2013 07:49 PM

Quote:

Originally Posted by netzwart (Post 2453477)
Hi,

first of all: Congratulation for this brilliant MOD!

I am running this MOD in its version 4.0.4 and found out, that the latest version is 4.0.6, such that I want/need to update the MOD. How do I update? Is it possible to simply exchange those parts which have changed? Do I have to run the whole installation procedure again?

Thanks for your help !!!

nw

You need to download the current version (4.0.6), from the top of the page and follow the instruction in the installation instructions file.

Dogma21cw 10-19-2013 10:03 AM

So this is happening, kind of out of the blue:
https://vborg.vbsupport.ru/external/2013/10/33.png

Any clues on a fix? Is is a vB thing? I tried uninstall/reinstall a fresh D/L of the plugin. But no dice. And is in all styles, and on every browser.

I also mean the double comma before the first name in the list.

Skyrider 10-19-2013 06:27 PM

The automation.. Is there a cron? When it is being done? I can't find a button to manually run it, and it's not doing it right away (waited 5min) after I added it. It's not showing up in the task manager either, though I have found it in the XML file:

Quote:

<scheduling weekday="-1" day="-1" hour="1" minute="30" />
EDIT, found it.. but when I run it manually..

Quote:

Database error in vBulletin 4.2.2:

Invalid SQL:
INSERT INTO award_user (award_id, userid, issue_reason, issue_time, award_cgroup) VALUES ('2', '2004', 'You've been rewarded an award for being a Black Star Lounge Member!', 1382211619, 'usergroup');

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 've been rewarded an award for being a Black Star Lounge Member!', 1382211619, 'u' at line 1
Error Number : 1064
Request Date : Saturday, October 19th 2013 @ 09:40:19 PM
Error Date : Saturday, October 19th 2013 @ 09:40:19 PM
Script : http:/xxx/admincp/cronadmin.php?do=runcron&cronid=369
Referrer : http://xxx/admincp/cronadmin.php?do=modify
IP Address : xxx
Username : Skyrider
Classname : vB_Database_MySQLi
MySQL Version : 5.1.67

squidsk 10-20-2013 01:46 AM

Remove the apostrophe from the issue reason.

CAG CheechDogg 10-20-2013 02:22 AM

Quote:

Originally Posted by squidsk (Post 2454762)
Remove the apostrophe from the issue reason.

It's not because of an apostrophe squidsk, I have that on my awards page as well, it happened to me after I either deleted an account or merged one ...

I then got an award in the awards list with no username ...

squidsk 10-20-2013 04:25 AM

Quote:

Originally Posted by CAG CheechDogg (Post 2454769)
It's not because of an apostrophe squidsk, I have that on my awards page as well, it happened to me after I either deleted an account or merged one ...

I then got an award in the awards list with no username ...

I didn't see the other report of a bug, the apostrophe was in response to the error in the automation add-on. I will look into dealing with renaming/deleting accounts.

squidsk 10-20-2013 04:27 AM

Quote:

Originally Posted by Dogma21cw (Post 2454597)
So this is happening, kind of out of the blue:
https://vborg.vbsupport.ru/external/2013/10/33.png

Any clues on a fix? Is is a vB thing? I tried uninstall/reinstall a fresh D/L of the plugin. But no dice. And is in all styles, and on every browser.

I also mean the double comma before the first name in the list.

As per above I'm looking into dealing with deleted/merged user accounts, the template name is a vbulletin setting I just can't remember which one, turn it off and the template name will stop being displayed for all templates.

CAG CheechDogg 10-20-2013 04:59 AM

Quote:

Originally Posted by squidsk (Post 2454787)
As per above I'm looking into dealing with deleted/merged user accounts, the template name is a vbulletin setting I just can't remember which one, turn it off and the template name will stop being displayed for all templates.

To turn that off go to General settings and find "Add Template Name in HTML Comments", set that to "No"

Skyrider 10-20-2013 08:06 AM

Thanks for the reply, I shall refrain from using apostrophe. Though I do wish to report another bug / issue or miscalculation.

I've set a new automation on usergroup 6 (administrators). In total, 14 users are gaining the rewards, while there are only 6 people in the administration group. Te other 8 are moderators, super moderators and other custom groups members.

So why have they been given the award while they are not within Usergroup ID 6? They are not even in GroupID 6 as Additional users.

squidsk 10-21-2013 09:51 PM

Quote:

Originally Posted by FF|Skyrider (Post 2454809)
Thanks for the reply, I shall refrain from using apostrophe. Though I do wish to report another bug / issue or miscalculation.

I've set a new automation on usergroup 6 (administrators). In total, 14 users are gaining the rewards, while there are only 6 people in the administration group. Te other 8 are moderators, super moderators and other custom groups members.

So why have they been given the award while they are not within Usergroup ID 6? They are not even in GroupID 6 as Additional users.

Looking at the code it appears that it will give the award to, in your case, anyone who's a member of a group with a 6 in its id (i.e. 6, 16, 26, etc).

The solution is to change line 62 of includes/cron/award_automation.php as follows:

From:
Code:

                OR membergroupids LIKE '%".$usergroupAwardsArray[auto_criteria]."%'
To:
Code:

                OR " . $usergroupAwardsArray[auto_criteria] . " IN (membergroupids)
Note: I haven't tried this out but it should work.

Skyrider 10-22-2013 01:42 AM

Quote:

Originally Posted by squidsk (Post 2455173)
Looking at the code it appears that it will give the award to, in your case, anyone who's a member of a group with a 6 in its id (i.e. 6, 16, 26, etc).

The solution is to change line 62 of includes/cron/award_automation.php as follows:

From:
Code:

                OR membergroupids LIKE '%".$usergroupAwardsArray[auto_criteria]."%'
To:
Code:

                OR " . $usergroupAwardsArray[auto_criteria] . " IN (membergroupids)
Note: I haven't tried this out but it should work.

Lovely, that did the trick.. Thanks! I'd assume you would alter the code in the main file(s) in your first post as well? So other users won't be having the same issue.

migratoria 10-22-2013 07:38 AM

It's possible to convert data of "Yet Another Ranks System" with this mod?

squidsk 10-22-2013 03:24 PM

Quote:

Originally Posted by FF|Skyrider (Post 2455210)
Lovely, that did the trick.. Thanks! I'd assume you would alter the code in the main file(s) in your first post as well? So other users won't be having the same issue.

Eventually, I will release an update I have for that mod in due course, but it will require some changes to YaAS that I haven't yet managed to do.

Quote:

Originally Posted by migratoria (Post 2455271)
It's possible to convert data of "Yet Another Ranks System" with this mod?

I'm not sure what you're asking? Are you asking can convert from YaRS to YaAS or something else?

Dogma21cw 10-22-2013 05:53 PM

Quote:

Originally Posted by squidsk (Post 2454787)
As per above I'm looking into dealing with deleted/merged user accounts, the template name is a vbulletin setting I just can't remember which one, turn it off and the template name will stop being displayed for all templates.

Understood, but any reason why it would start happening out of the blue? Seriously confusing that one day no issue. The next, bam! I doubt it is the plugin, because it worked fine & wasn't touched between problems.

Just a general question.

-D

squidsk 10-23-2013 06:07 PM

Quote:

Originally Posted by Dogma21cw (Post 2455375)
Understood, but any reason why it would start happening out of the blue? Seriously confusing that one day no issue. The next, bam! I doubt it is the plugin, because it worked fine & wasn't touched between problems.

Just a general question.

-D

No idea, it isn't something YaAS would have caused since it doesn't touch the settings table at all.

migratoria 10-28-2013 05:08 PM

Quote:

Originally Posted by squidsk (Post 2455337)
Eventually, I will release an update I have for that mod in due course, but it will require some changes to YaAS that I haven't yet managed to do.



I'm not sure what you're asking? Are you asking can convert from YaRS to YaAS or something else?

Yes. I am currently in my forum 'using the mod "Yet Another Ranks System" and I would like to convert it with this. It's possible?

squidsk 10-28-2013 05:29 PM

Quote:

Originally Posted by migratoria (Post 2456854)
Yes. I am currently in my forum 'using the mod "Yet Another Ranks System" and I would like to convert it with this. It's possible?

Anything is possible. Easy not really, you'd need to transfer the data from the YaRS tables to the YaAS tables or drop the YaAS tables and rename the YaRS ones.

As the mods are essentially the same why are you interested in changing between them.

Mikhael_ 11-06-2013 05:45 AM

Hi to all
I just install this mod on a forum test so that i can see all the potentiality :)

My dubs is regarding the automations because i see that the criteria are only 3. I tried even another plug-in that permit a series of criterias (es. post >= 1000 post <= 5000 day since last post <= 60) or other criteria as thread, reclutament ecc.

Can i do the same things with this plug-in? I prefer your plug-in because is very light.
Thanks in advance! ;)

squidsk 11-07-2013 06:05 PM

Quote:

Originally Posted by Mikhael_ (Post 2458614)
Hi to all
I just install this mod on a forum test so that i can see all the potentiality :)

My dubs is regarding the automations because i see that the criteria are only 3. I tried even another plug-in that permit a series of criterias (es. post >= 1000 post <= 5000 day since last post <= 60) or other criteria as thread, reclutament ecc.

Can i do the same things with this plug-in? I prefer your plug-in because is very light.
Thanks in advance! ;)

Yes, by creating multiple award automations for the same criteria. For example if you create two number of post automated awards with criteria of 1000 and 5000 then when a users hits 1000 posts they will get the first one and when they hit 5000 posts they will have the first one removed and the second one granted.

As for the extra criteria, currently there are only the three (posts, usergroup membership, membership time) but I have plans to add more criteria.


All times are GMT. The time now is 10:38 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.03076 seconds
  • Memory Usage 1,867KB
  • 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
  • (4)bbcode_code_printable
  • (32)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