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)

gamerscms 08-09-2008 06:00 PM

I would like to say a big thank you for updating this mod.

I have a idea to put forward if that is ok when you click the awards on the postbit would it be possible to take you to the awards tab and not just the profile?

again thanks

gamerfu 08-09-2008 06:02 PM

I would like to see Awards statistics like the Promotion options in AdminCP. Where you can see all the users who has that particular Award, with set pages say every 50 or 100 awards in AdminCP.

Because I would like to give and take away award for certain events. Say I have 12 Game tournaments in a game season. I would like to give a participation award for each event and the winners. Then at the end of the gaming season for those who participated, delete those participation awards and give them just a single award for participating in the gaming season.

I would like users wanting to come back to my site, then waiting 3 months for our gaming season to gain a participation award for the season.

liwo 08-09-2008 06:24 PM

Quote:

Originally Posted by Xanlamin (Post 1594855)
PM me with your config.php code (WITH ALL YOUR PERSONAL INFO REMOVED), I do not need to know your db name and all that stuff so you can just remove it out. we can test it out on our test site and get things squared away for ya. We do not have a German board so we do not have access to the German config.php file, if anyone has one we can view it would be appreciated.

I do not think that there is a problem with config.php. I do have a german board and the database related stuff works fine.
But I would propose, that you just use the constant TABLE_PREFIX as all other vBulletin code and most mods do. Furthermore, your database queries could well go into one single query in awards_profile.php. I recoded awards_profile.php an hour ago to a) use phrases, b) use vBulletin API and options for time/date format and c) do only one query instead of 1 + $num * 2.

Once I figured out why the profile block doesn't show when clicking on the tab (even though the html is there alright), I could give you my version if you are interested.
Besides, that problem lies somewhere outside awards_profile.php, as I do not use it anymore, but it was the reason why I dug into the code and changed it.

Update. I found my problem, it didn't ly within this mod, it was a missing div in another one.

So, if you are interested in my version of the profile block, let me know.

CodyMuir 08-09-2008 07:37 PM

Sad, to see how people are complaining about reusable code, where the author himself will not support this mod anymore. If people loved it soo much, and the main user Doesnt want to continue it, then let it be continued by someone else. You'll still have the original credit like he put in his desciption..

EVERYONE NOMINATE FOR MOTM its worth it.!

Mellow 08-09-2008 07:58 PM

I'm getting this error when I go to the admincp award settings link:
Fatal error: Cannot redeclare showgroupsordersort() (previously declared in /home/stowners/public_html/forums/includes/adminfunctions_options.php(394) : eval()'d code:32) in /home/stowners/public_html/forums/includes/adminfunctions_options.php(394) : eval()'d code on line 63

Xanlamin 08-09-2008 08:23 PM

Quote:

Originally Posted by liwo (Post 1594919)
I do not think that there is a problem with config.php. I do have a german board and the database related stuff works fine.
But I would propose, that you just use the constant TABLE_PREFIX as all other vBulletin code and most mods do. Furthermore, your database queries could well go into one single query in awards_profile.php. I recoded awards_profile.php an hour ago to a) use phrases, b) use vBulletin API and options for time/date format and c) do only one query instead of 1 + $num * 2.

Once I figured out why the profile block doesn't show when clicking on the tab (even though the html is there alright), I could give you my version if you are interested.
Besides, that problem lies somewhere outside awards_profile.php, as I do not use it anymore, but it was the reason why I dug into the code and changed it.

Update. I found my problem, it didn't ly within this mod, it was a missing div in another one.

So, if you are interested in my version of the profile block, let me know.

That may come in handy, since this is still in beta stage any work that is able to be contributed to help make this mod better/faster/stronger is well welcomed.

Quote:

Originally Posted by gamerscms (Post 1594909)
I would like to say a big thank you for updating this mod.

I have a idea to put forward if that is ok when you click the awards on the postbit would it be possible to take you to the awards tab and not just the profile?

again thanks

This is already addressed internal, it is one of the bugs that still remain and will be worked out.

Quote:

Originally Posted by Loller (Post 1594904)
All award phrases ("My Awards" etc.) in awards_profile.php are static :( Will better to save them in vbulletin phrases, for making correct and full translation.

This will be done in the next release, just wanted to get a fully working release out so people could use it. A fully phrased is in the works.

Quote:

Originally Posted by Doug Nelson (Post 1594896)
What does it look like on sites with the horizontal user post format (such as here on vb.org)?

Never tried it since I use postbit_leg. If anyone wants to send in a screen shot that does use the default postbit I will add it to the screen shots so people are able to tell prior to downloading.

Xanlamin 08-09-2008 08:25 PM

Quote:

Originally Posted by Mellow (Post 1594972)
I'm getting this error when I go to the admincp award settings link:
Fatal error: Cannot redeclare showgroupsordersort() (previously declared in /home/stowners/public_html/forums/includes/adminfunctions_options.php(394) : eval()'d code:32) in /home/stowners/public_html/forums/includes/adminfunctions_options.php(394) : eval()'d code on line 63


Did you follow the install instructions to a "T"?

If your running the old version and upgraded to this one and did not follow the instructions fully you will get major errors.

Mellow 08-09-2008 08:30 PM

Quote:

Originally Posted by Xanlamin (Post 1594992)
Did you follow the install instructions to a "T"?

If your running the old version and upgraded to this one and did not follow the instructions fully you will get major errors.

I thought I did, I'll give it another shot. Thanks.

Mellow 08-09-2008 08:36 PM

Just re-did everything and still getting an error. I don't know all the files from the previous version so I'm not sure what to delete there.

ellaithy 08-09-2008 08:50 PM

i did not upload file admincp/avatar.php

Will This causes a problem ??

thank you


All times are GMT. The time now is 09:57 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.01360 seconds
  • Memory Usage 1,751KB
  • 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
  • (7)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
  • (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