vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   RPG Integration Hack /w Battle (BETA) (https://vborg.vbsupport.ru/showthread.php?t=46417)

Boh 09-08-2003 05:42 PM

Quote:

Today at 07:41 AM Bitsys said this in Post #2251
Boh, it is against the rules to post a vb file like that.

When I said "send it to me", I was referring to a PM.

It's much too long to send by PM..

Boh 09-08-2003 09:37 PM

BIG problem

Error 1:
There seems to have been a slight problem with the Chamber of Sages database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.



There seems to have been a slight problem with the Chamber of Sages database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

Error 2:

There seems to have been a slight problem with the Chamber of Sages database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

The Heros Legend: I go to User CP from home page
The Heros Legend: that's fine
The Heros Legend: I go to Update Profile
The Heros Legend: that's fine
The Heros Legend: I insert a url tag into my signature
The Heros Legend: and that's all I do
The Heros Legend: I click submit
The Heros Legend: I get that first error I sent you
The Heros Legend: I click back and click submit again
The Heros Legend: I get the second error I sent you
The Heros Legend: I click back and try it again
The Heros Legend: and it asks me to login
The Heros Legend: so I do
The Heros Legend: but then it tells me
The Heros Legend: Invalid username. Please press the back button, enter the correct username and try again.
The Heros Legend: I try to login over and over
The Heros Legend: no good
The Heros Legend: so I ask Chaos Sage to check it out for me
The Heros Legend: not in the memberlist, and the profile doesn't exist

Ok.... now what???

chrisz 09-09-2003 07:40 AM

Yo bitsys long time no talk.
What code would I have to add to make it so only certain usergroups can visit the rpg pages, Note this is for all rpg pages, so itemshop battle ect.
And where do i put the code.
Cheers mate

tnguy3n 09-09-2003 11:00 AM

Quote:

Yesterday at 03:15 AM sh-demon said this in Post #2247
Works fine for me on 2.3.2 of course bitsys did help me out alot with some of my problems.
:cool: I just installed it, and it seems to work fine on my vb 2.3.2 board; however, my battle template looks a little weird.
Also, my lessane store hack was gone!! :ogre:

Red Blaze 09-09-2003 04:14 PM

I tried installing it on 2.3.2 and messed up the showthreads. I'm going back to 2.2.9 and staying there. >_>;

legendarysk8er 09-09-2003 08:43 PM

You know what would be cool? If you could purchase like HP, MA, and PP in the itemshop.

Red Blaze 09-11-2003 04:18 PM

Ok, I guess it wasn't the different versions of Vb software. I got the same problems. You see, in forum display, the links show up. I click on the links (to the thread) and the postbits don't show up. Now go back to the forum display, I click on the little icon that goes to the last post. The post bit does show up BUT only the last post. Now in the post bit it puts me up as guest.

Any ideas?

Bitsys 09-11-2003 06:20 PM

Quote:

Originally Posted by Telchar
Having a little problem with donation when viewing the profile.


The popup works fine, it's just when i click donate, don't matter if it's Anonymous Donation or not, i get that error..

In the 'rpgcp' template, find:
PHP Code:

$post[userid

and chage it to:
PHP Code:

$userid 

Quote:

Originally Posted by Boh
It's much too long to send by PM..

Since we aren't supposed to be sending vb files to each other any more via PM, I will be posting the solution for you to try ina few minutes. Look for my next post below this one.

Quote:

Originally Posted by Boh
BIG problem

Error 1:
There seems to have been a slight problem with the Chamber of Sages database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.



There seems to have been a slight problem with the Chamber of Sages database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

Error 2:

There seems to have been a slight problem with the Chamber of Sages database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

The Heros Legend: I go to User CP from home page
The Heros Legend: that's fine
The Heros Legend: I go to Update Profile
The Heros Legend: that's fine
The Heros Legend: I insert a url tag into my signature
The Heros Legend: and that's all I do
The Heros Legend: I click submit
The Heros Legend: I get that first error I sent you
The Heros Legend: I click back and click submit again
The Heros Legend: I get the second error I sent you
The Heros Legend: I click back and try it again
The Heros Legend: and it asks me to login
The Heros Legend: so I do
The Heros Legend: but then it tells me
The Heros Legend: Invalid username. Please press the back button, enter the correct username and try again.
The Heros Legend: I try to login over and over
The Heros Legend: no good
The Heros Legend: so I ask Chaos Sage to check it out for me
The Heros Legend: not in the memberlist, and the profile doesn't exist



Ok.... now what???

Can you send me the error report? I need to know what the error actually was. The error report is usually sent to the admin's e-mail.

Quote:

Originally Posted by chrisz
Yo bitsys long time no talk.
What code would I have to add to make it so only certain usergroups can visit the rpg pages, Note this is for all rpg pages, so itemshop battle ect.
And where do i put the code.
Cheers mate

In heal.php, battle.php, battlefight.php, and itemshop.php, find something like:
PHP Code:

If ($bbuserinfo[userid] != && $bbuserinfo[usergroupid] != && $bbuserinfo[usergroupid] != && $bbuserinfo[usergroupid] != 1){ 

All you have to do is add:
PHP Code:

&& $bbuserinfo[usergroupid] != 

with X being the usergroup ID.

Quote:

Originally Posted by tnguy3n
:cool: I just installed it, and it seems to work fine on my vb 2.3.2 board; however, my battle template looks a little weird.
Also, my lessane store hack was gone too!! :ogre:

here's da site ... http://www.all4actions.com

How does it look weird? What do you mean by the store hack being gone? Is all of it gone? Part of it? Which parts?

Quote:

Originally Posted by Sonikku
I tried installing it on 2.3.2 and messed up the showthreads. I'm going back to 2.2.9 and staying there. >_>;

See my next post below this one.

Quote:

Originally Posted by legendarysk8er
You know what would be cool? If you could purchase like HP, MA, and PP in the itemshop.

If I had any confidence in the security of the monetary system, then that would be cool :)

Quote:

Originally Posted by Sonikku
Ok, I guess it wasn't the different versions of Vb software. I got the same problems. You see, in forum display, the links show up. I click on the links (to the thread) and the postbits don't show up. Now go back to the forum display, I click on the little icon that goes to the last post. The post bit does show up BUT only the last post. Now in the post bit it puts me up as guest.

Any ideas?

See my next post below this one.

Bitsys 09-11-2003 06:22 PM

See if you are experiencing one of the following symptoms:
  • All of my users are being labeled as "Guest" in the postbit template.
  • No posts are showing up.
  • None of the RPG variables will display in the postbit. The element/gender/class images are broken.
  • I get database errors when I go to showthread.php

If you are experiencing one or more of the above problems, then your showthread.php file was not edited correctly by the installer. This problem usually occurs on boards with other hacks installed that modify the queries in showthread.php. Please do the following:

In showthread.php, find the following code 2 times:
PHP Code:

attachment.attachmentid,attachment.filename,attachment.visible AS attachmentvisible,attachment.counter 

and AFTER it, add the following (ONLY IF IT IS NOT THERE ALREADY):
PHP Code:

,
user.ma AS uma,user.hp AS uhp,user.pp AS upp,user.ap AS uap,items_options.pointfield,items_options.lesanestore,battle_options.namefield,battle_options.exprate,battle_options.privacy AS battleprivacy,items_user.*,battle_stats.*,rpg_race.name AS rpgracename,rpg_race.alignment AS rpgalignmentname,rpg_classf.name AS fclassname,
        
rpg_classf.folder AS fclassfolder,rpg_classm.name AS mclassname,rpg_classm.folder AS mclassfolder,rpg_element.name AS elename 

(Yes, the comma at the very top is there on purpose. Do not forget to place the comma in showthread.php or else you will get database errors.)

In showthread.php, find the following code 2 times:
PHP Code:

FROM post
".iif($forum[allowicons],'LEFT JOIN icon ON icon.iconid=post.iconid','')." 

and CHANGE it to the following (ONLY IF IT DOES NOT LOOK LIKE THIS ALREADY):
PHP Code:

FROM postbattle_optionsitems_options
".iif($forum[allowicons],'LEFT JOIN icon ON icon.iconid=post.iconid','')." 

In showthread.php, find the following code 2 times:
PHP Code:

LEFT JOIN userfield ON userfield.userid=user.userid 

and BELOW it, add the following (ONLY IF IT DOES NOT LOOK LIKE THIS ALREADY):
PHP Code:

LEFT JOIN items_user ON items_user.userid=user.userid
LEFT JOIN battle_stats ON battle_stats
.userid=user.userid
LEFT JOIN rpg_classf ON rpg_classf
.id=user.rpgclass
LEFT JOIN rpg_classm ON rpg_classm
.id=user.rpgclass
LEFT JOIN rpg_element ON rpg_element
.elementid=user.element
LEFT JOIN rpg_race ON rpg_race
.raceid=user.rpgrace AND rpg_race.alignmentid=user.alignment 

Do not forget to do ALL of the above edits 2 times!

After doing all of this, run DB Fix.

If all of the code is there, then you may have a different problem. However, doing the above edits will rectify problems in 95% of the cases.

Boh 09-11-2003 10:53 PM

Nope that didn't work bah :(

As far as the other problem... I've had so many in the last while that I'll let it be until it happens again...

Any other ideas... it's not just the images not showing up, its also the stats and money and crap

EDIT: the file edits weren't there
EDIT: the gender images have always worked


All times are GMT. The time now is 09:25 AM.

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.03441 seconds
  • Memory Usage 1,812KB
  • 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
  • (10)bbcode_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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