ICEFIRE Webmaster Board  

Go Back   ICEFIRE Webmaster Board > CjOverkill Support Forum > CjOverkill General Discussion and Support

CjOverkill General Discussion and Support CjOverkill general discussion and support.

Reply
 
Thread Tools Display Modes
  #1  
Old 9th May 2009, 01:54 PM
Darmez Darmez is offline
Junior Member
 
Join Date: May 2009
Posts: 18
Exclamation Problems with in.php

Hi,

i have some problems with the include of "in.php" in the script i use on my site (automagick tube script).

I don't have a php editor so i can't put the php include code in the index.php.

So i put the include code in an .html page that is part of the index.php (the page is footer.html) in this way:
Code:
{include_php file="http://www.pornoteque.net/cjoverkill/in.php"}
I noticed that it doesn't work. On my cj admin page i see the number of outgonig clicks but under the columns "Raw|Uniq", "Clicks", "Prod" and "Return" i see always "0".

I know (looking the referral page of my stats) that i have incoming visit from these sites.


What do I have to do to make it work?
Thank you,
AC
Reply With Quote
  #2  
Old 9th May 2009, 11:01 PM
ICEFIRE ICEFIRE is offline
Administrator
 
Join Date: Sep 2008
Location: Galaxy Media
Posts: 337
Send a message via ICQ to ICEFIRE
Default

In any case, the include is not correct and would not work.

Try this include {include_php file="cjoverkill/in.php" }

If you move the CjOverkill files out of the cjoverkill directory then it would be {include_php file="in.php" }

Make me know it it still fails after changing it.
Reply With Quote
  #3  
Old 11th May 2009, 07:21 PM
Darmez Darmez is offline
Junior Member
 
Join Date: May 2009
Posts: 18
Default

If i do as you said, when i try to load my website, it loads everything well until the code, then it says Error:

I mean, take a look here: www.pornoteque.net. "footer.html" begins with the 768x90 banner, at the bottom of the page and finishes at the end of the page.

If i put the code after the banner code, after the banner i see "Error:" and the page stops there.


Details:

Code:
i insert the code into @/automagick/templates/default/footer.html

the index file that calls footer.html is @/index.php

and CJ is in @/cjoverkill/
Reply With Quote
  #4  
Old 14th May 2009, 09:43 PM
Darmez Darmez is offline
Junior Member
 
Join Date: May 2009
Posts: 18
Default

up, sorry.
Reply With Quote
  #5  
Old 15th May 2009, 12:13 AM
ICEFIRE ICEFIRE is offline
Administrator
 
Join Date: Sep 2008
Location: Galaxy Media
Posts: 337
Send a message via ICQ to ICEFIRE
Default

The in.php include must go first before anything else. If you place it at the footer it may just break.

Make sure to disable the anticheat protections while doing the tests, just to discard any configuration problem.
Reply With Quote
  #6  
Old 15th May 2009, 02:37 PM
Darmez Darmez is offline
Junior Member
 
Join Date: May 2009
Posts: 18
Default

1. i already put it at the top of "header.html", before everything.

you can see here what happens:



2. how can i disable all filters and anticheat?

3. i notice that i've a lot of in-traffic on the UNKOWN raw, but still zero in the raws of the trades. If it could help..


thanks again!

Last edited by Darmez; 15th May 2009 at 02:41 PM.
Reply With Quote
  #7  
Old 18th May 2009, 05:54 PM
Darmez Darmez is offline
Junior Member
 
Join Date: May 2009
Posts: 18
Default

...............
Reply With Quote
  #8  
Old 18th May 2009, 06:17 PM
ICEFIRE ICEFIRE is offline
Administrator
 
Join Date: Sep 2008
Location: Galaxy Media
Posts: 337
Send a message via ICQ to ICEFIRE
Default

Sorry for the late reply, Seems this post slipped my monitoring queue unnoticed.

By the code I deduce that you are using some kind of CMS or other script and then try to insert the CjOverkill include into it.
Make sure that your smarty cache is disabled. Smarty and several other php templating engines cache all the variables (server ones included) when generating the output from the template.
The final result is that CjOverkill gets cached data again and again and doesn't count correctly because of that.

Hit me on ICQ 171216535 and I will help you to solve the problem. In most cases these template caches can be ignored in one way or another without having to disable the cache itself, benefiting you from the templating engine and CjOverkill features at the same time.
Reply With Quote
  #9  
Old 19th May 2009, 10:27 PM
Darmez Darmez is offline
Junior Member
 
Join Date: May 2009
Posts: 18
Default

Ok i added you.

While i wait you online, i'll try t explain better some questions i have:

1) When i give my backlink to a partner site, i have to give:
http://www.pornoteque.net or, e.g., http://www.pornoteque.net?tid=17 ??

2) i've tried this: i've renamed my index.php --> index_.php; then i've created a new index.php with this inside:
Code:
<?php
include ("cjoverkill/in.php");
include ("index_.php");
?>
But when i load the page i get this:




Some ideas?
Thanks again!
Reply With Quote
  #10  
Old 20th May 2009, 12:35 PM
ICEFIRE ICEFIRE is offline
Administrator
 
Join Date: Sep 2008
Location: Galaxy Media
Posts: 337
Send a message via ICQ to ICEFIRE
Default

1 ) When you add a new trade there are 3 possible links http://www.yoursite.com , http://www.yoursite.com/?tid=123 , http://www.yoursite.com/?td=trade.com

The tid=123 and td=trade.com are basically the same. When you add a trade it gets an unique id (tid number) into your CjOverkill script, so the script can track traffic from it. If you delete that trade and add it again it wil get another ID, so there is no way to have two trades with the same ID, even if you delete them and add them again.

The td=trade.com link is less compatible with SEO techniques because you end exposing your trades domains, but it's also valid as the td=123 link and does exactly the same. The only difference is that if you delete that trade and add it again, the td=trade.com link would remain the same while the tid=123 would change because of the unique id feature.

If you give the tid or td enabled tracking code to your trades the script will use more accurate tracking for them counting hits that have no referrer or that are sent from a subdomain of that trade. This also helps when you trade using popups because this link will track the hit whatever popup method is used.

2 ) The index you have made is 100% correct. Try moving the CjOverkill files to the main directory and use include ("in.php");
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 02:43 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.