phpca nasıl kuruluyor ?

phpBB 2.0.x sürümleri için MODlar hakkında ihtiyacınız olan desteği buradan sorarak alabilirsiniz.
Kilitli
Dr-x
Kayıtlı Kullanıcı
Mesajlar: 2
Kayıt: 07.10.2007, 00:35

phpca nasıl kuruluyor ?

Mesaj gönderen Dr-x »

phpca
##############################################################
## MOD Title: phpCA Classified Ads for phpBB2
## MOD Author: PeteMan < support@phpca.net > (Peter Mansion) http://www.phpca.net
## MOD Description: phpBB-based Classified Ads System.
##
## MOD Version: 0.5.0
##
## Installation Level: medium
## Installation Time: 15 minutes
##
##############################################################
##
## Files To Edit: 5
## includes/constants.php
## includes/page_header.php
## language/lang_english/lang_main.php
## templates/subSilver/overall_header.tpl
## templates/subSilver/subSilver.cfg
##
## Included Files: 55
## ads_comment.php
## ads_comment_delete.php
## ads_comment_edit.php
## ads_comment_create.php
## ads_comment_images.php
## ads_comment_item.php
## ads_comment_item_delete.php
## ads_comment_item_edit.php
## ads_comment_item_renewal.php
## ads_comment_item_status.php
## ads_comment_item_notify.php
## ads_comment_item_popup.php
## ads_comment_item_prices.php
## ads_comment_item_rss2.php
## ads_comment_item_search.php
## ads_comment_item_adverts.php
##
## admin/admin_ads_categories.php
## admin/admin_ads_config.php
##
## ads_mod/ads_common.php
## ads_mod/ads_constants.php
## ads_mod/ads_functions.php
## ads_mod/ads_renewal_mailer.php
##
## language/lang_english/lang_admin_ads.php
## language/lang_english/lang_main_ads.php
##
## templates/subSilver/ads_calc_cost.tpl
## templates/subSilver/ads_calc_renewal_cost.tpl
## templates/subSilver/ads_comment_body.tpl
## templates/subSilver/ads_delete.tpl
## templates/subSilver/ads_delete_img.tpl
## templates/subSilver/ads_edit.tpl
## templates/subSilver/ads_images.tpl
## templates/subSilver/ads_input_detail.tpl
## templates/subSilver/ads_item.tpl
## templates/subSilver/ads_pre_create.tpl
## templates/subSilver/ads_pre_renew.tpl
## templates/subSilver/ads_prices.tpl
## templates/subSilver/ads_search.tpl
## templates/subSilver/ads_search_results.tpl
## templates/subSilver/adverts.tpl
##
## templates/subSilver/admin/ads_categories_body.tpl
## templates/subSilver/admin/ads_category_delete.tpl
## templates/subSilver/admin/ads_category_edit.tpl
## templates/subSilver/admin/ads_config_body.tpl
##
## templates/subSilver/images/icon_mini_ads.gif
## templates/subSilver/images/icon_mini_ads2.gif
## templates/subSilver/images/icon_mini_ads3.gif
## templates/subSilver/images/icon_mini_home.gif
## templates/subSilver/images/paypal_logo.gif
## templates/subSilver/images/rss2.gif
##
## templates/subSilver/images/lang_english/icon_active.gif
## templates/subSilver/images/lang_english/icon_images.gif
## templates/subSilver/images/lang_english/icon_renew.gif
## templates/subSilver/images/lang_english/icon_sold.gif
## templates/subSilver/images/lang_english/msg_newad.gif
## templates/subSilver/images/lang_english/msg_noimage.gif
##
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##
## Credits:
##
## Thanks to everyone at phpBB for writing such great code.
##
## Comments and installation scripts plus some great ideas
## for structuring this mod courtesy of smartor
## (smartor.is-root.com).
##
## Thanks to those pioneers who have installed earlier
## of this script and provided some great ideas. Special thanks
## to those who have provided translations of the language
## files.
##
## ResizeImage function - based on an original script by
## PHPGarage.com.
##
## Image Popup function – based on an original script by
## codelifter.com.
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

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

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

#
#-----[ AFTER, ADD ]----------------------------------
#
// Ads MOD
include($phpbb_root_path . 'ads_mod/ads_constants.' . $phpEx);

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

#
#-----[ FIND ]----------------------------------------
#
'SITENAME' => $board_config['sitename'],

#
#-----[ BEFORE, ADD ]----------------------------------
#
// Added for phpCA

'L_FORUM' => $lang['Forum'],
'L_CLASSIFIED_ADS' => $lang['classified_ads'],
'L_SEARCH_ADS' => $lang['search_ads'],
'L_MY_ADS' => $lang['my_ads'],
'U_CLASSIFIED_ADS' => append_sid('adverts.'.$phpEx),
'U_SEARCH_ADS' => append_sid('ads_search.'.$phpEx),
'U_MY_ADS' => append_sid('ads_search.'.$phpEx.'?search_name='.$userdata['username']),

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

#
#-----[ FIND ]----------------------------------------
#
//
// That's all, Folks!
// -------------------------------------------------

#
#-----[ BEFORE, ADD ]---------------------------------
#
//
// phpCA
//
$lang['classified_ads'] = 'Classified Ads';
$lang['search_ads'] = 'Search Ads';
$lang['my_ads'] = 'My ads';

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

#
#-----[ FIND ]----------------------------------------
#
<a href="{U_FAQ}" class="mainmenu">

#
#-----[ BEFORE, ADD ]---------------------------------
#
<a href="{U_INDEX}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_home.gif" width="13" height="13" border="0" alt="{L_FORUM}" hspace="3" />{L_FORUM}</a>

#
#-----[ FIND ]----------------------------------------
#
<tr>
<td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu">………
</tr>

#
#-----[ REPLACE WITH ]---------------------------------
#
<tr>
<td align="center" valign="top" nowrap="nowrap"><span class="mainmenu">………
</tr>


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

<tr>
<td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu">
<a href="{U_CLASSIFIED_ADS}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_ads.gif" width="12" height="13" border="0" alt="{L_CLASSIFIED_ADS}" hspace="3" />{L_CLASSIFIED_ADS}</a>
<a href="{U_SEARCH_ADS}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_search.gif" width="12" height="13" border="0" alt="{L_SEARCH_ADS}" hspace="3" />{L_SEARCH_ADS}</a>
<!-- BEGIN switch_user_logged_in -->
<a href="{U_MY_ADS}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_members.gif" width="12" height="13" border="0" alt="{L_MY_ADS}" hspace="3" />{L_MY_ADS}</a> </span></td>
<!-- END switch_user_logged_in -->
</tr>



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

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

#
#-----[ BEFORE, ADD ]---------------------------------
#
// Ads Mod
$images['noimage'] = "$current_template_images/{LANG}/noimage.gif";
$images['paypal_logo'] = "$current_template_images/paypal_logo.gif";
$images['msg_newad'] = "$current_template_images/{LANG}/msg_newad.gif";
$images['icon_images'] = "$current_template_images/{LANG}/icon_images.gif";
$images['icon_renew'] = "$current_template_images/{LANG}/icon_renew.gif";
$images['icon_sold'] = "$current_template_images/{LANG}/icon_sold.gif";
$images['icon_active'] = "$current_template_images/{LANG}/icon_active.gif";

#
#-----[ 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/ads_mod/*.* to ads_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/

#
#-----[ DIY INSTRUCTIONS ]------------------------------------------
#
# Create folder: ads_mod/chasers
# Create folder: ads_mod/images
# Create folder: ads_mod/payments (if using paid ads)

#
#-----[ DIY INSTRUCTIONS ]------------------------------------------
#
# Required for Unix hosts (you can use your FTP client to do this)
#
# CHMOD 777 ads_mod/chasers
# CHMOD 777 ads_mod/images
# CHMOD 777 ads_mod/payments (if using paid ads)

#
#-----[ SQL ]--------------------------------------------------------
#
# This Ads mod will add 10 tables to your database.
# It will not alter any existing tables :)
#
# Upload ads_db_install.php and ads_mysql.sql to your phpBB root
# directory then run ads_db_install.php by typing on the browser
# After that, delete both files immediately
#
# If you do not want to run ads_db_install.php you can run the SQL
# queries manually in ads_mysql.sql
#
##########

# After installation, go to your Admin Control Panel and customise
# your set-up.
#

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

burda anlatılan gibi yapıyorum sayfa bembeyaz oluyor :S
Bu mesaja eklenen dosyaları görüntülemek için gerekli izinlere sahip değilsiniz.
Dr-x
Kayıtlı Kullanıcı
Mesajlar: 2
Kayıt: 07.10.2007, 00:35

Re: phpca nasıl kuruluyor ?

Mesaj gönderen Dr-x »

not : Hayati Önem Ta$ıyor (işten kovulabilirim yapamazsam)
eXspet
Kayıtlı Kullanıcı
Mesajlar: 244
Kayıt: 22.04.2007, 06:37
Konum: istanbul
İletişim:

Re: phpca nasıl kuruluyor ?

Mesaj gönderen eXspet »

Dostum eğer anasayfada beyaz sayfa çıkıyorsa includes/page_header.php veya templates/subSilver/overall_header.tpl'de bir hata olabilir..
Buraları yeniden düzenlemeyi dene..
Bir de Sql sorgusunu yapmayı unutma o da böyle bir soruna yol açabilir..
#-----[ SQL ]--------------------------------------------------------
#
# This Ads mod will add 10 tables to your database.
# It will not alter any existing tables :)
#
# Upload ads_db_install.php and ads_mysql.sql to your phpBB root
# directory then run ads_db_install.php by typing on the browser
# After that, delete both files immediately
#
# If you do not want to run ads_db_install.php you can run the SQL
# queries manually in ads_mysql.sql


Yinede hata olursa msn adresimi ekle ben kurmaya çalışırım fazla zorbir mod değil gibi gözüküyor ;)
Kilitli

“2.0.x MOD Destek” sayfasına dön

Kimler çevrimiçi

Bu forumu görüntüleyen kullanıcılar: Hiç bir kayıtlı kullanıcı yok ve 10 misafir