vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   End-User Options - Secret Admirer / Crush System (https://vborg.vbsupport.ru/showthread.php?t=61632)

buro9 02-18-2004 06:16 PM

Quote:

Originally Posted by Oblivion Knight
I get this error when trying to add the template secret_admirer_alert_email.

I don't quite understand why, but thought I'd better report it..

Yes... Just checked... this should've been picked up by the beta testers ;) How did you all install it, eh?

I left some extra quotes in two of the templates... these were the alert_email and alert_pm templates.

I'm just going to update the installer for you... but in essence, where you find $vboptions['bburl'] just make it $vboptions[bburl]

Sorry for that... updating now :D

Oblivion Knight 02-18-2004 10:27 PM

D'oh.. I should have picked up on that one too!
Installed and working well.. Not sure how popular this will prove to be though, as mentioned.

I guess we'll soon find out.! :D

Rampag33 02-19-2004 05:28 AM

Is there a limit for the # of admirations a person can use. I can really see this getting very out of hand. My forums is mostly females so instead of everyone just admiraring everyone I would like a limit this as Buro9 asked aswell.

buro9 02-19-2004 07:17 AM

Quote:

Originally Posted by Rampag33
Is there a limit for the # of admirations a person can use. I can really see this getting very out of hand. My forums is mostly females so instead of everyone just admiraring everyone I would like a limit this as Buro9 asked aswell.

Proving successful then ;)

I was considering adding limiters to the code as this was suggested on my board. The debate has continued though, and whilst a small minority are making a large number of admirations... the majority are only making one or two. Yet it is the small minority who are encouraging the majority to participate... and as no member can admire someone twice the minority do run out of steam eventually.

As such, I don't think I will be adding limiters to it for my benefit.

However, now it's stable I am thinking of doing a set of improvements to make it easier for others to offer translations and to take better advantage of the phrase system in VB3.

So if you can think of ways in which to define limitations (a maximum X admirations in the last Y days?) then I will consider including them as an option in the next version (hopefully still before Kier can get VB3 to gold).

Cheers

David K

Catch-22|BL 02-19-2004 07:32 AM

Quote:

Originally Posted by buro9
Yes... Just checked... this should've been picked up by the beta testers ;) How did you all install it, eh?


I modified your notification messages and did not see that error. :)

Anyway, nice to see people installing this hack.

Rampag33 02-19-2004 07:38 PM

Quote:

Originally Posted by buro9
Proving successful then ;)

I was considering adding limiters to the code as this was suggested on my board. The debate has continued though, and whilst a small minority are making a large number of admirations... the majority are only making one or two. Yet it is the small minority who are encouraging the majority to participate... and as no member can admire someone twice the minority do run out of steam eventually.

As such, I don't think I will be adding limiters to it for my benefit.

However, now it's stable I am thinking of doing a set of improvements to make it easier for others to offer translations and to take better advantage of the phrase system in VB3.

So if you can think of ways in which to define limitations (a maximum X admirations in the last Y days?) then I will consider including them as an option in the next version (hopefully still before Kier can get VB3 to gold).

Cheers

David K

Well my forums are pretty much for others to hook up and since 90% are girls that are bi this is really going to get out of hand. Every will just admire everyone. Then just wait for someone to say it in return. Instead of just doing the ones they like they just select everyone.

1 a week is fine with me. Or 3 a month. Something like that.

For most sites I can't see this being much of a problem but I'm mostly on gaming sites or something like that is why. But on chit chat and people meetin sites I can see this being very used. In the first 2 weeks up and running I had people just join the site just to PM girls. So I had to limit PM access to users that actually post. I've talked it over with some of the other admins about this mod and they all love the idea of it just want it to have a limit.

buro9 02-19-2004 09:43 PM

OK, I've added the ability to enforce limitations that you define... if you enable this feature it is one additional database query.

The changes I've made to accommodate this:
* Created two new indexes on the table to increase lookup speed - this is an optional thing, new installs will benefit from it.
* Created new config and code within functions_secretadmirer.php - you will need to re-upload this.
* Changed the code in profile.php - you will need to upload this again.
* Added a phrase to declare the limit is exceeded.

Rampag33, can you install the version I've attached to THIS POST and let me know if it solves your needs.

If it does and there were no errors, then I will replace the zip file in my first post.

Oblivion Knight 02-22-2004 03:20 PM

Just to let you know I've updated to the latest zip..
All seems to be running well so far, haven't had time to test the limit yet but I'm sure it'll work.. ;)

Rampag33 02-22-2004 03:21 PM

Alright thx. Downloading Will install after work today.

Rampag33 02-23-2004 07:32 PM

Install no problems to report yet

Thx!

I have it set to 3 admirations in a month and the only error was human error forgot to remove the table_prefix on installation :)

Thx for a great hacc


All times are GMT. The time now is 09:29 PM.

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.01363 seconds
  • Memory Usage 1,747KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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