Welcome to the RaGEZONE - MMORPG development forums.

RevCMS hot campaigns

This is a discussion on RevCMS hot campaigns within the Habbo Releases forums, part of the Habbo Hotel category; Hello, I decided to make my own edit of RevCMS! And I want to share some stuff I've added to ...

LyncusMU
Results 1 to 14 of 14
  1. #1
    Azure subscription
    Rank
    Subscriber
    Join Date
    Dec 2011
    Location
    єαятн
    Posts
    1,738
    Liked
    263

    big grin RevCMS hot campaigns

    Tabo Hotel
    Hello, I decided to make my own edit of RevCMS! And I want to share some stuff I've added to my edit, with you guys!

    Yes, I am using the Habbo layout/template by Hejula!

    And I coded a simple Hot campaigns just like UberCMS and Habbo!

    SQL:
    PHP Code:
    -- phpMyAdmin SQL Dump
    -- version 3.4.5
    -- http://www.phpmyadmin.net
    --
    -- 
    Hostlocalhost
    -- Generation TimeJan 122012 at 05:45 AM
    -- Server version5.5.16
    -- PHP Version5.3.8

    SET SQL_MODE
    ="NO_AUTO_VALUE_ON_ZERO";
    SET time_zone "+00:00";


    /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
    /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
    /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
    /*!40101 SET NAMES utf8 */;

    --
    -- 
    Database: `rev`
    --

    -- --------------------------------------------------------

    --
    -- 
    Table structure for table `site_hotcampaigns`
    --

    CREATE TABLE IF NOT EXISTS `site_hotcampaigns` (
      `
    idint(11NOT NULL AUTO_INCREMENT,
      `
    enabledenum('0','1'NOT NULL DEFAULT '1',
      `
    image_urltext NOT NULL,
      `
    captiontext NOT NULL,
      `
    desctext NOT NULL,
      `
    urltext NOT NULL,
      `
    order_idint(11NOT NULL DEFAULT '0',
      
    PRIMARY KEY (`id`)
    ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=;

    --
    -- 
    Dumping data for table `site_hotcampaigns`
    --

    INSERT INTO `site_hotcampaigns` (`id`, `enabled`, `image_url`, `caption`, `desc`, `url`, `order_id`) VALUES
    (1'1''../r63/c_images/hot_campaign_images_hq/hot_campaign_vip.gif''Test''This is only a test for RevCMS campaigns, rofl!''http://myhostr.com'1),
    (
    2'1''../r63/c_images/hot_campaign_images_hq/hotcampaign_thumb_FB.gif''Test 2''rofl, this is another test :P''http://myhostr.com'2);

    /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
    /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
    /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */
    Add to Me.php:
    PHP Code:
    <div class="habblet-container ">
                                <div class="cbb clearfix orange ">
                                    <h2 class="title">What's going on?</h2>
                                    <div style="padding:5px">
                                    
                                    
                                    <?php

    $getItems 
    mysql_query("SELECT * FROM site_hotcampaigns WHERE enabled = '1' ORDER BY order_id ASC");
    $evenOdd 'odd';

    while (
    $item mysql_fetch_assoc($getItems))
    {
        if (
    $evenOdd == 'odd')
        {
            
    $evenOdd 'even';
        }
        else
        {
            
    $evenOdd 'odd';
        }
        
        echo 
    '<li class="' $evenOdd '">
        <br>
                <div class="hotcampaign-container"> 
                    <a href="' 
    $item['url'] . '">
                    <img src="' 
    $item['image_url'] . '" align="left" alt="' $item['caption'] . '" /></a> 
                    <center><b>' 
    $item['caption'] . '</b>
                    <p>' 
    $item['desc'] . '</p>
                    <center><p class="link"><a href="' 
    $item['url'] . '">Go there &raquo;</a></p></center>
                </div> 
            </li> '
    ;
    }

    ?>
                             </div> </div> </div>
    Under:
    PHP Code:
    <script type="text/javascript">
                                    
    HabboView.add(function() {
                                        
    L10N.put("personal_info.motto_editor.spamming""Don\'t spam me, bro!");
                                        
    PersonalInfo.init("");
                                    });
                                
    </script>
                            </div> 
    Image:
    OLD ******


    New: ------

    I don't know if this was already release, but I did code this, based of UberCMS Hot Campaigns!

    What next?
    -----------
    I might code a little tool that will allow a user to receive a random rare, and if they have already received it, they won't be able to claim another. :p
    Last edited by Feedback; 12-01-12 at 07:53 AM.

  2. HostKey.com: Unmetered Dedicated servers in the Netherlands
  3. #2
    FenixHotel.nl >=3
    Rank
    Member +
    Join Date
    Apr 2011
    Location
    Netherlands
    Posts
    373
    Liked
    47

    Re: RevCMS hot campaigns

    Thanks

  4. #3
    Azure subscription
    Rank
    Subscriber
    Join Date
    Dec 2011
    Location
    єαятн
    Posts
    1,738
    Liked
    263

    Re: RevCMS hot campaigns

    Quote Originally Posted by Squashing View Post
    Thanks
    No problem, haha.

  5. #4
    # TakeServers Magician
    Rank
    Subscriber
    Join Date
    Oct 2011
    Location
    R:\aGEZONE
    Posts
    321
    Liked
    59

    Re: RevCMS hot campaigns

    Thanks for this release :) I will use this.

  6. #5
    Azure subscription
    Rank
    Subscriber
    Join Date
    Dec 2011
    Location
    єαятн
    Posts
    1,738
    Liked
    263

    Re: RevCMS hot campaigns

    No problem mate :)

  7. #6
    Monster Member
    Rank
    Member
    Join Date
    Aug 2010
    Location
    Sweden
    Posts
    181
    Liked
    32

    Re: RevCMS hot campaigns

    Wrongly CSS coded. However, Good for people that don't know how to code.

  8. #7
    Wink Wink ;)
    Rank
    Member +
    Join Date
    Nov 2009
    Location
    Wales
    Posts
    1,074
    Liked
    169

    Re: RevCMS hot campaigns

    Aha, I also had this coded :)

  9. #8
    Custom User Title
    Rank
    Alpha Member
    Join Date
    Jun 2010
    Location
    地下鉄
    Posts
    2,515
    Liked
    392

    Re: RevCMS hot campaigns

    I would agree with Dj but it's nice for beginners.

  10. #9
    adde is a ***.
    Rank
    Member +
    Join Date
    Oct 2009
    Location
    England
    Posts
    549
    Liked
    65

    Re: RevCMS hot campaigns

    Good release, but maybe you should think about finishing the cms and releasing that?

  11. #10
    Azure subscription
    Rank
    Subscriber
    Join Date
    Dec 2011
    Location
    єαятн
    Posts
    1,738
    Liked
    263

    Re: RevCMS hot campaigns

    Quote Originally Posted by djboetz View Post
    Wrongly CSS coded. However, Good for people that don't know how to code.
    Id you didn't know, I am editing RevCMS, and making add-ons, and I decided to release this as to see if anyone likes it.

  12. #11
    RaGEZONER
    Rank
    Newbie
    Join Date
    Nov 2011
    Posts
    78
    Liked
    2

    Re: RevCMS hot campaigns

    Nice job! I just added this to my website :)

  13. #12
    Account Upgraded | Title Enabled!
    Rank
    Member +
    Join Date
    Jan 2012
    Location
    C:\inetpub\
    Posts
    213
    Liked
    26

    Re: RevCMS hot campaigns

    Thanks for this, Will be used =)

  14. #13
    Platinum Subscription
    Rank
    Subscriber
    Join Date
    Oct 2008
    Location
    England
    Posts
    492
    Liked
    74

    Re: RevCMS hot campaigns

    A fantastic release, thanks for sharing this dude - very useful!

  15. #14
    Average Member
    Rank
    Newbie
    Join Date
    Jan 2012
    Location
    Internet!
    Posts
    64
    Liked
    3

    Re: RevCMS hot campaigns

    I dont quite understand what this release is...is it just campaign edits or is there more to it? I may use this if I find it usefull ;o

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •