The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Slight modification request to photopost classifieds integrated w/ vbulletin...
Hope this is the right place here..... posting at photopost has not come up with an answer since last week.
I am using photopost classifieds 2.5 integrated with vBulletin 3.5.4. I wanted to modify the contact email sent when someone contacts the seller, so that, among other things, the username of the person contacting the seller gets put into the email. I modified contact.php with this bit of additional code that someone suggested Code:
$subject = trim($subject); if ( !empty($title) ) $letter = "$bbuserinfo[username] is inquiring about: $title\n\n$letter"; if ( !empty($productid) ) $letter .= "\n\nClick here to view the product.\n{$Globals['maindir']}/showproduct.php?product=$productid"; if ( !empty($productid) ) $letter .= "\n\nIf you have already sold this item, please click here to mark the item as SOLD.\n{$Globals['maindir']}/editproduct.php?sold=$productid"; EDIT FTR, Answer is: use $User[username] instead of $bbuserinfo[username] |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|