The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#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?
|
#21
|
||||
|
||||
congratulations on reviving a 6 year old thread! |
#22
|
|||
|
|||
lol yeah, but it could be nice to have this back, i just want to know if someone is still using it so i could continue the development and/ask the author for permition
you don't need to be sarcastic |
#23
|
||||
|
||||
I could use this...
|
#24
|
|||
|
|||
I would love this myself. Maybe have templates for the PM to be sent for members to choose from which are decorated etc
________ Blonde white |
#25
|
|||
|
|||
Thumbs up
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|