Thread: wrong links
View Single Post
  #2  
Old 05-13-2006, 05:34 PM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

Not bugs. Try adding to the PhotoPlog settings. Example:
  • Relative Links
    Code:
    Content visible to registered users only.
  • Absolute Links
    Code:
    Content visible to registered users only.
Remember to add them, one per line, to the same lines in each box.

Basically, the Relative Links and Absolute Links settings are like search-for and replace-with settings. Each line in Relative Links is to turn into the corresponding line in Absolute Links, i.e., line X in the Relative Links box is replaced with line X in the Absolute Links box.

Also check this post as it has some further explanation.

Here are some other examples:Image paths can also be changed by going to vB ACP -> Styles & Templates -> Style Manager -> select StyleVars, and look under Image Paths. Replacement variables can be edited by going to vB ACP -> Styles & Templates -> Replacement Variable Manager.

Because PhotoPlog can be installed anywhere, inside or outside the main forum directory, PhotoPlog needs to know absolute locations. If you find something not linking correctly, the easiest thing to do is take a look at the HTML source: look for action, href, new, onclick, src, url, var, and window.location bits.

With regard to overwriting variables, what I think you may be seeing is in relation to variable scope. Say you have, for example, an $ads variable that has been added to your vB navbar template, and you want it to show in PhotoPlog. The thing to try is to add "ads" (without the quotes) to the PhotoPlog Global Variables setting, and then your $ads output should appear in PhotoPlog.

Here is an other example:Moved to troubleshooting...
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote