Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

zCMS [PHP, OOP, Phoenix, Secure]

Status
Not open for further replies.
The one and only!
Loyal Member
Joined
Nov 24, 2008
Messages
2,529
Reaction score
1,435
There's more if you want it's caching to not duck up some of your stuff ^.^

It wouldn't duck up, REMOTE_ADDR relays the Cloudflare IP, then if you use CDN HTTP_X_FORWARDED_FOR relays your IP, nothing more... so explain how it can duck up caching or whatever? lol.
 
Joined
Apr 30, 2007
Messages
2,339
Reaction score
1,547
It wouldn't duck up, REMOTE_ADDR relays the Cloudflare IP, then if you use CDN HTTP_X_FORWARDED_FOR relays your IP, nothing more... so explain how it can duck up caching or whatever? lol.

Because it caches images and poop. Tbh I just downloaded a wordpress plugin and took ideas from that, but I never tested with out the code, I just figured I needed it for it to work.

---------- Post added at 09:14 PM ---------- Previous post was at 09:14 PM ----------

Could you release a database?

A regular uberdb will do fine (with some adjustments for the users table)
 
Custom Title Activated
Loyal Member
Joined
Jan 25, 2009
Messages
1,539
Reaction score
4
Jonty do that and release db, thinks he want it for his new project.:love:
 
[̲̅$̲̅(̲̅1̲̅)̲̅$ ̲̅]
Joined
May 4, 2008
Messages
831
Reaction score
741
hey just looking at some of the code and saw this, just wondering...
comp-me.tpl
PHP:
<?php

    $getBadges = dbquery("SELECT * FROM user_badges WHERE user_id = '" . USER_ID . "' AND badge_slot >= 1 ORDER BY badge_slot DESC LIMIT 5");
		
?>

<div id="badge-back">
    <ul class="badge-back"><br>
<?php
    while($b = mysql_fetch_assoc($getBadges)){
               //echo ' <img src="http://assets.zaphotel.net/c_images/album1584/' . $b['badge_id'] . '.gif">';
(your doing a while loop but not doing anything with it...)
}
    ?>

    </div>

why not delete it if ur not using the query? i know its not a huge deal but still...
 
Joined
Apr 30, 2007
Messages
2,339
Reaction score
1,547
hey just looking at some of the code and saw this, just wondering...
comp-me.tpl
PHP:
<?php

    $getBadges = dbquery("SELECT * FROM user_badges WHERE user_id = '" . USER_ID . "' AND badge_slot >= 1 ORDER BY badge_slot DESC LIMIT 5");
        
?>

<div id="badge-back">
    <ul class="badge-back"><br>
<?php
    while($b = mysql_fetch_assoc($getBadges)){
               //echo ' <img src="http://assets.zaphotel.net/c_images/album1584/' . $b['badge_id'] . '.gif">';
(your doing a while loop but not doing anything with it...)
}
    ?>

    </div>
why not delete it if ur not using the query? i know its not a huge deal but still...

I took it out temporarily, never added it back.
 
Learning C# - Developer
Loyal Member
Joined
Nov 8, 2010
Messages
669
Reaction score
66
I always get this error at the top and it never lets me login:
Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 11 in C:\xampp\htdocs\inc\class.core.php on line 197
 
Experienced Elementalist
Joined
Sep 19, 2011
Messages
240
Reaction score
35
Title: Unknown column 'expert' in 'field list'
Text: Unknown column 'expert' in 'field list' Is what i get o_O? Nice release jonty :)
 
Experienced Elementalist
Joined
Sep 19, 2011
Messages
240
Reaction score
35
I'm a nub at this can you give a sql? and thanks for the quick reply :)

SQL query:

ALTER TABLE `users` ADD `expert` INT( '0', '1' ) NOT NULL DEFAULT '0'

MySQL said:

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''0','1') NOT NULL DEFAULT '0'' at line 1
 
Last edited:
Joined
Apr 30, 2007
Messages
2,339
Reaction score
1,547
I'm a nub at this can you give a sql? and thanks for the quick reply :)

I can but not right now, sorry.

---------- Post added at 02:42 PM ---------- Previous post was at 02:42 PM ----------

I'm a nub at this can you give a sql? and thanks for the quick reply :)

change INT to enum
 
Experienced Elementalist
Joined
Sep 19, 2011
Messages
240
Reaction score
35
o_O?
Title: Unknown column 'forumname' in 'field list'
Text: Unknown column 'forumname' in 'field list'

Is There A Way I Can Remove Forumname?
 
Experienced Elementalist
Joined
Sep 19, 2011
Messages
240
Reaction score
35
Thanks man :) Anyways Maybe give us ur full hk? as the edit users etc give vip etc would be nice
 
Newbie Spellweaver
Joined
Aug 6, 2011
Messages
10
Reaction score
1
Thanks JontyCat You Own The Best Retro

---------- Post added at 06:08 AM ---------- Previous post was at 05:58 AM ----------

Test.
 
Status
Not open for further replies.
Back
Top