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

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

Category: End-User Options - Version: 3.0.3 Rating:
Released: 02-15-2004 Last Update: Never Installs: 69
 
No support by the author.

No longer supported by the author.

Show Your Support

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

Comments
  #12  
Old 02-17-2004, 04:30 AM
buro9 buro9 is offline
 
Join Date: Feb 2002
Location: London, UK
Posts: 585
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Giveit2u43
Getinfo was renamed MemberInfo in vb3. it would appear that the getinfo instructions have been left in by mistake, scroll down to the bottom of the install instructions to get the correct link to add to memberinfo.

Installed and working great, thanks a lot for updating this, my members really appreciate it.
GetInfo was indeed a leftover from the VB2 version... sorry, I only collated the files straight after work and failed to remove that line.

I've updated the installer... just ignore the GetInfo instructions if you used the installer downloaded prior to this posts date..
Reply With Quote
  #13  
Old 02-17-2004, 12:40 PM
buro9 buro9 is offline
 
Join Date: Feb 2002
Location: London, UK
Posts: 585
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by buro9
GetInfo was indeed a leftover from the VB2 version... sorry, I only collated the files straight after work and failed to remove that line.

I've updated the installer... just ignore the GetInfo instructions if you used the installer downloaded prior to this posts date..
Some users on my site have asked if it's possible to limit the number of admirations a single user can make in a designated time frame.

i.e. to restrict each user to making no more than 5 admirations per month.

The logic behind this is that whilst you cannot admire the same person twice, it does prevent users just flooding the system with admirations in an attempt to figure out who admired them.

So it places a higher value on an admiration.

What do you all reckon? Something you want to see?

Also... it appears that users are receiving PM notification emails as well as their e-mail... I'm going to look at this some time... I think it's permissioning... or my logic with bitflags.
Reply With Quote
  #14  
Old 02-17-2004, 06:05 PM
nemesis01's Avatar
nemesis01 nemesis01 is offline
 
Join Date: Dec 2001
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
If two people admire each other, then both parties are notified... and love is
spread
LMAO, don't know whether i'll install this but that line is a classic. :nervous:
Reply With Quote
  #15  
Old 02-17-2004, 08:43 PM
buro9 buro9 is offline
 
Join Date: Feb 2002
Location: London, UK
Posts: 585
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by buro9
Requested by a few people, I was planning on going to straight to release version... but I'm wise enough to have it tested by others first.

I'll iron bugs over the next two weeks and then go to gold with it.

So... from the top of the install file:



And below you can find the install file.

There is an upgrade route for those who installed it before (renaming a table) as well as instructions for a fresh install.

Cheers

David K

UPDATE1: Fixed install to remove GetInfo reference which was a VB2 leftover. Included in install a line saying that the configuration is changed in secretadmirer.php.

UPDATE2: 2004-02-17 22:44 GMT: Modified ./includes/functions_secretadmirer.php as it was sending two e-mails instead of one if someone had PMs and PM notification both enabled.
Another mild update... it was sending out two emails for each admiration if the receiving user had both PM enabled and PM notification.

Now it just sends the one email in that case.

This only affected ./includes/functions_secretadmirer.php
So you can just upload that and it's fixed
Reply With Quote
  #16  
Old 02-17-2004, 08:44 PM
buro9 buro9 is offline
 
Join Date: Feb 2002
Location: London, UK
Posts: 585
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by buro9
Another mild update... it was sending out two emails for each admiration if the receiving user had both PM enabled and PM notification.

Now it just sends the one email in that case.

This only affected ./includes/functions_secretadmirer.php
So you can just upload that and it's fixed
And of course I've updated the installer I'm good like that.
Reply With Quote
  #17  
Old 02-18-2004, 04:50 AM
Catch-22|BL Catch-22|BL is offline
 
Join Date: Aug 2003
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So far, so good. There was a little problem in editing the last template where it did not exactly match up. I picked the closest thing and it worked. This was the part of the instructions:

<td class="vbmenu_control"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=ignore&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[add_x_to_ignore_list]</phrase></a></td>

But other than that this thing is working good....probably a couple more installs and you can move it out of Beta mode. Thanks for your patience and efforts with this hack.
Reply With Quote
  #18  
Old 02-18-2004, 08:20 AM
buro9 buro9 is offline
 
Join Date: Feb 2002
Location: London, UK
Posts: 585
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Catch-22|BL
So far, so good. There was a little problem in editing the last template where it did not exactly match up. I picked the closest thing and it worked. This was the part of the instructions:

<td class="vbmenu_control"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=ignore&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[add_x_to_ignore_list]</phrase></a></td>

But other than that this thing is working good....probably a couple more installs and you can move it out of Beta mode. Thanks for your patience and efforts with this hack.
I've adjusted that part of the instructions to this:

Code:
TEMPLATE SECTION: Member Info Templates
TEMPLATE: MEMBERINFO
FIND (about 1/3rd of the way down within the 'button row' section):
	<if condition="can_moderate()">
		<td class="vbmenu_control"><a href="moderator.php?$session[sessionurl]do=useroptions&amp;u=$userinfo[userid]">$vbphrase[user_options]</a></td>
	</if>

ABOVE IT ADD:
  <td class="vbmenu_control"><a href="profile.php?$session[sessionurl]do=admire&amp;userid=$userinfo[userid]">Register your admiration for $userinfo[username]</a></td>
Reply With Quote
  #19  
Old 02-18-2004, 10:15 AM
buro9 buro9 is offline
 
Join Date: Feb 2002
Location: London, UK
Posts: 585
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well it's now processed over 1,00 admirations on my site, of which the only problem was a duplicate e-mail.

I've now requested for an available mod to move this thread into an appropriate place in Full Releases.

Reply With Quote
  #20  
Old 02-18-2004, 10:21 AM
Catch-22|BL Catch-22|BL is offline
 
Join Date: Aug 2003
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad this hack is available. Good work with it.
Reply With Quote
  #21  
Old 02-18-2004, 10:40 AM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's an alternative Cilla Black avatar for you..
I'm rather intrigued by this mod, but not sure it would be overly successful at my forums.
Reply With Quote
Reply


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:35 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.04659 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_code
  • (6)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
  • (1)pagenav_pagelinkrel
  • (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_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