PhotoPlog

Go Back   PhotoPlog > PhotoPlog Lite > Troubleshooting & Problems
Screens Demo Purchase Download Register

Reply
Attention: Last reply in this thread was more than 18 Years ago
 
Thread Tools
  #1  
Old 05-13-2006, 02:37 PM
Sir_Yaro Sir_Yaro is offline
Green Plog
 
Join Date: May 2006
Posts: 6
Gallery: 0
Comments: 0
Exclamation wrong links

When user is hehe:
http://forum.address.com/photoplog/

my custom links in navbar leads to
http://forum.address.com/photoplog/cmps_index.php
http://forum.address.com/photoplog/quiz.php

instead of

http://forum.address.com/quiz.php
http://forum.address.com/cmps_index.php

additionally popup about new PM leads to
http://forum.address.com/photoplog/private.php?

I've fixed first two bugs. I just put direct link in navbar template but I've no idea how to fix PM popup... And I expecting to find couple more such bugs...
Btw don't you think so that photoplog shoudn't have right to overwrite vB variables ?

v.2.0.4
My forum address:
http://forum.mandriva.org.pl/

Last edited by Sir_Yaro; 05-13-2006 at 02:39 PM..
Reply With Quote
  #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
  #3  
Old 05-13-2006, 06:23 PM
Sir_Yaro Sir_Yaro is offline
Green Plog
 
Join Date: May 2006
Posts: 6
Gallery: 0
Comments: 0
Default

Hi
thank you for an answer.
thanks to your tips i've fixed problem with custom links but I still have no idea what to do with private messages or alternatively how to use your "guide" for this.

PM popup calls domain.xxx/photoplog/private.php even though private.php is added in Relative Links and Absolute Links by default.
Reply With Quote
  #4  
Old 05-13-2006, 06:31 PM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

If you can provide me via PM a test account to login with at your site, I can tell you what you'd need to add so your private messages popup links correctly.
__________________
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
  #5  
Old 05-15-2006, 03:57 PM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

Okay, try adding these to the PhotoPlog settings:
  • 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.
__________________
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
  #6  
Old 05-15-2006, 04:23 PM
Sir_Yaro Sir_Yaro is offline
Green Plog
 
Join Date: May 2006
Posts: 6
Gallery: 0
Comments: 0
Default

It works! thank you very much!!
Reply With Quote
Reply

« Previous Thread | Next Thread »

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
What is wrong with the PhotPlog_lite azeb Pre-Sale Questions 1 11-03-2009 03:23 PM
Wrong path again? Markus79 Troubleshooting & Problems 2 09-14-2007 01:08 PM
Member with the wrong photo's Robru Troubleshooting & Problems 1 02-05-2007 09:25 PM
Wrong Link Reece^B Troubleshooting & Problems 2 05-22-2006 09:09 PM
Photoplog Links are wrong adkboards Troubleshooting & Problems 1 03-14-2006 01:53 AM


All times are GMT. The time now is 07:22 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.