vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBadvanced CMPS (https://vborg.vbsupport.ru/forumdisplay.php?f=101)
-   -   CMPS on main domain ? (https://vborg.vbsupport.ru/showthread.php?t=130277)

vectra-c.com 12-15-2006 09:57 AM

Thanks for the reply Kevin.
Quote:

Originally Posted by KW802 (Post 1138953)
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.

Yes, it's correct. I ran that script when I first installed CMPS to determine the full path.
Quote:

Originally Posted by KW802 (Post 1138953)
After that go into you ACP and check vBa CMPS => Default Settings => CMPS URL to make sure that the correct value is in there.

This may be where I've gone wrong. Given that my cmps_index.php is in the root, and all the other forum files are in /forum - what value should be in here now? When I first installed CMPS it set itself to ..index. That was when the cmps_index was in the /forum directory. Now that it's in root, I expect it needs to change, but what to?
Quote:

Originally Posted by KW802 (Post 1138953)
After that go into ACP => vBulletin Options => Site Name / URL / Contact Details and make sure the various URL & path values are correct.

They've remained unchanged since I installed the forum way back and I assume have no need to be changed due to installing CMPS. The forum itself is working fine.

Thanks

KW802 12-15-2006 02:37 PM

Quote:

Originally Posted by vectra-c.com (Post 1139052)
... This may be where I've gone wrong. Given that my cmps_index.php is in the root, and all the other forum files are in /forum - what value should be in here now? When I first installed CMPS it set itself to ..index. That was when the cmps_index was in the /forum directory. Now that it's in root, I expect it needs to change, but what to? ...

I've see a few conflicting answers but at least what works for me in that value is the URL to where the cmps_index.php file is. For example, at Cool SciFi with CMPS in the root I renamed cmps_index.php to index.php and then in the ACP for the vBa CMPS settings I changed the location to http://www.coolscifi.com/index.php and at least on all of my sites that works fine.

vectra-c.com 12-15-2006 03:15 PM

Quote:

Originally Posted by KW802 (Post 1139172)
I've see a few conflicting answers but at least what works for me in that value is the URL to where the cmps_index.php file is. For example, at Cool SciFi with CMPS in the root I renamed cmps_index.php to index.php and then in the ACP for the vBa CMPS settings I changed the location to http://www.coolscifi.com/index.php and at least on all of my sites that works fine.

Thanks Kevin - off to try that now......


Edit: .......and realises that I already had that typed in that setting i.e - http://mydomain.com/index.php when I posted above in #7. This is doing my head in now!

GruntHalo 12-28-2006 04:51 PM

Quote:

Originally Posted by KW802 (Post 1135450)
... 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.

I didnt even edit the cmps_index.php file and mine works perfectly fine. lol. :)

vectra-c.com 12-28-2006 05:22 PM

I found out what the problem was!!.....

Embarrassingly it was down to something I had accidentally deleted! When I did a modification that required a slight edit of the cmps_index.php file, I somehow managed to delete this line of code that was above the line being modified......
PHP Code:

chdir($forumpath); 

which was kinda crucial in the grand scheme of things!! :nervous: :nervous: :nervous: :nervous: :nervous:

So sorry for all the endless questions and tearing out of my hair when it was down to a slip of the backspace key!

Works perfectly now! :)

catastrope 01-02-2007 10:02 AM

I am facing a strange problem...

on my webserver, the default page tat opens when i type in www.mydomian.com is 'index.html'

I have index.php(CMPS PHP file) in root directory itself and when i say www.mydomain.com/index.php, it open up CMPS page.

how do i redirect index.html to index.php??

any help is greatly appreciated...
Thanks!

vectra-c.com 01-02-2007 01:11 PM

Quote:

Originally Posted by catastrope (Post 1149040)
how do i redirect index.html to index.php??

If you want the index.php to be the default page, then all you need to do is delete or rename your index.html to something like indexold.html. Then when you go to www.mydomian.com it will start with the CMPS page.

rungok 03-27-2007 04:26 PM

When I lay the portal page at root some of the images get wrong (It expects them to be in root/images instead of the full path/forums/images). How can I correct that?


All times are GMT. The time now is 04:02 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.01177 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_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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