Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

 
 
Thread Tools
Standalone Add-On for Awards/Medals/Cards Hack Details »»
Standalone Add-On for Awards/Medals/Cards Hack
Version: 1.01, by Creed Creed is offline
Developer Last Online: May 2006 Show Printable Version Email this Page

Version: 3.0.6 Rating:
Released: 02-22-2005 Last Update: 02-26-2005 Installs: 10
DB Changes
 
No support by the author.

Stand Alone Awards/Medals/Cards Add-On Hack


What this hack does:

This hack removes the award showcase from your users profile, but leaves a link to the new standalone version. This hack gives your members (usergroups you specify) the ability to request awards for other members.

Requires: Awards/Medals/Cards Hack installed!

Instructions include:

Template Edits: 5
New Templates: 3
New Files: 1
New Phrases: 2
File Edits: 5
DB Changes: 1


1.01 Update:
-- Removed unused queries in award.php, and cached templates to make sure page loads as fast as possible.
-- Grouped awards templates together, to make styles and templates cleaner
-- Fixed typo in template causing images not to show properly in IE
-- General coding cleanup!

Screenies are attached, and you can see this in use here!

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 03-15-2005, 08:40 AM
Creed's Avatar
Creed Creed is offline
 
Join Date: May 2002
Location: The Matrix
Posts: 281
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Twiser
Thx for a great hack. I have got everything working perfectly except
the following.

U are not allowed to reqeust an award. I have check and the email and its enabled. But I was wondering

"DB QUERY (replace *TABLE.PREFIX* with your VB table prefix, if you don't have one remove it completely along with the underscore),:
*****************************************
ALTER TABLE *TABLE.PREFIX*_usergroup ADD `awrequest` INT( 12 ) NOT NULL"

were to I change that in the db or in the award.php.

thx for any help.

As far as the request award, that is a setting under your Admincp, you can set so that only certain usergroups can request awards.

For the DB Query, you need to run that for the settings to take effect, if you don't have a prefix on your table just run this:

PHP Code:
ALTER TABLE usergroup ADD `awrequestINT12 NOT NULL 
Reply With Quote
  #33  
Old 03-15-2005, 01:27 PM
Twiser Twiser is offline
 
Join Date: Nov 2002
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That worked liked a charm , Thx for the help =)
Reply With Quote
  #34  
Old 03-15-2005, 11:32 PM
Creed's Avatar
Creed Creed is offline
 
Join Date: May 2002
Location: The Matrix
Posts: 281
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No problem, glad you got it working
Reply With Quote
  #35  
Old 03-16-2005, 12:13 AM
Flow Fusion Flow Fusion is offline
 
Join Date: Jul 2003
Location: Georgia
Posts: 512
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry but where is the "awards_mailselect template" located? I only have ustom Templates

AWARDS [Edit] [Revert] [View Original]

awards_bit [Edit] [Revert] [View Original]

awards_earnawards_bit [Edit] [Revert] [View Original]

awards_userawards_bit [Edit] [Revert] [View Original]?
Reply With Quote
  #36  
Old 03-16-2005, 05:25 AM
Creed's Avatar
Creed Creed is offline
 
Join Date: May 2002
Location: The Matrix
Posts: 281
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awards_mailselect is a new template
Reply With Quote
  #37  
Old 03-16-2005, 10:54 AM
Flow Fusion Flow Fusion is offline
 
Join Date: Jul 2003
Location: Georgia
Posts: 512
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So far soo good till I get to this...

DB QUERY (replace *TABLE.PREFIX* with your VB table prefix, if you don't have one remove it completely along with the underscore),:<----what does this mean?
*****************************************
ALTER TABLE *TABLE.PREFIX*_usergroup ADD `awrequest` INT( 12 ) NOT NULL<----what does this mean?

also I noticed the java script doesn't work any longer on the drop menu for the usernames. I click o the name and it takes me to his/her member id. Any suggestions?
Reply With Quote
  #38  
Old 03-16-2005, 11:30 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you don't use table prefix, then use:
[sql]ALTER TABLE usergroup ADD `awrequest` INT( 12 ) NOT NULL[/sql]

If you use a table prefix of for example 'vb3_', then use:
[sql]ALTER TABLE vb3_usergroup ADD `awrequest` INT( 12 ) NOT NULL[/sql]
Reply With Quote
  #39  
Old 03-16-2005, 11:37 AM
Flow Fusion Flow Fusion is offline
 
Join Date: Jul 2003
Location: Georgia
Posts: 512
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm sorry but what do you mean "if I use table prefix?" I'm lost here and yes I did click the link lol.
Reply With Quote
  #40  
Old 03-16-2005, 12:09 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check either your includes/config.php for a line like:
PHP Code:
$tableprefix ''
If you are using a table prefix, then you will see it here between the quotes.

Or check in myphpadmin, if all tables are prefixed.
Reply With Quote
  #41  
Old 03-16-2005, 03:08 PM
Twiser Twiser is offline
 
Join Date: Nov 2002
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Spoke a bit to soon =) , I have everything set up all the modification done , But in userprofile the awardspicture shows up instead of the link , What can I have missed? ,
I have gone trough all the step in the upgrade a couple of times now and cant see that I missed something.
Sorry to bother u with questions but I really would love to see this mod work perfectly
Reply With Quote
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:08 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.04893 seconds
  • Memory Usage 2,298KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete