Back to vBulletin 3.0 Template Modifications

Admin post usernote in user profile.
Mod Version: 1.00, by tnguy3n

This modification is in the archives.
vB Version: Rating: (0 vote - 0 average) Installs: 3
Released: 03 Jun 2004 Last Update: Never Downloads: 0
Not Supported  

Well, i guess that I'm the one to release a hack in this Profile forum.

This mod allows admin or groups with permission to post usernote for a user in one's profile.

Only admin or usergroup with permission to post usernote can see this option in the profile.

--------------------
Template mod: 1 MEMBERINFO
Installation time: 2-3 mins
--------------------

OPEN MEMBERINFO template, and FIND:
Code:
						<br />($vbphrase[last]: $usernote[lastpostdate] <span class="time">$usernote[lastposttime]</span>)
					</if>
				</div>
			</div>

BELOW ADD:
Code:
<fieldset class="fieldset">
<legend><b>$vbphrase[post_new_user_note]</b></legend>
<form action="usernote.php" method="post" name="vbform"<if condition="!is_browser('webtv')"> onsubmit="return validatePost(this, 0, $vboptions[postminchars], $vboptions[postmaxchars]);" onreset="vB_RESET(this);"</if>>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="u" value="$userinfo[userid]" />
<input type="hidden" name="usernoteid" value="$noteinfo[usernoteid]" />
<input type="hidden" name="do" value="donote" />
<div class="smallfont" style="margin-bottom:$stylevar[formspacer]px">
	<b>$vbphrase[title]:<b><br />
	<input type="text" class="bginput" name="title" value="$noteinfo[title]" size="40" maxlength="85" tabindex="1" />
</div>
<div class="fieldset"><b>$vbphrase[message]:<b></div>
	<textarea name="message" rows="7" cols="40" wrap="virtual" tabindex="1"></textarea>
<!-- / message area -->
</div>
<div style="margin-top:$stylevar[cellpadding]px">
	<input type="submit" class="button" name="sbutton" value="$vbphrase[submit_note]" accesskey="s" tabindex="1" />
</div>
</form>
</fieldset>


------------ that's it. ---------------

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2024