vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   RPG Integration Hack (https://vborg.vbsupport.ru/forumdisplay.php?f=102)
-   -   RPG Integration Hack - Old Support Thread (https://vborg.vbsupport.ru/showthread.php?t=73868)

X-Sector 11-26-2004 11:25 PM

Ok, Thank you.. I just installed uCS hack on our forum and installed your RPG hack

But when l go to any threads on my forum, I get this error:

Fatal error: Call to undefined function: getlevel() in /home/xelation/public_html/forums/includes/functions_showthread.php on line 576

The 576 line is- :

Code:

$level = getlevel($post['xp'], $post['exprate'], 1);
When l go to my rpg.php page, I get this error:

Fatal error: Call to undefined function: getlevel() in /home/xelation/public_html/forums/rpg.php on line 167

Any idea?

GamerJunk.net 11-27-2004 12:20 AM

Uninstalling it and re-installing it fixes everything.

X-Sector 11-27-2004 12:38 AM

Quote:

Originally Posted by RasMasta
Uninstalling it and re-installing it fixes everything.

Doesn't work for me :(

Revan 11-27-2004 10:21 AM

Open the install instructions, and search for this (without the quotes): "function getlevel("
Then notice which file edit this is referring to, and perform this file edit.

The Avatar 12-01-2004 06:32 AM

Hi there, Im still a newbie at this, Ive only just installed my first successfully Hack(the UShop & UCash hack), And I have just tried to install this RPG hack. I had some errors while installing it, but I fixed them. Now I have the Rpgoptions appear in my navbar, but when I click on any of the items it goes to a blank page.

Im also wondering if maybe I installed the images into the wrong folder. I installed them under /images. Did I have to install them under the /scstypes folder?

I did look through the other post first, but I did not see anything helpful. But then again I may have missed something as there was over 50 pages I went through.

Revan 12-02-2004 02:09 PM

The images should all be placed under the /images, because it is style independant.
And blank pages is most likely due to you not importing the templates as per the install instructions.

Cassidy 12-02-2004 05:49 PM

Revan. You've forgotton to put the code in for the background midi in the battle template ^^;

The Avatar 12-02-2004 11:54 PM

Quote:

Originally Posted by Revan
The images should all be placed under the /images, because it is style independant.
And blank pages is most likely due to you not importing the templates as per the install instructions.

I did import the templates.

I will try it again, as I may have stuffed it up somehow (just in case) But I did everything exactly as was listed in the instructions.

Okay, I will go and try to import the templates again and see if it helps.

EDIT: Ive just uploaded the templates again, and it works! This is weird because I remember doing it for all my styles. I think I may know what went wrong: last time i did it the upload on last for an instant (maybe the file did not upload fully) and this time the upload took a bit longer.

Okay, thankyou very much for the assistance. I hope I wasnt too much of a pain. I just needed some ideas for where the problem may have been. Once again great hack! I love your work, and I cant wait for future releases/add-ons

PS: I there anyway I can donate some cash to you through paypal or such? I dont think I can give much, but $20AU is better then nothing I supose :D

T9X 12-03-2004 02:22 AM

I installed this hack on my board and when i view rpg.php it is showing up blank, maybe a template problem?

The Avatar 12-03-2004 11:16 AM

Quote:

Originally Posted by T9X
I installed this hack on my board and when i view rpg.php it is showing up blank, maybe a template problem?

Try to re-load all the template file (170kb) for every style on your board. Thats what fixed the problem for me.


All times are GMT. The time now is 05:52 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.01737 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
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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