The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
I also need this and will help if someone needs me to. I am a developer in my job, though PHP is not what I work in, so it will take a short while to get up to speed.
Given that we are so close to VB3, I would like this in that ASAP... but as I believe I'll be on VB2.3 for the next few > 6 months I would like to start with this version and do a VB3 one once VB3 goes gold. The way in which I envision it working is thus: A button is on the profile page to nominate that you have a crush on person X. This is registered in the database that Y fancies X and an email/PM is sent to X letting them know that someone has a crush on them and that they should use the profile pages to nominate someone they have a crush on to see if they get paired up. If X then nominates Y an email/PM is sent to both parties letting them know they are matched and who the other person is... else the process continues until matches are made. One database table will be required of two columns (that form a composite primary key - no duplicates)... userid, fancies_userid Or something like that. Lastly, a little chunk should be offered within the user control panel to be able to manage these... i.e. to remove the people that you fancy when they offend you! We're pretty much running a manual version of this at the moment... hence my knowing what needs doing Cheers David K |
#12
|
|||
|
|||
Quote:
|
#13
|
|||
|
|||
Quote:
Besides... we could start a VB3 hack now... just couldn't release it now. Certainly this should be encouraged since a lot of functionality provided by hacks in VB2.3 won't be there when VB3 does go gold, and thus to receive widespread support of VB3 and the continuity of user experience on these boards from the outset... hack makers should be encouraged to start thinking about such things and converting. If you want an example of when this sort of thing happened in the past, just think of the WinAmp debacle. WinAmp3 lacked skins, plugins, etc and this was a considerable factor in everyone I know staying with what they were comfortable with. Either way... whilst I would need continuity (a hack I have in VB2.3 to exist for VB3 immediately after it went gold) I still actually said that we should do a VB2.3 one now, and thus this isn't the place for such a discussion or debate. |
#14
|
||||
|
||||
Anyone started on this hack?
I wish I had the skills to do it but I am still not that good with php to be hacking it all up from scratch |
#15
|
|||
|
|||
I shall be starting on this next week. I have in my mind how it will work, which is outlined above.
Any suggestions should be made over the next few days and will be considered when I properly design the functions and logic flow. Cheers David K |
#16
|
||||
|
||||
I just installed vb3 So I will have to wait on this hack unless you need a vb3 tester
I been busting my but doing some add in's and working on a temp portal. |
#17
|
|||
|
|||
I'm going to do a vb2 version first... but I'm coding it with the port in mind, so once done it should be easy to integrate into vb3 once that goes gold.
|
#18
|
|||
|
|||
OK, so this is the first draft... I wouldn't even call it a Beta Hack yet... it's just an outline of the idea. And you'll have to forgive any dodgy PHP (or point it out to me!) as this isn't my main language and I sorta make this stuff up.
So... first you need to create a database table: Code:
CREATE TABLE `secret_admirer` ( `userid` INT( 10 ) NOT NULL , `admiresuserid` INT( 10 ) NOT NULL , `datecreated` INT( 10 ) NOT NULL , PRIMARY KEY ( `userid` , `admiresuserid` ) ) TYPE = MYISAM ; Next... upload the attached file into the root of your form... i.e. the one in which index.php, member.php, etc exist. Usually /forum if you've followed standard naming conventions. The file should be called secret_admirer.php Now... you need to edit member.php Find: PHP Code:
PHP Code:
Finally... modify the "getinfo" template to add a link to it somewhere: <a href="member.php?s=$session[sessionhash]&action=admire&userid=$userinfo[userid]">Click here to register your secret admiration for $userinfo[username]</a> Then... all the user has to do is click that link, and the system records their admiration... sends an alert to the other person (which will advise them to register their admiration for others in the hope of matching)... and when a match is made... the two users are both informed... otherwise, it's all secret So yeah, first draft... six hours of plodding through... hope it all makes sense and looks good. Please give feedback over this week, and I'll attempt to do changes which I feel are appropriate. For me though, what I've done fulfils my needs... thought about adding management stuff, but decided that this is one feature that should be totally anonymous and secretive... for privacy's sake. Cheers David K |
#19
|
|||
|
|||
Now moved to beta status... please help to find bugs.
https://vborg.vbsupport.ru/showthrea...threadid=55119 |
#20
|
|||
|
|||
this dosnt work anymore?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|