Pagina 1 van 1

link naar de foto album

Geplaatst: 13 jun 2003, 19:52
door Sam Mullins
hey,

ik heb laatst op mijn forum een calendar geinstalleerd, dat ging goed.
Maar nou heb ik ook een fotoalbum erop gezet, en dat gaat niet goed. Als ik op de link wil klikken naar de fotoalbum, gaat hij naar de calendar.
Ikke de link letterlijk in de overall_header.tpl zette, doet et ook nie.

Wat moet ik doen zodat hij wel goed linkt :roll:

Geplaatst: 13 jun 2003, 19:59
door Bobbelingman
Als je het Foto Album link bedoel, heb ik het zelfde probleem


carloclaessen zou het oplossen maar............ hij heeft zijn werk nooit afgemaakt of opgestuurd

Geplaatst: 15 jun 2003, 12:14
door Aeolus
zou een van jullie de inhoud van het readme bestand mischien hier es kunnen posten?? ik denk dan namelijk dat er een foutje zit in die mod, alleen heb ik de mod zo ff niet voorhanden

Geplaatst: 15 jun 2003, 18:45
door Sam Mullins
ja, ik heb hem wel:

Code: Selecteer alles

# NOTE: (for upgrade from older versions)
#
# If you are using a version 1.5.x/1.6.x of Album you must read file update_v1_to_lastest.txt
#
# If you are using Album v1.0.x or older, sorry I have no guide to upgrade
#
# If you are using a older version of Album v2 you must read appropriate files in "update" directory


#
#-----[ OPEN ]-------------------------------------------------------
#
includes/constants.php

#
#-----[ FIND ]----------------------------------------
#
if ( !defined('IN_PHPBB') )
{
	die("Hacking attempt");
}


#
#-----[ AFTER, ADD ]----------------------------------
# Don't worried! This file is very *lite*
// Album MOD
include($phpbb_root_path . 'album_mod/album_constants.' . $phpEx);


#
#-----[ OPEN ]-------------------------------------------------------
#
includes/page_header.php

#
#-----[ FIND ]----------------------------------------
#
	'U_GROUP_CP' => append_sid('groupcp.'.$phpEx),

#
#-----[ AFTER, ADD ]----------------------------------
#
	// Album MOD
	'L_ALBUM' => $lang['Album'],
	'U_ALBUM' => append_sid('album.'.$phpEx),


#
#-----[ OPEN ]-------------------------------------------------------
#
viewonline.php

#
#-----[ FIND ]----------------------------------------
#
				case PAGE_FAQ:
					$location = $lang['Viewing_FAQ'];
					$location_url = "faq.$phpEx";
					break;

#
#-----[ AFTER, ADD ]----------------------------------
#
				case PAGE_ALBUM:
					$location = $lang['Album'];
					$location_url = "album.$phpEx";
					break;


#
#-----[ OPEN ]-------------------------------------------------------
#
admin/index.php

#
#-----[ FIND ]----------------------------------------
#
						case PAGE_FAQ:
							$location = $lang['Viewing_FAQ'];
							$location_url = "index.$phpEx?pane=right";
							break;

#
#-----[ AFTER, ADD ]----------------------------------
#
						case PAGE_ALBUM:
							$location = $lang['Album'];
							$location_url = "index.$phpEx?pane=right";
							break;


#
#-----[ OPEN ]-------------------------------------------------------
# also for other templates
templates/subSilver/overall_header.tpl

#
#-----[ FIND ]----------------------------------------
#
<td align="center" width="100%" valign="middle"><span class="maintitle">{SITENAME}</span><br /><span class="gen">{SITE_DESCRIPTION}<br />& </span>
				<table cellspacing="0" cellpadding="2" border="0">
					<tr>
						<td align="center" valign="top" nowrap="nowrap"><span class="mainmenu">

#
#-----[ AFTER, ADD ]----------------------------------
# this step will add a link into your header menu

<a href="{U_ALBUM}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_album.gif" width="12" height="13" border="0" alt="{L_ALBUM}" hspace="3" />{L_ALBUM}</a>&



#
#-----[ OPEN ]-------------------------------------------------------
# also for other templates
templates/subSilver/subSilver.cfg

#
#-----[ FIND ]----------------------------------------
#
?>

#
#-----[ BEFORE, ADD ]---------------------------------
#
$images['upload_pic'] = "$current_template_images/{LANG}/upload_pic.gif";
$images['no_thumbnail'] = "$current_template_images/nothumbnail.jpg";


#
#-----[ OPEN ]-------------------------------------------------------
#
includes/usercp_viewprofile.php

#
#-----[ FIND ]----------------------------------------
#
	'U_SEARCH_USER' => append_sid("search.$phpEx?search_author=" . urlencode($profiledata['username'])),

#
#-----[ AFTER, ADD ]----------------------------------
#
	//
	// Photo Album Addon v2.x.x by Smartor
	//
	'U_PERSONAL_GALLERY' => append_sid("album_personal.$phpEx?user_id=" . $profiledata['user_id']),
	'L_PERSONAL_GALLERY' => sprintf($lang['Personal_Gallery_Of_User'], $profiledata['username']),


#
#-----[ OPEN ]-------------------------------------------------------
# also for all other templates
templates/subSilver/profile_view_body.tpl

#
#-----[ FIND ]----------------------------------------
#
<a href="{U_SEARCH_USER}" class="genmed">{L_SEARCH_USER_POSTS}</a>

#
#-----[ IN-LINE AFTER, ADD ]--------------------------
#
<br /><a href="{U_PERSONAL_GALLERY}" class="genmed">{L_PERSONAL_GALLERY}</a>


#
#-----[ OPEN ]-------------------------------------------------------
# also for all other language packs
language/lang_english/lang_main.php

#
#-----[ FIND ]----------------------------------------
#
//
// Errors (not related to a
// specific failure on a page)
//
$lang['Information'] = 'Information';
$lang['Critical_Information'] = 'Critical Information';

#
#-----[ BEFORE, ADD ]---------------------------------
#
//
// Photo Album Addon v2.x.x by Smartor
//
$lang['Album'] = 'Album';
$lang['Personal_Gallery_Of_User'] = 'Personal Gallery of %s';


#
#-----[ COPY ]-------------------------------------------------------
# These following instructions mean...
# Upload all files in directory "phpbb_root" with their structure to your phpBB root directory
#
# Remember to upload all the language files and template files to all your
# language packs and template directories
#
# If you use FTP please remember to use ASCII mode for text files (*.php, *.tpl)
# and BINARY mode for image files (*.jpg, *.gif)
# Fortunately good FTP clients today can auto-detect the mode for your files

copy phpbb_root/*.php to *.php
copy phpbb_root/admin/*.php to admin/
copy phpbb_root/album_mod/*.* to album_mod/
copy phpbb_root/language/lang_english/*.php to language/lang_english/
copy phpbb_root/templates/subSilver/*.* to templates/subSilver/
copy phpbb_root/templates/subSilver/admin/*.* to templates/subSilver/admin/
copy phpbb_root/templates/subSilver/images/*.* to templates/subSilver/images/
copy phpbb_root/templates/subSilver/images/lang_english/*.* to templates/subSilver/images/lang_english/


#
#-----[ ACTION ]--------------------------------------
# Create folder: album_mod/upload
# Create folder: album_mod/upload/cache


#
#-----[ ACTION ]--------------------------------------
# Require for Unix-like host (you can use your FTP client to do this)
#
# CHMOD 777 album_mod/upload
# CHMOD 777 album_mod/upload/cache


#
#-----[ SQL ]--------------------------------------------------------
# For FRESH Install Only!!! If you *upgrade* from Album v1.x.x you
# must *skip* this step to go to the *next* step!
#
# This Photo Album must add 5 tables into your database.
# Fortunately it will not alter any existed tables :)
#
# Upload album_db_install.php and album_mysql.sql to your phpBB root
# directory then run album_db_install.php by typing on the browser
# After that, delete both files immediately
#
# If you do not want to run album_db_install.php you can run the SQL
# queries manually in album_mysql.sql
#
##########


#
# If you are using phpBB older-than204 you should read file patch_phpBB_older-than-204.txt
#
# If you are using phpBB 2.0.4 you should read file patch_phpBB_204.txt
#


# After install, you should check your AdminCP
#
# If you have any problems try to look at FAQ.TXT first!
#
# Keep all files in this archive at a safe place in your hard disk. You
# maybe will need it again if you want to upgrade in future :)
# Normally, you can download the lastest version only from my site. So
# if you lost these files, you would not look back again.


#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM

Geplaatst: 15 jun 2003, 19:19
door Aeolus
check nog eens goed de veranderingen in includes/page_header.php en templates/subSilver/overall_header.tpl

de mod ziet er goed uit zoals ie is...