Announcement

Collapse
No announcement yet.

postbit - buttons not showing up at bottom of post

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • postbit - buttons not showing up at bottom of post

    I am running VB Version 3.0.0 Release Candidate 2...

    At the bottom of each individual post, prior to upgrading there were links to that user's homepage (if they had one), email, pm, etc....

    Since I've upgraded they don't show up.

    There's code in my postbit template for them but I'm rather clueless

    Here's the code I have... it says something about a popup menu? Nothing pops anywhere. hehe.

    Code:
    <!-- post $post[postid] popup menu -->
    <div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
    	<table cellpadding="4" cellspacing="1" border="0">
    	<tr>
    		<td class="thead">$post[username]</td>
    	</tr>
    	<if condition="$show['profile']">
    		<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]userid=$post[userid]" target="_blank">$vbphrase[view_public_profile]</a></td></tr>
    	</if>
    	<if condition="$show['pmlink']">
    		<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;userid=$post[userid]"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
    	</if>
    	<if condition="$show['emaillink']">
    		<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
    	</if>
    	<if condition="$show['homepage']">
    		<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
    	</if>
    	<if condition="$show['search']">
    		<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;userid=$post[userid]"><phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td></tr>
    	</if>
    	<if condition="$post['userid']">
    	<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
    	</if>
    	</table>
    </div>
    <!-- / post $post[postid] popup menu -->
    Any suggestions would be most appreciated. Thanks!

    --zannie
    Pssst... yah you!! I'm a girl. So please don't call me "Dude", "Man", or "Guy"
    http://www.mommietalk.com

  • #2
    They were moved into DHTML popup's if you want to re add them you can ask at vBulletintemplates.com

    Comment


    • #3
      Thanks
      Pssst... yah you!! I'm a girl. So please don't call me "Dude", "Man", or "Guy"
      http://www.mommietalk.com

      Comment


      • #4
        I am having this same problem. The code is there, and as far as I know I did not change anything to disable this feature. I've poked around in the cp, but don't see anything that catches my eye. What/where should I check? I followed zannie's issue to vBulletintemplates.com, but there she apparently realized the solution, but never posted it. All my other menus are working, but this one does not, so I'm hoping someone can tell me what I need to do. Thanks!

        <later that same hour>

        Silly me, I found it about two minutes after posting. I had somehow deleted this snippet:

        Code:
        <script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
        which goes in this section of the postbit template:


        Code:
        <tr>
        <if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>
        <td nowrap="nowrap">
         
        	<div id="postmenu_$post[postid]">
        	 <if condition="$show['profile']">
        	 <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
        	 $post[onlinestatus]
        	 [color=red][b]<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>[/b][/color]
        	 <else />
        	 $post[musername]
        	 </if>
        	</div>
         
        	<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
        	<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
         
        </td>
        </later that same hour>
        Last edited by cbiweb; Sat 24 Apr '04, 7:38pm.
        ~ Life isn't always fair, but you can be. ~

        Comment


        • #5
          Actually was working on this yesterday... is pretty simple. Just insert

          Code:
          [b][font=Arial][size=1][color=#0000ff][b][font=Arial][size=1]
          [/size][/font][font=Arial][size=1][color=#0000ff]<if condition=[/color][/size][/font][font=Arial][size=1][color=#008080]"$show['profile']"[/color][/size][/font][font=Arial][size=1][color=#0000ff]>
          
          [/color][/size][/font][font=Arial][size=1][/size][/font][font=Arial][size=1][color=#0000ff]<a href=[/color][/size][/font][font=Arial][size=1][color=#008080]"member.php?$session[sessionurl]userid=$post[userid]"[/color][/size][/font][font=Arial][size=1][color=#0000ff]><img class=[/color][/size][/font][font=Arial][size=1][color=#008080]"inlineimg"[/color][/size][/font][font=Arial][size=1][color=#0000ff] [/color][/size][/font][font=Arial][size=1]src="$stylevar[imgdir_button]/profile.gif" border="0" alt="[/size][/font][font=Arial][size=1][color=#0000ff]<phrase 1=[/color][/size][/font][font=Arial][size=1][color=#008080]"$post[username]"[/color][/size][/font][font=Arial][size=1][color=#0000ff]>[/color][/size][/font][font=Arial][size=1]$vbphrase[view_public_profile][/size][/font][font=Arial][size=1][color=#0000ff]</phrase>[/color][/size][/font][font=Arial][size=1]" /></a>
          
          [/size][/font][font=Arial][size=1][color=#ff0000][/color][/size][/font][font=Arial][size=1][color=#000000]</if>[/color]
          
          [/size][/font][font=Arial][size=1][/size][/font][font=Arial][size=1][color=#000000]<if condition="$show['emaillink']">[/color]
          
          [/size][/font][font=Arial][size=1][/size][/font][font=Arial][size=1][color=#000000]<a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]"><img class="inlineimg" src="$stylevar[imgdir_button]/email.gif" border="0" alt="[/color][/size][/font][font=Arial][size=1][color=#0000ff]<phrase 1=[/color][/size][/font][font=Arial][size=1][color=#008080]"$post[username]"[/color][/size][/font][font=Arial][size=1][color=#0000ff]>[/color][/size][/font][font=Arial][size=1][color=#000000]$vbphrase[send_email_to_x][/color][/size][/font][font=Arial][size=1][color=#0000ff]</phrase>[/color][/size][/font][font=Arial][size=1][color=#000000]" /></a>[/color]
          
          [/size][/font][font=Arial][size=1][/size][/font][font=Arial][size=1][color=#000000]</if>[/color]
          
          [/size][/font][font=Arial][size=1][/size][/font][font=Arial][size=1][color=#000000]<if condition="$show['homepage']">[/color]
          
          [/size][/font][font=Arial][size=1][/size][/font][font=Arial][size=1][color=#000000]<a href="$post[homepage]"><img class="inlineimg" src="$stylevar[imgdir_button]/home.gif" border="0" alt="[/color][/size][/font][font=Arial][size=1][color=#0000ff]<phrase 1=[/color][/size][/font][font=Arial][size=1][color=#008080]"$post[username]"[/color][/size][/font][font=Arial][size=1][color=#0000ff]>[/color][/size][/font][font=Arial][size=1][color=#000000]$vbphrase[visit_xs_homepage][/color][/size][/font][font=Arial][size=1][color=#0000ff]</phrase>[/color][/size][/font][font=Arial][size=1][color=#000000]" /></a>[/color]
          
          [/size][/font][font=Arial][size=1][/size][/font][font=Arial][size=1][color=#000000]</if>[/color]
          
          [/size][/font][font=Arial][size=1][/size][/font][font=Arial][size=1][color=#000000]<if condition="$show['search']">[/color]
          
          [/size][/font][font=Arial][size=1][/size][/font][font=Arial][size=1][color=#000000]<a href="search.php?$session[sessionurl]do=finduser&amp;userid=$post[userid]"><img class="inlineimg" src="$stylevar[imgdir_button]/find.gif" border="0" alt="[/color][/size][/font][font=Arial][size=1][color=#0000ff]<phrase 1=[/color][/size][/font][font=Arial][size=1][color=#008080]"$post[username]"[/color][/size][/font][font=Arial][size=1][color=#0000ff]>[/color][/size][/font][font=Arial][size=1][color=#000000]$vbphrase[find_more_posts_by_x][/color][/size][/font][font=Arial][size=1][color=#0000ff]</phrase>[/color][/size][/font][font=Arial][size=1][color=#000000]" /></a>[/color]
          
          [/size][/font][font=Arial][size=1][/size][/font][font=Arial][size=1][color=#000000]</if>[/color]
          
          [/size][/font][font=Arial][size=1][/size][/font][font=Arial][size=1][color=#000000]<if condition="$show['pmlink']">[/color]
          
          [/size][/font][font=Arial][size=1][/size][/font][font=Arial][size=1][color=#000000]<a href="private.php?$session[sessionurl]do=newpm&amp;userid=$post[userid]"><img class="inlineimg" src="$stylevar[imgdir_button]/sendpm.gif" border="0" alt="[/color][/size][/font][font=Arial][size=1][color=#0000ff]<phrase 1=[/color][/size][/font][font=Arial][size=1][color=#008080]"$post[username]"[/color][/size][/font][font=Arial][size=1][color=#0000ff]>[/color][/size][/font][font=Arial][size=1][color=#000000]$vbphrase[send_private_message_to_x][/color][/size][/font][font=Arial][size=1][color=#0000ff]</phrase>[/color][/size][/font][font=Arial][size=1][color=#000000]" /></a>[/color]
          
          [/size][/font][font=Arial][size=1][/size][/font][font=Arial][size=1][color=#000000]</if>[/color]
          
          [/size][/font][font=Arial][size=1][/size][/font][font=Arial][size=1][color=#000000]<if condition="$post['userid']">[/color]
          
          [/size][/font][font=Arial][size=1][/size][/font][font=Arial][size=1][color=#000000]<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><img class="inlineimg" src="$stylevar[imgdir_button]/buddy.gif" border="0" alt="[/color][/size][/font][font=Arial][size=1][color=#0000ff]<phrase 1=[/color][/size][/font][font=Arial][size=1][color=#008080]"$post[username]"[/color][/size][/font][font=Arial][size=1][color=#0000ff]>[/color][/size][/font][font=Arial][size=1][color=#000000]$vbphrase[add_x_to_buddy_list][/color][/size][/font][font=Arial][size=1][color=#0000ff]</phrase>[/color][/size][/font][font=Arial][size=1][color=#000000]" /></a>[/color]
          
          [/size][/font][font=Arial][size=1][/size][/font][font=Arial][size=1][color=#000000]</if>[/color][/size][/font][/b][font=Arial][size=1][/size][/font][/color][/size][/font][/b]
          Insert where you want the buttons. May want to change the order or some other things such as image names. Whatever.
          Joe
          ArcanumCafe.com

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...
          X