vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Secret Admirer (https://vborg.vbsupport.ru/showthread.php?t=55119)

buro9 07-07-2003 10:00 PM

Secret Admirer
 
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.

Dean C 07-09-2003 09:44 AM

I must admit this is a fantastic idea. My forum are mainly men so it wouldn't suit my site but i tell you if i had a completely mixed-gender site it would be so much fun to have.

Excellent idea and excellent hack :)

Well done!

- miSt

buro9 07-09-2003 10:19 AM

Well, it's working very well, in the first 24 hours some 150 'crushes/admirations' were registered and 15 users matched up.

The threads are buzzing away, and there's just this really exicted sort of vibe over it.

And because it's 'admiration' rather than 'crush' it seems quite embracing and innocent.

And the best thing... haven't found one bug yet :)

But I have realised the amount I hardcoded my forum details in the templates... If you're installing this please amend these with your details, I'll correct this in the Gold version.

Oh... and it's designed as a seperate file so that only the minimum changes are required to vBulletin code... thus it should be effortless to port to vb3.

Cheers

David K

PixelFx 07-14-2003 03:21 PM

kewl idea, great job

DaveRobbo 07-16-2003 09:50 AM

Any screenshots?

kaotic 07-16-2003 10:00 AM

This does seem like it would be cool; however, screenies or a demo site would be appreciated. :)

jamoss 07-26-2003 07:12 AM

Hey mist- my forum is mainly women. And not preggo or married, either! Maybe we should get our forums together ;)

insanctus 07-26-2003 07:31 AM

I wish I could use this on vb3 :(

buro any plans on doing it for vb3 (would love it since my idea I would not mind testing on my forums, and sounds like you did a great job on it)

jamoss I think I should sigh up for your site (wait are you sure they not preggo or married :) )

Hobbes 08-09-2003 04:23 AM

great hack!

this is super cool man I like it!

Except, one thing you could includein the gold version is an admin-side where Admins can see who clicked who, who matched etc....

it'd be really cool :D..

and i'll beta test for vb3 if u want hehe

NuclioN 08-09-2003 10:18 PM

Very nice :) No bugs so far. Clicks install.


All times are GMT. The time now is 07:33 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.00995 seconds
  • Memory Usage 1,733KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete