PDA

View Full Version : How Do I Find My Forum Path?


hyperviperx99
07-08-2011, 01:28 PM
I'm trying to run the installation file but I don't know how to find my forum path.

The instruction says:

http://yoursite.com/forum/admincp/vbacmps_install.php.

But I don't know where my forum path is.

Please let me know.

kh99
07-08-2011, 01:35 PM
I'm not sure exactly what you're asking for, but I think maybe it means the url to get to your forum, so if your home page was http://www.somedomain.com/forum/index.php, your forum path would be http://www.somedomain.com/forum.

It could also mean the directory path on the server to get to your files. If that's the case then you'd have to ask your host.

hyperviperx99
07-08-2011, 02:07 PM
I'm trying to run an installation. I know I've done it before but I just can't remember.

Someone told me to check under php info but where there?

Please help

kh99
07-08-2011, 02:16 PM
So you think what you need is the path on the server? I don't see that in phpinfo, but maybe you could create a php file with this:

<?php

echo getcwd();


put it in your forum directory and point your browser to it.

ETA: or you could look at what KW802 posted in the other thread.

hyperviperx99
07-08-2011, 02:17 PM
I'm sorry I'm new to this.. How do I create a php file with that?

kh99
07-08-2011, 02:19 PM
You'd use any editor like maybe notepad, paste that into it and save it as a .php file, then upload it to your forum directory.

But look at what KW802 posted in the other thread (https://vborg.vbsupport.ru/showthread.php?p=2218166#post2218166) - if './forum' doesn't work, I think they have a .php file that you can download that probably does the same thing.

vbresults
07-08-2011, 02:43 PM
Go to AdminCP > Plugins & Products > Add New Plugin

Set the fields as shown (if you don't see something listed, you can leave the default value):

Hook Location: global_bootstrap_init_start
Title: Forum Path
Plugin PHP Code:

if ($_REQUEST['do'] == 'path') { var_dump(dirname(__FILE__)); exit; }

Plugin is Active: Yes

Save the plugin.

Visit to your forum's index and add ?do=path to the url, and press enter. The result should be your forum path.

Delete the plugin you just made.

hyperviperx99
07-08-2011, 03:22 PM
Thanks kh99 and Lancer, I tried to that, but it seems I'm still stuck

I'm using Cpanel and I'm trying to run an installation

I Googled something, and I saw this- https://www.vbulletin.com/forum/archive/index.php/t-147635.html

I'm confused: Should I put my website on the base? or the cpanel account?

ForumExcellence
07-09-2011, 05:09 AM
To run the vbAdvanced installer, go to your forum, then scroll all the way down.

At the bottom of the page on the righthand side, you will see the word "Admin". Click that to go to what is called the Admin Control Panel or AdminCP/ACP for short.

In the browser address bar (this is at the top of your browser, where you see the URL of the site, for example it displays https://vborg.vbsupport.ru/showthread.php?t=266471 currently - if you are having trouble locating it, this page should help you find it: http://en.wikipedia.org/wiki/Address_bar), you will see the domain of your site, then at the end of the URL you will see this: /admincp/index.php

Highlight the part that says "index.php" and change it to: vbacmps_install.php

So the end of the URL will look like this: /admincp/vbacmps_install.php

Keep everything else the same except changing "index.php".

Then press enter, and it should run if you uploaded the file.

hyperviperx99
07-11-2011, 05:20 AM
Thank you so much Forum Excellence! I didn't know it was that easy..

I appreciate it much. respect