vb.org Archive

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

Roxie 09-17-2005 08:11 PM

Hey,
I wondered how I would go about changing Cilla Black to Roger Lodge?

Andreas 09-17-2005 08:19 PM

Quote:

Originally Posted by buro9
What's the point in hard-coding a plugin?

Performance.
If the Code is in a PHP File, it can be precompiled/cached => eAccelerator.

That's why I wrote a Plugin-slipstream tool for me :)

nexialys 09-17-2005 08:40 PM

Quote:

Originally Posted by KirbyDE
That's why I wrote a Plugin-slipstream tool for me :)

and you will surely share it with us, because you really appreciate us here, isn't it?!

;)

Andreas 09-17-2005 08:42 PM

[OT]
Nope, this one won't be shared as it is really written crappy - and not PHP.
(Windows, written in Delphi)
[/OT]

Roxie 09-17-2005 08:54 PM

Quote:

Originally Posted by Roxie
Hey,
I wondered how I would go about changing Cilla Black to Roger Lodge?

*dunce cap* Duh...figured it out. :ermm:

???`S?LV?R???` 09-18-2005 05:14 AM

is the script working fine? just thought I'd ask before I install

Wordplay 09-18-2005 08:29 AM

Quote:

Originally Posted by nexialys
ya, maybe on your site, you have politics... on our site, it's the opposite, we require all tools to send messages thru PM or onscreen because we avoid eMails... we want our users to login on our site to have contacts with each others...

anyway.. will code it for myself.

can i get that add on then?

buro9 09-18-2005 08:57 AM

If you do code an extension to this nexialys, I'm happy to give you credit and support stuff for this hack and to post instructions and such up above... or to link to another thread for you to offer it seperately, etc.

ThePimp 09-18-2005 09:26 AM

Still getting this error:
Fatal error: Unable to proceed with save while $errors array is not empty in class vb_datamanager_pm in /includes/class_dm.php on line 758

nexialys 09-18-2005 09:46 AM

... nah, i don't plan to code it for the time being, i'm too occupied with the baby... if i do, i will contact you buro9...

Loki12 09-18-2005 11:58 AM

Works fine for me....

buro9 09-19-2005 08:56 PM

Quote:

Originally Posted by ThePimp
Still getting this error:
Fatal error: Unable to proceed with save while $errors array is not empty in class vb_datamanager_pm in /includes/class_dm.php on line 758

Are PM's enabled on your system?

buro9 09-19-2005 08:57 PM

Quote:

Originally Posted by buro9
Are PM's enabled on your system?

Admittedly I should be checking ;)

ThePimp 09-20-2005 02:10 AM

Quote:

Originally Posted by buro9
Admittedly I should be checking ;)

I have PMs setup using Promotions, not everyone can use them.

drumsy 10-06-2005 01:24 AM

Is the current version free of any known bugs, ready to run on a 45,000+ member website? Do the phrases used follow proper grammer and spelling?

buro9 10-06-2005 05:20 AM

Quote:

Originally Posted by drumsy
Is the current version free of any known bugs, ready to run on a 45,000+ member website? Do the phrases used follow proper grammer and spelling?


It is now ;)

Just updated to fix a PM usergroup permission bug. Also to reduce the size of the datastore (which caches all plugins!) and to allow eAccelerator to cache and compile, etc :)

I've just nabbed the last two hard-coded phrases too, and yes my English is adequate.

SnowBot 10-06-2005 05:53 AM

Thanks for the update :)

moonclamp 10-19-2005 07:46 AM

Couple of questions:

Can users turn this feature off if they don't want to be part of it?

What happens if the secret admirer is on someone's ignore list?

buro9 10-19-2005 05:33 PM

Quote:

Originally Posted by moonclamp
Couple of questions:

Can users turn this feature off if they don't want to be part of it?

I haven't written such functionality, but there's no reason you couldn't create a custom field and then edit the MEMBERINFO template so that the link to admire that person doesn't show if they have decided to turn it off.
Quote:

What happens if the secret admirer is on someone's ignore list?
Currently it would still admire that person. I hadn't thought of this scenario (ignore lists are barely used on my forum).

Not sure what you'd want to happen in this case... the person who admires should think they've succeeded, but the person receiving shouldn't know about it.

Would silencing the communication be enough? But to let the admiration go through?

pross 10-25-2005 02:44 AM

Where do we change the text sent via PM's/Emails?

dirtycrow 10-25-2005 03:16 AM

Quote:

Originally Posted by Roxie
Hey,
I wondered how I would go about changing Cilla Black to Roger Lodge?

how do you change it from cillia to something else?

moonclamp 10-25-2005 03:17 PM

Quote:

Originally Posted by buro9
I haven't written such functionality, but there's no reason you couldn't create a custom field and then edit the MEMBERINFO template so that the link to admire that person doesn't show if they have decided to turn it off.

Not sure how I'd do that with it being in options rather than profile .. VB is relatively new to me.

Quote:

Originally Posted by buro9
Currently it would still admire that person. I hadn't thought of this scenario (ignore lists are barely used on my forum).

Not sure what you'd want to happen in this case... the person who admires should think they've succeeded, but the person receiving shouldn't know about it.

Would silencing the communication be enough? But to let the admiration go through?

I would like to see the ignoring person not receive any notification at all ... ie. No PM from cilla.


What happens if a user clicks the same person loads of times ... is there any anti-spam mechanism?

buro9 10-25-2005 05:30 PM

Quote:

Originally Posted by moonclamp
What happens if a user clicks the same person loads of times ... is there any anti-spam mechanism?

There's two levels of anti-spam:

1) You can set a qty vs time based limit on the number of admirations a user can make against all other users. This is easier with an example: On my board users can admire a maximum of 3 people every 24 hours. So they can't just run around and admire everyone.

2) You can't admire the same person twice... it simply advises the person making the admiration that they've already admired that person, and perhaps it's time to send a PM to them and strike up a conversation.

buro9 10-25-2005 05:31 PM

Quote:

Originally Posted by dirtycrow
how do you change it from cillia to something else?

Simply use a different user (that you create) and change the settings in the AdminCp to reflect the user you want to use..

buro9 10-25-2005 05:34 PM

Quote:

Originally Posted by pross
Where do we change the text sent via PM's/Emails?

AdminCp > Phrase Manager

The phrasegroup is: User Tools (global)
The phrases all start: secretadmirer_

Flow Fusion 11-27-2005 03:00 PM

PHP Code:

WarningUnknown(./includes/secretadmirer.php): failed to open streamNo such file or directory in /profile.php(154) : eval()'d code on line 111

Fatal error: (null)(): Failed opening required '
./includes/secretadmirer.php' (include_path='.:/usr/local/lib/php') in /home/giftedso/public_html/gs/profile.php(154) : eval()'d code on line 111 


buro9 11-27-2005 06:25 PM

Quote:

Originally Posted by Flow Fusion
PHP Code:

WarningUnknown(./includes/secretadmirer.php): failed to open streamNo such file or directory in /profile.php(154) : eval()'d code on line 111

Fatal error: (null)(): Failed opening required '
./includes/secretadmirer.php' (include_path='.:/usr/local/lib/php') in /home/giftedso/public_html/gs/profile.php(154) : eval()'d code on line 111 


You didn't upload the PHP file. It's in the instructions, the .php file is in the .zip file.

Flow Fusion 11-27-2005 07:05 PM

I'll try again but I know i did.

Flow Fusion 11-27-2005 07:21 PM

You were right I had the file in the wrong folder.

*Intsalled*

Flow Fusion 11-30-2005 09:14 AM

OK I have another issue. I don't see the link in a few members info. How do I make it so everyone has this?

*edit.* I figured it out.

Calisse 12-05-2005 11:13 PM

My users simply adore the secret admirer hack, i laughed a lot when i got my first email saying 'i got two messages saying i liked myself whats going on?'

install for teenager forums definately. 9/10

buro9 12-06-2005 04:25 AM

Quote:

Originally Posted by Calisse
install for teenager forums definately. 9/10

I'm going to tell my forum of adults this ;)

Mudvayne 12-15-2005 05:12 PM

clicked install..
btw buro9 how many admirer did u got? :P

buro9 12-16-2005 05:12 AM

Quote:

Originally Posted by Shuvo
clicked install..
btw buro9 how many admirer did u got? :P


Er, probably 70 or so.

The strange thing is that I match with lots of girls but never boys. I think the boys are kinda embaressed about admiring other boys. Such fools, I've admired a roughly equal number of girls and boys in the three years I've had the system installed.

ConKien 12-16-2005 08:35 PM

Wow, great mod! Does this work for vb 3.5.x?

buro9 12-17-2005 06:23 AM

Quote:

Originally Posted by ConKien
Wow, great mod! Does this work for vb 3.5.x?

Yup :)

TygerTyger 12-17-2005 02:25 PM

I'm really, really hoping for an opt-out for my users before I install this...could you take that as a suggestion?

Omranic 01-23-2006 03:29 PM

//Edit

Thats Great

My Error coz of another thing

thanks

The Chief 01-23-2006 04:58 PM

This looks really cool, I think I'll add this to my functions later on ;)

nicedreams 01-26-2006 07:56 PM

Does not work for me. Vers 3.5.3

Always says that you've already registered your admiration for that user.

Jim


All times are GMT. The time now is 04:17 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.01412 seconds
  • Memory Usage 1,826KB
  • 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
  • (2)bbcode_php_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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