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)

mgurain 04-14-2012 07:36 AM

Is is compatible with latest version 4.1.12 ?
Could you update it for that ?

Regards,,

Crotan 04-14-2012 04:51 PM

Quote:

Originally Posted by Hikarin (Post 2319945)
I have Yet Another Award System enabled.
Thank you for making this. I really have loved this programme ever since I saw it on some old Vb3 forums. ^_^ I glad that my forum finally has it too.

But.... what exactly's going on here? O_o
https://vborg.vbsupport.ru/attachmen...1&d=1334382392

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

squidsk 04-15-2012 06:52 PM

Quote:

Originally Posted by Hikarin (Post 2319945)
I have Yet Another Award System enabled.
Thank you for making this. I really have loved this programme ever since I saw it on some old Vb3 forums. ^_^ I glad that my forum finally has it too.

But.... what exactly's going on here? O_o
https://vborg.vbsupport.ru/attachmen...1&d=1334382392

See the posts above yours by me on the page for how to fix this, starting with post 1069.

santi00 04-19-2012 07:52 PM

Hello everyone, I wanted to ask you if you think you could make a retroactive award. For example, if I create a award of the 100th post inserted at the time of creation but there are already users with 100 posts, you can automatically assign the award ?
I try but there isn't nothing to do...the award not display

squidsk 04-19-2012 08:15 PM

No, the awards are not retroactive, you'll need to do a manual insert query on the database to achieve what you're after. I posted a sample query either in this thread or the one for the vb3.8 version of this mod that you could use.

marccap 04-19-2012 10:38 PM

Hi,

Eveything set up except automatic awards. How are these set up with the software - eg what goes in the bottom for for example 1000 posts:

Automation Task Name -
Award ID to Automate -

Thanks

marccap 04-28-2012 03:18 AM

bump

BWG22 05-01-2012 05:59 PM

So no answer for me?

MikePaceRocks 05-01-2012 10:48 PM

When will a version for 4.1.12 be available?

Nemrak 05-02-2012 06:13 AM

Hallo,
I tried to install Award System and received the following error:

https://vborg.vbsupport.ru/external/2012/05/40.png

My vbulletin version is 4.1.12.

What should I do?

MikePaceRocks 05-02-2012 07:41 AM

Quote:

Originally Posted by Nemrak (Post 2325420)
Hallo,
I tried to install Award System and received the following error:

https://vborg.vbsupport.ru/external/2012/05/40.png

My vbulletin version is 4.1.12.

What should I do?

I got the EXACT same database error when I tried to install it. I also am running 4.1.12.

squidsk 05-09-2012 03:18 PM

Quote:

Originally Posted by Nemrak (Post 2325420)
Hallo,
I tried to install Award System and received the following error:

https://vborg.vbsupport.ru/external/2012/05/40.png

My vbulletin version is 4.1.12.

What should I do?

Quote:

Originally Posted by MikePaceRocks (Post 2325433)
I got the EXACT same database error when I tried to install it. I also am running 4.1.12.


I think its an issue with the install script. Do both of your forums have a table prefix?

Dave234 05-13-2012 06:55 PM

I downloaded the "YaAS-4.0.2-PL1" zip file, did what the instructions told me, and it seemed to upload fine. It added the "Awards" tab to my forum. HOWEVER, when I click the "Awards" tab, it takes me to a page with no content. It says:

404 Error File Not Found
The page you are looking for might have been removed,
had its name changed, or is temporarily unavailable.

Can you please assist?? This is very confusing.

squidsk 05-15-2012 02:10 AM

It sounds like you didn't upload the files to the correct location, or there was an error with the installation.

Dave234 05-16-2012 01:26 AM

How do I upload? I see there are three files. Two folders and one Word doc.

Dave234 05-16-2012 01:28 AM

I just uploaded the one folder.

squidsk 05-16-2012 02:09 PM

Quote:

Originally Posted by Dave234 (Post 2329743)
How do I upload? I see there are three files. Two folders and one Word doc.

Quote:

Originally Posted by Dave234 (Post 2329745)
I just uploaded the one folder.

You need to upload the contents of the upload folder to your forum's root folder (i.e. the same location where the index.php for the forum is lcoated).

Dave234 05-17-2012 01:09 AM

I did that for the one folder. Do I need to do it for the other one also?

SN1PERCITY 05-18-2012 03:53 AM

so will this be fixed for 4.1.12. just wondering cause i had it for 4.1.5 or .6 and it was great could we get this fixed for it please!

Crotan 05-18-2012 07:10 PM

Quote:

Originally Posted by SN1PERCITY (Post 2330332)
so will this be fixed for 4.1.12. just wondering cause i had it for 4.1.5 or .6 and it was great could we get this fixed for it please!

Still working here on 4.1.12?

tomrep 05-19-2012 11:11 PM

when will it be released for 4.1.12

marccap 05-20-2012 12:48 AM

It works on 4.1.12 - check it out on my site

Dave234 05-21-2012 12:35 PM

Do I need to upload both of the folders?

BWG22 05-22-2012 04:39 AM

I uninstalled the plug-in, and tried to reinstall and got this....

MySQL Error : Duplicate column name 'award_allowrecommend'

How to fix please?

Dave234 05-22-2012 03:06 PM

There is an error in my upload. I tried uploading both folders via ftp.

As soon as I tried uploading the "product-yet_another_award_system" from the "YaAS-4.0.2-PL1" folder, it gave me a database error.

In my AdminCP, Plugin Manager, Edit Product screen, these are what appear under the "Install Code":

Version 1.0.0:

$db->reporterror = 0;
// NEW INSTALL CODE
if ($installed_version == null) {

$db->query_write("ALTER TABLE " . TABLE_PREFIX . "award_user ADD award_cgroup VARCHAR( 15 )");
echo "<font size=\"1\">Alter table - award_user - criteria group</font><br />";

}



Version 1.0.2:
// CREATE AWARD AUTOMATION TABLE
$db->reporterror = 0;

$db->query_write("CREATE TABLE " . TABLE_PREFIX . "award_automation (
award_automation_id int(10) unsigned NOT NULL auto_increment,
auto_active int(1) NOT NULL,
auto_name varchar(32) NOT NULL,
auto_issuereason varchar(255) NOT NULL,
auto_type varchar(32) NOT NULL,
auto_criteria int(10) NOT NULL,
auto_awardid int(10) NOT NULL,
PRIMARY KEY (award_automation_id)
)
");
echo "<font size=\"1\">Added Table - Award Automation</font><br />";

squidsk 05-22-2012 07:15 PM

Quote:

Originally Posted by Dave234 (Post 2331245)
Do I need to upload both of the folders?

No just the contents of the upload folder, if you uploaded the contents correctly and installed the xml correctly it should work.

Quote:

Originally Posted by BWG22 (Post 2331473)
I uninstalled the plug-in, and tried to reinstall and got this....

MySQL Error : Duplicate column name 'award_allowrecommend'

How to fix please?

What version did you uninstall? If you started with a 4.0.2PL1 version, the only error you should get when uninstalling and reinstalling is related to some missing uninstall code for the award_requests table.

That being said, if you run the following sql commands from admincp it should remove any leftover stuff.


show tables
drop table *award*


The first command will list all your tables, then you'll need to use the second command as many times as needed, by replacing the *award* with the name of an award table that was left around by mistake.

squidsk 05-22-2012 07:15 PM

Quote:

Originally Posted by Dave234 (Post 2331580)
There is an error in my upload. I tried uploading both folders via ftp.

As soon as I tried uploading the "product-yet_another_award_system" from the "YaAS-4.0.2-PL1" folder, it gave me a database error.

In my AdminCP, Plugin Manager, Edit Product screen, these are what appear under the "Install Code":

Version 1.0.0:

$db->reporterror = 0;
// NEW INSTALL CODE
if ($installed_version == null) {

$db->query_write("ALTER TABLE " . TABLE_PREFIX . "award_user ADD award_cgroup VARCHAR( 15 )");
echo "<font size=\"1\">Alter table - award_user - criteria group</font><br />";

}



Version 1.0.2:
// CREATE AWARD AUTOMATION TABLE
$db->reporterror = 0;

$db->query_write("CREATE TABLE " . TABLE_PREFIX . "award_automation (
award_automation_id int(10) unsigned NOT NULL auto_increment,
auto_active int(1) NOT NULL,
auto_name varchar(32) NOT NULL,
auto_issuereason varchar(255) NOT NULL,
auto_type varchar(32) NOT NULL,
auto_criteria int(10) NOT NULL,
auto_awardid int(10) NOT NULL,
PRIMARY KEY (award_automation_id)
)
");
echo "<font size=\"1\">Added Table - Award Automation</font><br />";


What is the database error you are getting?

Dave234 05-22-2012 09:59 PM

Alter table - award
Alter table - usergroup

Tables Altered Successfully

Alter table - 2.1.3
Alter table - 2.1.4





Database error



The Social Hulk Espa?ol database has encountered a problem.




--------------------------------------------------------------------------------




Please try the following: •Load the page again by clicking the Refresh button in your web browser.
•Open the www.socialhulk.com home page, then try to open another page.
•Click the Back button to try another link.



The www.socialhulk.com forum technical staff have been notified of the error, though you may contact them if the problem persists.




We apologise for any inconvenience.

Dave234 05-22-2012 10:00 PM

Database error in vBulletin 4.1.11:

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 22nd 2012 @ 04:58:59 PM
Error Date : Tuesday, May 22nd 2012 @ 04:58:59 PM
Script : http://www.socialhulk.com/spanish/ad...=productimport
Referrer : http://www.socialhulk.com/spanish/ad...?do=productadd
IP Address : (hidden because confidential?)
Username : El Luchador Rubio
Classname : vB_Database
MySQL Version : 5.1.63-community-log

Dave234 05-23-2012 10:56 AM

Does this make any sense?

BWG22 05-23-2012 04:47 PM

Ok, the SQL command worked and it installed, but now it brings me back to the awards main page getting this message.

Fatal error: Cannot redeclare construct_depth_mark() in /public_html/forums/includes/adminfunctions.php on line 1915

FTG LIQUID CL 05-23-2012 11:29 PM

keep getting this message when i try to upload the xml product

Database error in vBulletin 4.1.12:

Invalid SQL:
ALTER TABLE vbaward 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 : Wednesday, May 23rd 2012 @ 06:25:31 PM
Error Date : Wednesday, May 23rd 2012 @ 06:25:32 PM
Script : http://fataltalentgaminglive.com/adm...=productimport
Referrer : http://fataltalentgaminglive.com/adm...?do=productadd
IP Address : 75.137.26.203
Username : Admin
Classname : vB_Database
MySQL Version : 5.1.63-community-log

squidsk 05-24-2012 02:22 PM

Quote:

Originally Posted by BWG22 (Post 2331996)
Ok, the SQL command worked and it installed, but now it brings me back to the awards main page getting this message.

Fatal error: Cannot redeclare construct_depth_mark() in /public_html/forums/includes/adminfunctions.php on line 1915

What exactly were you doing that caused this error to occur? The only reference I can find to this function within the awards files is in a location that does not make use of the file includes/adminfunctions.php.

Quote:

Originally Posted by FTG LIQUID CL (Post 2332157)
keep getting this message when i try to upload the xml product

Database error in vBulletin 4.1.12:

Invalid SQL:
ALTER TABLE vbaward 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 : Wednesday, May 23rd 2012 @ 06:25:31 PM
Error Date : Wednesday, May 23rd 2012 @ 06:25:32 PM
Script : http://fataltalentgaminglive.com/adm...=productimport
Referrer : http://fataltalentgaminglive.com/adm...?do=productadd
IP Address : 75.137.26.203
Username : Admin
Classname : vB_Database
MySQL Version : 5.1.63-community-log

Are you upgrading or re-installing the plugin? If re-installing then follow my instructions on the last page about deleting tables that weren't properly uninstalled. If upgrading what version are you upgrading from?

BWG22 05-24-2012 02:59 PM

Quote:

Originally Posted by squidsk (Post 2332325)
What exactly were you doing that caused this error to occur? The only reference I can find to this function within the awards files is in a location that does not make use of the file includes/adminfunctions.php.

Didn't do anything I wasn't supposed to. It was the error I had before when I upgraded my vB to 4.1.11. It just started giving me that error after the upgrade completed. Since then, I uninstalled it, dropped the tables, and re-installed and I still get the error.

squidsk 05-24-2012 03:05 PM

Quote:

Originally Posted by BWG22 (Post 2332335)
Didn't do anything I wasn't supposed to. It was the error I had before when I upgraded my vB to 4.1.11. It just started giving me that error after the upgrade completed. Since then, I uninstalled it, dropped the tables, and re-installed and I still get the error.

What other plugins are you running? I'm on a clean vb4.1.12PL1 and don't get that message, nor did I get it when the forum was on 4.1.10.

As I said the only place in the awards code that creates its own construct_depth_mark function is in the awards.php file, which does not require adminfunctions.php nor does in require a file which requires adminfunctions.php.

I was specifically asking what actions you'd taken (e.g. trying to view/change the awards settings) that causes that error.

Dave234 05-24-2012 03:06 PM

Mine is the same (please see my last post). Can you please assist?

squidsk 05-24-2012 03:54 PM

Did you read my response to FTG LIQUID CL?

FTG LIQUID CL 05-24-2012 06:16 PM

yes i will work on it

FTG LIQUID CL 05-24-2012 06:21 PM

its the first time i have installed this product,i have tried to re install the xml file but keep getting that message

squidsk 05-24-2012 06:28 PM

Follow my instructions on the previous page how to delete the previous install correctly. First uninstall the plugin if it shows up in the plugin list, then you'll need to drop the three tables (if all of them were created) before trying to re-install.


All times are GMT. The time now is 10:55 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.02266 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
  • (15)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