vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - Yet Another Awards System 2.1.4 (https://vborg.vbsupport.ru/showthread.php?t=142487)

Simetrical 07-20-2007 08:25 PM

Change line 427 of award.php from
Code:

WHERE username = '". $vbulletin->GPC['awardusername'] ."'
to
Code:

WHERE username = '". mysql_real_escape_string( $vbulletin->GPC['awardusername'] ) ."'
Repeat for line 556, and the bug should disappear. If you're paranoid, repeat for every other variable used in an SQL query in the file, although in principle it looks okay.

Is this extension maintained? Are the maintainers on vacation or something, perhaps?

The Librarian 07-20-2007 08:29 PM

Quote:

Originally Posted by Simetrical (Post 1296874)
Change line 427 of award.php from
Code:

WHERE username = '". $vbulletin->GPC['awardusername'] ."'
to
Code:

WHERE username = '". mysql_real_escape_string( $vbulletin->GPC['awardusername'] ) ."'
Repeat for line 556, and the bug should disappear. If you're paranoid, repeat for every other variable used in an SQL query in the file, although in principle it looks okay.

Is this extension maintained? Are the maintainers on vacation or something, perhaps?

Thank you so much! I'll give this a try.

...and I was wondering the same thing about the maintainers. I hope all is well and they'll return soon.

The Librarian 07-20-2007 08:45 PM

Quote:

Originally Posted by The Librarian (Post 1296877)
Thank you so much! I'll give this a try.

Well, that fixed the MA'AM problem - no more database error (Thanks again!) - BUT I'm still getting the mix up between 5peaches and MA'AM. Any ideas on that one?

Just so you understand, when I type in 5peaches and click SAVE it says "Give Award to MA'AM successfully" and then MA'AM shows on the award list. :confused:

Simetrical 07-20-2007 08:51 PM

As a workaround, you could try giving the award by user id instead of name.

The Librarian 07-20-2007 08:57 PM

Quote:

Originally Posted by Simetrical (Post 1296886)
As a workaround, you could try giving the award by user id instead of name.

ARGGGG !!! I am SUCH an idiot!!! I just realized that I'd been putting the "username" in both blanks, not understanding that the userid wasn't the name but the number! MA'AM is member #5 so that's why she was given the award. DUH!!

All I needed to do is leave the userid field blank and just put 5peaches in the username field.

Works perfectly now.

Thank you again, especially since I've wasted your time a bit. :o

katie hunter 07-22-2007 02:35 PM

Quote:

Originally Posted by katie hunter (Post 1290243)
Hi I have a small question in the award how can i edit this part ? Name / Description

I want to stretch it more a little or add more words to it other then Name / Description

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

Thanks

Can someone help with this if they know :rolleyes:

mtha 07-23-2007 04:19 AM

Quote:

Originally Posted by The Librarian (Post 1296877)
Thank you so much! I'll give this a try.

...and I was wondering the same thing about the maintainers. I hope all is well and they'll return soon.



... due to some problems reported, and I haven't got time to fix it yet, I temporary put this release back to beta release. I might not have time to work on this for the next few weeks though. sorry for any inconvenient. any suggestions or fixes from other members would be greatly appreciated.

lostgirl815 07-24-2007 07:38 PM

Okay so... if this is showing up like it should be in the postbit, do I need to worry about the problems that were reported?

Simetrical 07-25-2007 01:11 AM

Probably not unless you have a large site, which could get slowed down until the issue I first reported here gets fixed. The other issue probably isn't a huge deal ― if you get weird errors when giving awards, try using user id's instead of usernames.

lostgirl815 07-25-2007 01:16 AM

Thanks very much for your reply, Simetrical! I don't have a large site, so I'll see how it goes. :)


All times are GMT. The time now is 06:29 PM.

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.01642 seconds
  • Memory Usage 1,745KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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