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

Reply
 
Thread Tools
CMPS on main domain ? Details »»
CMPS on main domain ?
Version: , by radarhunter radarhunter is offline
Developer Last Online: Nov 2008 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 10-29-2006 Last Update: Never Installs: 0
 
No support by the author.

I want to install this on it's own domain. I have my cmps at:

www.stepheniansonline.com/forum/home.php

And forums at :

www.stepheniansonline.com/forum/index.php


I want the cmps to be on the domain like when someone opens the site it should come on the main domain i.e. : www.stepheniansonline.com

Can anyone guide me on how to do that

Thanks in advance!

Mike

Show Your Support

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

Comments
  #2  
Old 11-21-2006, 03:39 AM
il-logical il-logical is offline
 
Join Date: Oct 2006
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would like to know the same thing.
Reply With Quote
  #3  
Old 12-09-2006, 06:43 PM
touba touba is offline
 
Join Date: Nov 2006
Location: Cannes (FR)
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you put your cmps_index.php at the root of your www folder in your ftp server

i'm french, maybe i didn't understood the question...
Reply With Quote
  #4  
Old 12-10-2006, 12:13 AM
KW802's Avatar
KW802 KW802 is offline
 
Join Date: Jul 2003
Location: A galaxy far, far away...
Posts: 1,450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by touba View Post
you put your cmps_index.php at the root of your www folder in your ftp server...
... and then rename it from cmps_index.php to index.php (or whatever else your server recognizes as the default file index). Just make sure that you modified your cmps_index.php file to have the correct path in it to your forums.
Reply With Quote
  #5  
Old 12-11-2006, 11:20 PM
vectra-c.com vectra-c.com is offline
 
Join Date: Dec 2005
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm trying to do the same, and I've now got a renamed cmps_index.php file in my root folder (now called index.php) and still have the default vBulletin index.php in the /forum folder - but when I go to www.mydomain - which now starts off the cmps file, I get these error messages. Is there some other twiddling I need to do?

The error is....

Warning: main(/xxxxxx/public_html/includes/init.php) [function.main]: failed to open stream: No such file or directory in /xxxxxx/public_html/forum/global.php on line 20

Fatal error: main() [function.require]: Failed opening required '/xxxxxx/public_html/includes/init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /xxxxxx/public_html/forum/global.php on line 20
Reply With Quote
  #6  
Old 12-12-2006, 11:36 PM
vectra-c.com vectra-c.com is offline
 
Join Date: Dec 2005
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone?
Reply With Quote
  #7  
Old 12-14-2006, 03:59 PM
vectra-c.com vectra-c.com is offline
 
Join Date: Dec 2005
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a fundamental reason why I can't have the cmps_index.php (renamed to index.php) in the root directory and yet still have the default VBulletin index.php (and all other files) in the /forum directory?

Initially I get this error message if I have the cmps_index.php file in the root directory...

Warning: main(./includes/vba_cmps_include_template.php) [function.main]: failed to open stream: No such file or directory in /xxxxxx/public_html/index.php on line 44

Fatal error: main() [function.require]: Failed opening required './includes/vba_cmps_include_template.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /xxxxxx/public_html/index.php on line 44

Where line 44 and 45 are

require_once('./includes/vba_cmps_include_template.php');
require_once('./global.php');

The obvious reason for the error is that it's not looking in the /forum folder for those files - so if I add /forum to those lines I then get the error I had in post #5...

Warning: main(/xxxxxx/public_html/includes/init.php) [function.main]: failed to open stream: No such file or directory in /xxxxxx/public_html/forum/global.php on line 20

Fatal error: main() [function.require]: Failed opening required '/xxxxxx/public_html/includes/init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /xxxxxx/public_html/forum/global.php on line 20

where line 20 is

require_once(CWD . '/includes/init.php');

Is it just not possible to get it to work if you have the cmps_index.php and VBulletin index.php files in different folders? If it is possible, am I missing a setting? What exactly should I have typed into the CMPS CP for the CMPS URL?

Thanks for any help.
Reply With Quote
  #8  
Old 12-14-2006, 05:56 PM
KW802's Avatar
KW802 KW802 is offline
 
Join Date: Jul 2003
Location: A galaxy far, far away...
Posts: 1,450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vectra-c.com View Post
Is there a fundamental reason why I can't have the cmps_index.php (renamed to index.php) in the root directory and yet still have the default VBulletin index.php (and all other files) in the /forum directory? ... Is it just not possible to get it to work if you have the cmps_index.php and VBulletin index.php files in different folders? If it is possible, am I missing a setting? What exactly should I have typed into the CMPS CP for the CMPS URL?
CMPS works wonderfully in the root folder. Did you edit the cmps_index.php so that the forum folder variable is correct?
Reply With Quote
  #9  
Old 12-14-2006, 10:15 PM
vectra-c.com vectra-c.com is offline
 
Join Date: Dec 2005
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The line in the cmps_index.php file is pointing to the forum folder....

$forumpath = '/xxxxxx/public_html/forum';
Reply With Quote
  #10  
Old 12-15-2006, 03:05 AM
KW802's Avatar
KW802 KW802 is offline
 
Join Date: Jul 2003
Location: A galaxy far, far away...
Posts: 1,450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vectra-c.com View Post
The line in the cmps_index.php file is pointing to the forum folder....

$forumpath = '/xxxxxx/public_html/forum';
And is that the correct full path? If you're not sure then inside of the vBa CMPS download package is a folder called "Extra (do not upload)" and inside of that folder is a file named "forumpath.php" -- Upload that file to your forums folder and run it. That script will attempt to determine the value you want put in the cmps_index.php file.

After that go into you ACP and check vBa CMPS => Default Settings => CMPS URL to make sure that the correct value is in there.

After that go into ACP => vBulletin Options => Site Name / URL / Contact Details and make sure the various URL & path values are correct.
Reply With Quote
Reply


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:03 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.05288 seconds
  • Memory Usage 2,296KB
  • Queries Executed 23 (?)
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
  • (3)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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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