vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - Yet Another Awards System (https://vborg.vbsupport.ru/showthread.php?t=196244)

KID_1194 12-26-2010 05:19 PM

There's some error when sending your award request. Please contact site's administrator for assistant.

This is the error that I get when I recommend the award. All the settings for the (recommend Awards) is set to Yes, the one in the Award System Settings & Admin user group !

Best regards

mk craig 42 01-01-2011 07:56 PM

Has anyone got a fix for this:

I kept getting this Fatal Error message:
Quote:

Fatal error: Cannot redeclare construct_depth_mark() (previously declared in /home/nextopia/public_html/website.com/en/awards.php:98) in /home/nextopia/public_html/website.com/en/includes/adminfunctions.php on line 1832
I then disabled the plugin for "Pedro!'s Post Report Manager" for version 3.8.4 and it worked fine I stopped getting the Fatal Error.
But I really want to use both of these mods, has anyone got a fix please?

racingsolution 01-01-2011 08:03 PM

Quote:

Originally Posted by mk craig 42 (Post 2142441)
Has anyone got a fix for this:

I kept getting this Fatal Error message:


I then disabled the plugin for "Pedro!'s Post Report Manager" for version 3.8.4 and it worked fine I stopped getting the Fatal Error.
But I really want to use both of these mods, has anyone got a fix please?

Check out this post

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

mk craig 42 01-01-2011 10:36 PM

Thanks there... Not sure what he meant but i deleted what was on the line that was apparently causing the fatal error and it just ended up causing a fatal error on the whole of the forum lol.

Can you please explain to me what I need to do, thanks :)

Zighinno 01-27-2011 09:20 AM

1 Attachment(s)
Hi, i have one problem with show awards in postbit.

Firefox is ok, but chrome and opera no

See the image for example

Any idea for resolve this?

Thanks

1) Firefox 2) Chrome 3) Opera

kNeeLy 01-29-2011 03:08 AM

Quote:

Originally Posted by racingsolution (Post 2142447)

Quote:

Earlier this year I had a conflict with YAAS and DTO Garage involving the function construct_depth_mark() in awards.php

I was just told by a member that the same conflict has come up but in a different file.
Fatal error: Cannot redeclare construct_depth_mark() in /home/cobaltli/public_html/forums/includes/adminfunctions.php on line 1823
I commented out the function from adminfunctions.php and it fixed the problem.. so far so good as far as that affecting anything else.
I'm having the same problem. Can anyone help me? I've read thru the post listed, but I don't know what "commented out the function" means? I recently installed DTO garage and never had a problem with my award system til now.

Any help would be greatly appreciated!!

thank you in advance!! (vb ver 3.8.6.pl1)

Tasking Mickey 02-01-2011 03:53 PM

See the award showcase? It's right next to the username

https://vborg.vbsupport.ru/




How do I make it go there? and not under the reputation as usual?

Bayou Buck 02-01-2011 06:59 PM

Quote:

Originally Posted by desi5257 (Post 2157375)
See the award showcase? It's right next to the username

http://iaza.com/work/110202C/iaza11138279149600.png




How do I make it go there? and not under the reputation as usual?

I second this request...:D

SVTCobraLTD 03-01-2011 08:59 PM

Am I missing the instructions? Do not see them in the zip file??

just.b.jealous 04-28-2011 05:05 AM

Thank you for this, my members love it. Is there a way to make the awards show randomly in the postbit and on the profiles?

Basically I want to add the setting here, that way the awards are shown randomly- I know if people have the same awards and never get more, that icon will set there forever and it would be nice if it rotated their awards...

https://vborg.vbsupport.ru/external/2011/04/11.jpg

I know I need to edit a plugin (awards_userawards_bit) and that I need to change one of these sql queries to pull randomly. Could someone help me out?

Code:

// [START HACK='Yet Another Award System' AUTHOR='HacNho']
if ((THIS_SCRIPT == 'showpost') OR (THIS_SCRIPT == 'private') OR (THIS_SCRIPT == 'showthread') OR (THIS_SCRIPT == 'announcement') OR (THIS_SCRIPT == 'newreply'))
{
        global $db, $vbulletin;
        {
                if (THIS_SCRIPT == 'private')
                {
                        $this->post['userid'] =& $post['fromuserid'];
                }
                if (($vbulletin->options['aw_postbit']) AND ($this->post['userid']))
                {
                       
                        $post['userawards'] = '';
                        // Obtain list of awards for current user
                        $alluserawards =  $db->query_read("
                                SELECT a.*, au.*
                                FROM " . TABLE_PREFIX . "award a, " . TABLE_PREFIX . "award_user au
                                WHERE (au.userid = ".$this->post['userid'].") AND (a.award_id=au.award_id) AND (a.award_active=1)
                                ORDER BY ".$vbulletin->options[aw_awardorder]."
                        ");

                        $post['showuserawards'] = false;
                       
                        if ($post['num_awards'] = $db->num_rows($alluserawards))
                        {
                                $aw_i = 0;

                                while ($award = $db->fetch_array($alluserawards))
                                {
                                        $aw_i++;
                                        if ($aw_i <= $vbulletin->options['aw_display_limit'])
                                        {
                                                eval('$post[userawards] .= "' . fetch_template('awards_bit') . '";');
                                        }
                                }
                               
                                if (($vbulletin->options['aw_points']) AND ($this->post['userid']))
                                {
                                        $userpoints = $db->query_read("
                                                SELECT a.*, au.*, SUM(award_pointvalue) AS TotalPoints
                                                FROM " . TABLE_PREFIX . "award a, " . TABLE_PREFIX . "award_user au
                                                WHERE (au.userid = ".$this->post['userid'].") AND (a.award_id=au.award_id) AND (a.award_active=1)
                                                GROUP BY au.userid
                                        ");
                               
                                        while ($array = $db->fetch_array($userpoints))
                                                {
                                                $post['total_points'] = $array['TotalPoints'];
                                                } 
                                }
                                       
                                $post['showuserawards'] = true;
                                $db->free_result($alluserawards);
                        }
                }
        }
}
// [END HACK='Yet Another Award System' AUTHOR='HacNho']



All times are GMT. The time now is 08:06 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.01881 seconds
  • Memory Usage 1,765KB
  • 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
  • (1)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