View Single Post
  #114  
Old 11-17-2010, 04:12 PM
yahooooh yahooooh is offline
 
Join Date: Nov 2009
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hello
i was using v3arcade v 1.0.8 as subdomain with little change that i did in the file arcade.php
and i put the arcade in subdomain and use for more than one year

but now after i upgrade vb4 and v3arcade i use the same manner and the file will be work but the links of the games still show the links ad main domain

what i did :

just open this arcade.php
and look for :
PHP Code:
    'userinfosearch' => array(
        
'v3arcade_miniuserinfo'
    
)
); 
then add :
PHP Code:
  require_once('./dyna_config.php');

chdir($forumpath); 
after that make file :
dyna_config.php
with those code:
PHP Code:
<?php

error_reporting
(E_ALL & ~E_NOTICE);
define('NO_REGISTER_GLOBALS'1);

// ============================================
// Enter the full path to your forum here
// Example: /home/yoursite/public_html/forum
// ============================================

$forumpath '/home/user99/public_html';

?>
after you write the coorect forum info it will work on the subdomain
the same way change all files that related to arcade on the level of the forum but put them on the subdomain
also you can fix the score submits with the same manner

this was work on the 1.0.8

but now it still show links of the games ,categories and others as from the main domain
for example
forum on :
http://www.site.com
the usual arcade url was :
http://www.site.com/arcade.php

after i did the changes
it will be :
http://games.site.com/arcade.php
but when i visit the links inside still show the main domain ,ex:
http://www.site.com/arcade.php?do=play&gameid=5171
and also all links for categories and others

i try to change the arcade url in style by replacement of :
<a href="arcade.php?{vb:raw session.sessionurl}
to
<a href="http://games.site.com/arcade.php?{vb:raw session.sessionurl}

but the result will be all links show :
http://www.site.com/games.site.com/arcade.php
and so on


how to fix this
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01814 seconds
  • Memory Usage 1,778KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_php
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete