![]() |
I recently converted a phpBB forum to vBulletin and at the same time migrated members' medals from phpBB's Medal System Mod v2.1.0 by ycl6 to YAAS v2.0.5. As the SQL table schemas for both award mods are very similar, this was fairly painless and can be accomplished through executing a few simple SQL statements. What follows is a quick how-to which hopefully will be useful for others looking to avoid manually importing the medals :)
First off, it is presupposed that you've imported your phpBB forum's data to vB using Jelsoft's ImpEx, that the import session is still active (that is, the importuserid field needs to exist in vB's user table) and that you've installed YAAS. Additionally, the queries are written for a situation where phpBB and vB share the same database, phpBB with the table prefix phpbb_ and vB without a table prefix; adjust to your specific setup where necessary. The SQL queries can be executed from vB's admin panel (if you have the permissions), phpMyAdmin or the MySQL command-line client. (Needless to say, if you don't know understand what the SQL statements do, or are unable to adapt them to your specific situation, don't execute them!) To begin, the following SQL statement will convert all medals from phpBB to YAAS, preserving the same row identifiers (which means you may get clashes unless you first delete the included example award in YAAS): Quote:
Next, you need to copy all the medal/award images from phpBB's medals/ directory to the images/medals/ directory under your vB installation. The image paths also need to be corrected in the database, which can be done with the following two SQL statements (replace the URL http://www.yourforumsite.com/forum/ with your vB forum's base URL): Quote:
Quote:
|
I installed this, then disabled it almost immediately. It was causing MySQL errors throughout the whole board, and when I clicked the Award Manager options.
|
installed thanx
|
Quote:
giving me your website would be good too, so I can take a look ... Quote:
(if there's bug in the hack, or you do anything wrong with it) |
Just my 2 cents, I installed this without any problems at all and it's been running beautifully for a week now. In fact now I am taking votes on the next award we should create :)
Thanks again! |
Sorry if this is already mentioned and me missing it:
-allow users to display the awards the like most in topicview, while the others show in profile. Say only 3 awards are displayed, a user has 5 awards. Right now the 3 oldest awards are displayed in topicview. It's quite possible that the user is most proud about his new awards (recent, harder to get) and wants to display those. Then you also have modest types who want to show only one or none in topicview :) |
mtha!
Great hack man! I am using it extensively on my site. As a mil guy there are a few additions if you could for the next release! 1. Allow awards to be resorted by weight, for example, allow us to choose higher ranking awards and those will be listed higher in a members postbit and profile. 2. Allow members to resort awards themselves? 3. Allow admin to choose which awards have the 'request awards' link and which ones do not. For example some awards cannot be request such as the member of the month etc etc. 4. Allow/disallow certain awards for certain usergroups 5. Allow members to comment on others' awards (congrats etc etc) And thanks for all the work on this!!!! |
Quote:
|
WORKING!
Quote:
">Order by issued time (newest first) ">Order by issued time (oldest first) ">Order by Award Order (ASC) ">Order by Award Order (DESC) Quote:
Quote:
Quote:
You admins are responsible for giving out awards, and you need to decide which award giving to which member (belong to which group). right? I dont see the point of doing it, in adminCP Quote:
|
Nice hack! Installed.
|
All times are GMT. The time now is 04:01 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|