Thank you Simon, hopefully this is what Fluke667 is looking for.
Link to demo.
http://blind-eddie.com/forum/member.php?u=1
Guest can see button but get a no permission error when clicked.
Basicly, it just sends you a pm when a member reports a member profile.
Use Simon's code posted above for 3.8.7 to replace your memberinfo_block_aboutme template.
Those that use 3.8.4 and some below can use Simons code below to replace your memberinfo_block_aboutme template.
Quote:
<div class="alt1 block_row">
<if condition="$show['simple_link']">
<div id="simple_aboutme_link"><a class="smallfont" href="member.php?$session[sessionurl]u=$bbuserinfo[userid]&tab=aboutme&simple=1">$vbphrase[view_your_about_me]</a></div>
</if>
<if condition="$show['edit_link']">
<div id="simple_aboutme_link"><a class="smallfont" href="member.php?$session[sessionurl]u=$bbuserinfo[userid]&tab=aboutme">$vbphrase[edit_your_about_me]</a></div>
</if>
<ul class="list_no_decoration">
$block_data[fields]
<if condition="$prepared['signature']">
<li class="profilefield_category">
$vbphrase[signature]
<dl class="list_no_decoration profilefield_list"><dd id="signature">$prepared[signature]</dd></dl>
</li>
</if>
</ul>
<if condition="$userinfo['userid'] == $bbuserinfo['userid']">
<else />
<form action="private.php?do=insertpm&pmid=$pm[pmid]" method="post" name="vbform"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(this.title.value, 0)"</if>>
<textarea style="display: none;" id="pmrecips_txt" name="recipients" rows="1">Add your username here</textarea>
<input type="hidden" class="bginput" name="title" value="Suspect Info" size="50" maxlength="85" tabindex="1" /> <!-- message area -->
<div style="display: none;">$messagearea = <textarea name="message" rows="2" cols="20" style="width:100%; height:100px" tabindex="1" class="tarea">Please check the "About Me" in the user profile of /member.php?u=$userinfo[userid]]$userinfo[username]'s profile
as it contains suspect material</textarea></div>
$messagearea
<!-- / message area -->
<div style="margin-top:$stylevar[cellpadding]px">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="posthash" value="$posthash" />
<input type="hidden" name="poststarttime" value="$poststarttime" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="insertpm" />
<input type="hidden" name="pmid" value="$pm[pmid]" />
<input type="hidden" name="forward" value="$pm[forward]" />
<input type="submit" class="button" name="sbutton" id="{$editorid}_save" value="Report This Info" accesskey="s" tabindex="1" />
</div>
</td>
</tr>
</table>
</form>
</if>
</div>
|