RSS feed

Myalbum random pic in just one line of code

Hi all


i have written a function to build random pictures blocks (from myalbum-p).

You need to include this into your: root/include/functions.php:
Read more... | 10032 bytes more | 2 comments

Improve your site speed with php_speedy

I don´t know if this will work for everyone, I just want to share what I experienced with this code, I´m not by any means any expert or so, but if work for me perhaps it will work for others, other wise just let me know what do you think

To increase the speed of my site i just do as follow:
I use php_speedy, upload to my xoops folder install it and just include the suggested code to my index.php and it reduced the http request by 300%, correct me please if I´m wrong but from 83 request to just 22 and the average front page load time from 76.57 seconds to 28.49 seconds in a 56k connection is a good improvement,of course nothing is perfect and I had to sacrifice an slideshow, for one or other reason did not like php_speedy.

I check the speed gain withhttp://www.websiteoptimization.com/services/analyze/index.html
download php_speedy from:http://aciddrop.com/php-speedy, the exact link for downloading is this one:http://aciddrop.com/aciddrop/download/php_speedy-0.4.6.zip

PHP Speedy
----------

PHP Speedy is PHP script that automatically speeds up your website by combining and compressing your JavaScript and CSS assets. It can also GZIP these assets, and the page itself.

Installation
------------
1. Download and UNZIP the PHP Speedy package into its own directory (if you haven't already).
2. Point your browser to the PHP Speedy directory (that you have just created)
3. Follow the installation instructions

Best Regards
Read more... | 11 comments

XoopsEditors Compatibility Issues – Fixed

For the longest time, I have been trying to understand the workings of the XoopsEditors. I am not a beginner with PHP or the workings of Xoops, but for the longest time, this issue has bugged me really bad, to the point I wanted to pull my hair out (what is left of it anyway) and I nearly gave up many times. Persistence and brute ignorance are two of my many flaws, but they have seen me through.

Anyway, back to the XoopsEditors. While in the process of revamping WF-Channel, I was asked many times to include a WYSIWYG Editor and after much thought about it I decided to go down the XoopsEditors path. So doing what most other people do… I started to look for examples on how it works and how I could incorporate it into WF-Channel.
Read more... | 14107 bytes more | 8 comments

Use Tinyeditor for creating your blocks in 2.3*

To use Tinyeditor for creating custom blocks in 2.3 :

Go to root/module/system/admin/blocksadmin/

Make an backup of the blockform.php
and open it.

Then

Search for:
$textarea = new XoopsFormDhtmlTextArea(_AM_CONTENT'bcontent'$block['content'], 1570);


And replace it with:
if ( is_readable(XOOPS_ROOT_PATH "/class/xoopseditor/tinyeditor/formtinyeditortextarea.php")) {
    include_once(
XOOPS_ROOT_PATH "/class/xoopseditor/tinyeditor/formtinyeditortextarea.php");
    
$textarea = new XoopsFormTinyeditorTextArea(array('caption'=>_AM_CONTENT'name'=>'bcontent''value'=>$block['content'], 'width'=>'100%''height'=>'400px',  'xEditor'=>'1'));
    }else{
    
$textarea = new XoopsFormDhtmlTextArea(_AM_CONTENT'bcontent'$block['content'], 1570);
    }


And if you go to blocks in your administration then youl see tinyeditor in stead of the normal editor.
(This hack only works if you have installed tinyeditor!)
Read more... | 11 comments

Dutch language package for XOOPS 2.3*

I now its not really an hack but,
here are the dutch language files for XOOPS 2.3*

You can download it HERE
Read more... | 5 comments

xcgal: "Upload more pictures" and "keywords"

Xcgal users will be familiar with the "Upload more pictures" function which allows up to four pictures to be uploaded in one go and will know about xcgal's "click on a keyword" search function which locates all pictures having the chosen keyword. Keywords are therefore a really important tool for xcgal users.

Unfortunately, users will also know that keywords cannot be entered for pictures uploaded using the "Upload more pictures" function - they can only be added by editing the picture later.

...... until now

I've amended two xcgal files (db_input.php and xcgal_uploadmore.html) to allow keywords to be entered using the "Upload more pictures" function and the time of upload.

I've packed the amended files and their (renamed originals - it will be obvious!!) into this zip file.

Hope it is useful.
Read more... | 8 comments

Text wrap Xcgal template

I always have problem with the text in the description area of xcgal module, if you write a long description and do not take care of the breal lines your ouput text will result in a long text line, so I modify the template xcgal_display.html and around the line #29 look for a code like this:
<td align="center" class="odd" height="100" style="white-space: nowrap; padding: 0px;">
and proceed to change to this one:
<td align="center" class="odd" height="100" style="white-space: wrap; padding: 0px;">

As you see we change the nowrap for wrap, that makes the trick at least in my case, hope it will solve the problem for another xooper

Regards
Comments?

Lightbox in myalbum!

Hi all

i have write a tutorial to update your myalbum-p with lightbox script.

For the moment is in italian language (you can use google translator)

Tutorial: click here

Demo: click here

bye
Read more... | 14 comments

Revolution of Xoops Banners System

First of all sorry if my english is bad (is not my first language).

Finally i have create 2 functions to place your BANNERS everywhere you want and choosing which BANNER to show!!!

Please go here for more info:

CLICK HERE

thanks
Read more... | 15 comments

RSS Feed in Arabic

Now Arabic Web Site Can use Xoops And no problem

With RSS Feed.

only replace new with old in root directly of your site.

Read And download

By Rasme
Read more... | 3 comments


Login

Who's Online

131 user(s) are online (7 user(s) are browsing XOOPS News)


Members: 0


Guests: 131


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