Can you upload only the files you change plz ?
Cause i'm translate the CMS and i don't want to re-translate all the files when you release a new version.
Thanks :)
Sisija, in the Holograph Emulator the ban from the M in the hotel don't work.. it disconnect only the habbo from the hotel but it isn't banned.. the ban "work" only from the housekeeping but the ban from housekeeping don't send an alert in the hotel.. how can I fix this problem?
ps: sorry for my bad english
Sisija can you answer to me plz ?!
I really need a solution.
You can't upgrade, it'll redirect you to the install.php -.-'
Sisija when you post the database? I really need it!
Fix so that hc can log in:
No hc features on hotel!
- Open Holograph Emulator.csproj
- Find the line:
string[] subscrDetails = DB.runReadRow("SELECT months_expired,months_left,date_monthstarted FROM users_club WHERE userid = '" + userID +
- Change it to this line:
string[] subscrDetails = DB.runReadRow("SELECT months_expired,months_left,date_monthstarted FROM users_club WHERE userid = '" + userID + "' LIMIT 1");
- Start debugging
Hope it works for you!!!
Greetings,
KaasManiak
:fish2:
Those Ads aren't showing up at all!
Still doesn't show, but don't update people! Waste of time! Just insert this in your SQL database!:
--
-- Tabel structuur voor tabel `cms_banners`
--
CREATE TABLE `cms_banners` (
`id` int(35) NOT NULL auto_increment,
`text` varchar(50) NOT NULL,
`banner` varchar(255) NOT NULL,
`url` varchar(255) NOT NULL,
`status` smallint(1) NOT NULL default '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ;
--
-- Gegevens worden uitgevoerd voor tabel `cms_banners`
--
INSERT INTO `cms_banners` VALUES(1, 'HoloCMS, succesfully installed or upgraded!', 'http://images.habbohotel.nl/c_images/album1663/cheerthumb.gif', 'news.php?id=2', 1);
INSERT INTO `cms_banners` VALUES(2, 'Discussion time! Talk with other Holos!', 'http://images.habbohotel.nl/c_images/album824/weekagendathumb.gif', 'forum.php', 1);
_______________________________________________
Where is the edited PHP-file for those ads?
To get the little banners on your homepage, copy and paste this code at the bottom of your me.php page in dreamweaver, but BEFORE include(community/templates/footer) or whatever (The last code)
Thanks :D Wil && James (PureRetroGod)PHP Code:<div id="column3" class="column">
<div class="habblet-container ">
<div class="ad-container">
<?php $sql = mysql_query("SELECT * FROM cms_banners WHERE status = '1' ");
while($row = mysql_fetch_assoc($sql)) { ?>
<a target="blank" href="<?php echo $row['url']; ?>"><img src="<?php echo $row['banner']; ?>"></a><br>
<a target="blank" href="<?php echo $row['url']; ?>"><?php echo stripslashes($row['text']); ?></a><br>
<?php } ?>
<br>
</div>
</div>
<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
<div class="habblet-container ">
<div class="ad-container">
</div>
</div>
<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
</div>