SMF Support > Converting to SMF
Conversion success :)
hshan:
Grudge, I guess that I'd be happy just to have the data converted over as "holidays" so that they repeat every year and there aren't "empty" posts associated with them. This would be the easiest I would think. What do you think?
Thanks
Grudge:
I can have a go at doing this for you tomorrow. Please bear with me though as I am very busy at work at the moment. I've been working a Saturday today :o
Grudge:
Here. Try this out - works exactly same way as converter. Bear in mind this "may" not be what you want! Let me know what you think. It will add *every* event as a holiday (only saves the title) - so bear this in mind! If it's not what you want you can restore your holidays by running the sql queries in smf-1.0.sql that comes with the full install package.
hshan:
Thank you Grudge for your for your kind efforts. It looked like upon running the script that it needed to be uploaded into the IPB root. I tried that and I got these errors:
--- Quote ---:Converting...
Converting holidays...
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/summer/public_html/forums/holiday_script.php on line 241
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/summer/public_html/forums/holiday_script.php on line 253
successful.
successful.
Conversion Complete"
--- End quote ---
Then I tried putting the script into the smf root and running it again... adjusting the paths in the gui for smf and ipb with the same error results. Nothing was changed on either board on either attempt. I really appreciate your help especially with your busy schedule!
Grudge:
OK. It should go in SMF directory though I don't think it matters. Can you try the one attached?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version