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)
-   -   Send a Private Message to Public Group Leaders Upon a Join Request (https://vborg.vbsupport.ru/showthread.php?t=83086)

amykhar 11-23-2005 12:44 PM

My hideaway mod gives users a private group and one forum to manage, but it is a very limited application of it.

Vizionz 11-23-2005 12:45 PM

do these works together ? so if you create a hideaway and someone wants to join your hideaway will they recieve the pm from this ?

amykhar 11-23-2005 12:46 PM

Yes.

Vizionz 11-23-2005 12:46 PM

thanks amy :) i will grab that then

EasyTarget 11-28-2005 04:37 AM

nice hack.
how can I get the links to work in the pm system without enabling html?

LamboJay 11-28-2005 06:29 PM

Installed on 3.5.1 and working great. Thanks!

Schwarze Katze 11-28-2005 08:20 PM

Nice!
How do I change the pm title? Stupid me doesn't know... :(

smju 12-08-2005 03:50 PM

If you really want to, it would be this line of code to change:

$pmdm->set('title', $vbulletin->userinfo['username']. " would like to join " . $groupname['title']);


Nice utility. Took me a while to figure out where to put everything but it's now up and running correctly.

For anyone else totally new to this sort of thing here be what I did.
  • you add the Phrase via the Langiages and Phrase Manager
  • Then via the Plugin Manager You copy the
    • Product, Hook Location and Title from the xml code
    • and then copy the xml code from require_once(DIR . '/includes/class_bbcode.php'); to // End of mod Do not include the closing brackes ]] into the plugin php code box

and everything being equal it should work.

NB: I put the actual http:// address inside url /url bbcode tags in the Phrase message.

cynix2 12-19-2005 11:45 PM

i made a slight improvement on this mod
since i dont like hard coding things that are in variables i made it so the phrase uses $vboptions[bburl] as {2} instead of having to hard code the url into the phrase

files are attached, i hope they get put to good use

attachments removed, see below for new ones

Snake 12-20-2005 08:45 AM

Thanks man!


All times are GMT. The time now is 04:37 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.01083 seconds
  • Memory Usage 1,727KB
  • 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)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