[Release] Cype Content Management System Rev 113

Page 44 of 53 FirstFirst ... 343637383940414243444546474849505152 ... LastLast
Results 646 to 660 of 793
  1. #646
    Alpha Member josho192837 is offline
    MemberRank
    Apr 2008 Join Date
    PennsylvaniaLocation
    1,950Posts

    Re: [Release] Cype Content Management System Rev 113

    Quote Originally Posted by Alyan View Post
    I get this error every time i try to connect to my cype website...

    Parse error: syntax error, unexpected T_STRING, expecting ']' in C:\wamp\www\config\properties.php on line 74

    Gtfo you ignorant fool.

  2. #647
    Account Upgraded | Title Enabled! JusticeDK is offline
    MemberRank
    Aug 2008 Join Date
    McDonaldLocation
    806Posts

    Re: [Release] Cype Content Management System Rev 113

    Quote Originally Posted by josho192837 View Post
    Gtfo you ignorant fool.
    u made me laugh lol

  3. #648
    Account Upgraded | Title Enabled! Alyan is offline
    MemberRank
    Dec 2008 Join Date
    With Megan Fox. (:Location
    421Posts

    Re: [Release] Cype Content Management System Rev 113

    this is on my 74th line.

    $pcap = $prop['100'];

  4. #649
    Alpha Member josho192837 is offline
    MemberRank
    Apr 2008 Join Date
    PennsylvaniaLocation
    1,950Posts

    Re: [Release] Cype Content Management System Rev 113

    Quote Originally Posted by Alyan View Post
    this is on my 74th line.

    $pcap = $prop['100'];

    k post your properties.php from line 70 - 78 please.

  5. #650
    Account Upgraded | Title Enabled! Alyan is offline
    MemberRank
    Dec 2008 Join Date
    With Megan Fox. (:Location
    421Posts

    Re: [Release] Cype Content Management System Rev 113

    Here it is :]

    PHP Code:
    <?php 
    /*
        Copyright (C) 2008 Murad H. <murad8@live.com>
                Josh L. <uber_programmer15@hotmail.com>

        This program is free software: you can redistribute it and/or modify
        it under the terms of the GNU Affero General Public License version 3
        as published by the Free Software Foundation. You may not use, modify
        or distribute this program under any other version of the
        GNU Affero General Public License.

        This program is distributed in the hope that it will be useful,
        but WITHOUT ANY WARRANTY; without even the implied warranty of
        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        GNU Affero General Public License for more details.

        You should have received a copy of the GNU Affero General Public License
        along with this program.  If not, see <http://www.gnu.org/licenses/>.
    */

    /* Site Controls */
        
    $properties mysql_query("SELECT * FROM cype_properties");
        
    $prop mysql_fetch_array($properties);
        
        if(isset(
    $_SESSION['id'])){
            
    $getsty mysql_query("SELECT * FROM accounts WHERE id=".$_SESSION['id']."");
            
    $showsty mysql_fetch_array($getsty);
            
            if(
    $showsty['style'] == NULL){
                
    $style "1";
            }else{
                
    $style $showsty['style'];
            }
            
    $getstyle mysql_query("SELECT * FROM cype_styles WHERE id=".$style."");
            
    $showstyle mysql_fetch_array($getstyle);
        }
        
        
        
    /* RebellionStory */
        
    $servername $prop['RebellionStory'];
        
    /* Welcome To RebellionStory! */
        
    $sitetitle $prop['Welcome To RebellionStory'];
        
    /* Download link for client */
        
    $client $prop['client'];
        
    /* Server Version */
        
    $version $prop['62'];
        
    /* Forum url*/
        
    $forumurl $prop['forumurl'];
        
    /* Site url */
        
    $siteurl $prop['siteurl'];
        
    /* Cype Dir */
        
    $cypedir $prop['cypedir'];
        
    /* Email */
        
    $adminemail = @$prop['email'];
        
    /* Vote Link */
        
    $vote $prop['vote'];
        
    /* Vote Enabled */
        
    $vcheck $prop['vcheck'];
        
    /* Vote Banner Link */
        
    $vbanner $prop['vbanner'];
        
    /* Server Rates */
        
    $exprate $prop['700'];
        
    $mesorate $prop['500'];
        
    $droprate $prop['50'];
        
    /* Middle Banner Link */
        
    $mbanner $prop['mbanner'];
        
    /* Middle Link */
        
    $mblink $prop['mblink'];
        
    /* Menu Message */
        
    $message $prop['Rebels'];
        
    /* Flood Prevention */
        
    $cypeflood $prop['flood'];
        
    /* Scrolling Message */
        
    $scroller $prop['Welcome To RebellionStory's WebsiteThe Server Is Still In Development.'];
        $pcap = $prop['
    100'];
        /* Where is the style located? */
        if(isset($_SESSION['
    id'])){
            $styledir = $showstyle['
    C:\wamp\www'];
        }else{
            $styledir = $prop['
    C:\wamp\www'];
        }
        
    ?>

  6. #651
    Alpha Member josho192837 is offline
    MemberRank
    Apr 2008 Join Date
    PennsylvaniaLocation
    1,950Posts

    Re: [Release] Cype Content Management System Rev 113

    Quote Originally Posted by Alyan View Post
    Here it is :]

    <?php
    /*
    Copyright (C) 2008 Murad H. <murad8@live.com>
    Josh L. <uber_programmer15@hotmail.com>

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License version 3
    as published by the Free Software Foundation. You may not use, modify
    or distribute this program under any other version of the
    GNU Affero General Public License.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program. If not, see <http://www.gnu.org/licenses/>.
    */

    /* Site Controls */
    $properties = mysql_query("SELECT * FROM cype_properties");
    $prop = mysql_fetch_array($properties);

    if(isset($_SESSION['id'])){
    $getsty = mysql_query("SELECT * FROM accounts WHERE id=".$_SESSION['id']."");
    $showsty = mysql_fetch_array($getsty);

    if($showsty['style'] == NULL){
    $style = "1";
    }else{
    $style = $showsty['style'];
    }
    $getstyle = mysql_query("SELECT * FROM cype_styles WHERE id=".$style."");
    $showstyle = mysql_fetch_array($getstyle);
    }


    /* RebellionStory */
    $servername = $prop['RebellionStory'];
    /* Welcome To RebellionStory! */
    $sitetitle = $prop['Welcome To RebellionStory'];
    /* Download link for client */
    $client = $prop['client'];
    /* Server Version */
    $version = $prop['62'];
    /* Forum url*/
    $forumurl = $prop['forumurl'];
    /* Site url */
    $siteurl = $prop['siteurl'];
    /* Cype Dir */
    $cypedir = $prop['cypedir'];
    /* Email */
    $adminemail = @$prop['email'];
    /* Vote Link */
    $vote = $prop['vote'];
    /* Vote Enabled */
    $vcheck = $prop['vcheck'];
    /* Vote Banner Link */
    $vbanner = $prop['vbanner'];
    /* Server Rates */
    $exprate = $prop['700'];
    $mesorate = $prop['500'];
    $droprate = $prop['50'];
    /* Middle Banner Link */
    $mbanner = $prop['mbanner'];
    /* Middle Link */
    $mblink = $prop['mblink'];
    /* Menu Message */
    $message = $prop['Rebels'];
    /* Flood Prevention */
    $cypeflood = $prop['flood'];
    /* Scrolling Message */
    $scroller = $prop['Welcome To RebellionStory's Website, The Server Is Still In Development.'];
    $pcap = $prop['100'];
    /* Where is the style located? */
    if(isset($_SESSION['id'])){
    $styledir = $showstyle['C:\wamp\www'];
    }else{
    $styledir = $prop['C:\wamp\www'];
    }

    ?>
    Use this...

    PHP Code:
    <?php 
    /*
        Copyright (C) 2008 Murad H. <murad8@live.com>
                Josh L. <uber_programmer15@hotmail.com>

        This program is free software: you can redistribute it and/or modify
        it under the terms of the GNU Affero General Public License version 3
        as published by the Free Software Foundation. You may not use, modify
        or distribute this program under any other version of the
        GNU Affero General Public License.

        This program is distributed in the hope that it will be useful,
        but WITHOUT ANY WARRANTY; without even the implied warranty of
        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        GNU Affero General Public License for more details.

        You should have received a copy of the GNU Affero General Public License
        along with this program.  If not, see <http://www.gnu.org/licenses/>.
    */

    /* Site Controls */
        
    $properties mysql_query("SELECT * FROM cype_properties");
        
    $prop mysql_fetch_array($properties);
        
        if(isset(
    $_SESSION['id'])){
            
    $getsty mysql_query("SELECT * FROM accounts WHERE id=".$_SESSION['id']."");
            
    $showsty mysql_fetch_array($getsty);
            
            if(
    $showsty['style'] == NULL){
                
    $style "1";
            }else{
                
    $style $showsty['style'];
            }
            
    $getstyle mysql_query("SELECT * FROM cype_styles WHERE id=".$style."");
            
    $showstyle mysql_fetch_array($getstyle);
        }
        
        
        
    /* Name of server */
        
    $servername $prop['name'];
        
    /* Site title */
        
    $sitetitle $prop['title'];
        
    /* Download link for client */
        
    $client $prop['client'];
        
    /* Server Version */
        
    $version $prop['version'];
        
    /* Forum url*/
        
    $forumurl $prop['forumurl'];
        
    /* Site url */
        
    $siteurl $prop['siteurl'];
        
    /* Cype Dir */
        
    $cypedir $prop['cypedir'];
        
    /* Email */
        
    $adminemail = @$prop['email'];
        
    /* Vote Link */
        
    $vote $prop['vote'];
        
    /* Vote Enabled */
        
    $vcheck $prop['vcheck'];
        
    /* Vote Banner Link */
        
    $vbanner $prop['vbanner'];
        
    /* Server Rates */
        
    $exprate $prop['exprate'];
        
    $mesorate $prop['mesorate'];
        
    $droprate $prop['droprate'];
        
    /* Middle Banner Link */
        
    $mbanner $prop['mbanner'];
        
    /* Middle Link */
        
    $mblink $prop['mblink'];
        
    /* Menu Message */
        
    $message $prop['message'];
        
    /* Flood Prevention */
        
    $cypeflood $prop['flood'];
        
    /* Scrolling Message */
        
    $scroller $prop['scroller'];
        
    /* Where is the style located? */
        
    if(isset($_SESSION['id'])){
            
    $styledir $showstyle['dir'];
        }else{
            
    $styledir $prop['styledir'];
        }
        
    ?>

  7. #652
    :) Horizon is offline
    MemberRank
    Jan 2009 Join Date
    Illinois, U.S.Location
    2,381Posts

    Re: [Release] Cype Content Management System Rev 113

    Josh is being bombarded with questions...
    Last edited by Horizon; 23-01-09 at 10:49 PM.

  8. #653
    Account Upgraded | Title Enabled! Alyan is offline
    MemberRank
    Dec 2008 Join Date
    With Megan Fox. (:Location
    421Posts

    Re: [Release] Cype Content Management System Rev 113

    Yes he is. And since he's nice, he's also answering them. :]
    Mind fixing one last problem?

    I keep getting this error whenever i switch the theme
    Code:
    Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\Program Files\Abyss Web Server\htdocs\config\properties.php on line 27
    
    Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\Program Files\Abyss Web Server\htdocs\index.php on line 44
    There is nothing at line 27 in properties.php, but after it is:
    Code:
    if($showsty['style'] == NULL){
    And this is on line 44 on my index.php:
    Code:
    		$getname = $getn2['name'];
    Thanks in advance.

  9. #654
    Proficient Member TerkeyDerkey is offline
    MemberRank
    Sep 2005 Join Date
    188Posts

    Re: [Release] Cype Content Management System Rev 113

    @josho192837:

    The "open new tab" for the forum works like a charm :)
    I have 1 more question tho :P

    Um, my players wants the rankings to count rebirths too, is there any way for me to do so? (And if possible, show how many rebirths a person has)

    Thanks for all your support josho192837, been very very helpful ^_^

  10. #655
    Alpha Member josho192837 is offline
    MemberRank
    Apr 2008 Join Date
    PennsylvaniaLocation
    1,950Posts

    Re: [Release] Cype Content Management System Rev 113

    Quote Originally Posted by TerkeyDerkey View Post
    @josho192837:

    The "open new tab" for the forum works like a charm :)
    I have 1 more question tho :P

    Um, my players wants the rankings to count rebirths too, is there any way for me to do so? (And if possible, show how many rebirths a person has)

    Thanks for all your support josho192837, been very very helpful ^_^
    You would have to edit the rankings.php, which isn't too hard. I'm sure you can do it =]

    Quote Originally Posted by Alyan View Post
    Yes he is. And since he's nice, he's also answering them. :]
    Mind fixing one last problem?

    I keep getting this error whenever i switch the theme
    Code:
    Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\Program Files\Abyss Web Server\htdocs\config\properties.php on line 27
    
    Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\Program Files\Abyss Web Server\htdocs\index.php on line 44
    There is nothing at line 27 in properties.php, but after it is:
    Code:
    if($showsty['style'] == NULL){
    And this is on line 44 on my index.php:
    Code:
            $getname = $getn2['name'];
    Thanks in advance.

    Try a different web server.

  11. #656
    Proficient Member TerkeyDerkey is offline
    MemberRank
    Sep 2005 Join Date
    188Posts

    Re: [Release] Cype Content Management System Rev 113

    Quote Originally Posted by josho192837 View Post
    You would have to edit the rankings.php, which isn't too hard. I'm sure you can do it =]

    I'll give it a try :)

    If I phail, I'll come back whining to you :P

  12. #657
    Alpha Member josho192837 is offline
    MemberRank
    Apr 2008 Join Date
    PennsylvaniaLocation
    1,950Posts

    Re: [Release] Cype Content Management System Rev 113

    Quote Originally Posted by TerkeyDerkey View Post
    I'll give it a try :)

    If I phail, I'll come back whining to you :P

    Okie dokie

  13. #658
    Proficient Member TerkeyDerkey is offline
    MemberRank
    Sep 2005 Join Date
    188Posts

    Re: [Release] Cype Content Management System Rev 113

    Quote Originally Posted by josho192837 View Post
    Okie dokie
    I phailed.
    Now I'm here.
    Actually, I didn't even try. But I'm such a newbie at making webpages, that I was afraid of destroying the whole thing if I edited anything.

    I dont even know where to start :P

    Could you do it for me? :S or if possible, tell me how?

  14. #659
    Account Upgraded | Title Enabled! JusticeDK is offline
    MemberRank
    Aug 2008 Join Date
    McDonaldLocation
    806Posts

    Re: [Release] Cype Content Management System Rev 113

    Quote Originally Posted by TerkeyDerkey View Post
    I phailed.
    Now I'm here.
    Actually, I didn't even try. But I'm such a newbie at making webpages, that I was afraid of destroying the whole thing if I edited anything.

    I dont even know where to start :P

    Could you do it for me? :S or if possible, tell me how?
    Make a backup file sql?

  15. #660
    Valued Member stefanrenne is offline
    MemberRank
    May 2008 Join Date
    120Posts

    Re: [Release] Cype Content Management System Rev 113

    I can't see anything in "gm style's"
    how do you add something it thare? (i'm useing the pack repack, think it has something to do with gm levels)



Advertisement