11
canbula
Re: HACKED BY KARTAL [ TURKiSH HACKER ]
  • 2007/1/5 14:07

  • canbula

  • Just popping in

  • Posts: 42

  • Since: 2006/7/10


I am a Turkish xoopser too..and admin of one of the Turkish support sites..I don't know who is Kartal..but if you use 2.0.9.2 he can hack your site again and again because for this version some bugs are very popular in Turkey..and also putting an index.html file in all directories is very popular..so I think you must upgrade your XOOPS and be very careful about chmods
http://www.xoops-tr.com - Turkish Xoops



12
canbula
Re: Hidden Contents like Vbulletin
  • 2006/12/6 21:10

  • canbula

  • Just popping in

  • Posts: 42

  • Since: 2006/7/10


yes it hides the content from anonymous users..they can see the content after login
http://www.xoops-tr.com - Turkish Xoops



13
canbula
Hidden Contents like Vbulletin
  • 2006/12/6 9:03

  • canbula

  • Just popping in

  • Posts: 42

  • Since: 2006/7/10


Everybody knows 'Hidden Content' in Vbulletin forums. Now we can use it in XOOPS. It is very very easy.

File: class/module.textsanitizer.php
We add only a few lines in our module.textsanitizer.php then we can use Hidden Content in news, newbb, sections etc. modules.

Now you must find these lines in module.textsanitizer.php
function &xoopsCodeDecode(&$text$allowimage 1)
    {
        
$patterns = array();
        
$replacements = array();

and change these lines like this
function &xoopsCodeDecode(&$text$allowimage 1)
    {
        
$patterns = array();
        
$replacements = array();
                
$patterns[] = "/XhiddencontentX(.*)X/hiddencontentX/sU";
        if(
$_SESSION['xoopsUserId']) {
            
$replacements[] = '\1';
        }
        else {
            
$replacements[] = '<a href="'.XOOPS_URL.'/register.php"><img src="'.XOOPS_URL.'/hidden.gif" alt="Hidden Content" /></a>';
        }

and alsa I use an image file to explain the situation in my XOOPS root folder, it is hidden.gif..and looks like this
Resized Image

and now you can use it like this
XhiddencontentX This is hidden contentYou can see this when you register and login X/hiddencontentX

I prefer to use it with XhiddencontentX but you can change it whatever you like

You must wrote the this at the hidden contents beginning
XhiddencontentX

and at the end
X/hiddencontentX

You can use it with images, articles, news. Its biggest advantage is you haven't to hide all article, with this you can hide only a part in it


Bora Canbula ( boracanbula@gmail.com -http://www.xoopshocasi.com )
http://www.xoops-tr.com - Turkish Xoops



14
canbula
Re: Error in installing Modules
  • 2006/12/3 11:00

  • canbula

  • Just popping in

  • Posts: 42

  • Since: 2006/7/10


I recommend deleting adminmenu.php file in the cache folder and then update system module..and also this problem appears if you have changed the admin.php filename
http://www.xoops-tr.com - Turkish Xoops



15
canbula
Re: Translations for XOOPS 2.0.16
  • 2006/11/27 10:50

  • canbula

  • Just popping in

  • Posts: 42

  • Since: 2006/7/10


Turkish Language Pack for XOOPS 2.0.16

http://www.xoopshocasi.com/lang-xoops-2.0.16-tr.ISO-8859-9.zip

Translator: Bora Canbula ( boracanbula@gmail.com )

Support: XoopSHoCasI.CoM
http://www.xoops-tr.com - Turkish Xoops



16
canbula
how is it born?
  • 2006/9/24 16:14

  • canbula

  • Just popping in

  • Posts: 42

  • Since: 2006/7/10


XOOPS is a very strong cms..and i love it..but also i want to learn how is it born..i know it is based on PHPNuke 4.4 but i couldn't find XOOPS RC1..i want to download the first XOOPS version..i find 1.3.0 but i want the first..is there anyone help me?

thanks
http://www.xoops-tr.com - Turkish Xoops



17
canbula
Re: register to a custom group
  • 2006/9/17 8:59

  • canbula

  • Just popping in

  • Posts: 42

  • Since: 2006/7/10


this is exactly what i am looking for..thank you very much..god bless you
http://www.xoops-tr.com - Turkish Xoops



18
canbula
register to a custom group
  • 2006/9/16 20:34

  • canbula

  • Just popping in

  • Posts: 42

  • Since: 2006/7/10


i need this so much please help me

i want to ask my guest which group he/she wants to register..because i have two custom groups..and new users must select one of them and ask this question while they register

how can i do this?
http://www.xoops-tr.com - Turkish Xoops



19
canbula
Re: How Can i show the last post title in index page of newbb (i use CBB3.5)
  • 2006/9/13 0:01

  • canbula

  • Just popping in

  • Posts: 42

  • Since: 2006/7/10


this problem is over..I changed the codes and now it is like vbulletin index page..look at the example

http://www.xoopshocasi.com/modules/newbb
http://www.xoops-tr.com - Turkish Xoops



20
canbula
Re: Geshi Syntax Highlighting
  • 2006/9/11 22:05

  • canbula

  • Just popping in

  • Posts: 42

  • Since: 2006/7/10


yes I solve the problem finally..at the end of the module.textsanitizer.php the function geshi_highlight is written..look at old function;

function geshi_highlight$source$language )
    {
        
$source str_replace('"''"'$source);
        include_once(
XOOPS_ROOT_PATH '/class/geshi.php');
        
$language strtolower($language);
        
$source $this->undoHtmlSpecialChars($source);
        
        
        
// Create the new GeSHi object, passing relevant stuff
        
$geshi = new GeSHi($source$languageXOOPS_ROOT_PATH '/class/geshi/');
        
// Enclose the code in a <div>
        
$geshi->set_header_type(GESHI_HEADER_PRE);
        
        
// Turn CSS classes on to reduce output code size
        
$geshi->enable_classes();

        
// Parse the code
        
$code $geshi->parse_code();
        
// Remove <br />'s added by GeSHi - they are added by phpBB later anyway
        
$code str_replace('<br />'''$code);
        
        return 
$code;
    }


I made some changes and now the hack is cool following chars;

function geshi_highlight$source$language )
    {
        
$source str_replace('"''"'$source);
        include_once(
XOOPS_ROOT_PATH '/class/geshi.php');
        
$language strtolower($language);
        
$source $this->undoHtmlSpecialChars($source);
        
        
        
// Create the new GeSHi object, passing relevant stuff
        
$geshi = new GeSHi($source$languageXOOPS_ROOT_PATH '/class/geshi/');
        
// Enclose the code in a <div>
        
$geshi->set_header_type(GESHI_HEADER_PRE);
        
        
// Turn CSS classes on to reduce output code size
        
$geshi->enable_classes();

        
// Parse the code
        
$code $geshi->parse_code();
        
// Remove <br />'s added by GeSHi - they are added by phpBB later anyway
        
$code str_replace('<br />'''$code);
            
// Added By Bora Canbula to show Turkish chars
        
$code str_replace('&eth;''&#287;'$code);
        
$code str_replace('&yacute;''&#305;'$code);
        
$code str_replace('&thorn;''&#351;'$code);
        
$code str_replace('&ETH;''&#286;'$code);
        
$code str_replace('&Yacute;''I'$code);
        
$code str_replace('&THORN;''&#350;'$code);
        

        return 
$code;
    }


that's all..if anybody has a problem in his own language..can do the same thing
[/code]
http://www.xoops-tr.com - Turkish Xoops




TopTop
« 1 (2) 3 4 »



Login

Who's Online

172 user(s) are online (80 user(s) are browsing Support Forums)


Members: 0


Guests: 172


more...

Donat-O-Meter

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

Latest GitHub Commits