RSS feed

TDMpicture 1.5 Xoops-Tr.Com Hack Edition

Hi All;

This TDMpicture 1.5 fixed hacamat and bandit-x.
Thanks for help Bandit-x.

Download Link HERE

1- category deleted and not delete pictures tables--- fixed
2- some link errors --fixed

Module tested.
www.xoops-tr.com

good lock (I cant speak english sory :) )

you can edit TDMpicture/templates/blocks/tdmpicture_minitable.html for Slideshow Width and height below codes.


<script type="text/javascript">
    $(
document).ready(function(){
        $(
'#photos').galleryView({
            
panel_width618,
            
panel_height300,
            
frame_width128,
            
frame_height96
Read more... | 1 comment

Manage Error Page

I created a special file to be included in xoops root of the error handling page.

The News
The Tutorial
The Download files

Demos:

Error 400
Error 401
Error 403
Error 404
Error 500

Customizable to your liking.

TXMod Xoops
Read more... | 6 comments

Displayname hack

Hi,

there are some webmasters still using XOOPS 2.2 even though XOOPS 2.4.5 has been released. And this is because of something that is only in XOOPS 2.2: Displayname.

So I've created this hack which will let you add Displayname to your website.

This hack support english and persian languages and was tested on XOOPS 2.4.

Here is a direct download link from the Persian XOOPS support site.

Just extract it into the Root of your XOOPS Installation and go to this address :
yourwebsite/SyncLN.php

After updating your profile module you'll have a Displayname in your site.

I hope this will help.


Read more... | 3 comments

Adding autoscrolling jCarousel to the random horizontal block of extgallery module

hello Xoopsers,
to add an attractive look to your Xoops website, it's necessary sometimes to make many hacks to some blocks, especially pictures one.
In this participation , I will let you know how to add autoscrolling jCarousel to the random horizontal block of extgallery module.

I took the effect from this website :
http://sorgalla.com/jcarousel/
and I choose the Carousel with autoscrolling.
this is an example of the effect merged with the block
http://www.mrchcenter.com/
look the scrolling picutres just above the footer
Resized Image


1- you can download the hack , ready to use with your theme Xoops (without making any changes to the module) from this link

2- Unzip the package and copy the content to your current theme (images, js, modules, skin.css)

3- Edit your theme.html, and in the css area , add this line :
<link rel="stylesheet" type="text/css" media="all" title="Style sheet" href="<{xoImgUrl skin.css}>" />


4- also in your theme,under :
<!-- customized header contents -->
<{$xoops_module_header}>
and before: </head>
add these lines :
<script src="<{xoImgUrl js/jquery-1.4.2.min.js}>" type="text/javascript"></script>
    <
script src="<{xoImgUrl js/jquery.jcarousel.min.js}>" type="text/javascript"></script>
<
script type="text/javascript">

function 
mycarousel_initCallback(carousel)
{
    
// Disable autoscrolling if the user clicks the prev or next button.
    
carousel.buttonNext.bind('click', function() {
        
carousel.startAuto(0);
    });

    
carousel.buttonPrev.bind('click', function() {
        
carousel.startAuto(0);
    });

    
// Pause autoscrolling if the user moves with the cursor over the clip.
    
carousel.clip.hover(function() {
        
carousel.stopAuto();
    }, function() {
        
carousel.startAuto();
    });
};

jQuery(document).ready(function() {
    
jQuery('#mycarousel').jcarousel({
        
auto2,
        
wrap'last',
        
initCallbackmycarousel_initCallback
    
});
});

</
script>


that's all !
now you can activate the block random pictures from your admin panel (extgallery_block_random.html)
and change the size from the skin.css, if you want.

n.b you can also choose block any where, founded by trabis to use the block wherever you want.


Regards
Read more... | 1 comment

Xoops reCaptcha class v1.00 beta

What is Xoops reCaptcha?

Xoops reCaptcha is class that will allow users to add and use reCaptcha widget to prevent spam being posted on their website.

This class can be used in conjunction with the Xoops Captcha or it can replace it all together, with just few lines of code.

While this class can be utilized by anyone, it is aim more at Xoops developers wishing to add reCaptcha to their code.

The class is cleanly written and has developer comments to help aid you in it's usage and there is also documentation within the package that will explain how to add the required calls to make it work.

For its usage, you will be required to create a private and public key and these can be entered one of two ways (Again, this is explained in the documentation).

Xoops reCaptcha, can be used in two ways, either within XoopsFormclass or statically through its own API and methods.

There are examples of its usage within the documentation.

Xoops reCaptcha v1.00 is beta and should not be considered ready for a production website, but used to help with further development.

While I have tried to make this as easy to use as possible, it is not for total beginners. If you require help with this class, I am sure people at the Xoops forum will only be to glad to help out.

You can download this class from the following:
Xoops reCaptcha v1.00

Please submit bugs and features here:
bugs and feature requests
Read more... | 17 comments

xoCode: Latest Tweet

This xoCode extension allows you to show the latest tweet of a twitter user.

How to install this xoCode extension?
1. Download [THIS] archive.
2. Extract it to a local folder.
3. Upload the contents of the "htdocs" folder to your XOOPS root directory.
THAT'S ALL

- You can change the styling of the Latest Tweet div in the htdocs/class/textsanitizer/lt/lt.css file.
- If you have installed other extensions like the "Acronym" one please read the "MANUAL INSTALLATION" section below.

How to use this xoCode extension?
You can place the [lt]twitter-username[/lt] tag in any xoCode enabled field (like the signature field of your profile). If you place [lt]XOOPS_forums[/lt] in a xoCode enabled textfield this would display the latest tweet of the twitter user "XOOPS_forums".

You can see a demonstration of this extension [HERE] (At the signature/"handtekening" section).

-- MANUAL INSTALLATION --
1. Download [THIS] archive.
2. Extract it to a local folder.
3. Replace /htdocs/class/textsanitizer/config.php with the copy from you server.
4. Open the just replaced file and replace this code (line 27):
"iframe" => 0,
With this code:
"lt" => 1,
"iframe" => 0,

5. Upload the contents of the "htdocs" folder to your XOOPS root directory.

I hope you all like this extension, I know I do .
Read more... | 6 comments

Add "Yahoo Video" in module MyTube

Changes to achieve :

/***** language/yourlanguage/main.php *****/
add line 211
define'_MD_XTUBE_YAHOO''Yahoo' );


and add line 61
<strong>Yahoo:</strong>flashVars="id=<font
color=#FF0000>mycodetoput</font>"
(voir le code embed)</small>
after
<strong>Viddler:</stronghttp://www.viddler.com/player/<font
color=#FF0000>d32d2b94</font>/ (see embed code)</small><br />


/***** language/yourlanguage/admin.php *****/ add line 506
define'_AM_XTUBE_YAHOO''Yahoo' );


add line 255
<strong>Yahoo:</strong>flashVars="id=<font
color=#FF0000>mycodetoput</font>"
(see embed code)</small>


after
<strong>Viddler:</stronghttp://www.viddler.com/player/<font
color=#FF0000>d32d2b94</font>/ (see embed code)<br />


/***** admin/index.php *****/
change and add line 125
109 => _AM_XTUBE_MEGAVIDEO,
110 => _AM_XTUBE_YAHOO


/***** include/video.php *****/
add under line 67
case 110:
          
$returnsource _AM_XTUBE_YAHOO;
          break;


add under line 126
case 110:


add under line 179
case 110:


add under line 314
// yahoo
             
case 110:
            
$showvideo '<object width="512" height="322"><param name="movie" 
value="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.46" 
/><param name="allowFullScreen" value="true" /><param name="AllowScriptAccess" VALUE="always" /><param name="bgcolor" 
value="#000000" /><param name="flashVars" value="' 
$vidid '" 
/><embed
src="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.46" 
type="application/x-shockwave-flash" width="512" height="322" 
allowFullScreen="true" AllowScriptAccess="always" bgcolor="#000000" 
flashVars="id=' 
$vidid '" ></embed></object>';
            break;




See videos (in french - sorry ) on Xoofoo - TV Channel
Read more... | 6 comments

Acronym - new XoopsCode

Do you want to have new XoopsCode? My Little hack add new XoopsCode like HTML < acronym > tag. Add new functionality is easy

First we need to create a directory in CLASS/TEXTSANITIZER new folder and call it "acr". In it are two files:

The first is "index.html" which serves as a basic protection against such intrusions. You can find it in virtually all other directories and it is sufficient merely to copy the new directory.

The second is called "acr.php" and have this content:

<?php
/*
 You may not change or alter any portion of this comment or credits
 of supporting developers from this source code or any supporting source code
 which is considered copyrighted (c) material of the original comment or credit authors.

 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/

/**
 * TextSanitizer extension
 *
 * @copyright       The XOOPS Project http://sourceforge.net/projects/xoops/
 * @license         http://www.fsf.org/copyleft/gpl.html GNU public license
 * @package         class
 * @subpackage      textsanitizer
 * @since           2.3.0
 * @author          Wishcraft <simon@xoops.org>
 * @version         $Id: li.php 3575 2009-09-05 19:35:11Z trabis $
 */
defined('XOOPS_ROOT_PATH') or die('Restricted access');

class 
MytsAcr extends MyTextSanitizerExtension
{
    function 
load(&$ts)
    {

        
$ts->patterns[] = "/[acr](.*)[/acr]/sU";
        
$ts->replacements[] = '<acronym title="Unknown acronym">\1</acronym>';
    
        
$ts->patterns[] = "/[acr=(.*)](.*)[/acr]/sU";
        
$ts->replacements[] = '<acronym title="\1">\2</acronym>';
        return 
true;
    }
}

?>


In it, he set his own recognition of the new Xoopscode and its treatment, or switch to HTML tags. You may notice that contains two options:

[acr]Xoops[/acr]


This code creates the text, which completes the acronym, but is not assigned any meaning, because it also writes the label.

[acr=eXtensible Object Oriented Portal System]Xoops[/acr]


This code creates a shortcut again in the sense of HTML, but given the importance of this symbol and therefore it forward.

Everything worked so well, you need to edit another file, and that is the file "config.php" which is located in the directory CLASS/TEXTSANITIZER.

You need to find this part:

return $config = array(
    
"extensions" => array(
        
"iframe" => 0,
        
"image" => 1,
        
"flash" => 1,
        
"youtube" => 1,
        
"mp3" => 0,
        
"wmp" => 0,
        
// If other module is used, please modify the following detection and 'link' in /wiki/config.php
        
"wiki" => is_dir(XOOPS_ROOT_PATH '/modules/mediawiki/'),
        
"mms" => 0,
        
"rtsp" => 0,
        
"ul" => 1,
        
"li" => 1),


and add only one line:

return $config = array(
    
"extensions" => array(
        
"iframe" => 0,
        
"image" => 1,
        
"flash" => 1,
        
"youtube" => 1,
        
"mp3" => 0,
        
"wmp" => 0,
        
// If other module is used, please modify the following detection and 'link' in /wiki/config.php
        
"wiki" => is_dir(XOOPS_ROOT_PATH '/modules/mediawiki/'),
        
"mms" => 0,
        
"rtsp" => 0,
        
"ul" => 1,
        
"li" => 1,
        
"acr" => 1),


That´s all, happy Xoopsing

Demo: see my web page: www.zirafoviny.cz
Read more... | 1 comment

Little hack of Runeher's "Lorem Ipsum Generator"

Hi, "Lorem Ipsum Generator" from Runeher is useful module for all web designers. But now more useful

I translate module to Czech language (module don't use language files) and added "nicer style" to option menu.

Why hack? Because this module don't use Language files but all text are "hard" in source code.

In to the Czech version I added Czech version of Lorem Ipsum, with diacritic and Czech like words. On English version are only original languages, but English speaking people don't need Czech like texts

Download Czech version

Download English version

Happy Xoopsing
Read more... | 1 comment

x_movie 3 now plays videos on explorer 8

Hi

We have edit jquery-1.4.2.js and change name to jquery.js and replace to x_movie/js/jquery.js

we've changed code is ==> name = name.replace(rdashAlpha, fcamelCase); <<= to:==> // name = name.replace(rdashAlpha, fcamelCase); <<=

and now xmovie 3 is working with All browsers.


If you want download from Xoops-Tr.com download link below:

http://www.xoops-tr.com/modules/TDMDownloads/singlefile.php?cid=12&lid=60
Read more... | 8 comments


Login

Who's Online

186 user(s) are online (5 user(s) are browsing XOOPS News)


Members: 0


Guests: 186


more...

Donat-O-Meter

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

Latest GitHub Commits

Archives

News archives