#1 Re: Bug Reports » Google Analytics - Can't Authenticate » February 22, 2021 3:16pm

The oAuthSetToken function doesn't seem to be creating the token. I even tried to Authenticate and Save Code without entering anything in the field and still gave me a success message.

#3 Re: Bug Reports » Google Analytics - Can't Authenticate » February 22, 2021 9:35am

Tim,

The code from google doesn't seem to be saving for me. When I go back to analytics, it is still asking to authenticate. I tried on my local and live websites. The token is empty.
Any ideas?

Thanks

#4 Bug Reports » Google Analytics - Can't Authenticate » February 18, 2021 3:49pm

doon.mok
Replies: 3

Hello,

I was getting a "No profiles were found in your Google Analytics account."under Analytics. Which was odd because it was working before. So I Disconnected and tried to Authenticate. I sign in with my email account and get warning below.

"Google hasn’t verified this app
The app is requesting access to sensitive info in your Google Account. Until the developer (info.fastspot@gmail.com) verifies this app with Google, you shouldn't use it."

I go to site to get code anyways and copy code. It says successfully authenticated but nothing happened.
I still get the "To connect Google..." and Enter Code Here field to authenticate. I tried hard refresh and logging in/out.
Any ideas why it is not connecting?

bigtree 4.4.12

Thanks

#5 Bug Reports » Form builder - IP address label still there » January 15, 2021 11:31am

doon.mok
Replies: 2

Hello,

When you removed the IP address feature from form builder, the "IP Address of Submitter" label still shows up when viewing an entry. In view-entry. php, you would want to remove the code below.

Version 2.5.2

<fieldset class="form_builder_entry_right">
<label><strong>IP Address of Submitter</strong></label>
<p><?=$entry["ip"]?></p>
</fieldset>

#7 Bug Reports » Module > Actions > Reorder doesn't change which shows up first » December 17, 2020 11:39am

doon.mok
Replies: 2

Hello,

I reordered my module menu in Actions. When I go back to view my module, the left most menu is not the active menu, instead it is showing the original menu as the active one. The two menus are View menus.

I was expecting the left most menu to be the active menu, is there something I'm missing in the Actions area when reordering the menus?

Thanks

#8 Re: Developer Help » upload svg files not working » December 16, 2020 4:02pm

Saw on github you had already fixed the issue.

#9 Re: Developer Help » upload svg files not working » December 15, 2020 4:09pm

I think I found the issue and it is possibly a bug. I was getting the error below.

(index):145 Uncaught TypeError: Cannot read property 'indexOf' of undefined

It was referring to core/admin/modules/files/add/file.php, line 42 which checks if it is a svg.
Instead of

} else if (file.type.indexOf("image") !== -1 && this.type.indexOf("svg") === -1) {

it should be

} else if (file.type.indexOf("image") !== -1 && file.type.indexOf("svg") === -1) {

Once I changed it from "this" to "file", I was able to upload an svg file.

#10 Developer Help » upload svg files not working » December 14, 2020 3:50pm

doon.mok
Replies: 3

Hello,

I just upgraded to bigtree 4.4.11 locally and tried to upload an svg file through Files > Add Files. It it seems to hang once I select the svg file.
I tried adding different variations of the below code to .htaccess and httpd.conf(Mamp) but still same issue.
Tried without the periods before svg and svgz.
Tried without AddEnco... line

AddType image/svg+xml .svg .svgz
AddEncoding gzip svgz

Any suggestions to why its not working?

#12 Bug Reports » Expired page subpages still available » January 2, 2020 12:07pm

doon.mok
Replies: 2

If I set a page to expire and after it expires , I was expecting the subpages of that page to not be available and show a 404 error. But you can still go to the subpages if you know the url. I was expecting it to act like an archived page, where page and all subpages are archived.

I'm not sure if this post should be under Bug Reports or Feature Requests.

Thanks

#14 Re: Developer Help » One to Many field - List Parser Function help » July 23, 2019 2:25pm

Tim,

I figured out my issue but was wondering if I can pass a variable through the List Parser Function field. I want to pass the id of the row editing in the module.

For example:
List Parser Function field: policy::getPolicy($rowId, $data, $type)

Is this possible?

#15 Re: Developer Help » how to use bigtree classes and functions (PHP beginner) » July 16, 2019 9:23am

BigTree
BigTree::redirect($url = false, $code = ["302"])

BigTreeModule
$module = new module_name
$get = $module->getAll($order = false, $columns = false)

This is how we do it, hope this helps.

#16 Re: Bug Reports » Form Builder - IP of entry » June 7, 2019 12:54pm

Thanks, I will create the ip column.

#17 Bug Reports » Form Builder - IP of entry » June 7, 2019 11:06am

doon.mok
Replies: 2

I'm testing out form builder v2.5 and when submitting a form and viewing the entry. The IP Address of Submitter is blank. Looking at process.php, it looks like it is trying to insert the ip address in an ip column in the btx_form_builder_entries table. There is no ip column in that table.

I downloaded the form builder extension and copy/pasted into the extensions folder to upgrade. Would it create the column if I upgraded through Bigtree > Developer > Extensions?

#18 Re: Developer Help » One to Many field - List Parser Function help » June 5, 2019 11:53am

Hey Tim,

I removed the if else but all the items are still in the selected section.
https://imgur.com/a/nSwv80J

$return_data = array();

// if not selected
// if ($type === true) {

foreach ($policies as $item) {
	$category_name = "";
	$category = json_decode($item["category"]);
		if($category[0]) {
			foreach ($categories as $each) {
				if($each["id"] == $category[0]) {
					$category_name = " (" . $each["name"] . ")";
					break;
				} 
			}
		}

	$return_data[$item["id"]] = $item["policy"] . $category_name;
}
return $return_data;

// } else {
	 //return $data;
 //    }

#19 Developer Help » One to Many field - List Parser Function help » June 5, 2019 11:15am

doon.mok
Replies: 5

I added a One to Many field type to a module and trying to use the List Parser Function to display a different title. I have the new title displaying if not selected but if I add an item and save and then go back. The selected item title is the original, not the title from the List Parser Function. I'm not sure what I need to do to show the new title after its been added?

I was referencing this example you had

function parseManyToMany($data,$type) {
    $return_data = array();
    // If $type is true, we're parsing the full list of values available for a user to tag
    if ($type === true) {
        foreach ($data as $id => $description) {
            $return_data[$id] = strtoupper($description);
        }
        return $return_data;
    // If $type is false, we're parsing the currently tagged values
    } else {
        // Let's leave it how it is.
        return $data;
    }
}

I thought if I put the description in the else, it displays the new description but it also has all of them in the added section.

#21 Developer Help » Sitemap - hide comment » April 18, 2019 8:19am

doon.mok
Replies: 2

Just updated v4.4.3 locally and want to remove the comment "Generated by the BigTree CMS https://www.bigtreecms.org." from sitemap.xml. I know I can remove it from the original sitemap.php but I copied sitemap.php and moved it to /custom/inc/bigtree folder. The comment is still showing up.
I deleted the sitemap.xml from the cache folder as well so it would create a new one but that didn't work.

Should I be editing the original sitemap.php?

Thanks

#23 Developer Help » File Referece Field Type » March 8, 2019 1:45pm

doon.mok
Replies: 2

Hello,

I am using the File Reference field type in one of my modules and it puts the file id into the database. I am trying to point to that file in a template but only have the id to refer to. What is the best way to get file information such as name? I can create my own function to get it but is there a bigtree function?

There is a getFile function but that refers to cloud storage.

Thanks

#24 Re: Bug Reports » Settings - fields not showing up in Matrix » February 13, 2019 9:23am

Thanks Tim! We will move to the core fields instead of the extensions.

#25 Bug Reports » Settings - fields not showing up in Matrix » February 11, 2019 2:26pm

doon.mok
Replies: 2

Hello,

I upgraded to Bigtree 4.4 and noticed an issue using a Matrix in Settings with the extensions Link finder and Media Gallery not showing up.

If I add a new column in Developer > Settings > Type(Matrix) > Add Column > Custom(Link Finder or Media Gallery) > Save > Update. Then when I go back into Field Settings, the field I just created is not showing up.
Or after I upgraded to 4.4, those two do not show up either if they were already in there.

In settings.json, the column was created.

"id": "test",
        "name": "test link",
        "description": "",
        "type": "matrix",
        "settings": {
            "style": "list",
            "columns": [
                {
                    "type": "text"
                },
                {
                    "type": "com.fastspot.link-finder-field-type*link-finder",
                    "id": "test",
                    "title": "test"
                }
            ]
        },
        "locked": "",
        "system": "",
        "encrypted": "",
        "extension": null

Board footer

Powered by FluxBB

The Discussion Forum is not available on displays of this size.