Hello There, Guest! Register

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need some help here
07-20-2012, 03:45 PM (This post was last modified: 07-20-2012 03:59 PM by sprynew.)
Post: #1
Need some help here
Hi

1- I want to let my site work with www only
like http://example.com it should be forwarded to http://www.example.com
http://example.com/filename.php it should be forwarded to http://www.example.com/filename.php

This mod_rewrite rule can do the job (.htaccess file):

Quote:RewriteEngine on
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

But i couldn't integrate it with the current .htaccess lines to work correctly
Please help
---------------------------

2- I think session time for user is 10 minutes and if he didn't do any action, session will not renew it self and will end and user will be undefined
I need it to be 2 hours
Please, which file i need to edit ? and please if this file is encoded, edit it and send PM me.

3- How i can integrate supersonicads.com offerwall with my offers wall plugin ?

Their Publisher integration document
http://documents.supersonicads.com/Super...ration.pdf

Thank you very much
My Best Regards
Find all posts by this user
Quote this message in a reply
07-24-2012, 12:33 AM
Post: #2
RE: Need some help here
Our main developer is currently on vacation for a few days, as soon as he is back he can help you with such a matter.
Find all posts by this user
Quote this message in a reply
07-26-2012, 07:36 AM
Post: #3
RE: Need some help here
(07-24-2012 12:33 AM)admin Wrote:  Our main developer is currently on vacation for a few days, as soon as he is back he can help you with such a matter.
Ok, waiting for the support....
Find all posts by this user
Quote this message in a reply
07-28-2012, 04:58 AM
Post: #4
RE: Need some help here
To redirect all non www to www. please try this .htaccess file:
Code:
DirectoryIndex router.php
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 ^(.*)$
RewriteRule ^(.*)$ router.php?_doroute=$1 [L,QSA]
Find all posts by this user
Quote this message in a reply
07-28-2012, 05:00 AM
Post: #5
RE: Need some help here
Quote:2- I think session time for user is 10 minutes and if he didn't do any action, session will not renew it self and will end and user will be undefined
I need it to be 2 hours
Please, which file i need to edit ? and please if this file is encoded, edit it and send PM me.
I don't think there is any limits atm, but if user closes his browser he might have to relog. The only thing that could solve this would be some kind of remember me feature.
Find all posts by this user
Quote this message in a reply
07-28-2012, 05:04 AM
Post: #6
RE: Need some help here
(07-20-2012 03:45 PM)sprynew Wrote:  3- How i can integrate supersonicads.com offerwall with my offers wall plugin ?

Their Publisher integration document
http://documents.supersonicads.com/Super...ration.pdf

Thank you very much
My Best Regards
I cannot guide you through the full process, but it's simply a matter of going to:
http://yourdomain.com/admin-panel?page=p...p=networks

then click add affiliate network and fill out the details. Then you'll have to look inside the offerwall folder (ClixScript_PHP_DOCS/plugins/offerwall/classes/custom_postback/ if you need to use a custom postback and ClixScript_PHP_DOCS/plugins/offerwall/views/iframe/ for custom iframe/display.)

You may hire me for an integration if you are unable to do this yourself.
Find all posts by this user
Quote this message in a reply
07-28-2012, 08:34 AM (This post was last modified: 07-28-2012 08:37 AM by sprynew.)
Post: #7
RE: Need some help here
(07-28-2012 04:58 AM)admin Wrote:  To redirect all non www to www. please try this .htaccess file:
Code:
DirectoryIndex router.php
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 ^(.*)$
RewriteRule ^(.*)$ router.php?_doroute=$1 [L,QSA]
It's working perfectly...

(07-28-2012 05:00 AM)admin Wrote:  
Quote:2- I think session time for user is 10 minutes and if he didn't do any action, session will not renew it self and will end and user will be undefined
I need it to be 2 hours
Please, which file i need to edit ? and please if this file is encoded, edit it and send PM me.
I don't think there is any limits atm, but if user closes his browser he might have to relog. The only thing that could solve this would be some kind of remember me feature.
Ok..Maybe I have a problem with my browser..i will check this later
Find all posts by this user
Quote this message in a reply
07-28-2012, 09:35 AM (This post was last modified: 07-28-2012 09:36 AM by sprynew.)
Post: #8
RE: Need some help here
(07-28-2012 05:04 AM)admin Wrote:  
(07-20-2012 03:45 PM)sprynew Wrote:  3- How i can integrate supersonicads.com offerwall with my offers wall plugin ?

Their Publisher integration document
http://documents.supersonicads.com/Super...ration.pdf

Thank you very much
My Best Regards
I cannot guide you through the full process, but it's simply a matter of going to:
http://yourdomain.com/admin-panel?page=p...p=networks

then click add affiliate network and fill out the details. Then you'll have to look inside the offerwall folder (ClixScript_PHP_DOCS/plugins/offerwall/classes/custom_postback/ if you need to use a custom postback and ClixScript_PHP_DOCS/plugins/offerwall/views/iframe/ for custom iframe/display.)

You may hire me for an integration if you are unable to do this yourself.

I've tried several times but I couldn't do it by myself.
Also ClixScript_PHP_DOCS/plugins/offerwall/classes/custom_postback/ files are encoded and there is no examples.
Could you help me please ?

Thank you very much for your support
My Best Regards.
Find all posts by this user
Quote this message in a reply
07-29-2012, 06:12 AM
Post: #9
RE: Need some help here
Its not always necessary to create custom postback files. But the idea is to use the ID of the network (you will see ID in admin area after adding it) and create file like

1.php
Code:
<?php
echo 'OK';
$_REQUEST['currency'] = abs($_REQUEST['currency']);
$_REQUEST['type'] = ($_REQUEST['type'] == 0 OR $_REQUEST['type'] == 1) ? 1 : 2;
?>

This just modifieds the behaviour of the script (overrides default).

6.php:
Code:
<?php
if($_REQUEST['sig'] != md5($_REQUEST['id'] . ':' . $_REQUEST['new'] . ':' . $_REQUEST['uid'] . ':' . $network['postback_val_password']))
{
    $this->o_model->insert_postback_log($network['id'],'','',"Invalid Sig, make sure you have specified your secret key as password value (do not enter password variable) #".$network['id'],"");
    echo 'Invalid sig!'; exit;
}
?>

This is the unencrypted content of those files. Hope that helps
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)