1
English Support / Re: DP works with SMF 2.0.1?
« Last post by pixeleyes on February 21, 2012, 10:28:40 AM »I tried but having trouble in installation as below.

|
DreamPortal1.0.5.zip
File size: 221KB
Download count: 1272
|
DreamPortal1.0.5.tar.gz
File size: 176KB
Download count: 141
|
I just wanted to know whether DP works with SMF 2.0.1?
<param name="reset" type="check" extend="function">source/script.php:myresetfunc</param>function myresetfunc()
{
if (!empty($_POST['reset']))
file_put_contents("count$unique_id.txt", $countReset);
return 0;
}file_put_contents("count$unique_id.txt", $countReset);I'm thinking that you could addd a module parameter and count the views there. For membergroups you could do array_combine as the shoutbox module does.
The module does not count impressions. That was beyond my skill(I tried). However ad rotation isn't a bad idea, it could be added. I doubt I have the skill to get them working membergroup-based with ad rotation, but you can also make the whole module itself membergroup-based. Remember, the modules are clone-able
.blockframe { background: #eee; border: 1px solid #bbb;}
You use parse_bbc in your actual function for your module within the code itself. Example:Code: [Select]echo
parse_bbc($param['text']);
echo
parse_bbc($param['text']);