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)

Alien 04-04-2010 10:41 PM

Quote:

Originally Posted by CypherSTL (Post 2014770)
Read the FAQ in the first post.
---
As for the "RC2" release; here is the change log of what has been fixed so far and will be released in the next few days.

4.0.0 RC2 RELEASE

* Fixed - Spacing on primary Awards Display page
* Fixed - Display Order in AdminCP Options not saving properly
* Fixed - "Awards" displaying on all profile tabs.

* Added - Award Automation based on Post Count, and Usergroups
* Added - MySQL Version Checks to Automation System.
* Added - Diagnostics Tab in AdminCP
Will display any found database errors and automatically fix them.
* Added - Log Output for awards issued and removed via automation

* Database - Added 'award_cgroup' column to award_user table
* Database - Added 'award_alog' table for saving automation logs

Hey,

Please be sure to add the following fix into RC2 release!

In all templates that you call headinclude, please be sure to also add the new variable that has been added by default in vBulletin 4.0.1+: headinclude_bottom

This allows for the use of the additional.css template to override built-in css.

The templates affected are:
AWARDS
awards_recommend_form
awards_request_form
awards_viewaward

Thanks!

Greeksgal 04-06-2010 04:59 PM

Hiya, am getting the following error message when users are requesting awards.

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/class_datastore.php on line 683

Another member gets the same message as above along with

Unable to add cookies, header already sent.
File: /home/*******/public_html/includes/class_core.php
Line: 4482

Any ideas? Was fine up until last week. Errors seem to coincide with upgrading to patch level 4.

CypherSTL 04-07-2010 05:56 AM

Quote:

Originally Posted by Alien (Post 2015839)
Hey,

Please be sure to add the following fix into RC2 release!

In all templates that you call headinclude, please be sure to also add the new variable that has been added by default in vBulletin 4.0.1+: headinclude_bottom

This allows for the use of the additional.css template to override built-in css.

The templates affected are:
AWARDS
awards_recommend_form
awards_request_form
awards_viewaward

Thanks!

Aye. I have started working on some of those. Currently, the postbit templates will use the Awards CSS Template and displays correctly, so that part is fine.

Greeksgal 04-07-2010 09:17 AM

Any idea about the errors I'm experiencing? Thanks :)

10 Gauge 04-08-2010 04:43 PM

Are we close to RC2?

baghdad4ever 04-08-2010 06:06 PM

please how to display award images (not the icon) in the postbit legacy??

i want to edit the postbit_legacy manually

thanks

Shadawg 04-08-2010 09:49 PM

then upload the same image for the icon and actual award icon

CypherSTL 04-09-2010 01:50 AM

I'll be upgrading one of my sites to 4.0.3 here shortly so I can test the RC2 release to make sure everything works on it.

CypherSTL 04-09-2010 05:57 AM

Alright guys.

Just a bit more information. I've split up the products for the awards system, and the automation system. That way users who do not wish to use automation, won't need to worry with the extra database fields and what not.

As for the awards system on vB 4.0.3; everything seems to still be functioning correctly.

CypherSTL 04-09-2010 09:42 PM

Got one more thing to finish up before release. Adding a page in the AdminCP where all requested/recommended awards are displayed and can issued, or denied, all on a single page.

Release should be ready to release in the early AM :) Oh, Automation will be released then too :)

vicelover 04-10-2010 07:52 AM

1 Attachment(s)
Hi, CypherSTL

I have a little question. My site language is Chinese, so I need to translate some phrases in front end.

Does this variable $vbphrase[awards] is the variable of that word "Awards" in user profile tab ?

If does, and I had translate it, but didn't work.

(please view the attachment image)

Best Regards

CypherSTL 04-10-2010 09:15 AM

Quote:

Originally Posted by vicelover (Post 2018783)
Hi, CypherSTL

I have a little question. My site language is Chinese, so I need to translate some phrases in front end.

Does this variable $vbphrase[awards] is the variable of that word "Awards" in user profile tab ?

If does, and I had translate it, but didn't work.

(please view the attachment image)

Best Regards

The phrase has been fixed in the newest release of the awards system.

CypherSTL 04-10-2010 09:16 AM

4.0.2 RELEASE: (05/10/2020 5:30AM CDT)
* Fixed - Spacing on primary Awards Display page
* Fixed - Display Order in AdminCP Options not saving properly
* Fixed - "Awards" displaying on all profile tabs.
* Fixed - Award Profile Tab Phrased

* Added - Award Recommendations and Requests are viewable in the AdminCP
* Added - Diagnostics Tab (Currently not used, place holder).
* Database - Database Errors on installation are now displayed.
* Database - award_requests table added
* Removed - Automation Phrases (Automation will be a seperate plugin)

baghdad4ever 04-10-2010 09:47 AM

thanks to update

when i choose award request this will occur

Code:

Invalid SQL:

    SELECT a.*, award.award_name, vb.username AS UserFor, vb2.username AS UserFrom
FROM vB_award_requests AS a, vB_award AS award, vB_user AS vb, vB_user AS vb2
WHERE a.award_req_aid = award.award_id AND a.award_rec_uid = vb.userid AND a.award_req_uid = vb2.userid;


vicelover 04-10-2010 09:50 AM

Quote:

Originally Posted by CypherSTL (Post 2018823)
4.0.2 RELEASE: (05/10/2020 5:30AM CDT)
* Fixed - Spacing on primary Awards Display page
* Fixed - Display Order in AdminCP Options not saving properly
* Fixed - "Awards" displaying on all profile tabs.
* Fixed - Award Profile Tab Phrased

* Added - Award Recommendations and Requests are viewable in the AdminCP
* Added - Diagnostics Tab (Currently not used, place holder).
* Database - Database Errors on installation are now displayed.
* Database - award_requests table added
* Removed - Automation Phrases (Automation will be a seperate plugin)

Thanks for updating :up:

Hi, CypherSTL
Do I need to uninstall the old version and re-upload all the files before updating?

Cadellin 04-10-2010 11:58 AM

I can replicate the error in the above post but in addition I get the one below when trying to view the awards automation page.

Quote:

Database error in vBulletin 4.0.3:

Invalid SQL:

SELECT *
FROM vbull_award_automation;

MySQL Error : Table 'twmodo5_frm.vbull_award_automation' doesn't exist
Error Number : 1146

Bouncer222 04-10-2010 05:45 PM

K installed both latest files... to make sure I updated everything at my site at www.brotherhoodofgamers.com

In admincp when clicking award requests it shows...

Quote:

Database error in vBulletin 4.0.2:

Invalid SQL:

SELECT a.*, award.award_name, vb.username AS UserFor, vb2.username AS UserFrom
FROM vB_award_requests AS a, vB_award AS award, vB_user AS vb, vB_user AS vb2
WHERE a.award_req_aid = award.award_id AND a.award_rec_uid = vb.userid AND a.award_req_uid = vb2.userid;

MySQL Error : Table 'brother6_vbulletin1.vB_award_requests' doesn't exist
Error Number : 1146
Request Date : Saturday, April 10th 2010 @ 01:44:24 PM
Error Date : Saturday, April 10th 2010 @ 01:44:24 PM
Script : http://www.brotherhoodofgamers.com/a...php?do=display
Referrer : http://www.brotherhoodofgamers.com/a...dex.php?do=nav
IP Address : 96.250.233.178
Username : Bouncer
Classname : vB_Database
MySQL Version : 5.1.30
Notice how my mysql is 5.1.30
But in Award automation it says..

"Incompatible MySQL Version -- Automation Disabled

Automation Requires MySQL 5+"

Makes no sense.

Bouncer222 04-10-2010 05:50 PM

I also got this email from my site...

Quote:

Database error in vBulletin 4.0.2:

Invalid SQL:

SELECT a.*, award.award_name, vb.username AS UserFor, vb2.username AS UserFrom
FROM vB_award_requests AS a, vB_award AS award, vB_user AS vb, vB_user AS vb2
WHERE a.award_req_aid = award.award_id AND a.award_rec_uid = vb.userid AND a.award_req_uid = vb2.userid;

MySQL Error : Table 'brother6_vbulletin1.vB_award_requests' doesn't exist
Error Number : 1146
Request Date : Saturday, April 10th 2010 @ 01:44:00 PM
Error Date : Saturday, April 10th 2010 @ 01:44:00 PM
Script : http://www.brotherhoodofgamers.com/a...php?do=display
Referrer : http://www.brotherhoodofgamers.com/a...dex.php?do=nav
IP Address : 96.250.233.178
Username : Bouncer
Classname : vB_Database
MySQL Version : 5.1.30

CypherSTL 04-10-2010 07:25 PM

Oops. Give me a few to add the proper Table Prefix markups.

CypherSTL 04-10-2010 07:30 PM

Alright, Product reuploaded.

Bouncer222 04-10-2010 07:37 PM

Which one? Both or only automatiion?

Bouncer222 04-10-2010 07:52 PM

I just redownloaded both and reuploaded both products... same errors.

CypherSTL 04-10-2010 08:11 PM

Quote:

Originally Posted by Bouncer222 (Post 2019146)
I just redownloaded both and reuploaded both products... same errors.

Alright, try the YAAS-4 Upload with the one I just uploaded. Fixed a typo.

The reason why it's working fine on my boards is I had the Table Prefixes hardcoded and forgot to use the vBulletin Table Prefixes.
----
Checking on the Automation errors.

CypherSTL 04-10-2010 08:18 PM

Removed the Automation plugin for now, I completely forgot to add the rest of the install code. I'll get that fixed up and reuploaded tonight.

Bouncer222 04-10-2010 08:55 PM

So should i download anything right now or not?

Cadellin 04-10-2010 09:03 PM

Not until Cypher posts back I would have thought.

CypherSTL 04-11-2010 04:26 AM

The YaAS-4 zip file that's uploaded now has the table prefixes fixed.

The Automation zip file I removed as I only had part of the install code completed and didn't realize it.

trackpads 04-14-2010 06:44 AM

1 Attachment(s)
Any idea what I did wrong?

Thanks!

-Jason

Breakpoint 04-15-2010 10:30 PM

How do I upgrade this plugin, I have ithe version for vb3.8 already installed and if I do overwrite it gives me an error that the table is already created and fails.

I need upgrade instructions please.

Xanlamin 04-16-2010 06:45 AM

Quote:

Originally Posted by trackpads (Post 2020939)
Any idea what I did wrong?

Thanks!

-Jason

Edit your postbit code to get the centering right.

Quote:

Originally Posted by Breakpoint (Post 2021944)
How do I upgrade this plugin, I have ithe version for vb3.8 already installed and if I do overwrite it gives me an error that the table is already created and fails.

I need upgrade instructions please.

This version is for vBulletin 4.0 not 3.8, you will need to upgrade your forums to 4.0.x to run yaas 4.0.x, if your upgraded your 3.8 forums to 4.0.x then disable yaas for 3.8 then install yaas 4.0.x

Delazar 04-16-2010 01:30 PM

Hi,

"my awards" tab is not showing in profiles members !!
YAAS 4.0.2
vBulletin 4.0.3

Thanks
Delazar

Xanlamin 04-16-2010 05:13 PM

The awards profile tab will show when a user has at least 1 award.

trackpads 04-17-2010 03:53 PM

Quote:

Edit your postbit code to get the centering right.
Right, but the awards postbit info is automatic, how do I fix it when it isnt listed in the postbit?

Bouncer222 04-17-2010 05:06 PM

So when will the automatic file be back up for install please?

Breakpoint 04-17-2010 07:12 PM

Quote:

Originally Posted by Xanlamin (Post 2022051)
This version is for vBulletin 4.0 not 3.8, you will need to upgrade your forums to 4.0.x to run yaas 4.0.x, if your upgraded your 3.8 forums to 4.0.x then disable yaas for 3.8 then install yaas 4.0.x

Yeah I have VB4 installed and the old YAAS disabled (Yet Another Award System 3.7)

I then go to Add new product and click overwrite with the YAAS xml file you have in the zip file

I get this error

Code:

Database error in vBulletin 4.0.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  : Saturday, April 17th 2010 @ 03:11:09 PM
Error Date    : Saturday, April 17th 2010 @ 03:11:09 PM
Script        : http://****.com/forums/admincp/plugin.php?do=productimport
Referrer      : http://****.com/forums/admincp/plugin.php?do=productadd
IP Address    : ****
Username      : ****
Classname    : vB_Database
MySQL Version : 5.0.90-community-log

I **** personal information

Is this because when I first tried Adding the Product it failed saying I had YAAS version 4 but still executed adding the column so now its not working?

Breakpoint 04-17-2010 09:37 PM

And then I also get this once I delete those columns

Code:

Invalid SQL:
CREATE TABLE award_requests (
                                                  award_req_id int(8) unsigned NOT NULL auto_increment,
                                                  award_req_timestamp timestamp NOT NULL default CURRENT_TIMESTAMP,
                                                  award_req_uid int(8) NULL,
                                                  award_rec_uid int(8) NULL,
                                                  award_req_aid int(8) NULL,
                                                  award_req_reason varchar(512) NOT NULL,
                                                  PRIMARY KEY  (award_req_id)
                                                );

MySQL Error  : Table 'award_requests' already exists

Why is it trying to recreate this table that already exists also? And I know this table was already in the previous versions of YAAS

04wayne 04-19-2010 03:19 PM

Shall install this later!

marshal_ramdev 04-21-2010 04:22 AM

nice ... :) thanks ..

MaxInfinity 04-21-2010 07:53 PM

Hi thanx for this great mod i have a small problem, im getting this error

Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\forum\awards.php on line 47

any ideas

Bouncer222 04-21-2010 08:19 PM

So has the automation been implemented or not?


All times are GMT. The time now is 02: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.02661 seconds
  • Memory Usage 1,836KB
  • 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
  • (3)bbcode_code_printable
  • (12)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