The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
php line breaks ?
Ok I'm having a problem with line breaks...
I basically have this code PHP Code:
I thought \n is the right character.. hmmm |
#3
|
||||
|
||||
dam, no go either
PHP Code:
this is my whole chunk of code: Code:
$msgfield = nl2br($vbulletin->options['on_usergroupchange_text']); $msg = $msgfield[@array_rand($msgfield)]; $pmbodyfield = @str_replace("{username}", $vbulletin->userinfo['username'], $msg); $pmdm =& datamanager_init('PM', $this->registry, ERRTYPE_SILENT); $pmdm->set('fromuserid', $vbulletin->options['on_usergroupchange_fromuserid']); $pmdm->set('fromusername', $vbulletin->options['on_usergroupchange_fromusername']); eval(fetch_email_phrases('usergroupschanged', $this->fetch_field('languageid'))); $pmdm->set('title', $vbulletin->options['on_usergroupchange_subject']); $pmdm->set('message', $pmbodyfield); $botperms = array('adminpermissions' => 2); $pmdm->set_recipients($this->fetch_field('username'), $botperms); // Ignore PM-Box full $pmdm->set('dateline', TIMENOW); $pmdm->save(); |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|