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-25-2006 10:44 PM

To update from Beta 1, simply replace all files and run the installer same way you did when installing it. You will be guided through the Upgrade process. You will need to manually point your browser to the Index file after each upgrade process, though. I think. XD

Ill see about that payment history, Im working on revamping the Headquarters for various features atm.

Otikeu 03-25-2006 11:03 PM

That's cool, thank you.

Another suggestion could be "forms" for a RPG character. Like a class of druid. However, I would assume that such will not be able (as it'll change their status depending on form) until v4... but would be pretty cool in that sense. I'm looking forward to the status system... where characters can be poisoned etc. That'll be awesome.

kevmaz 03-26-2006 07:44 AM

Hi when I go to Itemshop and click on inventory I get 404 error I have looked in all the downloaded files and there is not a inventory.php file anywhere. Other than that everything seem to be ok
Beta 5 I am using

mikeylikesitz 03-26-2006 11:41 AM

has this been updated to use vbplaza?

kevmaz 03-26-2006 04:05 PM

Hi
Yes I did have vbplaza but I uninstalled it and I have been through all the database and deleted all the referance to vbplaza, and deleted all the files from vbplaza
Kevin

Revan 03-26-2006 07:20 PM

Quote:

Originally Posted by kevmaz
Hi when I go to Itemshop and click on inventory I get 404 error I have looked in all the downloaded files and there is not a inventory.php file anywhere. Other than that everything seem to be ok
Beta 5 I am using

That feature is not yet complete, I've been meaning to add an empty file there.
Quote:

Originally Posted by mikeylikesitz
has this been updated to use vbplaza?

Edited first post, yes you can use that.

Freesteyelz 03-27-2006 10:25 PM

Hey, Revan. Congrats on a cool, featured hack. I'm testing it now. :)

I've ran into this error when clicking on the clan info either in the postbit and clan list:

Code:

Fatal error: Cannot instantiate non-existent class: vb_bbcodeparser in /../showclans.php on line 172
So I checked that line in the "showclans.php" file. I'd figured changing just "$parser" to "$bbcode_parser" to no avail. I tried several other adjustments such as removing the entire code bit (below) but it rendered the BB code unusable. No signature would show, only the image. So I did this:

Replaced:
Code:

        if ($clan['signature'])
        {
                /*
                        Signature parsed with default values:
                                HTML Off
                                BBCode On
                                Image Off
                */
                $parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
                $show['clansig'] = $parser->do_parse($clan['signature'], false, true, false);
        }
        else
        {
                // Boring clan without a sig
                $show['clansig'] = $vbphrase['rpg_na'];
        }

With:
Code:

        if ($clan['signature'])
        {
                /*
                        Signature parsed with default values:
                                HTML Off
                                BBCode On
                                Image Off
                */
                require_once(DIR . '/includes/class_bbcode.php');
                $bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
                $show['clansig'] = $bbcode_parser->do_parse($clan['signature'], false, true, false);
        }
        else
        {
                // Boring clan without a sig
                $show['clansig'] = $vbphrase['rpg_na'];
        }

That seemed to have resolved the issue. Now when I click the clan info in postbit and Clan List the link renders correctly. :)

The BB Codes don't work on my end but no biggie. I'll post back with update after more testing. :)

Freesteyelz 03-27-2006 11:15 PM

Quote:

Originally Posted by Revan
The regular postbit template (not _legacy) does not currently have any RPG data. The template edit is just there to cater to future needs.

I took the entire "rpg_postbit_legacy" template code and pasted it in the postbit template. All of the stats showed up. :)

Ziki 03-28-2006 08:59 AM

And anyway the plugin in the installer is corrupt.

Revan 03-29-2006 03:53 AM

Quote:

Originally Posted by Freesteyelz
Hey, Revan. Congrats on a cool, featured hack. I'm testing it now. :)

I've ran into this error when clicking on the clan info either in the postbit and clan list:

Code:

Fatal error: Cannot instantiate non-existent class: vb_bbcodeparser in /../showclans.php on line 172
So I checked that line in the "showclans.php" file. I'd figured changing just "$parser" to "$bbcode_parser" to no avail. I tried several other adjustments such as removing the entire code bit (below) but it rendered the BB code unusable. No signature would show, only the image. So I did this:

Replaced:
Code:

    if ($clan['signature'])
    {
        /*
            Signature parsed with default values:
                HTML Off
                BBCode On
                Image Off
        */
        $parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
        $show['clansig'] = $parser->do_parse($clan['signature'], false, true, false);
    }
    else
    {
        // Boring clan without a sig
        $show['clansig'] = $vbphrase['rpg_na'];
    }

With:
Code:

    if ($clan['signature'])
    {
        /*
            Signature parsed with default values:
                HTML Off
                BBCode On
                Image Off
        */
                require_once(DIR . '/includes/class_bbcode.php');
        $bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
        $show['clansig'] = $bbcode_parser->do_parse($clan['signature'], false, true, false);
    }
    else
    {
        // Boring clan without a sig
        $show['clansig'] = $vbphrase['rpg_na'];
    }

That seemed to have resolved the issue. Now when I click the clan info in postbit and Clan List the link renders correctly. :)

The BB Codes don't work on my end but no biggie. I'll post back with update after more testing. :)

Seems like I just missed the include() there, thanks for spotting thsi :)

@ZIKI: Proof? Errors?


All times are GMT. The time now is 11:02 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.01770 seconds
  • Memory Usage 1,759KB
  • 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
  • (6)bbcode_code_printable
  • (4)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