smf: recover deleted topic

by prettyscripts on 2010-07-14 12:51:12 • Leave a comment »

smfsql

important: you must have a backup of the database with deleted topic. if not, you might as well skip this post. instruction here is based on smf v1.1.x and uses phpmyadmin. it's a free browser based mysql administration tool. but if you're a mysql expe… more »

Tags: delete, phpmyadmin, retrieve, smf, topic

b2evo: hide login from user profile

by prettyscripts on 2010-06-05 02:14:35 • Leave a comment »

phpb2evolution

by default, post author's name is linked to profile page. and by default, b2evolution shows user login on profile page. this raises some security concerns - you don't want the public to know what is your login and you don't want to make it easier for hac… more »

Tags: b2evo, login, profile, user

b2evo: change default text for read more and follow up

by prettyscripts on 2010-03-10 14:37:27 • Leave a comment »

phpb2evolution

based on the source code (this is V2.4, but it's similar in V3), you need to set correct parameters for $Item->more_link(). the parameters are link_text (defaults to 'Read more') and anchor_text (defaults to 'Follow up'). for most skins this functio… more »

Tags: b2evo, more, skin

b2evo: author links to website instead of user page

by prettyscripts on 2010-03-09 11:47:53 • Leave a comment »

phpb2evolution

in the skin, the function call to show author of a post is $Item->author(). by default it links to user page. i wanted to link to user's website. there aren't much information on how to use this function and the doc is outdated. source code is alway… more »

Tags: author, b2evo, link, skin

b2evo: moving post to another blog

by prettyscripts on 2010-02-17 14:26:21 • 1 comment »

b2evolution

this refers to moving a post or page from one blog to another, within the same b2evolution installation. i can't seem to find any interface in the back office to do this. the database needs to be updated directly, but it's not as easy as updating the b… more »

Tags: b2evo, move, mysql