Not Solved popup menu template editing
#1
Not Solved Exclamation 
hi again ....

i am underway of making a popup profile menu for mybb.....

the error i am encountering is that the links inside the menu are for the poster in the threads first post and not like the current post like i intend

see image for details

[Image: wesb2leytzlg228fk6wa.jpg]

i also edited my functions_post.php according to >>>THIS THREAD<<<


attached the my code....

<a href="member.php?action=profile&amp;uid={$post['uid']}" id="profile" onclick="return openMenu(this)" class="popup_button">{$post['profilelink']}</span></strong><br /></a>


<span class="smalltext">
	<strong>{$post['usertitle']}<br />

	{$post['groupimage']}<br /><br/>
	{$post['useravatar']}<br /><br/>
	{$lang->postbit_posts} {$post['postnum']}<br />
	{$lang->postbit_group} {$usergroup['title']}<br />
	{$lang->postbit_joined} {$post['userregdate']}<br />
	{$lang->postbit_status} {$post['onlinestatus']}<br />
</span>


<!-- profile popup  form -->
<div class="menupop" id="profile-popup" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="tcat">{$post['profilelink']}</td></tr>
<tr><td class="menu_option" ><a href="member.php?action=profile&amp;uid={$post['uid']}"><font color="black">View Users Profile</a></td></tr></font>
<tr><td class="menu_option"><a href="private.php?action=send&amp;uid={$post['uid']}"><font color="black">Send User a Private Message</a></td></tr></font>
<tr><td class="menu_option"><a href="{$post['website']}" target="_blank"><font color="black">Visit Users Website</a></td></tr></font>
<tr><td class="menu_option"><a href="search.php?action=finduser&amp;uid={$post['uid']}"><font color="black">Find More Posts By User</a></td></tr></font>
</table>
</div></form>



please look it over and correct what i have done wrong....

i already saw ZiNgA BuRgA's version...but i wanted to do my own...since i could not get it to work.



while i am asking experts...how do i make plugins...

when i say that what do i put in the php files so that they edit the templates i want them to edit.....

i understand a lot about templates and mybb...but i kinda lack at php....

so if anyone can point me in the right directions (short of w3 schools)
i would be grateful


thanks again
[Image: darkmew.png]

Feel free to PM me if you have any issues with the community. Big Grin
Reply


Messages In This Thread
popup menu template editing - by Jitendra M - 2008-03-22, 01:33 AM
RE: popup menu template editing - by Jitendra M - 2008-03-22, 04:00 AM
RE: popup menu template editing - by dikidera - 2008-03-22, 11:23 AM
RE: popup menu template editing - by Jitendra M - 2008-03-22, 01:03 PM
RE: popup menu template editing - by dikidera - 2008-03-22, 01:05 PM
RE: popup menu template editing - by Dennis Tsang - 2008-03-22, 05:23 PM
RE: popup menu template editing - by Jitendra M - 2008-03-22, 10:32 PM
RE: popup menu template editing - by dikidera - 2008-03-22, 10:56 PM
RE: popup menu template editing - by Jitendra M - 2008-03-22, 11:02 PM
RE: popup menu template editing - by dikidera - 2008-03-22, 11:10 PM
RE: popup menu template editing - by Jitendra M - 2008-03-22, 11:29 PM
RE: popup menu template editing - by dikidera - 2008-03-22, 11:36 PM
RE: popup menu template editing - by Dennis Tsang - 2008-03-22, 11:50 PM
RE: popup menu template editing - by Jitendra M - 2008-03-23, 12:58 AM
RE: popup menu template editing - by dikidera - 2008-03-23, 08:24 AM
RE: popup menu template editing - by Jitendra M - 2008-03-23, 09:47 AM
RE: popup menu template editing - by Jitendra M - 2008-03-26, 04:41 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)