PDA

View Full Version : How to get to main forum from portal page?


Megadeuce
08-26-2004, 04:56 PM
I see that for this web site there is a forums link to get to the main forum page but my hack installed perfectly but I don't see the link to my forums.

Can I get them to show up under my new section on my portal page?

Brian
08-26-2004, 06:14 PM
http://www.vbadvanced.com/forum/showthread.php?t=41 ;)

Our Sponsors
 

Megadeuce
08-27-2004, 10:49 AM
Ok that worked.

One last question that I didn't see in the thread was what should be the name of my old index page be and what should the name of the original file cmps_index be?

when I click the forum link it goes to ......forums/?

Brian
08-27-2004, 01:04 PM
I'm not entirely sure what you're asking... Either file can be called whatever you'd like though.

Our Sponsors
 

Megadeuce
08-27-2004, 05:42 PM
Sorry for not being clear.

I renamed my original index.php file to index.php.old
and I renamed the cmps_index.php file to index.php

When I click the forums link, I get a blank screen saying that the page doesn't exist.

Where should these files be located and what should they be named?

Brian
08-27-2004, 06:41 PM
This thread (http://www.vbadvanced.com/forum/showthread.php?t=25) should help you. ;)

Megadeuce
08-31-2004, 12:10 AM
I followed the instructions but the forums link goes to the index page.

Brian
08-31-2004, 12:24 PM
What do you have in your navbar for those links?

Megadeuce
08-31-2004, 01:26 PM
My navbar has:
forums, UserCP, FAQ, Memeber List, Calendar, New Posts, Search, Quicklinks and Log out

I used the code from the link you provided above

There is a forums homepage link in the AdminCP that takes me to my orignal index page. That is where I expected the forums link in the navbar to take me.

Megadeuce
11-10-2004, 01:56 PM
I still haven't been able to get to my main form from the index page

Here is my forum index page www.gamenebula.com/forums

Here is my main forums page www.gamenebula.com/forums/forums.php

Brian
11-10-2004, 03:17 PM
Sorry, but I'm not sure what you're saying the problem is...

Megadeuce
11-10-2004, 03:32 PM
My problem was on my navbar. I used the instructions provided here to like the index page to the forums page but the link didn't work. The link from the forum page to the index page worked. I just hard coded the links with full http://www.

Even though I renamed my original index file to forums and put forums as the php script file, it still didn't work

Greebo
02-18-2005, 11:18 AM
Having the same problem here. CMPS is installed in the root of the web, sharing the same location with the forums.

My old index.php is now forumindex.php
CMPS_index.php is now index.php

My navbar template has been edited so that what was:
<!--<td class="vbmenu_control"><a href="$vboptions[forumhome].php?$session[sessionurl]">Home</a></td>-->

Is now:
<td class="vbmenu_control"><if condition="THIS_SCRIPT == 'adv_index'"><a href="$vboptions[bburl]$session[sessionurl]"> Forums <else /> <a href="$vboptions[homeurl]$session[sessionurl]"> Home </if></a></td>

On the forums, I get a "Home" link in the nav bar which works properly.
On the CMPS main page I get a Forums link which goes back to the CMPS main page.

Help? :)

Brian
02-18-2005, 11:59 AM
<td class="vbmenu_control"><if condition="THIS_SCRIPT == 'adv_index'"><a href="$vboptions[bburl]/$vboptions[forumhome].php?$session[sessionurl]"> Forums <else /> <a href="$vboptions[homeurl]$session[sessionurl]"> Home </if></a></td>

Greebo
02-18-2005, 12:14 PM
EXCELLENT - that did the trick! (Beats hardcoding the url which is what I'd ended up doing. :) ) Thanks a ton!

systemX
02-22-2005, 02:19 AM
hey brian,

i used your code that you posted, and it works, but heres the catch.

this is my domain name - www.blah.com
and this is where vbadvanced is - www.blah.com/forums/vb/
plus thats where my vb forum is too - www.blah.com/forums/vb/
that means im sharing the folders between those 2 progs

the thing is in the forum page, the home link will redirect to www.blah.com and not the vbadvanced page, how do i fix that?

and is it normal for the vbadvanced forum link to show my forum page link? my forum page link is index_forum.php and when i highlight it, it shows that and not something else like the question mark that this site has.

and how do you add the content thats in the middle section? i tried posting stuff in the forum but its not appearing in the middle section.

please advise thanks!

systemX
02-22-2005, 04:53 AM
hey, figured my problem, just go to admincp, and change the homepage to direct it to somewhere else :)

i still cant figure how you add the threads in the middle section of the portal, please advise thanks :)

Brian
02-22-2005, 09:39 AM
i still cant figure how you add the threads in the middle section of the portal, please advise thanks :)
You need to enter something for your 'News Forum ID' option in your default settings.