vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   AutoPM after addBuddy (https://vborg.vbsupport.ru/showthread.php?t=104872)

jj 01-10-2006 05:31 PM

Quote:

Originally Posted by Revan
PHP Code:

$anti_autopm_bud_tit construct_phrase($vbphrase['anti_autopm_bud_tit'], $vbulletin->userinfo['username']);
$anti_autopm_bud_mes construct_phrase($vbphrase['anti_autopm_bud_mes'], $vbulletin->userinfo['username'], $vbulletin->options['bburl'], $vbulletin->userinfo['userid']);
$pmdm->set('title'$anti_autopm_bud_tit);
$pmdm->set('message'$anti_autopm_bud_mes); 

Saves inventing a whole new construct_phrase() function ;)

thx for that, learned something new now ^^

Antivirus 01-10-2006 08:36 PM

Jacobsen and Revan, both of your suggestions work, and great ideas for cutting out having to create the custom BBcode and improving the hack. Revan's idea uses slightly less code but I will experiment with the str_replace thingie (i am not that familiar with it yet).

Working on an update... thanks for the input people!

The Chief 01-10-2006 08:38 PM

Quote:

Originally Posted by Antivirus
Jacobsen and Revan, both of your suggestions work, and great ideas for cutting out having to create the custom BBcode and improving the hack. Revan's idea uses slightly less code but I will experiment with the str_replace thingie (i am not that familiar with it yet).

Working on an update... thanks for the input people!

thanks for taking care of this antivirus ;)

WNxWakko 01-10-2006 10:45 PM

What about the ignore list, does it work on that also?

The Chief 01-10-2006 10:46 PM

Quote:

Originally Posted by WNxWakko
What about the ignore list, does it work on that also?

I don't think it would be intelligent to send a PM to the user that you are ignoring, right??

akanevsky 01-10-2006 11:32 PM

Where are the files?

Exitilus 01-11-2006 12:22 AM

Yah *L* ... I'm looking and I don't see any .. heh :)

Antivirus 01-11-2006 01:53 AM

Quote:

Originally Posted by Psionic Vision
Where are the files?

oops, lol
:smoke:

The Chief 01-11-2006 02:10 AM

Quote:

Originally Posted by Antivirus
oops, lol
:smoke:

you might consider putting one of their two reccommendations in the next release. It is really important to at least mention the username once.

It makes them more unique, if you get what I mean...

Exitilus 01-11-2006 02:58 AM

Installed and Working fine :D


All times are GMT. The time now is 05:11 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.01738 seconds
  • Memory Usage 1,743KB
  • 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
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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