• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Znote AAC 1.4 - [TFS 0.2.13+] & [TFS 0.3.6+/0.4]

znote you got a guide for IPN please so im already on paypal and if pssible i didnt understand this
 
21/03/2019 10:51 CET3B2752805D7113904Reintentando7DY4162164615692F
21/03/2019 00:52 CET2R552967SL923531BReintentando6JB01472S2091601N
21/03/2019 00:41 CET08B78350GU6847612Reintentando5GM195010S472601C
21/03/2019 00:13 CET3Y454310Y1521101UReintentando04X29046DU598910A
21/03/2019 00:04 CET65U47109YM737160MReintentando7WE49826N4349925C
20/03/2019 23:32 CET93S51624UP774120GReintentando8B427750ED948423T
20/03/2019 17:11 CET7BY29745D00581830enviados8M915540E4836890A


I think yesterday work on gesior 1 time and didnt work more and now i try znote and didnt work :S
 
I think its correct IPN link website but i need to put link ??

'ipn' => "http://".$_SERVER['HTTP_HOST']."/ipn.php",

Change
PHP:
'ipn' => "http://".$_SERVER['HTTP_HOST']."/ipn.php",

To your website address, etc:
PHP:
'ipn' => "http://website.com/ipn.php",

If you use website.com. And change http: to https: if you use SSL.

And configure this IPN url in paypal.com also.

21/03/2019 10:51 CET3B2752805D7113904Reintentando7DY4162164615692F
21/03/2019 00:52 CET2R552967SL923531BReintentando6JB01472S2091601N
21/03/2019 00:41 CET08B78350GU6847612Reintentando5GM195010S472601C
21/03/2019 00:13 CET3Y454310Y1521101UReintentando04X29046DU598910A
21/03/2019 00:04 CET65U47109YM737160MReintentando7WE49826N4349925C
20/03/2019 23:32 CET93S51624UP774120GReintentando8B427750ED948423T
20/03/2019 17:11 CET7BY29745D00581830enviados8M915540E4836890A


I think yesterday work on gesior 1 time and didnt work more and now i try znote and didnt work :S

I see URLs with:
&delivery_http_response_code=404

Which means paypal get 404 (wrong URL) when trying to reach the IPN file.
 
@Znote Any idea how can this be fixed?

[Error - mysql_real_query] Query: SELECT `id`, `number`, `password`, `type`, `premdays`, `lastday` FROM `accounts` WHERE `number` = 123456 Message: Unknown column 'number' in 'field list'

Edit: Using TFS 1.3

Edit: Solved by replacing name to number in accounts structure
 
Last edited:
Hello there.
I'm working on a full responsive Znote AAC - Bootstrap 4 layout for the community. Still working on it.

Features:
  • Fully responsive
  • Mobile friendly
  • Bootstrap Carousel (For sliders)
I hope you can approve it 😁.
 
Looking forward to it!
Feel free to reach out if there is any questions you have related to the layout system. :)
I imagine if you are going to make a good responsive layout, you might need to use the layout sub system to override certain default pages with a custom version.

layout/sub.php
PHP:
/* Znote AAC Sub System
	-	Used to create custom pages
	-	Place the contents of the page in /layout/sub/ folder.
		: You don't need to include init, header or footer. 
		Its already taken care of, just write the contents you want.

	Then add that page to the configuration below. Config syntax:
	'PAGENAME' => array(
		'file' => 'fileName.php',
		'override' => false
	),
	................
	There are 2 ways to view your page, by using sub.php file, or by overriding an existing default page.
	1: yourwebiste.com/sub.php?page=PAGENAME
	2: By having override => true, then it will load your sub file instead of the default znote aac file. 

*/
 
Last edited:
Looking forward to it!
Feel free to reach out if there is any questions you have related to the layout system. :)
I imagine if you are going to make a good responsive layout, you might need to use the layout sub system to override certain default pages with a custom version.

layout/sub.php
PHP:
/* Znote AAC Sub System
    -    Used to create custom pages
    -    Place the contents of the page in /layout/sub/ folder.
        : You don't need to include init, header or footer.
        Its already taken care of, just write the contents you want.

    Then add that page to the configuration below. Config syntax:
    'PAGENAME' => array(
        'file' => 'fileName.php',
        'override' => false
    ),
    ................
    There are 2 ways to view your page, by using sub.php file, or by overriding an existing default page.
    1: yourwebiste.com/sub.php?page=PAGENAME
    2: By having override => true, then it will load your sub file instead of the default znote aac file.

*/

Hi, you know if there's a way to override index to place a upcoming page with register?
 
Hi, you know if there's a way to override index to place a upcoming page with register?

Yes, create the file layout/sub/index.php
It should be autoloaded instead of the normal index page.
PHP:
if ($config['allowSubPages'] && file_exists("layout/sub/index.php")) include 'layout/sub/index.php';
 
Yes, create the file layout/sub/index.php
It should be autoloaded instead of the normal index page.
PHP:
if ($config['allowSubPages'] && file_exists("layout/sub/index.php")) include 'layout/sub/index.php';
AMAZING! Thank you so much, btw, i just released My Bootstrap template, hope you can test. 😁
 
Yes, create the file layout/sub/index.php
It should be autoloaded instead of the normal index page.
PHP:
if ($config['allowSubPages'] && file_exists("layout/sub/index.php")) include 'layout/sub/index.php';

Dude, i'm in love with Znote AAC, it worked perfectly! Thank you!

What do you think?
1579907855042.png
 
Hi, it's me again.

I've been working on personal and comunity layout's, but a have a doubt. Is there a way to remove "aside" in specific page's? Thank you so much in advance.
 
Dude, i'm in love with Znote AAC, it worked perfectly! Thank you!

What do you think?

Lookin good! :)

Hi, it's me again.

I've been working on personal and comunity layout's, but a have a doubt. Is there a way to remove "aside" in specific page's? Thank you so much in advance.

Yes, for instance on the default layout:

I use a bit of PHP to insert $page_filename as a class name into the body tag, which allows me to add page specific CSS should there be a need to do so. Etc
CSS:
body.page_highscores h1 {
    color: gold; /* Fancy gold color on h1 title elements, only if your at the highscores page. */
}

You can also use PHP to check the state of things (etc what value $page_filename is) and do custom logic.
I do something similar in the layout/aside.php file on the default layout, but instead of checking what value $page_filename is, I check if the user is logged in or not. And based on his login state I include a different widget in the asidebar:
PHP:
if (user_logged_in() === true) {
    include 'layout/widgets/loggedin.php';
} else {
    include 'layout/widgets/login.php';
}

So, I would figure out what the name of your "specific pages" are, according to the variable $page_filename. And based on that I would decided if I would include the aside section in the layout or not using an php if statement that includes the aside.php file.

I try to keep PHP code in the layout related files to absolute minimum, but there are a few basic tricks that are very nifty and useful to learn. :)
 
@Znote Any idea how can this be fixed?

[Error - mysql_real_query] Query: SELECT `id`, `number`, `password`, `type`, `premdays`, `lastday` FROM `accounts` WHERE `number` = 123456 Message: Unknown column 'number' in 'field list'

Edit: Using TFS 1.3

Edit: Solved by replacing name to number in accounts structure
where did you edited?
 
Back
Top