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
  #62  
Old 09-04-2004, 06:30 PM
venomx's Avatar
venomx venomx is offline
 
Join Date: Apr 2002
Location: Pennsylvania USA
Posts: 441
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just had a great idea.... but may send too many emails...
send valentines cards on feb 14 from the admirers... ;p
Reply With Quote
  #63  
Old 09-29-2004, 03:45 PM
robert_2004 robert_2004 is offline
 
Join Date: Sep 2004
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it is a really good mod, but i don't want to install it if i don't have any control over it.
i really need an admin section to check users aren't adding literally everyone to their list, and i need to be able to monitor new guests (like perverts and such ((as i run a teenager forum for a certain location )) and make sure people with 0 - 20 posts aren't adding more than 1 or 2 people )
some equation like, 1 person added per 10 posts (without informing them they need to post more to receive another, but rather inform them they will receive another slot "very soon" )
Reply With Quote
  #64  
Old 09-29-2004, 09:41 PM
buro9 buro9 is offline
 
Join Date: Feb 2002
Location: London, UK
Posts: 585
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by robert_2004
it is a really good mod, but i don't want to install it if i don't have any control over it.
i really need an admin section to check users aren't adding literally everyone to their list, and i need to be able to monitor new guests (like perverts and such ((as i run a teenager forum for a certain location )) and make sure people with 0 - 20 posts aren't adding more than 1 or 2 people )
some equation like, 1 person added per 10 posts (without informing them they need to post more to receive another, but rather inform them they will receive another slot "very soon" )
I'll look at building X admirations per Y post count as an option.

This can be an alternative method of prevent flooding alongside the time based method currently available.

I could also do a usergroup based permissioning, this would let you use promotions to control the availability of the secret admirer thing via thresholds that you define through the promotion system.

Thus far there is no reporting whatsoever, and I'm afraid that whilst I understand your concerns re: perverts, I shall not be building a reporting system for this as I do not want my users to believe that just because I created a reporting function I do such things as examine who admired who, etc.

However, I'm not a closed source hack writer, and anyone who wants to make such changes and additions can do, and I will happily roll them into the first post for new vBulletin admins to get if they wish to use reporting tools with this hack.
Reply With Quote
  #65  
Old 10-11-2004, 12:52 AM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is what I'm getting...

Quote:

Parse error: parse error in /www/dragonninja/includes/functions_secretadmirer.php on line 109

Fatal error: Call to undefined function: secretadmirercreate() in /www/dragonninja/profile.php on line 2647
Any ideas?
Reply With Quote
  #66  
Old 10-11-2004, 07:59 AM
buro9 buro9 is offline
 
Join Date: Feb 2002
Location: London, UK
Posts: 585
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Strange, no-one else has had this problem.

The function it can't find is within the functions_secretadmirer.php file that you should have uploaded to your includes folder.

Could you check that you have done this.

If you have done this, have you changed your includes folder from the default path (it's looking relative to the profile.php file for a subfolder named 'includes').

If you have done both of those... have you in any way modified the chunk of code that the install instructions asked you to put into profile.php? Specifically the chunk of logic that currently looks like thus:
PHP Code:
// HACK : START : SECRET ADMIRER
if ($_REQUEST['do'] == 'admire') {
  require_once(
'./includes/functions_secretadmirer.php');
  unset(
$admiresUserId);
  unset(
$admireStatus);
  
$admiresUserId verify_id('user'$_REQUEST['userid']);
  
$admireStatus secretAdmirerCreate($bbuserinfo['userid'], $admiresUserId);
  switch (
$admireStatus) {
    case 
'DONE':
      
$_REQUEST['forceredirect'] = 1;
      eval(
print_standard_redirect('redirect_secretadmirer_acknowledged'));
      break;
    case 
'DUPLICATE':
      
$_REQUEST['forceredirect'] = 1;
      eval(
print_standard_redirect('redirect_secretadmirer_duplicate'));
      break;
    case 
'LIMIT':
      
$_REQUEST['forceredirect'] = 1;
      eval(
print_standard_redirect('redirect_secretadmirer_limit'));
      break;
  }
}
if (
$_REQUEST['do'] == 'admirereport') {
  require_once(
'./includes/functions_secretadmirer.php');
  
secretAdmirerReport($bbuserinfo['userid']);
  
$_REQUEST['forceredirect'] = 1;
  eval(
print_standard_redirect('redirect_secretadmirer_report_sent'));
}
// HACK : END : SECRET ADMIRER 
Therein lies the function calls and the include statement. If it cannot find the file containing the functions within the includes folder then it will not be able to call the function

Try that first (checking the file is where it should be).

Cheers

David K
Reply With Quote
  #67  
Old 10-11-2004, 08:11 AM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All of my forum files are in the site root, and my includes folder is a subdirectory of this. I have added the code to profile.php as required...

I guess I should have also let you know that I get this error when clicking the link in the profile, to register romantic interest... Just to let you know. I was also admiring myself as a test - this seemed to work when I had 3.01 installed - it was working 100% [I'm now re-hacking for the 3.03 upgrade]. I'm usually pretty good at tracking errors down, even though I'm not too PHP savvy, but this is beyond me heh.

Thanks for your time buro9.
Reply With Quote
  #68  
Old 10-12-2004, 03:31 AM
Wifey Wifey is offline
 
Join Date: Mar 2004
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm getting a database error when I click to get the report. Also, when I try to admire someone to test it, it says it's a duplicate. Any ideas?
Reply With Quote
  #69  
Old 10-26-2004, 03:29 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've still not fixed this. Anyone having a similar problem?
Reply With Quote
  #70  
Old 10-29-2004, 09:41 AM
buro9 buro9 is offline
 
Join Date: Feb 2002
Location: London, UK
Posts: 585
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FleaBag
I've still not fixed this. Anyone having a similar problem?
Sorry, I'm in the wrong country, but if you could send me your profile.php file I could see whether anything is obviously wrong.

You did upload the two files into the includes directory right?

Do you have a phpinfo page accessible too? Not that I can imagine why this doesn't work.
Reply With Quote
  #71  
Old 11-21-2004, 10:16 PM
RWDF1 RWDF1 is offline
 
Join Date: Oct 2004
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am trying to install this, but I dont understand the mySQL part. could someone explain how I install this part in more detail please. The rest seems fairly striaght forward.

Thanks

Robert
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 06:52 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.07600 seconds
  • Memory Usage 2,321KB
  • 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_php
  • (3)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
  • (4)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_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