Tutorials
Converting Megabook to PHPFanBase
-
Converting Megabook to PHPFanBase
Posted on June 30, 2003
Written by
Sasha (view more by Sasha)
Comments (0)
Filed under Scripts: PHPFanBase, Tutorials
This will show you how to quickly add your current members from Megabook to PHPFanBase, no matter how big your list is. I’m assuming here you’ve already successfully installed PHPFanBase on your fanlisting.
Written by Naddy.
Log into your Megabook control panel and go into the Templates section.
In Megabook’s Layout Templates area is a field called “Entry Layout” which determines what the Entry itself, name, country and so on will look like on the page.
What you have to do here is to enter one of the coding bits below (of course based on the variables you use - var1 in this case is country, and var2 the Favorite field):
If you have Favorites disabled:
('', '[name]', '[email]', '[url]', '[var1]', '', 'n', 'y'),<br />
If you have Favorites enabled:
('', '[name]', '[email]', '[url]', '[var1]', '', 'n', 'y', '[var2]'),<br />
Save it, go back to your site, and simply cut and paste what you get on the html page (not the source code, the actual text you see on the site) into the correct spot in the batchmembers.php file.
Check it for right spelling and any apostrophes (’) in the names, favorites, etc, and follow the other instructions in batchmembers.php. Save it, upload it to your directory your config.php file is in, and type the address to it in your browser to run. It should give you a “Success! Members added!” message if you didn’t make any mistakes.
Comments
Comments are closed for this entry.