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)

masons 03-21-2007 09:03 AM

Can someone integrate this so it shows up in ZOINTS profiles too?

masons 03-21-2007 10:02 AM

Database error in vBulletin 3.6.5:

Invalid SQL:

SELECT a.*, au.*, post.userid, post.postid
FROM post AS post
INNER JOIN award_user AS au ON (au.userid=post.userid)
INNER JOIN award AS a ON (a.award_id=au.award_id)
WHERE post.postid IN (0,5288,5244,5169,5161,5158,5154,5142,4651,4291,42 50) GROUP BY post.postid

GROUP BY au.issue_id
ORDER BY au.issue_time DESC;

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 'GROUP BY au.issue_id
ORDER BY au.issue_time DESC' at line 7
Error Number : 1064
Date : Wednesday, March 21st 2007 @ 05:53:15 AM
Script : http://www.novusordosaeculorum.com/s...34.html?p=5288
Referrer : http://www.novusordosaeculorum.com/
IP Address : 124.86.224.8
Username : Mike
Classname : vB_Database

Phooey 03-21-2007 11:09 AM

Quote:

Originally Posted by KristerSwe (Post 1207313)
Hello all

Sharing my PSD here for you to play with. the psd file is sliced so if you make changes
you can easy "save optimized as" and they are splitted and named .....

Hope you guys liked them enjoy ...

Regards Krister

You rock.

masons 03-21-2007 01:07 PM

The above error disappears when I turn off the POSTBIT function in the admin area!

Necrosaro420 03-21-2007 11:10 PM

Will this run on vb 3.6.4? Also, I use Postbit, (not legacy) will this work? Thanks!

toucan42 03-22-2007 03:13 AM

Quote:

Originally Posted by masons (Post 1208774)
The above error disappears when I turn off the POSTBIT function in the admin area!

Database error in vBulletin 3.6.4:

Invalid SQL:

SELECT a.*, au.*, post.userid, post.postid
FROM post AS post
INNER JOIN award_user AS au ON (au.userid=post.userid)
INNER JOIN award AS a ON (a.award_id=au.award_id)
WHERE post.postid IN (0,11332,11334,11336,11337,11338) GROUP BY post.postid

GROUP BY au.issue_id
ORDER BY au.issue_time DESC;

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 'GROUP BY au.issue_id
ORDER BY au.issue_time DESC' at line 7
Error Number : 1064
Date : Wednesday, March 21st 2007 @ 11:04:22 PM
Script : http://www.talkwhatever.com/showthread.php?p=11338
Referrer : http://www.talkwhatever.com/index.php
IP Address : 72.92.141.48
Username : admintw42
Classname : vb_database

For me this occurs when I turn ON postbit - assuming it is the double GROUP BY but not sure how to fix that in the product.

toucan42 03-22-2007 03:40 AM

On member.php there is a problem also where it shows the small awards showcase:

Awards Showcase
The Ladybug Award: For excellent posts

Congratulations!" border="0" />

Issue with quotes in the "Reason" field?

mtha 03-22-2007 03:43 AM

Quote:

Originally Posted by masons (Post 1208672)
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 'GROUP BY au.issue_id
ORDER BY au.issue_time DESC' at line 7

Quote:

Originally Posted by toucan42 (Post 1209342)
Database error in vBulletin 3.6.4:

Invalid SQL:

SELECT a.*, au.*, post.userid, post.postid
FROM post AS post
INNER JOIN award_user AS au ON (au.userid=post.userid)
INNER JOIN award AS a ON (a.award_id=au.award_id)
WHERE post.postid IN (0,11332,11334,11336,11337,11338) GROUP BY post.postid

GROUP BY au.issue_id
ORDER BY au.issue_time DESC;

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 'GROUP BY au.issue_id
ORDER BY au.issue_time DESC' at line 7
Error Number : 1064
Date : Wednesday, March 21st 2007 @ 11:04:22 PM
Script : http://www.talkwhatever.com/showthread.php?p=11338
Referrer : http://www.talkwhatever.com/index.php
IP Address : 72.92.141.48
Username : admintw42
Classname : vb_database

For me this occurs when I turn ON postbit - assuming it is the double GROUP BY but not sure how to fix that in the product.



Do you have some other hack that replace the $postids value and add a GROUP BY post.postid ?


please check what's other hacsk using this hook location: showthread_query

toucan42 03-22-2007 04:10 AM

I'm not sure but by simply removing the GROUP BY in the product XML and replacing with a comma I was able to get it working.

howard11 03-22-2007 12:24 PM

Great Mod really chuffed about it :):) Thanks

toucan42 03-22-2007 05:47 PM

Quote:

Originally Posted by mtha (Post 1209350)
Do you have some other hack that replace the $postids value and add a GROUP BY post.postid ?


please check what's other hacsk using this hook location: showthread_query


How can I check this?

toucan42 03-22-2007 06:03 PM

It's PhotoPlog causing the problem. Grrrr

toucan42 03-22-2007 06:11 PM

What I did is simply remove the Group By altogether - no user will receive the same award twice so this should not be an issue (fingers crossed) - This has been quite a learning experience delving more into the vB code.

mtha 03-22-2007 08:12 PM

I will release a fix for that one. hope it will work

bacanze 03-22-2007 08:28 PM

Wow, cool plugin, thanks.

marsauae.com 03-22-2007 09:27 PM

Database error in vBulletin 3.6.4:

Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'مشرف عام',
`description` = '',
`usertitle` = 'Super Moderator',
`opentag` = '<font color=\"#800000\">',
`closetag` = '</font>',
`passwordexpires` = '0',
`passwordhistory` = '0',
`pmdailyquota` = '',
`pmquota` = '50',
`pmpermissions` = '7',
`pmsendmax` = '0',
`forumpermissions` = '1048575',
`genericpermissions` = '535779055',
`attachlimit` = '0',
`calendarpermissions` = '63',
`wolpermissions` = '15',
`adminpermissions` = '1',
`genericoptions` = '63',
`profilepicmaxwidth` = '100',
`profilepicmaxheight` = '100',
`profilepicmaxsize` = '65535',
`avatarmaxwidth` = '80',
`avatarmaxheight` = '80',
`avatarmaxsize` = '20000',
`signaturepermissions` = '237567',
`sigpicmaxwidth` = '500',
`sigpicmaxheight` = '100',
`sigpicmaxsize` = '2000',
`sigmaxrawchars` = '1000',
`sigmaxchars` = '500',
`sigmaxlines` = '0',
`sigmaxsizebbcode` = '7',
`sigmaximages` = '4'
WHERE usergroupid=5;

MySQL Error : Unknown column 'pmdailyquota' in 'field list'
Error Number : 1054
Date : Thursday, March 22nd 2007 @ 05:23:34 PM
Script : http://www.marsauae.com/bb/admincp/u....php?do=update
Referrer : http://www.marsauae.com/bb/admincp/u...&usergroupid=5
IP Address :
Username : marsauae
Classname : vB_Database

Nzarect 03-22-2007 11:33 PM

Great mod but I'm having a problem with moderators not being able to view the awards in the modcp. It's there because I can see it, but when they try to access it, they get "you do not have permission to use this page".

I can't find where I can edit their permissions. Only 2 moderators will have permission to issue awards.

techenigma 03-23-2007 03:35 AM

Excellent Mod... One error I spotted and also a feature request.

I get the following error when attempting to do a mass move in the award manager

Quote:

Warning: Invalid argument supplied for foreach() in /admincp/award.php on line 808

Also I wanted to know if you could add a feature in the "Award System Settings" to enable or disable the "Awards SHowcase" in the user profile.


p.s - How can I paginate the images in both the postbit and when they appear in the small "awards showcase" in the user profile? I have about 10 awards showing up there but they just run in one line and I'd like to make it do 5 per line.

rjmjr69 03-23-2007 11:54 AM

Cool another awards system. Just to pick which one to use...

deb0 03-23-2007 02:07 PM

I have the plugin installed, but i only have the aDmin-options link. I don't have links to the awards.php or awards manager.

Please help.

techenigma 03-23-2007 05:48 PM

Yet another question... which template controls the award display in postbit? I want to make some changes there but can't figure out which of your templates is the one to edit. thanks.

mat.knott 03-24-2007 07:29 AM

any update on problem with vbadvanced?

MikeHolohan 03-24-2007 04:54 PM

This is excellent, installed thanks, Mike.

RCWong 03-24-2007 06:24 PM

I upgraded from 2.1.2 to this 2.1.4 and now I get this error?

Quote:

Fatal error: Call to a member function parse() on a non-object in /home/****/domains/*****/public_html/showthread.php(1044) : eval()'d code on line 15

mtha 03-24-2007 11:06 PM

Quote:

Originally Posted by marsauae.com (Post 1209916)
Database error in vBulletin 3.6.4:

Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'مشرف عام',
`description` = '',
`usertitle` = 'Super Moderator',
`opentag` = '<font color=\"#800000\">',
`closetag` = '</font>',
`passwordexpires` = '0',
`passwordhistory` = '0',
`pmdailyquota` = '',
`pmquota` = '50',
`pmpermissions` = '7',
`pmsendmax` = '0',
`forumpermissions` = '1048575',...
WHERE usergroupid=5;

MySQL Error : Unknown column 'pmdailyquota' in 'field list'
Error Number : 1054
Date : Thursday, March 22nd 2007 @ 05:23:34 PM
Script : http://www.marsauae.com/bb/admincp/u....php?do=update
Referrer : http://www.marsauae.com/bb/admincp/u...&usergroupid=5
IP Address :
Username : marsauae
Classname : vB_Database

This error doesnt seem to relate to this hack

Quote:

Originally Posted by Nzarect (Post 1209988)
Great mod but I'm having a problem with moderators not being able to view the awards in the modcp. It's there because I can see it, but when they try to access it, they get "you do not have permission to use this page".

I can't find where I can edit their permissions. Only 2 moderators will have permission to issue awards.

Upgrade to version 2.1.4


Quote:

Originally Posted by techenigma (Post 1210092)
Excellent Mod... One error I spotted and also a feature request.

I get the following error when attempting to do a mass move in the award manager

Also I wanted to know if you could add a feature in the "Award System Settings" to enable or disable the "Awards SHowcase" in the user profile.


p.s - How can I paginate the images in both the postbit and when they appear in the small "awards showcase" in the user profile? I have about 10 awards showing up there but they just run in one line and I'd like to make it do 5 per line.

Do you have anything special when you try to mass-move? anyway, try with the new version.

should the awards being automatically wrap?


Quote:

Originally Posted by deb0 (Post 1210383)
I have the plugin installed, but i only have the aDmin-options link. I don't have links to the awards.php or awards manager.

Please help.

You have to add the link. upload the files again might solve the problem


Quote:

Originally Posted by techenigma (Post 1210527)
Yet another question... which template controls the award display in postbit? I want to make some changes there but can't figure out which of your templates is the one to edit. thanks.

postbit and postbit_legacy.

mtha 03-24-2007 11:07 PM

Quote:

Originally Posted by toucan42 (Post 1209342)
Database error in vBulletin 3.6.4:

Invalid SQL:

SELECT a.*, au.*, post.userid, post.postid
FROM post AS post
INNER JOIN award_user AS au ON (au.userid=post.userid)
INNER JOIN award AS a ON (a.award_id=au.award_id)
WHERE post.postid IN (0,11332,11334,11336,11337,11338) GROUP BY post.postid

GROUP BY au.issue_id
ORDER BY au.issue_time DESC;

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 'GROUP BY au.issue_id
ORDER BY au.issue_time DESC' at line 7
Error Number : 1064
Date : Wednesday, March 21st 2007 @ 11:04:22 PM
Script : http://www.talkwhatever.com/showthread.php?p=11338
Referrer : http://www.talkwhatever.com/index.php
IP Address : 72.92.141.48
Username : admintw42
Classname : vb_database

For me this occurs when I turn ON postbit - assuming it is the double GROUP BY but not sure how to fix that in the product.


please try the new version 2.1.4 . it should work.

mtha 03-24-2007 11:30 PM

Quote:

Originally Posted by toucan42 (Post 1209349)
On member.php there is a problem also where it shows the small awards showcase:

Awards Showcase
The Ladybug Award: For excellent posts

Congratulations!" border="0" />

Issue with quotes in the "Reason" field?

well, I just remove the description in the link tag. it should be ok with 2.1.4

Quote:

Originally Posted by danhaga (Post 1208488)
Great mod but I have one problem... The award description is limited in length and there isnt enough space for me to make a proper description for certain awards.

Is there a way to lengthen this?


ok, in 2.1.4, field type for award description and reason is changed to text, now you can put more stuff in there, but I am not guaranty about the template (if your long custom description would look nice on the pages.

Bojangles 03-25-2007 08:31 AM

Great mod :) Awesome work! /installed.

odie3 03-25-2007 05:55 PM

Installed and so far so good!

Question: On user posts, rather that showing the newest/oldest awards - could it be possible to just show random awards, per user posts?

Thanks!

Now if I could just get custom ranks per user [not per group like VB works] I'll be set.

techenigma 03-25-2007 10:35 PM

Quote:

Originally Posted by techenigma (Post 1210527)
Yet another question... which template controls the award display in postbit? I want to make some changes there but can't figure out which of your templates is the one to edit. thanks.

Quote:

Originally Posted by mtha
postbit and postbit_legacy.

No sorry, you mis-understood. I'm wondering which of your added templates needs to be edited to change it. Is it the award_showcase template?

Basically what I'm trying to do is change the way the awards are displayed in the post bit i.e remove the awards showcase box around them, have them display directly next to each other instead of spaced, and have them display automatically wrap 5 per line. Which template is it that controls the display? award_showcase?

techenigma 03-26-2007 10:10 AM

My finger lay in wait on the "Donate" button should I be able to accomplish these things I need. Would make my site so much better, and smoother to run.

::grease palm::

paramorefans 03-26-2007 03:11 PM

I have the same question as techenigma .

Another question.
anyone know where i could get medals? specially the small medal icons.

thanks!

odie3 03-26-2007 03:55 PM

Here are my medals, not sure if you will find them useful.

There are a number of awards that are similar to the example one that comes with this MOD. The ones in the /gd/ directory are the ones that I really use [however only a small % of them].

Odie's Ghost Dogs Medals

Danisty 03-26-2007 10:46 PM

I just got this message when I tried to give an award. It did give them the award though.
Quote:

Warning: mysql_insert_id() [function.mysql-insert-id]: A link to the server could not be established in /admincp/award.php on line 581

I'm also showing this message at the top of the profile pages of people who have the award:
Quote:

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /member.php(825) : eval()'d code on line 60
Also, I'm not getting any awards displaying in the postbit.

k_v 03-27-2007 01:25 PM

Quote:

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /member.php(825) : eval()'d code on line 60
in module "YAAS - Showthread_postbit_create"
add
PHP Code:

require_once(DIR '/includes/class_bbcode.php');
$bbcode_parser =& new vB_BbCodeParser($vbulletinfetch_tag_list()); 

after
PHP Code:

$post['showuserawards'] = false;
    if (
$vbulletin->options['aw_postbit'])
    { 


Hostboard 03-27-2007 04:25 PM

Would it be possible (did not see it listed in its abilities) to have it ato remove the award after X amount of days?

Danisty 03-27-2007 04:34 PM

Where am I supposed to be looking to find that? Will that fix all the problems?

WAHMama 03-27-2007 05:43 PM

Installed and working great TY

Does anyone know where I can find some "cute" awards for a mommy board?

testebr 03-28-2007 11:07 AM

Question 1:

Why template conditionals dont work in awards_bit template?

example:

<if conditional="THIS_SCRIPT == 'member' ">
teste01
<else />
teste02
</if>

Will show teste01 teste02 in postbit and memberinfo

How to fix it? I need use conditionals...

Question 2:

You save the award reason in the field issue_reason on table *award_user, but you dont offer a option to edit the reason by board admincp. Why?

Can you add this option? I just edited the reason directly in phpmyadmin.

Thanks

KarenneLyn 03-28-2007 02:55 PM

I installed this wonderful awards (thank you very much...just what I needed) but I have a problem...when I go to give an award, the person I give it to...any of the boards they have posted in have an error for all to see...the error is a tad different for each posting, but you get the idea here:

Fatal error: Call to a member function on a non-object in /public/vbulletin/showthread.php(1095) : eval()'d code on line 15

But the second I remove the award, this error goes away.

(scratches head) I have no clue. Any suggestions for me?:confused:


All times are GMT. The time now is 12:53 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.01816 seconds
  • Memory Usage 1,856KB
  • 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
  • (2)bbcode_php_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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