21
canbula
Re: News module 1.44 - Displaying attached images.
  • 2006/9/11 7:16

  • canbula

  • Just popping in

  • Posts: 42

  • Since: 2006/7/10


Hi guys I also show you a different block for News Embed v1.44

http://www.bozkirinsesi.com

look at the center block..we call it HaberTV in Turkey
http://www.xoops-tr.com - Turkish Xoops



22
canbula
Re: Please Help me
  • 2006/9/10 10:43

  • canbula

  • Just popping in

  • Posts: 42

  • Since: 2006/7/10


Admin >> System >> Preferences >>

and turn off the debug mode

I think you are Turkish:

Admin Menü >> System >> Tercihler >> Genel Ayarlar

php debug modunu kapat.bu hatalar her sitede olur..çok önemli değil
http://www.xoops-tr.com - Turkish Xoops



23
canbula
newbb to newbbex
  • 2006/9/9 8:13

  • canbula

  • Just popping in

  • Posts: 42

  • Since: 2006/7/10


is there a way to change my newbb 2.02 to newbbex 1.3 without losing any message?
http://www.xoops-tr.com - Turkish Xoops



24
canbula
generate a query each time
  • 2006/9/8 17:54

  • canbula

  • Just popping in

  • Posts: 42

  • Since: 2006/7/10


I want to generate a query each time a mysql_query function called..how can I do this by changing the codes of XOOPS Database class? thanks for your help
http://www.xoops-tr.com - Turkish Xoops



25
canbula
Re: Saying Hello to Xoops signed in user
  • 2006/9/8 10:40

  • canbula

  • Just popping in

  • Posts: 42

  • Since: 2006/7/10


you didn't understand me..look at this

<?php
include("mainfile.php");
    
$yol XOOPS_DB_HOST;
    
$kullanici_adi XOOPS_DB_USER;
    
$kullanici_sifre XOOPS_DB_PASS;
    
$veritabani_adi XOOPS_DB_NAME;
    
$veritabani_oneki XOOPS_DB_PREFIX;
    
$veri_yolu mysql_connect($yol$kullanici_adi$kullanici_sifre);
    if ( ! 
$veri_yolu ) die ("An error occured!");
    
mysql_select_db($veritabani_adi $veri_yolu) or die ("An error occured!" mysql_error() );
    
$sonuc mysql_query("SELECT * FROM ".$veritabani_oneki."_users WHERE uid=".$_SESSION['xoopsUserId']." ORDER BY uname ASC limit 1",$veri_yolu);
    while(
$satir mysql_fetch_array($sonuc)) {
        echo 
$satir['uname'];
    }
    
mysql_close();
?>


put this code in an external php file located in your XOOPS root directory..and call this file after login..you will see your user name
http://www.xoops-tr.com - Turkish Xoops



26
canbula
Re: Geshi Syntax Highlighting
  • 2006/9/8 10:34

  • canbula

  • Just popping in

  • Posts: 42

  • Since: 2006/7/10


the hack is works perfectly but there is a problem with Turkish characters like ş,ğ,ı,ö,ç...how can I solve this?
http://www.xoops-tr.com - Turkish Xoops



27
canbula
Re: wikimod permissions
  • 2006/9/8 9:06

  • canbula

  • Just popping in

  • Posts: 42

  • Since: 2006/7/10


I solved the problem by using wiwimod..with page profile I can do this..but wikimod is much lighter and working better..so I'm still waiting the solution for wikimod
http://www.xoops-tr.com - Turkish Xoops



28
canbula
Re: Saying Hello to Xoops signed in user
  • 2006/9/8 9:01

  • canbula

  • Just popping in

  • Posts: 42

  • Since: 2006/7/10


$_SESSION['xoopsUserId'] this variable absolutely gets the user id..with this id you can get other thins that belongs the user..for example;

SELECT FROM xoops_users WHERE uid=".$_SESSION['xoopsUserId']." ORDER BY uname ASC limit 1


like this query you can get all the information about the user..but I don't know how it can be used in a block..because its mentality is realy different
http://www.xoops-tr.com - Turkish Xoops



29
canbula
Re: Saying Hello to Xoops signed in user
  • 2006/9/8 8:27

  • canbula

  • Just popping in

  • Posts: 42

  • Since: 2006/7/10


in a custom php block..you can use this codes

echo "Welcome, ".$xoopsUser->getVar('uname');
http://www.xoops-tr.com - Turkish Xoops



30
canbula
wikimod permissions
  • 2006/9/8 8:17

  • canbula

  • Just popping in

  • Posts: 42

  • Since: 2006/7/10


i am using wikimod module in my site..but this module allows all users to change wiki pages..i want to allow only a definite group like Wiki-Moderators..is it possible with a plug-in or something like this?
http://www.xoops-tr.com - Turkish Xoops




TopTop
« 1 2 (3) 4 »



Login

Who's Online

66 user(s) are online (41 user(s) are browsing Support Forums)


Members: 2


Guests: 64


Mamba, heyula,

more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits