Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
Tips & Tricks / Re: Want to know how to make affiliates name show up on pages.
« Last post by KHDev on May 15, 2017, 05:21:57 PM »
You could probably do something like:

Add something like this to init.php somewhere near the bottom of the file

Code: [Select]
if(isset($_SESSION['ReferalId'])){

$affid2=intval($_SESSION['ReferalId']);
$affName = $osDB->getOne('SELECT name FROM ! WHERE id = ?', array(AFFILIATE_TABLE, $affid2));

if(!empty($affName)){
$t->assign ('affName', $affName);
}

}else{
$t->assign ('affName', '');
}

Then in your template file/s where you want to display it, you could use something like:

Code: [Select]
{if $affName != ''}
<div>
You have been referred by: <b>{$affName}</b>
</div>
{/if}

Just basic, but should point you in the right direction.

:)

22
osDateEvo Configuration & Installation / Re: download link
« Last post by zanr on May 15, 2017, 04:56:55 PM »
Thank you ;D
23
osDateEvo Configuration & Installation / Re: download link
« Last post by KHDev on May 15, 2017, 04:52:32 PM »
Once you have logged in you should, click the Forum tab then scroll down to the osDate Download area in the list of boards, then just click the first topic which has the download link in for the latest version. :)

24
osDateEvo Configuration & Installation / download link
« Last post by zanr on May 15, 2017, 01:05:59 PM »
Hello,
Sorry, but I can not find the download link for osdateevo.
Where is it ?
Thank you in advance
Franz
25
Bugs / Re: Bug in completereg.php ?
« Last post by Pharg on May 15, 2017, 01:59:35 AM »
Hello,

is this code correct in completereg.php:

Code: [Select]
session_destroy();

header('location: index.php?page=login&err='.REGN_COMPLETED);

} else {

header( 'location: confirmreg.php?errid='.INVALID_ACTIVATION_CODE );

}

exit;
?>

or should it be:

Code: [Select]
session_destroy();

header('location: index.php?page=login&errid='.REGN_COMPLETED);

} else {

header( 'location: confirmreg.php?errid='.INVALID_ACTIVATION_CODE );

}

exit;
?>

I changed header('location: index.php?page=login&errid='.REGN_COMPLETED); in my code. Hope this was correct. I am creating a german page and had many problems with translations. So i hope this change was correct instead of having another translation problem.

Thanks

Hi christianrein,

Nicely spotted, this has been like this for many years and only would have only gotten noticed by those that use
Promo codes on there sites.

Using Promo code reg completed, this affects and now shows correctly.

Normal complete reg this doesn't affect at all.

Thanks christianrein
26
Tips & Tricks / Re: Want to know how to make affiliates name show up on pages.
« Last post by Pharg on May 15, 2017, 12:32:57 AM »
Hi alexchiu,

Sorry but don't know, you will have to hire a coder for that, as it's custom work.
27
Tips & Tricks / Want to know how to make affiliates name show up on pages.
« Last post by alexchiu on May 15, 2017, 12:27:23 AM »
Want to know how to make affiliates name show up on pages.  For example 'You have been referred by some dude.'
28
Bugs / Re: Bug in completereg.php ?
« Last post by Pharg on May 14, 2017, 11:55:20 PM »
Hi christianrein,

Yes you could be right there.

Will check it on the main download.
29
Bugs / Bug in completereg.php ?
« Last post by christianrein on May 14, 2017, 11:03:40 PM »
Hello,

is this code correct in completereg.php:

Code: [Select]
session_destroy();

header('location: index.php?page=login&err='.REGN_COMPLETED);

} else {

header( 'location: confirmreg.php?errid='.INVALID_ACTIVATION_CODE );

}

exit;
?>

or should it be:

Code: [Select]
session_destroy();

header('location: index.php?page=login&errid='.REGN_COMPLETED);

} else {

header( 'location: confirmreg.php?errid='.INVALID_ACTIVATION_CODE );

}

exit;
?>

I changed header('location: index.php?page=login&errid='.REGN_COMPLETED); in my code. Hope this was correct. I am creating a german page and had many problems with translations. So i hope this change was correct instead of having another translation problem.

Thanks

30
Showcase your osDate site / Re: My website with a million fake profiles
« Last post by Pharg on May 13, 2017, 11:33:49 PM »
Hi alexchiu,

Looked at it on mobile and it looks better, but you might want to fix the login, as it shows under the picture, it should be a the top.

Other than that, it looks ok on mobile, doesn't look appealing on desktop though.

None of your links work, you need to enable the htaccess
Pages: 1 2 [3] 4 5 ... 10