vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v1.x (Archive - Closed for Posting) > Troubleshooting / "How do I..." Questions

 
 
Thread Tools Display Modes
  #1  
Old 06-04-2005, 04:47 AM
moviemaker moviemaker is offline
Junior Member
 
Join Date: May 2005
Posts: 15
Default change the home/forum link url?

How do I get the Home/Forum in the nav bar to point to domainname.com/forum/index.php

When I click on home it redirects to my base domainname.com which ends up calling my domainname.com/index.html file instead...

I'm pretty new to PHP stuff and I have a general idea of where to go to change the info, but at the same time I don't know what to put in the string to get it to point to:

/forum/index.php

Any help would be greatly appreciated...

Dean

You'll see the behaviour if you go to My Forum Pages... and click on home, you'll see where it takes you...

I want it to go to MY CMPS index page...
  #2  
Old 06-04-2005, 05:15 AM
moviemaker moviemaker is offline
Junior Member
 
Join Date: May 2005
Posts: 15
Default Re: change the home/forum link url?

Okay I figured this out...

I searched for:

PHP Code:
        <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
And replaced with:

PHP Code:
        <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]/forum?$session[sessionurl]"Home </if></a></td
It worked a treat...

Basically I added [homeurl]? to [homeurl]/forum?

That did the trick.
  #3  
Old 06-04-2005, 12:53 PM
Sascha Henken Sascha Henken is offline
Junior Member
 
Join Date: May 2005
Location: Germany
Posts: 2
Default Re: change the home/forum link url?

Can you tell me in which template you´ve changed this? I´m searching but can´t find it. Is it the "navbar" template or where do I need to search for? Thank you
  #4  
Old 06-04-2005, 03:02 PM
moviemaker moviemaker is offline
Junior Member
 
Join Date: May 2005
Posts: 15
Default Re: change the home/forum link url?

Hey Sascha, yes it was the navbar template I just searched for the top string and all I did was add the /forum to the [homeurl]? line to make it look like [homeurl]/forum? for the Home section of the code.

Basically I told it to go to the /forum folder which is where my cmps_index.php file resides...

if your cmps index file has a different structure just add the /folderhere to the code if that makes sense, or find and replace with my code and change "/forum" to whatever the name is of the directory that holds your cmps index file.
  #5  
Old 07-12-2005, 08:02 PM
CrossBones's Avatar
CrossBones CrossBones is offline
The Black Pearl
 
Join Date: Nov 2004
Posts: 112
Default Re: change the home/forum link url?

Man, I need help.

I had a guy help me do this Forums/Home thing adding a new button (Forums) on the front page of the portal. And then I went and screwed up the whole thing trying to add something else. By mistake (stupidity) I hit the "revert" button that wiped out everything he did. Now I think he's tired of helping me and I'm just screwed.

I don't understand all this stuff much.

Can somebody walk me through how to add the 'Forums' button (I know the graphic is still in the right place on the server) to the front page of the CMPS? And then how do I have ALL other pages use the 'Home' button which directs you back to the Portal? The' Forums' button would only appear on the front page of the Portal.

Take a look at my site - CMPS here. The forums are here

Right now the actual URL has a redirect on it while I finish setting everything up. I was about to go live with it and just had to screw things up yesterday!

Man, I am getting frustrated with this stuff. I should have left well enough alone
  #6  
Old 07-12-2005, 08:26 PM
mholtum's Avatar
mholtum mholtum is offline
I ******* single moms.
 
Join Date: May 2004
Location: Tempe, Arizona
Posts: 1,938
Default Re: change the home/forum link url?

You mean the code I gave you?
  #7  
Old 07-12-2005, 08:28 PM
CrossBones's Avatar
CrossBones CrossBones is offline
The Black Pearl
 
Join Date: Nov 2004
Posts: 112
Default Re: change the home/forum link url?

Quote:
Originally Posted by mholtum
You mean the code I gave you?
No. Somebody else did it for me and it was working great. The site was setup perfectly but I was trying to do something else and screwed up the whole thing. Now I'm trying to understand EXACTLY how to put it back the right way. I have no clue.
  #8  
Old 07-12-2005, 10:07 PM
CrossBones's Avatar
CrossBones CrossBones is offline
The Black Pearl
 
Join Date: Nov 2004
Posts: 112
Default Re: change the home/forum link url?

ooops.

Last edited by CrossBones; 07-12-2005 at 10:13 PM.
  #9  
Old 07-12-2005, 11:44 PM
CrossBones's Avatar
CrossBones CrossBones is offline
The Black Pearl
 
Join Date: Nov 2004
Posts: 112
Default Re: change the home/forum link url?

I got it fixed. Whew.
  #10  
Old 07-24-2005, 02:53 PM
NCstate14 NCstate14 is offline
Junior Member
 
Join Date: Jul 2005
Posts: 3
Default Re: change the home/forum link url?

i am having trouble with editing the cmps_index.php to point visitors to www.nuke-central.net ? any1 help will be appreciated.
  #11  
Old 07-24-2005, 05:09 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: change the home/forum link url?

What exactly do you mean by "point visitors to www.nuke-central.net"? Are you trying to set the CMPS up so it's the first thing your visitors see when they visit your site, or what exactly?
  #12  
Old 07-24-2005, 07:26 PM
NCstate14 NCstate14 is offline
Junior Member
 
Join Date: Jul 2005
Posts: 3
Default Re: change the home/forum link url?

yes
  #13  
Old 07-24-2005, 07:45 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: change the home/forum link url?

http://www.vbadvanced.com/forum/showthread.php?t=25
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change layout of home... rodriguez Troubleshooting / "How do I..." Questions 3 12-29-2004 01:05 AM
Change a link in the ACP? rayzon Troubleshooting / "How do I..." Questions 1 09-08-2004 10:37 AM
Change the home link chrisvonc "How Do I..." Questions 4 08-30-2004 11:06 AM
Change the link Soccerquest Add-On Modules & Modifications 4 08-09-2004 06:33 PM


All times are GMT -4. The time now is 10:18 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.