vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Miscellaneous Hacks - Yet Another Awards System (https://vborg.vbsupport.ru/showthread.php?t=187600)

Xanlamin 12-13-2008 03:13 AM

You need to upload the files to the respective dir's, not just upload the upload folder.

kNeeLy 12-13-2008 10:32 AM

ok...i must be slow or something...cuz i have tried everything under the sun and nothing is working...

what can i be doing wrong?? I installed everything seperatly...into their respective directorys in my ftp ...but nothings coming up at all..

help.. ?

Abominus 12-13-2008 10:46 AM

Is it possible to get the awards to this position:

https://vborg.vbsupport.ru/external/2008/12/22.gif

kNeeLy 12-13-2008 11:20 AM

Quote:

Originally Posted by kNeeLy (Post 1684431)
ok...i must be slow or something...cuz i have tried everything under the sun and nothing is working...

what can i be doing wrong?? I installed everything seperatly...into their respective directorys in my ftp ...but nothings coming up at all..

help.. ?

ok..small progress...

in my admincp...I see...
award system
settings
manager
add new award
manager
version info

But,,,none of them work except the award system (the first one)

the rest just say the page doesnt exist on my server...so i must be putting sumthing in the wrong place...any advice?

Xanlamin 12-13-2008 01:24 PM

Did you reinstall after you put things in the proper dir?

SilverBoy 12-13-2008 01:59 PM

Hi

I wish there is an option to display some of the awards in specific forum only and not in all of forums, for example if i have a forum for sport competitions i will display the awards that the user get in the form of sport competition and not in other forums, but all of awards will display in profile surly.

thanks in advance

kNeeLy 12-13-2008 04:12 PM

Quote:

Originally Posted by Xanlamin (Post 1684499)
Did you reinstall after you put things in the proper dir?

yea ...several times...

idk...im sure theres one little dumb thing im not doin right...lol...

Edit:

update...getting closer..lol...


Edit. Installed and working...now to figureout how to add more medals...

rob01 12-14-2008 06:17 PM

the member tab (user profile) dosnt show up any idea?

katie hunter 12-15-2008 07:48 AM

Hi Xanlamin,

Is there any updates regarding to this request =) ?

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

It would be a nice addition if it can be done.

Xanlamin 12-15-2008 05:16 PM

This is not hard to do and will be implemented soon.

AzzidReign 12-15-2008 07:01 PM

With this new update...do you have to edit the member.php like the previous release? I don't see it in the instructions, I just wanted to make sure.

Xanlamin 12-15-2008 07:15 PM

No you do not.

MarceloS 12-15-2008 08:45 PM

Thanks for the excellent mod!

I want to ask one question: is it possible to edit the style in which awards appear on postbit?

Thanks

MarceloS 12-15-2008 08:51 PM

Another huge thing for me would be to have the award postbit links to point to the awards tab on the profile. Or to have a minitab at the right side of the profile page (below mini-statistics, for example).

katie hunter 12-16-2008 07:22 AM

Quote:

Originally Posted by Xanlamin (Post 1685987)
This is not hard to do and will be implemented soon.

Thanks, I can't wait till it is implanted. It should help a lot with sites that has over 50 different awards or so

zapiy 12-16-2008 09:27 PM

The frontpost has 3.7.4 not version 4.02, why?

Nadeemjp 12-17-2008 12:09 AM

hello cypher.
is the error that i reported been tackled?

please let me know cause it is really annoying:(

LAJAURIA 12-17-2008 03:14 AM

Hello,

I have a question. In my forum's postbit, there are awards... this is the image:

https://vborg.vbsupport.ru/


I would like that the space between each award image would be smaller, in order to get more images per line.

How could I do it?


The postbit_legacy template, in the awards part is:


HTML Code:

<!-- show awards -->
<if condition="$post[showuserawards]">
<fieldset><legend><a href="member.php?u=$post[userid]#award" title="$vbphrase[more_awards]">$vbphrase[award_showcase]</a></legend>
<div>
$post[userawards]
<br>
<a href="member.php?u=$post[userid]#award" title="$vbphrase[more_awards]">$vbphrase[total_awards]</a>: $post[num_awards]
</div>
</fieldset>
</if>
<!-- /show awards -->


Gandalf-LoJ 12-17-2008 12:53 PM

Excellent mod and installed.

I've also added a custom script that ties this mod in with the Paid Subscriptions part of vB.

So when a user has an active subscription a scheduled task fires off a script that awards the user with a specific award, and when that subscription expires the same script will remove the award and PM the user.

If the author wants to include this in the mod, let me know. It's one php file that is fired off by the sheduled tasks (I've set mine to run every hour) and two new phrases that control the expired PM text.

ScottCM 12-17-2008 04:01 PM

I've installed it and it works fine. Only problem is my avatars get pushed down and it creates a blank space, anyway to fix this?

Scalemotorcars 12-18-2008 04:03 PM

Quote:

Originally Posted by Gandalf-LoJ (Post 1687319)
Excellent mod and installed.

I've also added a custom script that ties this mod in with the Paid Subscriptions part of vB.

So when a user has an active subscription a scheduled task fires off a script that awards the user with a specific award, and when that subscription expires the same script will remove the award and PM the user.

If the author wants to include this in the mod, let me know. It's one php file that is fired off by the sheduled tasks (I've set mine to run every hour) and two new phrases that control the expired PM text.

I'm interest in this. Can you contact me with the file. Thanks:up:

Abominus 12-18-2008 06:37 PM

Quote:

Originally Posted by Abominus (Post 1684436)
Is it possible to get the awards to this position:

https://vborg.vbsupport.ru/external/2008/12/22.gif

Is it possible and when yes, how?

Gandalf-LoJ 12-19-2008 07:16 AM

Quote:

Originally Posted by Scalemotorcars (Post 1688079)
I'm interest in this. Can you contact me with the file. Thanks:up:

Right, just written some instructions and uploaded the file and instructions to here for anyone interested.

NOTE: It is specific to the install I done and only works with one subscription and one award, but would be simple enough to tweak for multiple awards / subscriptions. It doesn't stop you having multiple awards however as you pick the award you want to link to the subscription.

Xanlamin 12-19-2008 07:33 AM

Quote:

Originally Posted by Nadeemjp (Post 1687069)
hello cypher.
is the error that i reported been tackled?

please let me know cause it is really annoying:(

A user has posted an updated version of the awards_memberlist.php file. It will be included in the next release.

Quote:

Originally Posted by zapiy (Post 1686973)
The frontpost has 3.7.4 not version 4.02, why?

If you read some of the posts, with the release of YaAS for vBulletin 3.8, the version scheme has changed. v3.7.4 is the latest release for vBulletin 3.7.

Quote:

Originally Posted by LAJAURIA (Post 1687145)
Hello,

I have a question. In my forum's postbit, there are awards... this is the image:

http://img79.imageshack.us/img79/9459/cocardasml7.jpg


I would like that the space between each award image would be smaller, in order to get more images per line.

How could I do it?

Will see what we can do.

Renae 12-20-2008 07:04 PM

I have it all installed, all of my members loved this when I had it before.

I'm seeing this message.....not sure why....

Renae, 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.

edytwinky 12-26-2008 01:23 AM

How hard would it be to rewrite the awards.php template so two awards appear per row on the request page.

I have about 60 awards and the page gets pretty lengthy so I'd like to start having two awards per row on the main request page.

edytwinky 12-26-2008 01:36 AM

Quote:

Originally Posted by CypherSTL (Post 1630637)
After I finish working out some issues that I'm running into I will try my best to implement the following:
* Points values on awards
* Awards issued based on postcount -- cron based?
* Add option to remove Award Request Forum threads - leaving it 0 breaks the request option.

Any ideas on how to implement the automation of issuing awards on postcounts would be appreciated.

Any update on the points or postcount awards?

ndut 12-27-2008 03:05 AM

hei, i found the error... when i click profile member..

Quote:

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in [path]/member.php(506) : eval()'d code on line 45
it conflict with mods : Yet Another Award System
when i disabled it.. the error message dissapear..
so, what should i do??

ndut 12-27-2008 03:08 AM

another question... :)

can i change description, for an award... for all member, that have it?

for example..
description for award "birthday", it says : happy birthday
i want to change : happy birthday to you
and i want to change... for all.. not by editing one by one?

any clue? :) thanks

Breakpoint 12-28-2008 09:56 PM

How can I turn the texts that says "awards" in my forum to "Trophies"?

Just the text, dont need to turn any of the files names.

ndut 12-28-2008 10:35 PM

the error, disapper after i update the new version. :)

Abominus 12-29-2008 11:40 AM

We want to display the award icons in several lines, i.e., add a line break after every 10th icon. Would the following change in the product-yet_another_award_system.xml do the trick?

First we add a new template awards_bit2:

PHP Code:

- <template name="awards_bit2" templatetype="template" date="1174777642" username="Cypher" version="">
- <![
CDATA[ <a href="member.php?$session[sessionurl]u=$award[userid]&tab=myawards#aw_issue$award[issue_id]"><img src="$award[award_icon_url]alt="$award[award_name]border="0" /></a><br>;
  ]]> 
  </
template

It's just a copy of the original awards_bit with the &nbsp replaced by < br>.

Then we modify the loop inserting the awards as follows. Original version:
PHP Code:

                $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') . '";');
                    }
                } 

is replaced by

PHP Code:

                $aw_i 0;
                
$aw_cnt 0;

                while (
$award $db->fetch_array($alluserawards))
                {
                    
$aw_i++;
                    
$aw_cnt++;
                    if (
$aw_i <= $vbulletin->options['aw_display_limit'])
                    {
                        if 
$aw_cnt<10
                        
{
                            eval(
'$post[userawards] .= "' fetch_template('awards_bit') . '";');
                        }
                        else
                        {
                            eval(
'$post[userawards] .= "' fetch_template('awards_bit2') . '";');
                            
$aw_cnt 0;
                        }
                    }
                } 

Or is there an easier way to reach the same result?

home9000 01-02-2009 01:35 PM

Is it working in 3.6.5 ?

MOF 01-02-2009 02:45 PM

Is there a way to decide who can and who can't give awards?

Breakpoint 01-02-2009 09:54 PM

How can I turn the texts that says "awards" in my forum to "Trophies"?

Just the text, dont need to turn any of the files names.

fodboldforumdk 01-03-2009 02:47 PM

Seems i cant find the answer here. but i installed this mod without any probs. but i cant se the awards anywere. the only spot i can se who i have awarded is in the memberlist.

What could be the problem?

WreckRman2 01-04-2009 09:13 PM

I installed this and can't get anything to show up in the postbit. Everything else seems to work. Is there anything else I need to edit to make it show up?

scottny 01-06-2009 02:40 PM

I installed it and get the settings screen but I do not see the screen where I can award people. Sorry if this is something simple but I am kind of new to this. What am I missing?

Nadavy 01-06-2009 11:37 PM

Hey, I was wondering if it would be possible to make it so this option is editable under the 'administrator permissions' section so that not everyone who has access to the ACP can mess with the system.

Nadeemjp 01-09-2009 02:58 PM

is it 3.8 compatible?an my problem is still not solved:(


All times are GMT. The time now is 04:05 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.01896 seconds
  • Memory Usage 1,852KB
  • 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_html_printable
  • (3)bbcode_php_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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