Link-Vault.com  

Go Back   Link-Vault.com > Link Vault Help and Support > Set-up Online Support

Set-up Online Support Online help for adding a new site to Link Vault, to an existing account or a new account

Reply
 
Thread Tools Search this Thread Display Modes
  #11  
Old 05-21-2010, 01:24 PM
daman69xo daman69xo is offline
Junior Member
 
Join Date: Jul 2008
Posts: 18
daman69xo is on a distinguished road
Default

i really wish i knew. is there an expert that u can recommend to fix this?
Reply With Quote
  #12  
Old 05-21-2010, 01:42 PM
daman69xo daman69xo is offline
Junior Member
 
Join Date: Jul 2008
Posts: 18
daman69xo is on a distinguished road
Default

I believe it has something to do with the htaccess file.
Reply With Quote
  #13  
Old 05-21-2010, 02:07 PM
daman69xo daman69xo is offline
Junior Member
 
Join Date: Jul 2008
Posts: 18
daman69xo is on a distinguished road
Default

the problem is definitely the auto append in the httaccess file. What would be the best way to code this? It was setup properly before but after the server crashed, it might've changed some settings around.
Reply With Quote
  #14  
Old 05-28-2010, 01:58 PM
Dugie's Avatar
Dugie Dugie is offline
Administrator
 
Join Date: Jun 2005
Location: UK
Posts: 1,902
Dugie is on a distinguished road
Default

Don't use auto append.

Simply paste the code which looks like this from your Site Setup Instructions:
PHP Code:
<?php
    ini_set 
("include_path"ini_get ("include_path") . ':../:../../:../../../:../../../../:../../../../../');
    include (
'lvXXX.php');
    echo 
DisplayLinks(3,'',' - ','','');
?>
into a file "linkVaultFooter.php" or similar.

I hope you already have a global footer include file which is included on every page you want links to be placed on.

If you do have one, simply add the following code to it.
If you do not have one, paste the same code into each and every file you want links to appear on.
PHP Code:
include 'linkVaultFooter.php'
If you're dreading the idea of having to copy and paste a tiny bit of code into thousands of files, I'm sure we can find a better way.
Each page on your site appears to be based on the same template.
Are you manually creating each page for each state etc. yourself? (if this is the case, your site is not organized very well..)
If you are not manually creating each page, how are you doing it?

If you need to edit each file to add the code, we can use a tool which will do regular expression find and replace on every file within a folder and its' subfolders to do the job quickly.
__________________
Dugie @ Link Vault
Please read the Faq n Guidelines before you Sign Up
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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


All times are GMT. The time now is 09:24 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.