06-17-2007, 04:47 AM
|
#1 (permalink)
|
| Senior Forumer
Join Date: Nov 2006
Posts: 1,065
Rep Power: 3  fBuck$: 760.0 Bank: 4,247.1 Total fBuck$: 5,007.1 My Forumer
My Country:
| (skinning/forum tips) Member's TOPIC I dont think fmods have this modification... I supposed to post it there but there is some error in their database and page cannot be access. But It will surely be in fmods once they get their operation back to normal.
So for pre-modification post... here you go. This modification is for searching all TOPICS started by the MEMBER in PROFILE VIEW Installation Path: AdminCP->HTML Templates->Manage HTML-> PROFILE View Section->Member Profile Page
Just insert all in reds in the following code. Quote:
<script language='Javascript' type='text/javascript'>
<!--
function PopUp(url, name, width,height,center,resize,scroll,posleft,postop) {
if (posleft != 0) { x = posleft }
if (postop != 0) { y = postop }
if (!scroll) { scroll = 1 }
if (!resize) { resize = 1 }
if ((parseInt (navigator.appVersion) >= 4 ) && (center)) {
X = (screen.width - width ) / 2;
Y = (screen.height - height) / 2;
}
if (scroll != 0) { scroll = 1 }
var Win = window.open( url, name, 'width='+width+',height='+height+',top='+Y+',left='+X+',resizable='+resize+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no');
}
//-->
</script>
<!-- START: Member's TOPIC by: MasterVision (2007/06/17) -->
<script language='Javascript' type='text/javascript'>
function mvMemTopics(){
document.mvForm.submit();
}
</script>
<form action="/index.php?act=Search&CODE=01" method="post" name='mvForm'>
<input type='hidden' name='keywords' value=''>
<input type='hidden' name='namesearch' value={$info['name']}>
<input type='hidden' name='exactname' value='1'>
<input type='hidden' name='forums[]' value='all'>
<input type='hidden' name='prune' value=' value='0'>
<input type='hidden' name='searchsubs' value='1'>
<input type='hidden' name='prune_type' value='older'>
<input type='hidden' name='sort_order' value='desc'>
<input type='hidden' name='sort_key' value='last_post'>
<input type='hidden' name='search_in' value='titles'>
<input type='hidden' name='result_type' value='topics'>
</form>
<!-- END: Member's TOPIC by: MasterVision (2007/06/17) -->
<table class="tablebasic" cellspacing="0" cellpadding="2">
<tr>
<td><script type='text/javascript'>if ("{$info['photo']}" == ''){document.write("<img src='http://www.fmods.com/style_images/bluegray/folder_profile_portal/pp-blank-large.png' alt='Photo' />");}</script>{$info['photo']}</td>
<td width="100%" valign="bottom">
<div id="profilename">{$info['name']} <font size=2 color=red><b> mem#: {$info['mid']}</b></font></div>
<div> <a href='javascript:mvMemTopics()'>Find All Topics Started by this Member </a>·
<a href='{$info['base_url']}act=Search&CODE=getalluser&mid={$info['mid']}'>{ibf.lang.find_posts}</a> ·
<a href='{$info['base_url']}act=Msg&CODE=02&MID={$info['mid']}'>{ibf.lang.add_to_contact}</a>
<!--MEM OPTIONS-->
</div>
</td>
</tr>
</table>
<br />
| Hope this helps  |
| |
| |