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)

Parafal 05-16-2010 10:57 PM

What should I do to upgrade to this last version? Just upload the xml file? Or all the file via FTP too?

Blackhat 05-16-2010 11:01 PM

What was the problem ? What do I need to update ?

Juggernaut 05-17-2010 12:00 AM

Updated, and it looks fine :D

Xanlamin 05-17-2010 12:06 AM

A complete description as to what the problem was will be posted here shortly and an updated release.

CypherSTL 05-17-2010 12:25 AM

You only have to reupload the award_request and award_recommend PHP files. If you upload the XML as well, it will update the version number.

The updated ChangeLog within the Zip file states the nature of the fix.

Alien 05-17-2010 03:57 AM

Hey nice job getting things back up...

I did notice that there still hasn't been a bug fix for the following minor issue as of yet:
https://vborg.vbsupport.ru/showpost....&postcount=361

I hope that is still in the pipeline! Thanks again for your hard work on this project!

Rene Kriest 05-17-2010 02:23 PM

Phew, I am so glad that this fab mod is back. Good job! :)

kersti 05-17-2010 04:09 PM

I'm really not seeing how I would use this on my community - can others give me a brief run down on how you work it? What kind of awards do you give? How do you determine if someone is due an award? Why would I use this over vBActivity for example?

Kaleem 05-19-2010 12:52 PM

Quote:

Originally Posted by kersti (Post 2038589)
I'm really not seeing how I would use this on my community - can others give me a brief run down on how you work it? What kind of awards do you give? How do you determine if someone is due an award? Why would I use this over vBActivity for example?

Create competitions lets say for Post of the Month, Thread of the Month etc etc..
You can do many other things like Poster of the Month or whtever really depend on your site.
And give out awards.

pjdaley 05-19-2010 09:32 PM

I use for simply pointing out good members who stand out or bad members who are on probation it doesn't HAVE to used for just awards.

ie: Users who need to be pointed out the community as trouble makers get a trouble maker award. If they don't behave the mods know they have already had their chance.

Bouncer222 05-21-2010 04:36 PM

CypherSTL or Xanlamin could you guys please answer this question I have....

This site is running 4.0.3 and I don't know if they are using YOUR awards system or some other one. http://www.feverclan.com/forums/awards.php

My question is, how did they get that type of layout on their awards page?
It got a REALLY NICE layout of names of who got which award and etc...

If it's not yours... could you make it possible to make yours look like that?
I would love it then!

Thanks.

Edit:

Can you also add the option to give awards based on how many people a user has referred to the site AND they signed up?

Xanlamin 05-21-2010 06:40 PM

If it is ours it is highly modified. And no we will not make ours look that way, personally I do not like it. You can get a hold of them and ask them if they would help you get the layout or do it yourself, but once you do your stuck with that version unless you keep doing it to each new one.

Bouncer222 05-21-2010 07:24 PM

alright,

btw what is
Quote:

Criteria
Only use numbers.
Use ID for Usergroups
?

Xanlamin 05-22-2010 02:07 AM

Don't use the names, use the ID numbers instead. Pretty self explanatory.

Bouncer222 05-22-2010 02:31 AM

I'm still confused, if I am doing it for post count... what do I enter for

Criteria
Only use numbers.
Use ID for Usergroups

Is this field used for EVERYTHING or only on specific automations?

I'm guessing it's used only when giving award for usergroup change? So should I only use that field for putting in the usergroup id of the usergroup that the member gets promoted to, so when he gets promoted to that usergroup he gets the medal? Is it only on that occasion?

Sorry but its confusing.

P.S. I have an inactivity mod on my forums , if people don't check site for 7 days, they get moved to "inactive" usergroup and once they load the site, they get moved back to their original one, so does that mean the award system will give it to them again? Because that wouldn't be good....

Xanlamin 05-22-2010 02:53 AM

Enter in the number of post for postcount that you want the person to reach in order to get the award.

Thats all that needs to be entered into that field.

No the automation will not give it to someone twice, it first checks to see if they have it, if they dont then they get it, if they do then nothing.

Bouncer222 05-22-2010 04:41 AM

And if you give out medals manually it will also check if they already have it?

Thanks.

EDIT: The automation is working and I appear under the user list for each medal after promoting myself, but the PMS aren't being sent to the user.

Xanlamin 05-22-2010 06:57 AM

There are no PM's sent to the users from the automation system, only if you do the awards manually and select send pm to user.

Bouncer222 05-22-2010 12:03 PM

Could you possibly add the feature to send pm with automation please?
Otherwise users don't know they got an award.

Sarteck 05-22-2010 04:47 PM

Hey bouncer, if you wanna try your hand at adding it yourself, I often put that into my own mods (unreleased in their entirety since I'm too lazy to make it portable with other vB forums, kekeke).

Here's the code I use:
PHP Code:

    require_once(DIR '/includes/class_dm.php');
    
$pmdm =& datamanager_init('PM'$vbulletinERRTYPE_ARRAY);
    
$pmdm->set_info('savecopy'false);
    
$pmdm->set_info('receipt'false);
    
$pmdm->set_info('cantrackpm'false);
    
$pmdm->set_info('parentpmid'false);
    
$pmdm->set_info('forward'false);
    
$pmdm->set_info('bccrecipients'0);
    
$pmdm->overridequota true;
    
$pmdm->set('fromuserid'$someuserid);
    
$pmdm->set('fromusername'$someusername);
    
$pmdm->set('title'$title);
    
$pmdm->set_recipients($recipients$permissions'cc');
    
$pmdm->setr('message'$message);
    
$pmdm->setr('iconid'$icon);
    
$pmdm->set('dateline'TIMENOW);
    
$pmdm->set('showsignature'false);
    
$pmdm->set('allowsmilie'0);
    
$pmid $pmdm->save(); 

The "savecopy" and "receipt" and all that, of course, you can modify to "true" if you need to.
The "overridequota" is great because even if they have a full inbox, they'll still get the PM. :3
Setting stuff like fromuserid should be a no-brainer.
$recipients is... hrm, I think it was a semi-colon-separated list of usernames. But if you're only PMing one person, of course there would be only one name. X3

In Xan and Cyph have included a nearby hook in their script, you can just use that info in a plugin somewhere. If not, I guess you could manually edit your awards.php file. Either way, just change stuff to your liking and make sure you goot values for every variable mentioned there except for $vbulletin, $permissions, $pmdm, and $pmid. Also, if you use this inside of a function, be sure to put a global declaration for $vbulletin and $permissions. :3

Bouncer222 05-22-2010 05:16 PM

Eh I really dont know how to implement this.

Could you give me step by step instructions on how to add that code?
All I want it to do is so that when automation gives award, it pms the user.

Flow Fusion 05-28-2010 02:37 AM

How can I get this to work for 4.0?

Xanlamin 05-28-2010 06:24 AM

Quote:

Originally Posted by Flow Fusion (Post 2044403)
How can I get this to work for 4.0?

Upload the files, import the product, set the settings, set the permissions in the usergroups, add awards into it and there ya go.

Flow Fusion 05-28-2010 12:14 PM

Quote:

The following dependencies were not met:
This product is not compatible with version 4.0.0 Release Candidate 4 of vBulletin. (Compatible starting with 4.0.2)
I don't see it on the left with the options.

Delazar 05-28-2010 04:12 PM

If I list my things mi[list], there will always display correctly. but with a request of an award I need a <ul>.
The problem we had been to the 3.8.
Here it is: https://vborg.vbsupport.ru/showthrea...187600&page=19

thanks
delazar

Xanlamin 05-28-2010 04:46 PM

Quote:

Originally Posted by Flow Fusion (Post 2044579)
I don't see it on the left with the options.

You do not see what? And if your getting that error then try using the version of vBulletin this release was built for.

Quote:

Originally Posted by Delazar (Post 2044697)
If I list my things mi[list], there will always display correctly. but with a request of an award I need a <ul>.
The problem we had been to the 3.8.
Here it is: https://vborg.vbsupport.ru/showthrea...187600&page=19

thanks
delazar

You just made no sense and linked to the other mod and not a direct post.

Flow Fusion 05-29-2010 06:25 PM

The following dependencies were not met:
This product is not compatible with version 4.0.0 Release Candidate 4 of vBulletin. (Compatible starting with 4.0.2)

SO basically what I'm asking is do I HAVE to upgrade in order to use this? It is my fav mod.

Xanlamin 05-30-2010 02:01 AM

well...you should already have upgraded to vBulletin 4.0.3 so you would have a lot of vB's bugs fixed, so yeah you will need to upgrade vB in order to run this version correctly cause vB changed things which made us change things in order for it to work properly.

Flow Fusion 05-30-2010 02:33 AM

Oh ok thanks. Didn't wanna have to shell out any more money so I'll pass till I decide if I want to keep my forum up or not.

Xanlamin 05-30-2010 09:36 AM

I take it your on 3.8 then? We have a version out for it as well in the 3.8 Mods section.

Flow Fusion 05-30-2010 02:31 PM

Ah there we go. Thanks worked perfectly.

Edman 05-30-2010 06:51 PM

Users can't request or recommend awards, error messages come up, whats the deal?

Xanlamin 05-31-2010 02:17 AM

What is the error message? Have you set the usergroup permissions?

penuch 05-31-2010 02:56 AM

I have tried to add this a couple different times. I have added the files via FTP, then I add the product and when I click import I get this :
Database error in vBulletin 4.0.3:

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 : Sunday, May 30th 2010 @ 10:49:55 PM

Any help would really be appreciated!

vilhiem 05-31-2010 03:55 AM

Installed into my vB4.03 site and all working fine ... EXCEPT:

If a member selects either "Request Award" or "Recommend Award" links, they receive the following message:
you do not have permission to access this page. This could be due to one of several reasons:

1. 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?
2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
I do have the "Allow member to request this award" and the "Allow member to recommend a member this award" options turned-on under each of the awards.
The "Award Category" is still set to "--default", so not sure if that's a problem.

Any help would be greatly appreciated!

UPDATE: Got it to work now. Apparently after you install everything and configure the Awards settings ... you ALSO have to go to the User Groups setting in the ACP and allow permissions there too. I didn't see that mentioned anywhere.

Xanlamin 05-31-2010 06:13 AM

Quote:

Originally Posted by vilhiem (Post 2045840)

UPDATE: Got it to work now. Apparently after you install everything and configure the Awards settings ... you ALSO have to go to the User Groups setting in the ACP and allow permissions there too. I didn't see that mentioned anywhere.

It has been stated many many times in this thread

Xanlamin 05-31-2010 06:14 AM

Quote:

Originally Posted by penuch (Post 2045828)
I have tried to add this a couple different times. I have added the files via FTP, then I add the product and when I click import I get this :
Database error in vBulletin 4.0.3:

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 : Sunday, May 30th 2010 @ 10:49:55 PM

Any help would really be appreciated!

What version of PHP and mySQL are you running?

In the Read Me file included in the zip:

!!! MAKE SURE YOU BACK UP YOUR FORUM FILESYSTEM AND DATABASE BEFORE PROCEEDING !!!

Install and use this software at your OWN risk. The coders of this mod are NOT reponsible if something goes wrong with your forum.


* Usage of the Points System, and Award Automation require MySQL 5.0+

Your error deals with the point system.

penuch 05-31-2010 06:30 AM

Quote:

Originally Posted by Xanlamin (Post 2045886)
What version of PHP and mySQL are you running?

In the Read Me file included in the zip:

!!! MAKE SURE YOU BACK UP YOUR FORUM FILESYSTEM AND DATABASE BEFORE PROCEEDING !!!

Install and use this software at your OWN risk. The coders of this mod are NOT reponsible if something goes wrong with your forum.


* Usage of the Points System, and Award Automation require MySQL 5.0+

Your error deals with the point system.

Its not affecting my site in any way, basically when I try to add the product I get that error and its not able to add it.
PHP Version 5.2.13
MySQL Version 5.1.30.

Pretty sure I did everything correctly. I put the upload file into the root directory using FTP, once they all loaded, I then go to my ACP and try to add the product which is the point that I get that message. Any help is really appreciated.

vilhiem 05-31-2010 05:49 PM

UPDATE: Got it to work now. Apparently after you install everything and configure the Awards settings ... you ALSO have to go to the User Groups setting in the ACP and allow permissions there too. I didn't see that mentioned anywhere.

Quote:

Originally Posted by Xanlamin (Post 2045885)
It has been stated many many times in this thread

Wouldn't it be easier to just include "installation instructions" for this mod, where items like this could be included ...?

Don't get me wrong, this is a great mod and I appreciate the quality work here. Just making a suggestion.

Juggernaut 05-31-2010 08:28 PM

Anyway to get rid of this error message?
CuscatlekosWarning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/class_datastore.php on line 683


All times are GMT. The time now is 04:08 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.02490 seconds
  • Memory Usage 1,846KB
  • 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_php_printable
  • (10)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