than and hide

Eklentiler ile ilgili gelişmeler. Yeni modlar, güncellemeler.

İleti murtaza 12.04.2006, 23:23

en sonunda bulduukkk
tesekkür ederim anacim

Sevgiyle
Ögretmenim canim benim , canim benim...
Seni ben pek cok , pek cok severim.
Sen bir anaaaa , sen bir baabaaaaaa
Kalani neyyydiii yaaa unuttum , bu siirin sözlerini ariyorum...
Kullanıcı avatarı
murtaza
Üye
Üye
 
İleti: 1187
Kayıt: 15.11.2005, 17:15
Konum: Yurt Dışı

Cvp: [2.0.19] Thank You Mod - Herkezin aradigi

İleti turkdost 22.04.2006, 00:57

Sonunda Buldum Arkadaşlar Hepinizi Yordum ama allah razı olsun sizden Buyrun degiştirmek isteyen arkadaşlara bendende dosyası :)


Kod: Tümünü seç
##############################################################
## MOD Title: Thanks mod and PhiliWeb Hide BBCode
## MOD Author: Kinfule < kinfule@lycos.es > (Javier B) http://kinfule.tk
## MOD Description: This mod will change the way the hide BBcode works.
##                           To see the hidden message the user will have to thank the topic
##                           instead of posting on it.
##
## MOD Version: 1.0.1
##
## Installation Level: Easy
## Installation Time: 5 Minutes
## Files To Edit: 3
## Included Files: n/a
## 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:
##
##############################################################
## MOD History:
##
##   2005-03-12 - Version 1.0.0
##      - Release, My users are more important.
##   2005-03-12 - Version 1.0.1
##      - Fixed Bug wich hided mesagge from topic poster.
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
posting.php

#
#-----[ FIND ]------------------------------------------
#
$sql = "SELECT p.poster_id, p.topic_id
FROM " . POSTS_TABLE . " p
WHERE p.topic_id = $topic_id
AND p.poster_id = " . $userdata['user_id'];

#
#-----[ REPLACE WITH ]------------------------------------------
#
$sql = "SELECT p.topic_id, t.topic_id
FROM " . THANKS_TABLE . " p, ". TOPICS_TABLE ." t
WHERE p.topic_id = $topic_id
AND p.user_id = " . $userdata['user_id']. "
OR t.topic_id = $topic_id
AND t.topic_poster = " . $userdata['user_id'];

#
#-----[ FIND ]------------------------------------------
#
else { $sql = "SELECT p.poster_id, p.topic_id
FROM " . POSTS_TABLE . " p
WHERE p.topic_id = $topic_id
AND p.poster_id = " . $userdata['user_id'];


#
#-----[ REPLACE WITH ]------------------------------------------
#
else { $sql = "SELECT p.topic_id, t.topic_id
FROM " . THANKS_TABLE . " p, ". TOPICS_TABLE ." t
WHERE p.topic_id = $topic_id
AND p.user_id = " . $userdata['user_id']. "
OR t.topic_id = $topic_id
AND t.topic_poster = " . $userdata['user_id'];


#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php

#
#-----[ FIND ]------------------------------------------
#
$sql = "SELECT p.poster_id, p.topic_id
FROM " . POSTS_TABLE . " p
WHERE p.topic_id = $topic_id
AND p.poster_id = " . $userdata['user_id'];

#
#-----[ REPLACE WITH ]------------------------------------------
#
$sql = "SELECT p.topic_id, t.topic_id
FROM " . THANKS_TABLE . " p, ". TOPICS_TABLE ." t
WHERE p.topic_id = $topic_id
AND p.user_id = " . $userdata['user_id']. "
OR t.topic_id = $topic_id
AND t.topic_poster = " . $userdata['user_id'];


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

#
#-----[ FIND ]------------------------------------------
#
$sql = "SELECT p.poster_id, p.topic_id
FROM " . POSTS_TABLE . " p
WHERE p.topic_id = $topic_id
AND p.poster_id = " . $userdata['user_id'];

#
#-----[ REPLACE WITH ]------------------------------------------
#
$sql = "SELECT p.topic_id, t.topic_id
FROM " . THANKS_TABLE . " p, ". TOPICS_TABLE ." t
WHERE p.topic_id = $topic_id
AND p.user_id = " . $userdata['user_id']. "
OR t.topic_id = $topic_id
AND t.topic_poster = " . $userdata['user_id'];

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
turkdost
Üye
Üye
 
İleti: 7
Kayıt: 22.03.2006, 22:40

Cvp: than and hide

İleti tergek 15.10.2006, 09:05

Benım sitedeki hide modunda tşekkur edenlere gizli içerik acılmıyo. Anladıgım kadarıyla bu mod o işe yarıyo. Ama benım dosyalarıma uymadı. Buraya koysam modu kurmamda yardımcı olabilirmisiniz. ?
Eklentiler
dosyalar.zip
(37.85 KiB) 654 defa indirildi
Resim
Kullanıcı avatarı
tergek
Üye
Üye
 
İleti: 133
Kayıt: 11.12.2005, 22:28
Konum: İstanbul

İleti murtaza 16.10.2006, 04:58

Hazircilik yok anacim.

Sen yapamadigim yeri söyle.

Biz yardimci oluruz her yerde

Sevgiyle
Kullanıcı avatarı
murtaza
Üye
Üye
 
İleti: 1187
Kayıt: 15.11.2005, 17:15
Konum: Yurt Dışı

İleti BaRCeLoNa 16.10.2006, 18:42

turkhost o verdiğin mod hani birisi topic açıo başına [hide] [/hide] taglarını koyuyo millette bişeyler yazmadan topic açılmıo o mod mu ? eğer o modsa nerde onun mavi kilit resmi :) ?
barcelona tema v 1.0 %40 [ l l l l l l l l l ]
http://www.forumuni.com
Kullanıcı avatarı
BaRCeLoNa
Üye
Üye
 
İleti: 271
Kayıt: 16.05.2006, 23:26
Konum: İzmir

İleti tergek 16.10.2006, 19:32

zaten ufacık bir mod, kesinlikle hazırcılık bi niyetim yoktu.

posting.php deki ve includes/topic_review.php deki seyleri kesınlıkle bulamadım. Ona yakın seylre baktım ama tam yapamadım hatalar verdi. Zaten ikisinde bulmam gereken 3 sey var 3 ude cıkmadı. :( Sadece viewtopic.php dekileri bulabildim.
Resim
Kullanıcı avatarı
tergek
Üye
Üye
 
İleti: 133
Kayıt: 11.12.2005, 22:28
Konum: İstanbul


Duyurular & Güncellemeler



Kimler çevrimiçi

Bu forumu görüntüleyenler: Kayıtlı kullanıcı yok ve 0 misafir

cron