Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

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
  #32  
Old 10-24-2004, 08:58 PM
Splinteroid Splinteroid is offline
 
Join Date: Oct 2004
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, I installed this perfectly and it seems to work fine, exept it won't allow a certain usergroup use it, it gives them the 'you do not have permission to view this' page. I tried messing with the options for that usergroup but I just can't get it to work. its driving me nuts. Anyone have a solution?
  #33  
Old 10-24-2004, 10:31 PM
buro9 buro9 is offline
 
Join Date: Feb 2002
Location: London, UK
Posts: 585
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow, a 2.3.x install?

Erm, check the secret_admirer.php file and find the following:

Code:
//
// This is a standard array, seperate the USERGROUP id's with commas... this
// is NOT user id's... these are the id's of the usergroups who you wish to
// exclude from participating in the secret admirer hack.
//
$EXCLUDED_USERGROUPS = array(1,3,4,9);
Remove the ones you want to be able to use it

Note that you should always exclude anonymous users as these would confuse the hell out of the system.

The other groups above were on my board Coppa, Unactivated and Banned.
  #34  
Old 10-29-2004, 07:05 AM
Kassandra Kassandra is offline
 
Join Date: Oct 2004
Location: United States
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by buro9
Wow, a 2.3.x install?

Erm, check the secret_admirer.php file and find the following:

Code:
//
// This is a standard array, seperate the USERGROUP id's with commas... this
// is NOT user id's... these are the id's of the usergroups who you wish to
// exclude from participating in the secret admirer hack.
//
$EXCLUDED_USERGROUPS = array(1,3,4,9);
Remove the ones you want to be able to use it

Note that you should always exclude anonymous users as these would confuse the hell out of the system.

The other groups above were on my board Coppa, Unactivated and Banned.
Thank you for the help. Was just what we need. Appreciated greatly.
  #35  
Old 07-22-2005, 02:20 PM
wolfyman's Avatar
wolfyman wolfyman is offline
 
Join Date: Apr 2005
Posts: 719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

doesthis work for vb3?
  #36  
Old 07-22-2005, 02:26 PM
buro9 buro9 is offline
 
Join Date: Feb 2002
Location: London, UK
Posts: 585
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wolfyman
doesthis work for vb3?
https://vborg.vbsupport.ru/showthrea...secret+admirer
Closed Thread


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 03:29 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03956 seconds
  • Memory Usage 2,258KB
  • Queries Executed 22 (?)
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
  • (2)bbcode_code
  • (2)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
  • (2)pagenav_pagelink
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)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