Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - boatman9999

Pages: [1] 2 3 4
1
Hi,

Do you have success in sending your emails in two parts (HTML & plain text) except for the <img> tag?

That is;  does everything in the MOD work OK and as it should, except for displaying images?

2
Hi,

Where are you adding the code:
Code: [Select]
<img src="http://mydomain.com/myimage.jpg">?

3
Quote
Boatman, many thanks for this code. Great time saver. Has there been any further development of this code?

Sorry. No further development at this stage, I just don't have the time. Anybody is welcome to add to the code if they have anything to  input.

4
The problem is also probably due to your browser storing the css file in its cache and using this 'old' version to display the page.

Take a look at http://is.asu.edu/instruction/training/clearcache.html to see how to clear the cache for different browsers.

After clearing the cache, go to your page and the new css file should  be used to give the correct display.

6
Mods & Plugins (Requests & Discussions) / Re: image name = filename
« on: November 28, 2005, 11:53:17 AM »
As V@no has said many time before, it is recommended that you fully search the forums for an answer before posting a new request.

Try

http://www.4homepages.de/forum/index.php?topic=5750.0

for one solution.

7
Installation, Update & Configuration / Re: Can somebody please help me out?
« on: November 28, 2005, 11:30:33 AM »
One method, assuming you are using PHPMyAdmin.

1) On your 'old' server open PHPMyAdmin then select the 'old' database.
2) Go to 'EXPORT'.
3) Click box ' Save as file' and boxes 'Structure', 'add drop table', 'add auto increment value', 'Enclose table and field names with backquotes' , 'data'.
4) Click 'GO' and save file to convenient place then download to your computer (make a note of where it is saved to).
5) On your 'new' server open PHPMyAdmin then create a new database with exaclty the same name as the 'old' database.
6) Then select the new database (ignore any messages telling you that there are no tables).
7) Select SQL then using 'Location of the textfile' locate the file you saved in 4) and upload this file. This should create all the tables and populate them with the original data.

Hope this helps.

There are complications if you cannot create your own databases using PHPMyAdmin, or if your new server auotmatically puts prefixes to table names, but these can be overcome. Try the above first.



8
Discussion & Troubleshooting / Re: Modification of {clickstream}
« on: November 24, 2005, 06:52:05 PM »
Try commenting out the lines as shown:

Code: [Select]
//-----------------------------------------------------
//---Clickstream---------------------------------------
//-----------------------------------------------------
$clickstream = "<span class=\"clickstream\"><a href=\"".$site_sess->url(ROOT_PATH."index.php")."\" class=\"clickstream\">Home</a>".$config['category_separator'];

//if ($mode == "lightbox" && $in_mode) {
//  $page_url = "";
//  if (preg_match("/".URL_PAGE."=([0-9]+)/", $url, $regs)) {
//    if (!empty($regs[1]) && $regs[1] != 1) {
//      $page_url = "?".URL_PAGE."=".$regs[1];
//    }
//  }
//  $clickstream .= "<a href=\"".$site_sess->url(ROOT_PATH."lightbox.php".$page_url)."\" //class=\"clickstream\">".$lang['lightbox']."</a>".$config['category_separator'];
//}
//elseif ($mode == "search" && $in_mode) {
//  $page_url = "";
// if (preg_match("/".URL_PAGE."=([0-9]+)/", $url, $regs)) {
//    if (!empty($regs[1]) && $regs[1] != 1) {
//      $page_url = "&amp;".URL_PAGE."=".$regs[1];
//    }
//  }
//  $clickstream .= "<a href=\"".$site_sess->url(ROOT_PATH."search.php?show_result=1".$page_url)."\" class=\"clickstream\">".$lang['search']."</a>".$config['category_separator'];
//}
//else {
//  $clickstream .= get_category_path($cat_id, 1).$config['category_separator'];
//}

$clickstream .= $image_name."</span>";

9
Discussion & Troubleshooting / Re: HELP!!! FORBIDDEN TEMPLATE FILE
« on: November 18, 2005, 11:30:27 AM »
Don't think it's a problem with 4images.

Could be that your online server has the folder name 'port' as a reserved name and does not allow files in a folder of that name to be accessed, whilst your localhost server has no such restriction.

10
Discussion & Troubleshooting / Re: HELP!!! FORBIDDEN TEMPLATE FILE
« on: November 17, 2005, 07:00:53 PM »
Do you have the file uploaded to the the folder:  http://www.bildergallery.com/templates/port/?
Are there any other files in this folder and do they all display without the 403 error?

Also, see the reply dated May 14 2003 from V@no  at http://www.4homepages.de/forum/index.php?topic=5638.0

Code: [Select]
$redirect_url = TEMPLATE_PATH."/".$template."maintenance.html";
should (I think) read:

Code: [Select]
$redirect_url = TEMPLATE_PATH."/maintenance.html";
This might help any redirect.


11
There's no button where? More details please.

12
The original MOD allowed only the image 'owner' to rotate, so if you install that as described then it should work.

Users who do not 'own' the image cannot rotate it,  otherwise someone could go to your site and turn all the pictures upside down!

The second amendment is an add-on and allowed the admin to rotate also.

13
This error message is often given when the server cannot find a file in the directory named either:

index.htm
index.html
index.php
home.htm
home.html
home.php

The server is probably set up this way to prevent anyone listing all the files in the directory.

http://www.fmanetwork.com.br/4images/index.php should give you the homepage of your site but it gives error 404 - file not found. So first action is to check that the 4images files have actually been correctly uploaded.

14
If you are logged in as Admin you won't see the links unless you add the links to the bit of the script which checks if the user_level is ADMIN.

If you want to do this go to details.php and then find


Code: [Select]
// Admin Links
$admin_links = "";
if ($user_info['user_level'] == ADMIN) {...

then add in the new links :

Code: [Select]
$admin_links .= "<a href=\"".$site_sess->url(ROOT_PATH."includes/rotate.php?".URL_IMAGE_ID."=".$image_id."&amp;wize=neg")."\">".$lang['rotate_neg']."</a>&nbsp;";
$admin_links .= "<a href=\"".$site_sess->url(ROOT_PATH."includes/rotate.php?".URL_IMAGE_ID."=".$image_id."&amp;wize=pos")."\">".$lang['rotate_pos']."</a>";


below the existing ones. Remember to paste the new links before the closing ' }' of the if statement.

15
Templates & Styles (Requests & Discussions) / Re: Login Box
« on: August 17, 2005, 05:46:30 PM »
If a user has not logged in the template user_loginform.html is displayed.

When a user has logged in the template user_logininfo.html is displayed.

So make sutable adjustements to this second template to display what you want after a user has logged in.

Pages: [1] 2 3 4