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)

squidsk 08-02-2012 06:53 PM

Yes, you just installed another plugin that doesn't work correctly with this one. If you go to https://vborg.vbsupport.ru/showthrea...16#post2340916 you can grab an updated version of this mod that fixes that issue among others.

r00028304 08-02-2012 06:55 PM

Quote:

Originally Posted by squidsk (Post 2353765)
Yes, you just installed another plugin that doesn't work correctly with this one. If you go to https://vborg.vbsupport.ru/showthrea...16#post2340916 you can grab an updated version of this mod that fixes that issue among others.

That's actually the version i'm currently using.

Funny enough.. it works if i'm logged out.


Fixed by disabling "vFcoders - Advanced Report System" ... wierd.. :(

squidsk 08-02-2012 07:41 PM

What other plugin have you installed since this one last worked correctly?

r00028304 08-02-2012 08:03 PM

It was vFcoders - Advanced Report System.. Which I've disabled.. all seems to be working OK.. not sure why they are interfering with e/o

squidsk 08-03-2012 02:08 PM

Quote:

Originally Posted by r00028304 (Post 2353798)
It was vFcoders - Advanced Report System.. Which I've disabled.. all seems to be working OK.. not sure why they are interfering with e/o

One of two reasons. First is that you didn't update the awards.php when you updated to the 4.0.3 version I posted. The easy way to check for this is to open awards.php and look at the top it should say 4.0.3 in the version. You can also go to line 99, where the construct_depth_mark function is declared, and ensure the function is wrapped in a if(!function_exists('construct_depth_mark)) conditional statement. The second possible reason is that one of the plugins from vFcoders - Advanced Report System has bad php and is causing that if statement I mention above to not fire properly, which would also cause the error.

If the problem is the first then just re-upload the file, if the problem is the second report it to vFcoders and let them deal with the bad code, or you can enable the plugin and disable the hooks one at a time until you find the one causing the problem and see if you can figure it out.

My bet is the second, especially as the problem resolves itself when you aren't logged in.

Mobo 08-05-2012 11:11 AM

I've gotten great use out of the YAAS mod and the YARS mod has been very helpful as well. As such, I'd like to share the 320+ medals I've had my artist design for me with the community. A lot of them are "medal sets", meaning a medal has multiple level or ranks. I use this level system extensively on my site, so there are a lot of those.

I've included the base image of each medal and its icon. They are both PNG images with transparent backgrounds.

A sample:

https://vborg.vbsupport.ru/external/2012/08/120.png https://vborg.vbsupport.ru/external/2012/08/121.png

Please only use these only on your vBulliten sites. The zip file for these is to large to attach here, so you can download it here.

Hope this helps some of you out.

r00028304 08-05-2012 11:16 AM

wow, thats very kind of your Mobo,

Thanks :)

LgsOfChampions 08-06-2012 09:27 PM

Quote:

Originally Posted by EaglezEye (Post 2349274)
I used to run the 3.8 version but had it disabled as I upgraded to 4.xxx. I installed this version but it looks like I need to edit the award.php file as it doesn't show my site's custom navbar.

Please visit and compare to the rest of the site. I have contacted my site builder but I am hoping someone can help me figure it out on my own as he takes awhile to respond.

http://www.thepublicenemy.net/awards.php

Just a heads up, when I go to your site, my security blocks me from ur site saying it has dangerous content on it.

LgsOfChampions 08-06-2012 09:28 PM

any one else get this error at the top of the awards page. I've gone thru a few and say nothing about it. was hoping someone could tell me the fix if there was one or the page it is on?

thanks.

Quote:

Deprecated: Assigning the return value of new by reference is deprecated in /home/content/70/7560670/html/LeaguesOfChampions/awards.php on line 47

ProFifaLeagues 08-06-2012 10:07 PM

Quote:

Originally Posted by LgsOfChampions (Post 2355091)
any one else get this error at the top of the awards page. I've gone thru a few and say nothing about it. was hoping someone could tell me the fix if there was one or the page it is on?

thanks.


Could be a php error that or try this see if it fixes the issue
To resolve the deprecation error go to line 47 in awards.php and delete the & from before the equals sign.

theredone 08-18-2012 04:58 AM

Is this working with 4.1.10?

Mobo 08-18-2012 08:51 AM

It worked on my 4.1 site before I upgraded to 4.2 and is still working.

CharlieDelta 08-22-2012 01:33 PM

I am getting this error when awarding a new award and checking off to send a PM and/or email notification.

Code:

Warning: mysql_insert_id() [function.mysql-inset-id]: Access denied for user '...@localhost' (using password: NO) in [path]/admincp/award.php on line 594
Code:

Warning: mysql_insert_id() [function.mysql-inset-id]: A link to the server could not be established in  [path]/admincp/award.php on line 594
Anyone come across this before?

ecitizen 08-25-2012 02:14 PM

is it work with 4.2.0

hoplomachus 08-30-2012 06:33 AM

When clicking on settings/Submission: From Userid for Congratulation PM and/or Email/

and i click here to edit i get this error..

No Phrases Matched Your Query

anyone know how to fix this?

squidsk 08-30-2012 05:55 PM

You do realize that the edit link you're clicking is not for changing the userid that the congratulations PM comes from but rather is to change either the subject or the body of the PM sent. Both of those can be altered directly through the phrase manager.

CharlieDelta 08-31-2012 12:13 AM

Quote:

Originally Posted by CharlieDelta (Post 2359010)
I am getting this error when awarding a new award and checking off to send a PM and/or email notification.

Code:

Warning: mysql_insert_id() [function.mysql-inset-id]: Access denied for user '...@localhost' (using password: NO) in [path]/admincp/award.php on line 594
Code:

Warning: mysql_insert_id() [function.mysql-inset-id]: A link to the server could not be established in  [path]/admincp/award.php on line 594
Anyone come across this before?

Anyone see this before.

squidsk 08-31-2012 05:03 PM

Never seen that before. Was it working and now is giving that warning? If so what changes have you made recently, new plugins or what have you.

CharlieDelta 08-31-2012 07:15 PM

Yes, and it still does work. The PM's and emails are being sent but this error pops up briefly.
I have only noticed it since implementing your xml and changes.
Very strange.

masterross 09-01-2012 07:20 AM

I have information that request_award.php is serious vulnerable!

squidsk 09-02-2012 12:35 AM

What's the vulnerability? Those of us using this mod need to assess the seriousness of the vulnerability. If you could PM the details it would be appreciated as you may or may not have noticed but I've been fixing bugs where I can.

Dave234 09-02-2012 11:56 AM

Quote:

Originally Posted by squidsk (Post 2332723)
Unfortunately not, there's an error in the uninstallation code, actually an omission, that prevents the plugin from uninstalling correctly.

First uninstall YAAS from the product manager.

Then to do what I posted on the previous page, in admincp go to Maintenance->Execute SQL Query

When prompted run the following query:
Code:

show tables
This will give you the list of all tables in your db, look for the ones that have awards in their name, there should be between one and three of them, most likely three. In my db the tables are called:

Code:

award
award_cat
award_requests

The names might be different in your db, especially if your tables have a prefix. Take note of the names, and then run drop table queries, one per table, to remove the tables.

So if I was removing the three tables from my db I'd run the following three queries:
Code:

drop table award
Code:

drop table award_cat
Code:

drop table award_requests
Then I could reinstall YAAS from scratch.

I have removed the above three tables from my database, but I also see another couple:

Code:

award_automation
award_user

Do these need to be removed as well?

squidsk 09-03-2012 12:17 AM

Quote:

Originally Posted by Dave234 (Post 2361938)
I have removed the above three tables from my database, but I also see another couple:

Code:

award_automation
award_user

Do these need to be removed as well?

Those are from the awards automation plugin which is an additional, separate, plugin that works on top of YaAS, I'd uninstall that plugin and remove those tables as well, then you'll have uninstalled all parts of YaAS.

If you look in my sig you'll see a link to a new, unofficial, version of YaAS that I released that fixes many of the bugs in the current official release. I'd recommend using that if you're going to try and re-install. It fixes the uninstall issues among other things. A complete list of fixes/changes is at the post in the link.

apapterx 09-03-2012 03:59 PM

I'm having a slight problem. Everything is working fine apart from member cannot recommend a member.

Any ideas on what to do ?

I get the following:

Quote:

you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

squidsk 09-03-2012 04:13 PM

Make sure the member is part of a group which has the recommend ability turned on. Its a usergroup setting.

wat3v3r 09-04-2012 01:10 PM

According to a hacking forum v4.0.2 has an exploit and can lead to an SQL injection to your site ?

Will send squidsk a pm with the details... hope he can fix this asap.

hjmaier 10-14-2012 12:20 PM

Great! Thank you very much for the fix!

EasyEazy 10-14-2012 12:55 PM

Great update.

Thanks again

EasyEazy 10-14-2012 03:36 PM

Hi squidsk

After updating there seems to be a problem with the templates in the member info. See the pictures below. The first one was an older version of this mod and the one below is the new version. See how the new version the awards are mashed together with no spacing. Any chance you could help?

https://vborg.vbsupport.ru/external/2012/10/30.jpg

https://vborg.vbsupport.ru/external/2012/10/31.jpg

Thanks

Dave234 10-14-2012 05:24 PM

I see that the mod has been updated. Is it correct that we should now download YaAS-4.0.4.zip and YaAS-Automation-R2.zip?

Can you provide step by step instructions on how to install this mod?

Thanks!

Crotan 10-14-2012 07:11 PM

Quote:

Originally Posted by Dave234 (Post 2372975)
I see that the mod has been updated. Is it correct that we should now download YaAS-4.0.4.zip and YaAS-Automation-R2.zip?

Can you provide step by step instructions on how to install this mod?

Thanks!

  • Backup MySQL database
  • Turn Off vbulletin
  • Turn off plugin system
  • Upload the contents of upload to your forum directory
  • import xml
  • Turn back on everything
  • Enjoy!

That's just for YaAS 4.0.4 The automation R2 package is an addon, and isn't required as far as I'm aware.

Thanks for the update too!

Thunderbird8 10-14-2012 09:44 PM

Automation wasn't updated, I don't think.

squidsk 10-15-2012 12:37 AM

Quote:

Originally Posted by EasyEazy (Post 2372941)
Hi squidsk

After updating there seems to be a problem with the templates in the member info. See the pictures below. The first one was an older version of this mod and the one below is the new version. See how the new version the awards are mashed together with no spacing. Any chance you could help?

<snip>images</snip>

Thanks

Given I didn't change any of the layouts my guess would be that you have stuff in additional.css that changes the padding/margins since the mod was updated to include additional.css template modifications.

Quote:

Originally Posted by Thunderbird8 (Post 2373046)
Automation wasn't updated, I don't think.

No it wasn't updated.

Ravallojr 10-15-2012 01:10 AM

Keeps giving me weird errors :o

squidsk 10-15-2012 02:50 AM

Quote:

Originally Posted by Ravallojr (Post 2373060)
Keeps giving me weird errors :o

You need to be a little more specific than that if you'd like some help.

EasyEazy 10-15-2012 03:22 AM

Quote:

Originally Posted by squidsk (Post 2373056)
Given I didn't change any of the layouts my guess would be that you have stuff in additional.css that changes the padding/margins since the mod was updated to include additional.css template modifications.

Hi Squidsk

I have removed any content from the additional.css and its still the same. Any thing else you can think of it could be?

*update*

I dont appear to have any additional.css code in any of the templates for this mod. is this correct?

fishmaster 10-15-2012 03:47 AM

Is this the security upgrade to the below:

https://vborg.vbsupport.ru/showthrea...265893&page=12

squidsk 10-15-2012 04:43 AM

Quote:

Originally Posted by EasyEazy (Post 2373070)
Hi Squidsk

I have removed any content from the additional.css and its still the same. Any thing else you can think of it could be?

*update*

I dont appear to have any additional.css code in any of the templates for this mod. is this correct?

You won't directly. 4 of the templates, those with a head html section, now have {vb:raw headinclude_bottom} in them, that will include the content in the additional.css template.

I will correct what I said earlier though. There are no layout changes if you had previously applied my unofficial, since I wasn't in charge of the mod at the time, 4.0.3 upgrade. None of those changes should have the effect you're describing though. To see the changes you can click on the link in my sig as it still points to the old changes or just take a look at the change log file in the mod.

Quote:

Originally Posted by fishmaster (Post 2373073)
Is this the security upgrade to the below:

https://vborg.vbsupport.ru/showthrea...265893&page=12

No, that's a mod based off the code for this one, patching this mod does not necessarily mean that the other mod is safe to use.

EasyEazy 10-15-2012 04:50 AM

Quote:

Originally Posted by squidsk (Post 2373074)
You won't directly. 4 of the templates, those with a head html section, now have {vb:raw headinclude_bottom} in them, that will include the content in the additional.css template.

I will correct what I said earlier though. There are no layout changes if you had previously applied my unofficial, since I wasn't in charge of the mod at the time, 4.0.3 upgrade. None of those changes should have the effect you're describing though. To see the changes you can click on the link in my sig as it still points to the old changes or just take a look at the change log file in the mod..

Would it be possible for you to take a look into this for me if I send you the details?

netzwart 10-15-2012 06:59 AM

Quote:

Originally Posted by Crotan (Post 2373001)
  • Backup MySQL database
  • Turn Off vbulletin
  • Turn off plugin system
  • Upload the contents of upload to your forum directory
  • import xml
  • Turn back on everything
  • Enjoy!

Thanks for the instructions! However, I don?t want to make a completely new installation, I need to update the existing MOD without loosing data of the persons who already have awards and without loosing graphic files and definitions of existing awards.

Is there a different approach for updating the existing MOD ?

Thanks in advance

Netzwart


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.03219 seconds
  • Memory Usage 1,847KB
  • 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
  • (11)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
  • (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