vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   RPG Integration Hack (https://vborg.vbsupport.ru/showthread.php?t=108790)

Revan 03-08-2006 08:36 AM

Quote:

Originally Posted by ZIKI-SET
Hey Revan when will be a new update?

Working on the Monster Arena these days, somewhat distracted at times but slowly moving forward. Some time before the end of the week I expect the MA to be ready.

Vizionz 03-08-2006 09:34 AM

very cool good work so far rev

ffevo 03-09-2006 12:29 AM

eh, that Money bug is happening on Cash Also, not Just bux. is ther a fix to that yet? Or is that gunna be in the next release?

Sinistra 03-09-2006 01:37 PM

Any way I can make the RPG navbar a dropdown menu for the main navbar. with the UserCP and all that stuff?

Replicators 03-09-2006 03:06 PM

First go into your plugin manager and disable "RPG Navbar Addon"

You need to edit the templates navbar (found in Navigation/Breadcrumb Templates).

Find:

Code:

<td class="vbmenu_control"><a href="faq.php?$session[sessionurl]" accesskey="5">$vbphrase[faq]</a></td>
Insert this after that:

Code:

<td id="rpg" class="vbmenu_control"><a href="#rpg">RPG</a> <script type="text/javascript"> vbmenu_register("rpg"); </script></td>
Find this:

Code:

<!-- / PAGENAV POPUP -->
</if>

Above add:

Code:

<!-- RPG menu -->
<div class="vbmenu_popup" id="rpg_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">RPG</td></tr>
<tr>
<td class="vbmenu_option"><a href="headquarters.php">Headquarters</a></td></tr>
<tr>
<td class="vbmenu_option"><a href="battle.php">Battle Arena</a></td></tr>
<tr>
<td class="vbmenu_option"><a href="monsterarena.php">Monster Arena</a></td></tr>
<tr>
<td class="vbmenu_option"><a href="itemshop.php">Itemshop</a></td></tr>
<tr>
<td class="vbmenu_option"><a href="heal.php">Healing Center</a></td></tr>
<tr>
<td class="vbmenu_option"><a href="clancp.php">Clan CP</a></td></tr>
<tr>
<td class="vbmenu_option"><a href="lottery.php">Lottery</a></td></tr>
</table>
</div>
<!-- RPG menu -->

This is Zidane007nl's code so i take no credit on it.

bubba1977 03-09-2006 03:51 PM

thanks.. that helped loads.

TosaInu 03-10-2006 01:27 PM

The RPG navbar doesn't show at all on our board. It's there in the plugins and it is activated. Shouldn't there be an edit in template navbar to activate it?

Sykoi 03-11-2006 12:13 AM

Just out of curiosity - is there an easy way to clear old data from 3.0.x RPG? As in, player data (Stored in the users table)

Revan 03-12-2006 09:33 AM

Quote:

Originally Posted by Sykoi
Just out of curiosity - is there an easy way to clear old data from 3.0.x RPG? As in, player data (Stored in the users table)

Not at the moment, no. In a later Beta, I plan to re-introduce the Reset RPG function which will do what you suggest thar.

Ziki 03-12-2006 07:20 PM

And Revan you could make a edit for navbar in a drop down menu instead of that the installer adds another navbar line...


All times are GMT. The time now is 07:35 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01254 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete