![]() |
|
#1
|
|||
|
|||
|
I've done this template mod for the dynamic link, but it doesn't work well with the Links:
Quote:
http://www.myforums.com/http://www.myforums.com/index.php/? How can I fix this? |
|
#2
|
||||
|
||||
|
What do you have set for your 'Home URL' option in your main vBulletin options? Make sure that it is set to the full URL to your homepage and that should solve the problem.
|
|
#3
|
|||
|
|||
|
It is set for the full URL to my homepage. Forums to Homepage and Homepage to Forums work fine. The problem is only from the Links to Homepage. Hmm, maybe on the Links page I should have links to both the Forums and the Hompage separately. How would I do that?
|
|
#4
|
||||
|
||||
|
Ahhh... I forgot that the str_replace function to replace the links in the navbar also replaces the forum's link with the homepage link for the navbits. If you'll just change "$vboptions[homeurl]" to "/index.php" instead then that should take care of the problem.
|
|
#5
|
|||
|
|||
|
No, still having the same problem...
|
|
#6
|
|||
|
|||
|
The "Home" link in the breadcrumbs works fine - what link does that use?
|
|
#7
|
|||
|
|||
|
Quote:
|
|
#8
|
|||
|
|||
|
Bah - still a problem. I went ahead and made a separate "Home Page" link and "Forums" Link for my Navbar. If I'm on the Links page and click on the Home Page link I go to the vBA CMPS Homepage. But, if I'm in the Forums and click on the Home Page Link I go to the Main forum Page.
|
|
#9
|
||||
|
||||
|
Are your forums on a subdomain or something? As long as they're not, then there's no reason that changing the home link to '/index.php' shouldn't work...
|
|
#10
|
|||
|
|||
|
No, my Board is not on a subdomain. And '/index.php' does work... unless I'm on the Links page when I click it, in which case I get an error because the link tries to take me to:
http://www.myforums.com/http://www.myforums.com/index.php/ |
|
#11
|
|||
|
|||
|
Here's my workaround for the Home Page link:
Code:
<if condition="VBA_SCRIPT == 'links_directory'">
<td class="vbmenu_control"><a href="index.php?$session[sessionurl]">Home Page</a></td></if>
<if condition="VBA_SCRIPT !== 'links_directory'">
<if condition="THIS_SCRIPT !== 'adv_index'">
<td class="vbmenu_control"><a href="/index.php?$session[sessionurl]">Home Page</a></td></if></if>
|
|
#12
|
||||
|
||||
|
Grrr... I keep forgetting about the str_replace function in the navbar that replaces those links. Sorry about that! This should fix the problem though and allow you to use '/index.php'...
In your forum/includes/functions_links.php look for: PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
|
#13
|
|||
|
|||
|
Now you're talking!
BTW, I'm also sing the uStore hack, with the Store dropdown menu in my navbar. On the Links page, the dropdown is not the same as on all other pages... it shows only: uShop Menu Bank Richest Members Most Sold History Actions The links to the individual "actions" are missing. Any ideas on fixing that one? |
|
#14
|
||||
|
||||
|
Follow the instructions in this thread, except you'll want to make the changes to your /forum/includes/functions_links.php file instead.
|
|
#15
|
|||
|
|||
|
Thanks Brian - I'm all set now...
...unless you also happen to know which conditionals I can use to identify the V3 Arcade Main Page and the V3 Artices Main Page... |
|
#16
|
||||
|
||||
|
THIS_SCRIPT == 'article'
And THIS_SCRIPT == 'arcade'
|
|
#17
|
||||
|
||||
|
Quote:
PHP Code:
And obviously, my fix isn't going to fly for me if and when I get all these products working together on the same site, and decide to sprinkle breadcrumbs everywhere. I need to think about that more for myself, but I wonder what the recommended procedure is? Home -Forums -Gallery -Links -My Contents ... at least four index.php pages... and this is further confused because "home" at an adult site is an entrance page that nobody cares about. My renamed cmps_index.php (now the lobby.php) is really my current home page. Grr yourself. You should be so lucky to forget what we have not begun to learn. |
|
#18
|
||||
|
||||
|
Could you elaborate a little more on exactly why the current method is causing a problem? I took a look, but I'm not seeing anything too obvious as to how it is creating a problem.
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Link To Us and Link Module | BoNfiRe | Add-On Modules & Modifications | 36 | 11-13-2004 04:39 PM |
| Problem with uShop Link | The Sandman | Troubleshooting / "How do I..." Questions | 17 | 09-06-2004 10:07 AM |
| Submit Link & Mail | TraumTeam | "How Do I..." Questions | 1 | 07-03-2004 08:02 PM |
| Link Exchanges | Snowy | Troubleshooting & Problems | 1 | 06-30-2004 11:26 AM |