PhotoPlog

Go Back   PhotoPlog > PhotoPlog Lite > "How Do I..." Questions
Screens Demo Purchase Download Register

Reply
Attention: Last reply in this thread was more than 17 Years ago
 
Thread Tools
  #1  
Old 11-21-2006, 03:41 PM
didjital didjital is offline
Green Plog
 
Join Date: Apr 2006
Posts: 5
Gallery: 0
Comments: 0
Default Editing file.php

I'm getting a good amount of traffic into file.php from Google Images.

When you click an image and it opens a new window, file.php?n=###&w=o is shown in the address bar.

How can I edit this file so I can neatly put some adsense next to it with perhaps some content? I'd almost like to have the authors name and description on that page along with the adsense.

Any help in where to edit that file to place content would be appreciated.

Thanks.
Reply With Quote
  #2  
Old 11-21-2006, 11:52 PM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

The file.php file generates images to display. There is no HTML in the file.php output. For instance, you see an image on screen when the following type of IMG tag is in the PhotoPlog HTML:
Code:
Content visible to registered users only.
Also, when you click to view the original image, you see the image itself. If you are looking at the original image, right click and view the page source. What you'll see is the binary content of the image, no HTML to modify.

That said, you could modify the file.php file to output an HTML page when w=o is in the query string. First find the following line and add the bits in blue bold:
Code:
Content visible to registered users only.
Then after the following:
Code:
Content visible to registered users only.
Add something like the following:
Code:
Content visible to registered users only.
However you want to tweak it is up to you, as coding custom mods is really outside the realm of support.
__________________
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 12-01-2006, 05:08 PM
didjital didjital is offline
Green Plog
 
Join Date: Apr 2006
Posts: 5
Gallery: 0
Comments: 0
Default

Thanks for the help Morgan, much appreciated.
Reply With Quote
Reply

« Previous Thread | Next Thread »
Thread Tools

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
moderate files, and seeing the config.php file tspore "How Do I..." Questions 17 03-07-2006 01:19 PM


All times are GMT. The time now is 08:42 PM.


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