Quote:
Originally Posted by BirdOPrey5
I got this working, kind of... saw we didn't need anything after the ? anyway so this code will add "xxxx" to the link...
Code:
$find= '<li class=\"thead\"><a href=\"moderator.php';
$vbulletin->templatecache['MEMBERINFO'] = str_replace($find, "xxxx" . $find, $vbulletin->templatecache['MEMBERINFO']);
You should have no problem calling your template function.
|
Ah, indeed that worked. For a minute there I was forgetting to change the hook to
member_start.
Code:
$find= '$vbphrase[edit_user_profile]</a></li>';
$vbulletin->templatecache['MEMBERINFO'] = str_replace($find, $find . fetch_template(djs_delete_link), $vbulletin->templatecache['MEMBERINFO']);
Template inserted fine. Er, when I remembered to put in the correct template code.
So, that's how many names I've got to put into the Contributors field?
--------------- Added [DATE]1293169854[/DATE] at [TIME]1293169854[/TIME] ---------------
Quote:
Originally Posted by Boofo
Did you try the code I gave you above a a test?
|
I did try that, too, with no luck. But I also read that line breaks can cause a problem. Also, when I did the manual template edit, the
") : (""))." wrapped my line of code, I presume because it was included in the show edit profile <if> condition.