Gönderen Konu: yardım forumdan son konular  (Okunma sayısı 1709 defa)

0 Üye ve 1 Ziyaretçi konuyu incelemekte.

Çevrimdışı emnun

  • İleti: 70
  • Puan: 0
  • Cinsiyet: Bay
    • aldun
-yardım forumdan son konular
« Yanıtla #10 : Mart 04, 2010, 09:14:52 ÖÖ »
ok ekliyeyim adem hoca fakat sorunsuzdur eklenti olmaz ise forumdan yardım alarak joomlaya gececem galiba

Kod: [Seç]
<?
#########################################
#            Last Posts v1              #
#            By ice2003                 #
#                                       #
#   For use with mkportal vb version    #
#########################################

#####################################################################################################################
###Please read and fill out all the $vars below , You only need to alter every thing within the " " to your liking  #
###Read it carefully as some of them can conflict if you set them wrong (you have been warned, Always read carefully#
###I take no responsability if your or your hosts server blows up and or explodes as a result of using this block   #
###If all else fails my advice is to just smile walk to the fridge and grab a beer, No make the 2 beers             #
#####################################################################################################################

global $DB;
$vb_table_prefix = "";    // This is where you can put in a prefix if you have on on your database
$url = "http://www.uzmanweb.net/forum"; // URL to your board - NO TRAILING SLASH!
$urlimg = "http://www.uzmanweb.net/forum/images"; // URL to your board's images - NO TRAILING SLASH!
$maxthreads = "20"; // max threads to show. will show less if $last24 or $last7 limits it to less results than this number
$ob = "lastpost"; // set to one of the following: replycount , views , lastposter , title , lastpost (lastpost is most popular. it's the thread most recently replied to, then the second-to-last most recent, etc.)
$obdir = "desc"; // which direction to sort? "desc" goes from bottom to top (9 to 1, z to a, etc.). "asc" goes top to bottom (1 to 9, a to z, etc.). if you use lastpost for $ob, leave this set to desc or it will not work correctly!
$last24 = "0"; // 1 = last 24 hours; 0 = all (must set this to 0 if $last7 is set to 1)
$last7 = "0"; // 1 = last 7 days; 0 = all (must set this to 0 if $last24 is set to 1)
$bc1 = "#EBEBEB"; // first alt color
$bc2 = "#DDE0E4"; // second alt color
$hc = "#EBEBEB"; // head background color
$lc = "#2C4674"; // link color                        
$tc = "#012350"; // text color
$f = "Verdana"; // font face
$fs = "8"; // font size in points - 8 is normal, 6 is on the small side, 10 on the large side. play around with it. :)
$lastposter = "1"; // show last poster? 1 = yes; 0 = no
$views = "1"; // show view count? 1 = yes; 0 = no
$replies = "1"; // show reply count? 1 = yes; 0 = no
$lastpostdate = "1"; // show last post date and time? 1 = yes; 0 = no
$len = 30; // maximum number of characters of the title to show. e.g. if the title is 60 characters and this is set to 25, only the first 25 characters of the title will be shown (followed by ...)
$excludeforums = ""; // if you want to exclude a forum, put it's ID here. more than one, seperate them with commas, NO SPACES! e.g. 1,2,3,4
$includeforums = ""; // if you only want to include certain forums, put their ids here. separate more than one with commas, NO SPACES! e.g. 1,2,3,4
$showmessages = "1"; // show the text of the last post too? 1 = yes; 0 = no
$lplen = "0"; // character length of last post text (if $showmessages is set to 0 this won't do anything).
$tw = ""; // width of the table that shows the info, in either a percent ( e.g. 95% ) or in pixels ( e.g. 300 ). leave blank if you want the table to be sized naturally
$showdate = "1"; // show the date, as well as the time? if the posts that show up in the list are likely to all be from today (or you set $last24 to "1"), you can set this to 0. if the posts are spread over multiple days, you probably want this set to 1.
$cs = "1"; // this is the cellspacing. 1 makes a thin line around the cells. 0 makes no line.
$showicon = "0"; // shows the posts' icon next to the post
$showforumtitle = "15"; // shows the forum title (linked to that forum) next to the thread title
$nb = "0"; // do you want breaks in text to appear as such? this may cause problems if there are large breaks in the text

« Son Düzenleme: Mart 04, 2010, 21:37:01 ÖS Gönderen: AdmiN »
Konuyu Paylaş:
  delicious  facebook  twitter  google

Çevrimdışı emnun

  • İleti: 70
  • Puan: 0
  • Cinsiyet: Bay
    • aldun
-yardım forumdan son konular
« Yanıtla #11 : Mart 04, 2010, 16:36:20 ÖS »
  adem hoca bu şifreleme olayı cozulurse  herhalde hatada duzelir cunku bu sadece sorulu sitede cıkıyor

Çevrimdışı AdmiN

  • Genel Sorumlu
  • Administrator
  • *
  • İleti: 7976
  • Puan: 750
  • Cinsiyet: Bay
  • ~|| Bilginin Gücü ||~
    • Kişisel Web Sitem
-yardım forumdan son konular
« Yanıtla #12 : Mart 04, 2010, 21:39:06 ÖS »
Kodların içinde üst sıralarda şöyle bir satır var.
$vb_table_prefix = "";

Burada çift tırnak arasına veritabanı tablo ön ekini yazman gerekir.Mesela phpmyadmin penceresinde tablo isimleri vb_members   gibi ise burada tablo ön eki vb oluyor.Ona göre dosyada ilgili yere kullandığın forumun tablo önekini yazarsan çalışması lazım.

Çevrimdışı emnun

  • İleti: 70
  • Puan: 0
  • Cinsiyet: Bay
    • aldun
-yardım forumdan son konular
« Yanıtla #13 : Mart 05, 2010, 18:36:17 ÖS »
adem hoca resimli anlatımı yokmu

Çevrimdışı AdmiN

  • Genel Sorumlu
  • Administrator
  • *
  • İleti: 7976
  • Puan: 750
  • Cinsiyet: Bay
  • ~|| Bilginin Gücü ||~
    • Kişisel Web Sitem
-yardım forumdan son konular
« Yanıtla #14 : Mart 05, 2010, 18:47:57 ÖS »
Resimli anlatıma gerek yok ki.O dosyayı sıkıştırıp siteye ekleyip ve de tablonun ön ekini yazarsan dosyayı düzenleyip koyarım buraya.

Çevrimdışı AdmiN

  • Genel Sorumlu
  • Administrator
  • *
  • İleti: 7976
  • Puan: 750
  • Cinsiyet: Bay
  • ~|| Bilginin Gücü ||~
    • Kişisel Web Sitem
-yardım forumdan son konular
« Yanıtla #15 : Mart 06, 2010, 19:48:56 ÖS »
So konular dosyasını düzenledim.Bunu kullanabilirsin.
« Son Düzenleme: Mart 06, 2010, 20:09:56 ÖS Gönderen: AdmiN »

 

Benzer Konular

  Konu / Başlatan Yanıt Son İleti
1 Yanıt
1286 Gösterim
Son İleti Ekim 15, 2008, 20:36:54 ÖS
Gönderen: romeoo
1 Yanıt
1144 Gösterim
Son İleti Kasım 29, 2008, 10:45:10 ÖÖ
Gönderen: AdmiN
5 Yanıt
1053 Gösterim
Son İleti Aralık 05, 2008, 17:33:13 ÖS
Gönderen: akıllıcocuk
0 Yanıt
432 Gösterim
Son İleti Eylül 13, 2010, 11:50:23 ÖÖ
Gönderen: tekniker
1 Yanıt
402 Gösterim
Son İleti Aralık 12, 2011, 20:01:34 ÖS
Gönderen: AdmiN