Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > RPG Integration Hack
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Non-Legacy postbit? Details »»
Non-Legacy postbit?
Version: , by Kingzor Kingzor is offline
Developer Last Online: Mar 2017 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 09-01-2005 Last Update: Never Installs: 0
 
No support by the author.

Would it be possible, to just get the dhtml drop down instead of the left bar?As of now my forums arnt useing legacy mode, and it would just be alot neater if it would show there rpgname, image of there char and then have a button for the dropdown menu.(Only reason is that alot of users complained that they didn't like the postbit legacy in the old forums.)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 09-03-2005, 04:18 AM
Kingzor's Avatar
Kingzor Kingzor is offline
 
Join Date: Aug 2005
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well since nonone helped i went along for a few hours (7) and finally came up with something that worked.if anyone wants me to post it, ask and ill do it.
Reply With Quote
  #3  
Old 11-02-2005, 01:02 PM
Killmark Killmark is offline
 
Join Date: Dec 2002
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sure yes I would!
Reply With Quote
  #4  
Old 11-02-2005, 05:11 PM
Kingzor's Avatar
Kingzor Kingzor is offline
 
Join Date: Aug 2005
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PHP Code:
<!-- START LEFT RPG POSTBIT BAR -->
<
br />
<
a href="javascript:void(window.open('rpg.php?userid=$post[userid]', '', 'toolbar=no,scrollbars=no,resizable=no,width=300,height=300'));">View Extended RPG Stats</a
<
br />
<if 
condition="$bbuserinfo[rpgstats] == 0">
<
div id="rpgpostmenu_$post[postid]">&nbsp;<b>RPG stats</b>
  <
script type="text/javascript"vbmenu_register("rpgpostmenu_$post[postid]"true); </script>
</
div>
<
div class="vbmenu_popup" id="rpgpostmenu_$post[postid]_menu" style="display:none">
<
table cellpadding="4" cellspacing="1" border="0">
        <
tr>
          <
td class="thead"><b>RPG Character Stats</b></td>
        </
tr>
        <
tr>
          <
td class="alt2"$rpgclass3 <b>Name</b>: $rpname<br />
            <
b>Clan</b>: $showuserclan<br />
            <
b>Level</b>: $showlevel<br />
            <
b>Alignment</b>: $rpgalign<br />
            <
b>Race</b>: $rpgrace<br />
            <
b>Class</b>: $rpgclass2<br />
            <
br />
            
HP$post[uhp]/$post[maxhp] <br />
            <
table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000">
              <
tr>
                <
td><img src="images/bar/bhg.gif" width="$hpbar%" height="9" alt="HP" /></td>
              </
tr>
            </
table>
            
MA$post[uma]/$post[maxma] <br />
            <
table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000">
              <
tr>
                <
td><img src="images/bar/bxg.gif" width="$mabar%" height="9" alt="MP" /></td>
              </
tr>
            </
table>
            
PP$post[upp]/$post[maxpp] <br />
            <
table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000">
              <
tr>
                <
td><img src="images/bar/bhb.gif" width="$ppbar%" height="9" alt="PP" /></td>
              </
tr>
            </
table>
            
Limit$post[uap]%<br />
            <
table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000">
              <
tr>
                <
td><img src="images/bar/bmb.gif" width="$apbar%" height="9" alt="Limit" /></td>
              </
tr>
            </
table>
            
Exp$epTotal$post[xp]
            <
table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000">
              <
tr>
                <
td><img src="images/bar/bmg.gif" width="$ep%" height="9" alt="EXP" /><img src="images/bar/bxb.gif" width="1" height="9" alt="EXP" /></td>
              </
tr>
            </
table>
            
$rpgstatus<br />
            
$inbattle<br />
$post[battles]:$post[wins]-$post[losses]-$post[draws]-$post[retreats]<br />
          </
td>
        </
tr>
        <
tr>
          <
td class="thead"><b>Stock Items</b></td>
        </
tr>
        <
tr>
            <
td class="alt2">$post[items]</td>
        </
tr>
    <
tr>
      <
td class="thead"><b>&nbsp$vboptions[rpg_currency]</b></td>
    </
tr>
    <
tr>
      <
td class="alt2"><if condition="$bbuserinfo['usergroupid'] == '6'"><a href="ushop.php?do=a&amp;shortname=admindonate&amp;userid=$post[userid]target="_blank">$vbphrase[ucs_points]</a><else />$vbphrase[ucs_points]</if>: $points (<a href="ushop.php?do=a&amp;shortname=donate&amp;userid=$post[userid]target="_blank">Donate</a>)</td>
    </
tr>
  </
table>
</
div>
<
br />
</if>
<if 
condition="$bbuserinfo[rpgstats] == 1">
<
table width="100%" align="right" border="0" cellspacing="1" cellpadding="0">
  <
tr>
    <
td></td>
  </
tr>
  <
tr>
    <
td>&nbsp;<bRPG stats</b></td>
  </
tr>
  <
tr>
    <
td$rpgclass3 RPG name$rpname<br />
      
Clan$showuserclan<br />
      
Level$showlevel<br />
      
Alignment$rpgalign<br />
      
Race$rpgrace<br />
      <
br />
      
HP$post[uhp]/$post[maxhp] <br />
      <
table width="100" border="1" cellspacing="0" cellpadding="0" style="border-color:#000000">
        <
tr>
          <
td><img src="images/style/bar/bhg.gif" width="$hpbar%" height="9" alt="HP" /></td>
        </
tr>
      </
table>
      
MA$post[uma]/$post[maxma] <br />
      <
table width="100" border="1" cellspacing="0" cellpadding="0" style="border-color:#000000">
        <
tr>
          <
td><img src="images/style/bar/bxg.gif" width="$mabar%" height="9" alt="MP" /></td>
        </
tr>
      </
table>
      
PP$post[upp]/$post[maxpp] <br />
      <
table width="100" border="1" cellspacing="0" cellpadding="0" style="border-color:#000000">
        <
tr>
          <
td><img src="images/style/bar/bhb.gif" width="$ppbar%" height="9" alt="PP" /></td>
        </
tr>
      </
table>
      
Limit$post[uap]%<br />
      <
table width="100" border="1" cellspacing="0" cellpadding="0" style="border-color:#000000">
        <
tr>
          <
td><img src="images/style/bar/bmb.gif" width="$apbar%" height="9" alt="Limit" /></td>
        </
tr>
      </
table>
      
Exp$epTotal$post[xp]
      <
table width="100" border="1" cellspacing="0" cellpadding="0" style="border-color:#000000">
        <
tr>
          <
td><img src="images/style/bar/bmg.gif" width="$ep%" height="9" alt="EXP" /><img src="images/bar/bxb.gif" width="1" height="9" alt="EXP" /></td>
        </
tr>
      </
table>
      
$rpgstatus<br />
      
$inbattle<br />
      
$post[battles]:$post[wins]-$post[losses]-$post[draws]-$post[retreats]<br />
    </
td>
  </
tr>
  <
tr>
    <
td><b>&nbspStock Items</b></td>
  </
tr>
  <
tr>
    <
td>&nbsp;$post[items]</td>
  </
tr>
  <
tr>
    <
td><b>&nbsp$vboptions[rpg_currency]</b></td>
  </
tr>
  <
tr>
    <
td>&nbsp; <if condition="$bbuserinfo['usergroupid'] == '6'"><a href="ushop.php?do=a&amp;shortname=admindonate&amp;userid=$post[userid]target="_blank">$vbphrase[ucs_points]</a><else />$vbphrase[ucs_points]</if>: $points (<a href="ushop.php?do=a&amp;shortname=donate&amp;userid=$post[userid]target="_blank">Donate</a>)</td>
  </
tr>
</
table>
</if>
<!-- 
END LEFT RPG POSTBIT BAR --> 
follow normal instructions, but use this instead, i cant rember 100% what i changed, but it gets the job done.
Reply With Quote
  #5  
Old 11-02-2005, 05:53 PM
Killmark Killmark is offline
 
Join Date: Dec 2002
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

excellent thanks!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:33 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04390 seconds
  • Memory Usage 2,348KB
  • Queries Executed 18 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete