PDA

View Full Version : convert to vbulletin


TTayfun
04-23-2012, 07:11 AM
hi,
i want to convert this code to vbulletin as plugin.

update `vbulletin_db`.`smilie` set `smiliepath` = replace(`smiliepath`,'images','http://www.yoursite.com/forums/images');

like:

$vbulletin->db->query_write(".....

--------------- Added 1335183553 at 1335183553 ---------------

okey, i found them. :)

ahmed-samara
04-25-2012, 01:02 AM
This is the replacement


UPDATE post SET pagetext = REPLACE(pagetext,'/2006/','/2012/');

/2006/ = The old

/2012/ = The New

greetings:)