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

Closed Thread
 
Thread Tools
RPG Integration Hack - Old Support Thread Details »»
RPG Integration Hack - Old Support Thread
Version: , by MindTrix MindTrix is offline
Developer Last Online: Jul 2013 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 08-17-2004 Last Update: Never Installs: 0
 
No support by the author.

Nice conversion there mate, lot of work has gone into it so well done and thanks for sharing it

Show Your Support

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

Comments
  #812  
Old 12-22-2004, 11:02 PM
Creed's Avatar
Creed Creed is offline
 
Join Date: May 2002
Location: The Matrix
Posts: 281
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thats my problem, its only giving that amount of EXP per NEW THREAD. Its not giving any exp for a reply. I have a character with 195 exp, when I reply to other people's threads I get 0 exp. When I create a new thread of my own, I get 5exp. Any ideas?
  #813  
Old 12-23-2004, 10:41 AM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you are sure you set the points per reply prop, then you have found a "bug" that only affects your forum outta the 200+ users that downloaded this
In other words, no clue what to do :P
  #814  
Old 12-23-2004, 04:47 PM
Creed's Avatar
Creed Creed is offline
 
Join Date: May 2002
Location: The Matrix
Posts: 281
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Honestly I'm leaning toward it being a file edit that I have done wrong somewhere. I don't believe its a 'bug' I believe that this is something I've done. I was just looking for some input on what you guys think that I may have missed or messed up. I would be happy to take suggestions, as opposed to looking over all of the file edits 1 by 1. So, if you have any thoughts on where this might be, I'm all ears.
  #815  
Old 12-24-2004, 04:19 AM
boydekort boydekort is offline
 
Join Date: Jun 2003
Location: geleen nl
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi I been told by transverse styles to come to here for help.

my problem is in navbar transverse works with some different code as in vbb default .

you have your code for the navbar addon but transverse uses this one:

Code:
if condition="$show['registerbutton']">
  <td class="vbmenu_control"><a href="register.php?$session[sessionurl]">$vbphrase[register]</a></td>
 </if>
now i tried changing this code so it could fit but it gave me parse errors in admin_functions.php because well it's logic it can't find the code for it.

So now I would like some help with this and hope someone can because this sucks

thanks in advance.

Ts reply:

Quote:
Originally Posted by TS
Transverse Styles Yesterday, 03:49 PM Post #2


President & CEO


Group: Admin
Posts: 324
Joined: 14-May 04
Member No.: 1



Hi depax,

If you want to do that, you should ask the RPG modification author.

I haven't tampered with any of the JavaScript menus, so I am unsure why it will not work.

Did this work in the default style at all?


--------------------

Transverse Styles President & CEO
IPB, vB, phpBB Coder & Graphics Guru
He makes very good styleset just wish they where a bit easier to work on but his real profession is the ivb sets so I can't blame him for not knowing it all.
  #816  
Old 12-24-2004, 07:15 PM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I assume you tried to install the dropdown version of the navbar addons.
Well see I didn't make that, so I dont know why it wont work... sorry.
You can try installing the other one, that uses no jscript.
  #817  
Old 12-25-2004, 04:17 PM
Creed's Avatar
Creed Creed is offline
 
Join Date: May 2002
Location: The Matrix
Posts: 281
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BTW, I did find out what was wrong. In the new reply file edit in the instructions:
Code:
#####################################
pick open newreply.php
#####################################


#########
find
#########

		// fetch the quoted post title
		$_POST['title'] = fetch_quote_title($postinfo['title'], $threadinfo['title']);
	}
That line is there twice, I had the edited code in the wrong place. Working fine now
  #818  
Old 12-26-2004, 09:07 PM
givemeplain givemeplain is offline
 
Join Date: Dec 2004
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed both navigations (drop down, and seperate bar) and the links dont work. I get this error

Code:
Database error in vBulletin 3.0.3:

Invalid SQL: 
		SELECT
			user.userid,
			user.username,
			user.rpgclass,
			user.element,
			user.rpgrace,
			user.rpgtype AS rpgtype,
			user.alignment,
			user.rpggender,
			user.posts,
			user.maxhp,
			user.maxma,
			user.maxpp,
			user.inbattle,
			user.xp,
			user.ma AS uma,
			user.hp AS uhp,
			user.pp AS upp,
			user.ap AS uap,
			user.uttpoints AS money,
			rpg_battle_options.namefield AS namefield, 
			userfield.*,
			rpg_battle_options.exprate,
			rpg_battle_options.privacy AS battleprivacy,
			rpg_items_user.*,
			rpg_battle_stats.*,
			rpg_rpg_race.name AS rpgracename,
			rpg_rpg_race.alignment AS rpgalignmentname,
			rpg_rpg_classf.name AS fclassname,
			rpg_rpg_classf.folder AS fclassfolder,
			rpg_rpg_classm.name AS mclassname,
			rpg_rpg_classm.folder AS mclassfolder,
			rpg_rpg_element.name AS elename
		FROM rpg_battle_options
			LEFT JOIN user ON user.userid=1
			LEFT JOIN userfield ON userfield.userid=user.userid   
			LEFT JOIN rpg_items_user ON rpg_items_user.userid=user.userid
			LEFT JOIN rpg_battle_stats ON rpg_battle_stats.userid=user.userid
			LEFT JOIN rpg_rpg_classf ON rpg_rpg_classf.id=user.rpgclass
			LEFT JOIN rpg_rpg_classm ON rpg_rpg_classm.id=user.rpgclass
			LEFT JOIN rpg_rpg_element ON rpg_rpg_element.elementid=user.element
			LEFT JOIN rpg_rpg_race ON rpg_rpg_race.raceid=user.rpgrace AND rpg_rpg_race.alignmentid=user.alignment
	
mysql error: Unknown column 'user.uttpoints' in 'field list'

mysql error number: 1054

Date: Sunday 26th of December 2004 06:06:01 PM
Script: http://www.shiburaonline.com/rpgcp.php?
Referer: http://www.shiburaonline.com/index.php?
Username: givemeplain
IP Address: 67.123.84.48
Thanks!

oh, and also I'm really new at this. Do I just download the two images.zips and upload them to my image folder in vbulletin? Thanks
  #819  
Old 12-26-2004, 09:13 PM
Creed's Avatar
Creed Creed is offline
 
Join Date: May 2002
Location: The Matrix
Posts: 281
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by boydekort
Hi I been told by transverse styles to come to here for help.

my problem is in navbar transverse works with some different code as in vbb default .

you have your code for the navbar addon but transverse uses this one:

Code:
if condition="$show['registerbutton']">
  <td class="vbmenu_control"><a href="register.php?$session[sessionurl]">$vbphrase[register]</a></td>
 </if>
now i tried changing this code so it could fit but it gave me parse errors in admin_functions.php because well it's logic it can't find the code for it.

So now I would like some help with this and hope someone can because this sucks

thanks in advance.

Ts reply:



He makes very good styleset just wish they where a bit easier to work on but his real profession is the ivb sets so I can't blame him for not knowing it all.

Code:
###################
# NAVBAR template #
###################

Find:
--------------------------------

<td class="vbmenu_control"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td> 


Above add:
---------------------------------

<if condition="$show['member']">
<td class="vbmenu_control" id="rpg"><a href="#rpg">RPG</a> <script type="text/javascript"> vbmenu_register("rpg"); </script></td>
</if> 


Find:
--------------------------------
<!-- / NAVBAR POPUP MENUS --> 



Above add:
---------------------------------

<if condition="$show['member']">
    <!-- 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="rpgcp.php">RPG Main</a></td></tr>
        <tr><td class="vbmenu_option"><a href="battle.php">Battle Arena</a></td></tr>
        <tr><td class="vbmenu_option"><a href="itemshop.php">Itemshop</a></td></tr>
        <tr><td class="vbmenu_option"><a href="profile.php?do=updaterpg">Edit Your Character</a></td></tr>
<tr><td class="vbmenu_option"><a href="heal.php">Healing Center</a></td></tr>
<tr><td class="vbmenu_option"><a href="battle.php?action=showbattlestats">RPG Top 10</a></td></tr>
<tr><td class="vbmenu_option"><a href="battle.php?action=showuserstats">Check Your Stats</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 -->
    </if> 

#################
Done.
Did you try that one, it is working absolutely fine for me! Note that the last edit section is at the extreme end of your NAVBAR template. If you're placing it above the
Code:
<!-- NAVBAR POPUP MENUS -->
then that would be your problem.
  #820  
Old 12-26-2004, 09:21 PM
givemeplain givemeplain is offline
 
Join Date: Dec 2004
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for quick reply, but I don't think that is the problem

see http://www.shiburaonline.com/index.php?

the nav looks like it works fine, but when you click on one of the links it gives the mysql error. not sure what's wrong =(!
  #821  
Old 12-26-2004, 09:27 PM
Creed's Avatar
Creed Creed is offline
 
Join Date: May 2002
Location: The Matrix
Posts: 281
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You should try rerunning the installer, if you haven't already. It seems that it delted the tables, but didn't recreate them.
Closed Thread


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 03:24 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.04693 seconds
  • Memory Usage 2,336KB
  • Queries Executed 26 (?)
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
  • (6)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete