Saturday 21 May 2011

Facebook Like / Recommend Button For Blogger

Thursday 12 May 2011

How to add page breaks in a Wordpress post

How do you add a pagebreak in a Wordpress post? It is easy, you can first use the Read more button to insert a Read more link, and then, if you want to break the post into extra pages, use (in the code):

 <!--nextpage-->  

Monday 21 March 2011

Translate site name, description and keywords meta tags in Joomfish 2.1.5 (Joomla)

How do I translate site name, description and keywords meta tags in Joomfish 2.1.5?
Go to Components -> Joomfish -> Content Languages -> click on Config of each language (on the right)

Tuesday 22 February 2011

Joomla error: Deprecated: Function eregi() is deprecated in... sef.php (Joomla 1.x error with php 5.3)

Deprecated: Function eregi() is deprecated in... sef.php (Joomla 1.x error with php 5.3)

Download from here the fixed sef.php file. Unzip, rename fixed file to sef.php and upload to joomla's /includes directory.

Wednesday 27 January 2010

SMF: Display all messages from a specific board (phpMyAdmin)

Run this Query in phpmyadmin:

SELECT * FROM smf_messages
WHERE ID_board='1'


Just change 1 to the board ID you want.

Saturday 16 January 2010

Find/replace content on SMF with phpmyadmin

Use this:

UPDATE smf_messages SET body = REPLACE(body, 'oldword', 'newword')

Or, if you want to do this for a specific board:

UPDATE smf_messages SET body = REPLACE(body, 'oldword', 'newword') WHERE ID_BOARD = 1
(make sure you change oldword, newword and 1 to your real values):

Or, if you want to carry on this operation on the subjects of a specific board:

UPDATE smf_messages SET subject = REPLACE(subject, 'oldword', 'newword') WHERE ID_BOARD = 1

Saturday 19 December 2009

Fixing SMF related topics mod to work with UTF-8 forums

The mod is here
In Subs-RelatedFulltext.php

Find
subject tinytext NOT NULL,

Replace
subject tinytext collate utf8_general_ci NOT NULL,

See it working here: Non smokers club forum