
03-16-2011, 03:41 PM
|
|
|
Join Date: Oct 2005
Location: OC, California
Posts: 732
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by cTak
Well after looking it over, it works but doesn't.
It does show the name and vehicle in the subject title, but, the thread body text is using the same text as the thread subject.
In my admin, I have
title: {username} added their {vehicle} to the garage!
body: {username} has created a new vehicle in the garage. Go check out their {vehicle}!
But the thread shows up as:
title - brian added their 2011 BMW M3 to the garage!
body - brian added their 2011 BMW M3 to the garage!
|
Hmm, does the code look like this now? I just tried it in my dev and it works
Quote:
$pagetext = str_replace('{username}', $full_user_link, $vbulletin->options[garage_post_text]);
$pagetext = str_replace('{vehicle}', $full_veh_link, $pagetext);
$title = str_replace('{username}', $new_veh_user['username'], $title);
$title = str_replace('{vehicle}', $veh_name, $title);
$threaddm->set_info('forum', $foruminfo);
|
|