Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Closed Thread
 
Thread Tools
Secret Admirer Details »»
Secret Admirer
Version: 1.00, by buro9 buro9 is offline
Developer Last Online: Jul 2012 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 07-07-2003 Last Update: Never Installs: 6
Is in Beta Stage  
No support by the author.

This was requested over here:
https://vborg.vbsupport.ru/showthrea...=&pagenumber=1

Essentially it is a hack to allow users to have crushes on each other and to declare them secretly. If two users declare that they fancy each other, then a match occurs and both are notified.

This is a great way of virally encouraging users back to the board and to inject a bit of fun into a forum.

We ran a manual one of these on our boards called 'secret crush', but that proved too controversial, so this is slightly watered down to be 'secret admirer', such that more people can participate and admiring someone doesn't commit you to them... so it's less imposing.

Anyhow... on with the hack.

The hack is comprised of:
1 new database table.
1 new php file.
Edit to member.php to include new "if" statement.
Edit to getinfo template for 'admire' link.
6 new templates.

All of the code and instructions can be found in the attached zip file.

I've tested this on my own board, and have installed it in my live environment. I don't know if it is rock solid though, so would appreciate feedback and bug reporting. I'm not a PHP coder by trade, so point out any errors if you see them.

Cheers

David K

UPDATED: 2003-SEP-12

Major update, adds reporting functionality for users and puts us on the verge of a gold release. Could a few other people please install this and let me know how you go... I want to know for sure that others are comfortable with this as it stands before I turn it gold.

I personally think it's there now... but just want the community to give me that peace of mind (as my board is hacked heavily and I want to find issues BEFORE it goes gold).

UPDATED: 2003-SEP-13

Now included screen shots within the zip file.

Show Your Support

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

Comments
  #22  
Old 02-01-2004, 02:59 AM
Koutaru's Avatar
Koutaru Koutaru is offline
 
Join Date: Feb 2003
Location: IL
Posts: 589
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

a vB3 version would be cool
  #23  
Old 02-01-2004, 08:48 AM
buro9 buro9 is offline
 
Join Date: Feb 2002
Location: London, UK
Posts: 585
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ButchGal
Thanks for this hack, i love it and so will my users.

How do you obfuscate the storage of PMs? I'd like to do that also.
I used blowfish encryption to encrypt the PM contents, seeded with the username... but that was on VB2, and I'm not yet doing anything like this on VB3 because the storage of PMs has changed... PMs are now only stored once, whereas in VB2 a seperate copy was stored for sent and received, etc.

I may find a way to re-do this... but it's not a high priority for me at the moment... PMs are secure anyway, it just gives additional peace of mind to some members. I was also unsure how much I ever actually needed it, especially when you consider the processing overhead it produced as a result.

Anyhow... I'll think about doing this in VB3, and this time I might release it (I released only a fraction of what I ever hacked for my own board).
  #24  
Old 02-01-2004, 08:50 AM
buro9 buro9 is offline
 
Join Date: Feb 2002
Location: London, UK
Posts: 585
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Koutaru
a vB3 version would be cool
A VB3 version will be done... and since it will be based on the code I've had running on my site for months, it will go straight to full release. I hope to get this done in the next two weeks.
  #25  
Old 02-02-2004, 05:54 PM
aezs aezs is offline
 
Join Date: Feb 2002
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

NICE NICE! Please port this to VB3 !!
  #26  
Old 02-02-2004, 09:02 PM
buro9 buro9 is offline
 
Join Date: Feb 2002
Location: London, UK
Posts: 585
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by aezs
NICE NICE! Please port this to VB3 !!
OK, I'll start it tomorrow

I hadn't actually realised that anyone had installed it! I just thought it was me running it on my own! Now I realise there's an audience I'll get off my backside
  #27  
Old 02-03-2004, 12:17 AM
Koutaru's Avatar
Koutaru Koutaru is offline
 
Join Date: Feb 2003
Location: IL
Posts: 589
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm sure a lot of other people installed it. Sadly, some people don't hit the install but I'll definately be looking forward to the vb3 version
  #28  
Old 02-03-2004, 12:54 AM
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Location: UK
Posts: 1,059
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeh i'd like this too
  #29  
Old 02-16-2004, 09:40 AM
buro9 buro9 is offline
 
Join Date: Feb 2002
Location: London, UK
Posts: 585
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just to let you all know what is happening.

I've completed a VB3 version of this and am currently testing it on my board.

In a few days I'll clean it up a little and release it under the VB3 finished hacks section... when I do that I'll post a link in here to it.

If one or two of you wishes to help testing, then please PM me and I'll mail you the preliminary code.

For VB3, most of it is chunked off into two functions files as before (one to handle all the secret admirer stuff, and one to handle PM sending), and only a few lines needs to be added to one file (./profile.php). Aside from that there are a couple minor template changes, and some new phrases.

I haven't concentrated on making it fully phrase friendly, anyone who wishes to do this can do so once I've released it.

Cheers

David K
  #30  
Old 02-16-2004, 01:16 PM
Catch-22|BL Catch-22|BL is offline
 
Join Date: Aug 2003
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry I abandoned you before.

My home forums had lots of server problems. We become overloaded and actually were disabling so many features. There was no chance to add new things unless they were essential to our continued operations.

But...the good news is that some of us are starting a few experimental forums. This would be great. I can help finish testing for vb3 version so I will send you a PM if you still want to trust me.
  #31  
Old 02-16-2004, 05:49 PM
buro9 buro9 is offline
 
Join Date: Feb 2002
Location: London, UK
Posts: 585
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Catch-22|BL
Sorry I abandoned you before.

My home forums had lots of server problems. We become overloaded and actually were disabling so many features. There was no chance to add new things unless they were essential to our continued operations.

But...the good news is that some of us are starting a few experimental forums. This would be great. I can help finish testing for vb3 version so I will send you a PM if you still want to trust me.
A couple of you asked to test it, so you can now find it in the beta forum:

https://vborg.vbsupport.ru/showthread.php?p=477551

This time if I receive enough feedback I'll move it to the release forum in a fortnight
Closed Thread

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 08:55 AM.


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.05274 seconds
  • Memory Usage 2,293KB
  • Queries Executed 27 (?)
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
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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_postinfo_query
  • fetch_postinfo
  • 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