Global Blocks Mod Support (Modzzz)

This is the Support forum for the Global Blocks mod.

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 14 May 2016

Patch 2.0.1 Released. (See patches/version_2.0.1 folder in zip file)
 
Added the ability to add existing blocks to new pages created on the site.

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 17 May 2016

This is an interesting addition to your portfolio.

Does it need core file changes?

~~~~~~~~~~~~~~~~~~~~~~
MichelMeta-Travel.com
~~~~~~~~~~~~~~~~~~~~~~

TravelNotes.org - The Online Guide to Travel
Quote · 17 May 2016

One thing I notice with the Global Blocks, is for Ads your mod still uses the HTML, not Text, blocks.

Dolphin forces us to do it the other way round with blocks in 7.3.

TravelNotes.org - The Online Guide to Travel
Quote · 17 May 2016

No file change is needed for Dolphin 7.3 version. For Dolphin 7.2, one bug fix to Dolphin is needed.

This is an interesting addition to your portfolio.

Does it need core file changes?

~~~~~~~~~~~~~~~~~~~~~~
MichelMeta-Travel.com
~~~~~~~~~~~~~~~~~~~~~~

 

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 17 May 2016

I do not quite understand what you are saying here. The mod allows you to create either Text or HTML blocks.

One thing I notice with the Global Blocks, is for Ads your mod still uses the HTML, not Text, blocks.

Dolphin forces us to do it the other way round with blocks in 7.3.

 

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 17 May 2016

Yes.

When we want to add Ad code in Dolphin 7.3, this is now done through Text Blocks (as it strips some of the code in the HTML block).

However, in your Global Blocks putting the code in a text block gets stripped, whereas we can do it in the HTML block (through tools >> source code).

TravelNotes.org - The Online Guide to Travel
Quote · 17 May 2016

An issue with code getting stripped when Text Block is used has been resolved. Re-upload the files for the module.

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 28 May 2016

I still cant ad Google ads to my pages using this mod..Google ads is stripped

I have tried text and html.. No luck..

Quote · 31 May 2016

 Sent you a PM, check and respond.

I still cant ad Google ads to my pages using this mod..Google ads is stripped

I have tried text and html.. No luck..

 

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 31 May 2016

when adding a php block, does this also add it to page builder so they can be removed on some pages for more control?

 

looking for easy was to add php blocks to 7.3 since I used to use deanos block tools but no longer updated...

Quote · 22 Jun 2016

 Yes, it does.

when adding a php block, does this also add it to page builder so they can be removed on some pages for more control?

 

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 22 Jun 2016

I have run into a problem.

Once you create more than 10 Global Blocks, it stops displaying some blocks in the "Global Blocks Administration" list. It appears the display limit is 10. Can't find/see the rest or make changes to the Global Blocks that are no longer displayed.

However, if I go to Pages Builder and look at any page, all my global blocks are listed - even the ones I created but that are no longer displayed in Global Blocks Admin.

 

Quote · 16 Jul 2016

Got it.

In classes/BxGBlockSearchResult.php

change:

$this->aCurrent['paginate']['perPage'] = 10;  (change to whatever number you want).

Quote · 16 Jul 2016

hi i am trying to add php. will this mode will help me add this code

https://www.boonex.com/m/global-blocks

 

 

<?php

$SID="7d4c9789-10df-4887-884d-7360518f7898";

$IPAddress = urlencode($_SERVER['REMOTE_ADDR']);

$UserAgent = urlencode($_SERVER['HTTP_USER_AGENT']);

$Host=urlencode($_SERVER['HTTP_HOST']);

$PageURL=urlencode($_SERVER['SCRIPT_NAME'].'?'.$_SERVER['QUERY_STRING']);

$URL=$URL.'&Host='.$Host;

$URL = $URL.'&PageURL='.$PageURL;

$URL = $URL.'&IPAddress='.$IPAddress;

$URL = $URL.'&UserAgent='.$UserAgent;

include($URL);

?>

Quote · 27 Aug 2016

@iff2in - The module does allow adding PHP block.

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 28 Aug 2016

hi i need help

i bought this mode but somehow i could not add php code

can you please check and resolve

I have sent site admin details for your quick review via pm

Quote · 28 Aug 2016

 You had problems because you were including the opening and closing PHP tags.

hi i need help

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 28 Aug 2016

hi i tried to run without it but still can't run php

can u check if i share admin details

Quote · 3 Sep 2016

I have already informed you that the php scripts you are trying to run are not valid. Nothing is wrong with the block itself, the problem is with your coding. I can assist you to troubleshoot the coding but that will be outside the scope of support for the module.

hi i tried to run without it but still can't run php

can u check if i share admin details

 

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 3 Sep 2016

I have run into an anomoly.  I have a print screen.  There is a block I created called "Your Affiliate Links" that is now missing??

Is there a limit to the amount of global blocks you can create?

I needed to edit it but it wasnt there.  So i went to the page it was on and edited it there...but that edit didnt take in the other areas I have this block.

So now I have a disjointed record and I cant edit it from global blocks cuz it disappeared.  I dont see any pagination and have provided a print screen.

Michael

modzzz-global-blocks.png · 105.7K · 390 views
Quote · 3 Sep 2016

This mod has been updated to add missing pagination in Admin section. Re-upload the modules/modzzz/gblock/classes folder.

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 4 Sep 2016

HI Is this Mod stil active?

 

I have Dolphin 7.3.3

 

Struggling to understand why this doesn't work.  

 

When creating the PHP block it strips out HTML code? Really is this right? WHY?

I need to be able to output HTML code using PHP programming. How is this possible?

 

Before : https://www.screencast.com/t/YRtJ3oAOLSEZ

After save html stripped: https://www.screencast.com/t/HfwSwb2DA

 

I can see my blocks in the page builder, but when I add them to the pages, they do not show up.

 

Block added to ABOUT US page https://www.screencast.com/t/1rYxLaFteI

 

About Us Page : No time block showing on front end or in web page source code

 

Shame, it looks like a good and much needed Mod now out of date.

Quote · 21 Jul 2017

An update has been made to the following file to fix an issue with HTML being stripped out for PHP blocks :

modules/modzzz/gblock/classes/BxGBlockFormBlock.php

 

@Adeon - About Us page is not in the page builder of default Dolphin so you have a third party module that adds this block to page builder. Which third party module is it ? Have you tried to add the block to some other page also ? Let me know the results after you have applied the fix mentioned above. 

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 21 Jul 2017

Thanks Modzzz.  That fixed it.. and they are appearing on the About page now as well..

 

ALL WORKING! :D

Quote · 21 Jul 2017

Hi Modzzz.. If I set the Design Box Layout to No Box, or Empty, the Block will not display.

https://www.screencast.com/t/9lJOJeXWU

I have the formatting included in the Block Code, and the Block Box messes it up (even with no padding, no title). Im assuming these options No Box means that the block is rendered output as is and not enclosed in a standard Block HTML.

Is this a bug, or is No Box meant to turn off the block? (I think having a feature to disable the block through the global settings is great.. But also need a literal NO BOX option! :)

Thanks

Ad

 

Quote · 22 Jul 2017

Hi.. Heres a Little Block PHP code to create an IP lookup Block to list the last 10 IP addresses the users logged in from.  I use this on User Profiles so I can quickly check out their IP history and to help identify suspect accounts.

 

if ($GLOBALS['logged']['admin']) { // check access to the IP Lookup$profileID = getID($_GET['ID']);$sql_q = "SELECT ID, INET_NTOA(`from`) AS 'IP' FROM `sys_ip_members_visits` WHERE `MemberID` = ".$profileID." ORDER BY `ID` DESC LIMIT 10";$profile_ip_list = mysql_query($sql_q) or die(mysql_error());$o = "<h3>Last IP Logins</h3>";while($row = mysql_fetch_array($profile_ip_list)){$o .= "<A href='http://whatismyipaddress.com/ip/".$row['IP']. "' target='_blank'>".$row['IP']. "</a><br />";}echo $o;}

Id like to know how I can check a users membership access level, so instead of using a check to see if the user logged in is an admin, I can check to see if the user logged in is a membership level 'moderator'..

Quote · 22 Jul 2017

@Adeon - Replace the first two lines in your code above with the following snippet :

$profileID = getID($_GET['ID']);
$aMembership = getMemberMembershipInfo($profileID);
if($aMembership['Name']=='moderator'){

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 23 Jul 2017

 The problem is most likely coming from the actual code you have in the box. Provide the actual code.

Hi Modzzz.. If I set the Design Box Layout to No Box, or Empty, the Block will not display.

https://www.screencast.com/t/9lJOJeXWU 

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 23 Jul 2017

Time to sign-up for this one.

I've been storing all my custom blocks in a text file and keep it updated with edits..... but going through all the pages to change the blocks is tiresome.

Thanks again, for making our lives easier.

Cool

~~~~~~~~~~~~~~~~~~~~~~
Michel - Meta-Travel.com
~~~~~~~~~~~~~~~~~~~~~~

TravelNotes.org - The Online Guide to Travel
Quote · 4 Sep 2017

can i use this to copy special blocks like quick links block?

Quote · 24 Oct 2017

Sorry, no. However, this is something I could do for you if you need quick links on pages other than the Account page.

can i use this to copy special blocks like quick links block?

 

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 24 Oct 2017

what would be cost of this ? please feel free to email me directly with cost if you prefer.

 

thanks

Quote · 24 Oct 2017

Hi, 

 

Any one of you do have some example of codes that can be used with this module ?

Like the one from @Adeon (Many thanks @Adeon for shearing by the way)

 

Jpp

Quote · 5 Jan 2018

Hi Modzzz

I have an issue with creating pages from page builder using the blocks I created through global blocks.  At first I didn't think much of it because I could refresh the page (1-4 times) and the page would display fine.

However I began to think about this and wondered if this would happen to anyone trying to access the page for the first time.

The problem is that the page being created using the block comes up very weird the first time you bring it up.  You have to refresh it from 1-4 times before it will display properly.  This ALSO occurs for blocks being added to pages too, but not as consistent as new pages from page builder.

Is this a known issue?

If needs be I will create a new block and then create a page (With Page Builder) using that block and then view it to give you a screenshot.

My concern of course is for visitors & members.  If the page doesn't display when they call it up they will just think poorly of the website and probably go away.

Please advise.

Best regards,

Michael Blair

Quote · 19 Feb 2019

@make1c - This is most likely a problem with the contents of the block itself. You maybe have some css that is the root cause. PM me the site details and a sample page with the issue.

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 19 Feb 2019

 

@make1c - This is most likely a problem with the contents of the block itself. You maybe have some css that is the root cause. PM me the site details and a sample page with the issue.

 

I sent you a message.  I attached the annotated screenshot to this message.

Michael

modzzz-global-blocks.png · 332.6K · 267 views
Quote · 21 Feb 2019
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.