PDA

View Full Version : duplicate dir & $photoplog_forumhome


pippo
01-25-2006, 04:11 PM
it's my turn now.
First the forum:
http://www.arsludika.it/forum/index.php
and the hack:
http://www.arsludika.it/forum/photoplog/index.php

As you see images in navbar, that i put instead of header (like the header in the forum) don't appear.
The photoplog settings are:
PhotoPlog Directory: /forum/photoplog
Duplicate Directory: arsludika/forum/

Plus
I've tried to put $photoplog_forumhome in FORUMHOME template to view del random images in main forum, but nothing change in the forum view.

Sorry for bad english, thank's in advance for the answer.

ka$h
01-25-2006, 04:50 PM
not logged in can't view plog

Morgan
01-25-2006, 10:39 PM
Try setting Duplicate Directory to empty and then allow guest access so I can see the HTML source.

pippo
01-26-2006, 03:03 AM
guest access set and duplicate directory field empted.
Enjoy!

Morgan
01-26-2006, 03:44 AM
Did you happen to modify any of the PhotoPlog files? What I see happening is that HREF attributes are being made into absolute links, but attributes like SRC remain relative links. If you didn't modify any PhotoPlog files, is there something special you're doing to output your skin? Also, I see you're using BACKGROUND attributes, but PhotoPlog doesn't recognize those as they are depreciated. For that you can use STYLE instead of BACKGROUND or in settings.php find:
Content visible to registered users only.
And replace with:
Content visible to registered users only.

pippo
01-26-2006, 04:19 AM
Content visible to registered users only.No one.
Content visible to registered users only.I've only put navbar in place of header modifying TABLEs and DIVs, not PHP code. There aren't other changes.
Content visible to registered users only.OK..i'll change this as soon as possible, but there are many images that are in A HREF. Any clue for those images?

Morgan
01-26-2006, 11:21 AM
What about Replacement Variables? Are you using any, and if so, what?

pippo
01-27-2006, 02:18 PM
No, i'm not.
I would help you more to find a solution for my problem, but i'm a newbye of Vbulletin and dont'know many of his functions.

Morgan
01-29-2006, 05:14 PM
Hmm, I just don't have an answer as to why the HREFs get converted, but the SRCs don't get converted, to absolute links. Nothing in the HTML source looks to be preventing it, but try this:

Go to vB ACP -> Styles & Templates -> Replacement Variable Manager -> [Add New Replacement Variable] and fill in the form you see on screen with the following:

Style: Italiano
Search for Text: altmp/
Replace with Text: http://www.arsludika.it/forum/altmp/

pippo
01-30-2006, 11:56 AM
YEAH...It Works :D.
I'm gratefull for your help, now starts the long waiting for the PRO version :p .

Morgan
01-31-2006, 06:45 AM
FYI: I've found the problem, and the underlying issue is in the photoplog_absolute_links function.

More details: http://www.photoplog.com/forum/showthread.php?t=55