html block issue ??? 7.0.9

hello for some reason none of the html blocks seem to work !

If I add plain text or html the block saves but does not show at all on the 'relevant' page ?

 

if I look at blocks in page builders i see whatI want to add .... if I save nothing appears on the actual pages ??

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 4 Jun 2012

if I dont add anything to the blocks whatsoever you see empty html block on the page its for !!

if I add something there's NO block ?!

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 4 Jun 2012

WFT .... if I use deanos block tools to add html block it works and shows on relevant page  >>>>

but it wont work via page builders ??!!

some please help me here !!

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 4 Jun 2012

weird .... if I edit HTML block created from deanos 'block tools' in page builder the block vanishes !!!

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 4 Jun 2012

My block tools does not have a tinymce editor, and it inserts the html directly into the database.

So i am guessing if you edit the block manually in phpMyAdmin it will also work.

That leads me to believe you have a problem with the tinymce editor or the htmlpurifier.

Hmmm, sorry. Never seen this issue before. Have no clue how to fix it.

https://www.deanbassett.com
Quote · 4 Jun 2012

 deano I noticed that standard members cannot see the blocks but visitors can !?

I have allowed standard to see but .... nothing ?

 

 

My block tools does not have a tinymce editor, and it inserts the html directly into the database.

So i am guessing if you edit the block manually in phpMyAdmin it will also work.

That leads me to believe you have a problem with the tinymce editor or the htmlpurifier.

Hmmm, sorry. Never seen this issue before. Have no clue how to fix it.

 

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 4 Jun 2012

Sounds like it might be a html purifier cache problem.

Try this procedure.

1) Turn off all caching options in dolphin including JS Compression.
2) Clear the dolphin cache manually.
3) Go to the following folder on your server.

plugins\htmlpurifier\standalone\HTMLPurifier\DefinitionCache\Serializer

In that folder you will see 4 other folders.

CSS
HTML
Test
URI

Make sure all of those folders are writable. Mode 777

Then go into each of those 4 folders and delete any files found in them.

4) Turn caching back on.

https://www.deanbassett.com
Quote · 4 Jun 2012

folders was set to 777

followed steps and the same issue still remains :(

 

 

Sounds like it might be a html purifier cache problem.

Try this procedure.

1) Turn off all caching options in dolphin including JS Compression.
2) Clear the dolphin cache manually.
3) Go to the following folder on your server.

plugins\htmlpurifier\standalone\HTMLPurifier\DefinitionCache\Serializer

In that folder you will see 4 other folders.

CSS
HTML
Test
URI

Make sure all of those folders are writable. Mode 777

Then go into each of those 4 folders and delete any files found in them.

4) Turn caching back on.

 

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 4 Jun 2012

Well. I am out of ideas.

https://www.deanbassett.com
Quote · 4 Jun 2012

 it was a fresh install of dolphin and I added your enchanced page block visability mod ...

Im not sure if I could have done something wrong ir if this problem was always there

I say this about the mod cause 1) I only added it before I noticed the issue and 2)  you mod controls who sees blocks ?

 

 

Well. I am out of ideas.

 

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 4 Jun 2012

should I reverse the mod codes to see if it makes difference ?

I bet I done something wrong ...

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 4 Jun 2012

Ah, you did not mention that. Yes. restore your backup of the modified file.

Oh. Hold on. Are you looking at these blocks as admin? If so, make sure your profile is completely filled out. By default admin has no date of birth set. The mod displays blocks based on matching various information. If the profile is missing any of that information the block will not be displayed.

The block worked when created by my block tools because you did not edit it with the page builders. As soon as you did, the blocks new settings for the matches were saved.

If you continue to have problems you can restore your backup of the modified file. You will have to re-edit any block you previously edited while the mod was installed to set the proper guest/member visibility.

But i am pretty sure it's just that your profile is missing information. I think that was covered in the mods support forum. http://www.boonex.com/forums/topic/Enhanced-Page-Block-Visibility-Support-Forum.htm

I am out for the night. Getting late and i have to get some sleep. Need to be up early for an appointment.


https://www.deanbassett.com
Quote · 4 Jun 2012

 I added original files and the block works !

ok so if users dont fill profile information they wont see the html blocks ??  OR does admin just suffer this ?

thanks for you help anyway deano :)

cool stuff

 

Ah, you did not mention that. Yes. restore your backup of the modified file.

Oh. Hold on. Are you looking at these blocks as admin? If so, make sure your profile is completely filled out. By default admin has no date of birth set. The mod displays blocks based on matching various information. If the profile is missing any of that information the block will not be displayed.

The block worked when created by my block tools because you did not edit it with the page builders. As soon as you did, the blocks new settings for the matches were saved.

If you continue to have problems you can restore your backup of the modified file. You will have to re-edit any block you previously edited while the mod was installed to set the proper guest/member visibility.

But i am pretty sure it's just that your profile is missing information. I think that was covered in the mods support forum. http://www.boonex.com/forums/topic/Enhanced-Page-Block-Visibility-Support-Forum.htm

I am out for the night. Getting late and i have to get some sleep. Need to be up early for an appointment.


 

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 4 Jun 2012

also using another standard account (not admin) I was not able to see the blocks ?

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 4 Jun 2012

Everyone.

But dolphin forces selection of DOB on signup. But admin is created when dolphin is installed so DOB was not set. I am pretty sure thats what the issue is. Set your DOB in your profile and the problem should go away.

If you have my new version. The DOB checking can be turned off if you choose not to use it. It's part of the code edits.

    var $bOptGender = true;
    var $bOptMember = true;
    var $bOptAge = true;


Switch any of those 3 options to false to turn off the check for it. Gender, Membership Levels or Age.

https://www.deanbassett.com
Quote · 4 Jun 2012

 

also using another standard account (not admin) I was not able to see the blocks ?

If you are sure the profile was filled out completely, esp age, then something with your code edits had to have been incorrect.


https://www.deanbassett.com
Quote · 4 Jun 2012

where I find that file to make changes please ?

yes its your latest version of mod :)

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 4 Jun 2012

It's the same file. Part of the edits you did. inc/classes/BxDolPageView.php

https://www.deanbassett.com
Quote · 4 Jun 2012

hummm another odd issue >>

 

if users join using 'live join'  they are not forced to enter their informations and therefor dont see blocks!

Anyway I can change that ?

also you  was right about infos needing filling ;)

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 4 Jun 2012

It's usally just the age check that causes the issues. You could try setting a default value for age in the database. It currently defaults to all zeros.

If you do not need age checking on the blocks, then shut that option off.

https://www.deanbassett.com
Quote · 4 Jun 2012

 I dont see the vars you put ??

 

It's usally just the age check that causes the issues. You could try setting a default value for age in the database. It currently defaults to all zeros.

If you do not need age checking on the blocks, then shut that option off.

 

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 4 Jun 2012

can I have the exact code where this is placed please ??

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 4 Jun 2012

Sorry. I will have to check tomarrow. It's possible i have not released that version into the market yet.



https://www.deanbassett.com
Quote · 4 Jun 2012

Yes, sorry. Jumping the gun. I have not released that new version yet. Guess i am more tired than i thought.

For now you will need to ether set a default age in the database profile table or remove the mod.

I have to verify the current version i am working on is complete before i put it in the market.

https://www.deanbassett.com
Quote · 4 Jun 2012

 ok thank you I appreciate it  ;)

 

Sorry. I will have to check tomarrow. It's possible i have not released that version into the market yet.



 

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 4 Jun 2012
 can you guide me to set the default age please ? I thing 120 yrs back is enough thank you deano
DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 4 Jun 2012

In phpMyAdmin go to the Profiles table.

Edit the structure. Click on the structure tab. You should already be on the structure when you select the Profiles table.

Edit DateOfBirth. The Default for DateOfBirth is empty. Change it to a value that falls within the range of allowable ages on your site. Something like 1987-01-01

No guarantee this will work for the live join. It will not for signups with the join form because the date picker will over ride it. But it might for things like the live join. Only thing you can do it try it. Then join with live join and see if it worked.

I am testing the new code i have been working on. I will see how soon i can get it released. It appears i set it aside to work on something else, so it is not completed yet.






https://www.deanbassett.com
Quote · 4 Jun 2012

 can I just not remove the part of code that controls the age from your version currently ?

 

In phpMyAdmin go to the Profiles table.

Edit the structure. Click on the structure tab. You should already be on the structure when you select the Profiles table.

Edit DateOfBirth. The Default for DateOfBirth is empty. Change it to a value that falls within the range of allowable ages on your site. Something like 1987-01-01

No guarantee this will work for the live join. It will not for signups with the join form because the date picker will over ride it. But it might for things like the live join. Only thing you can do it try it. Then join with live join and see if it worked.

I am testing the new code i have been working on. I will see how soon i can get it released. It appears i set it aside to work on something else, so it is not completed yet.






 

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 4 Jun 2012

You could. I am not sure how long it will take me to write up removal instructions. Even tho it's my code, i still have to look through it to find the several locations where age options and checking are, remove them, test it to make sure i did not break something then write removal instructions.

I suppose if it's that urgent. I should be able to complete the new one by the end of the day.







https://www.deanbassett.com
Quote · 4 Jun 2012

 deano if you could it would be amazing and make a HUGE difference to what  I am trying to achieve :)

I'm not sure if I could ever do anything back in return for your time however you do have my appreciation with this and in-fact all times you have helped me out ;)

 

You could. I am not sure how long it will take me to write up removal instructions. Even tho it's my code, i still have to look through it to find the several locations where age options and checking are, remove them, test it to make sure i did not break something then write removal instructions.

I suppose if it's that urgent. I should be able to complete the new one by the end of the day.







 

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 4 Jun 2012

It's a good thing i keep some notes on all the projects i am working on. After reading through all my notes i discovered why i never finished the version i was thinking of. Damm my memory is getting bad.

So i will be providing you with a set of instructions on how to remove age checking from the current version. I will be back with those instructions as soon as i can.


https://www.deanbassett.com
Quote · 4 Jun 2012

Attached is a new set of install instructions with age checking removed.

 

[Nathan Paton: Removed attachment on request.]

https://www.deanbassett.com
Quote · 4 Jun 2012

Thanks a lot deano ...  I will add this now !!

I have another question for you   >>  is it possible have all blocks visible by default ?

It's a real pain having to set each block individually and would be a million times easier to only have to select with blocks should not be shown to different memberships ..

thank you again for awesome work ;)

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 4 Jun 2012

I updated my site with the new code and it appears to work fine.  Thank you for sharing some of your extensive knowledge... very much appreciated.

One question came to mind... can block visibility also be restricted based on Privacy Groups, e.g. Me Only, Default, Public, Members, Friends, Faves, Contacts, and custom groups.?

http://pkforum.dolphinhelp.com
Quote · 4 Jun 2012

Sorry guys. I made the stupid mistake of publicly posting code for a paid mod. I had it removed.

Anyhow to answer your questions.

@Detective08 - I will have to look into it. As i do not know off the top of my head.

@epaulo - Not in this version. I may add it to the next one.


So you will all know. The current version is no longer being developed. Thats the reason i never release the one i was thinking about in earlier posts here. I never release it and never finished it. Reason is i choose to redesign it into a separate module which i have barely started before i got dragged into something else and never got back to it. The new version will not be integrated into the page builders.

There are a couple of reasons for this.

As the mod is now it is a 100% source code mod. It is intended to be a core improvement but even so it does not meet 3 requirements required by the boonex market terms.

1) Each dolphin modification need to be presented as Dolphin module, with all required module structure. Event if it is small modification - it is required to present it as Dolphin 7 module.

2) Each product offered here should have admin panel which is accessible via Dolphin 7 admin menu.

3) Try to implement your mod by making less modifications in Dolphin code, new Dolphin 7 structure allows you to response to Dolphin alerts and make code injections without modifications at all - try to use these features as much as possible.

Unless i am misinterpreting the rules, this mod is technically not allowed.

So i am doing things differently in the next version to try an comply with the rules as much as possible.



https://www.deanbassett.com
Quote · 4 Jun 2012

BoonEx must have realized mods can cause problems and want to avoid the hassle.  I don't like mods, but I don't advocate for their destruction, either.  If something can be done as a module, it should, but there's no reason not to allow mods if the work makes a module unfeasible.  Just include clear instructions and start and end comments for all code changes.  Combine that with the new requirement for accurate Dolphin versions (7.0.9, not 7.0.x - or worse, not available) and there shouldn't be a problem.

 

Also, 3 nulls 1.  Praise enormous loopholes.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 4 Jun 2012

Thanks for the clarification.

I believe i am still going to move it into a module. Or perhaps a combo.

It may decrease the convenience of having it right there in the page builders, but people are asking for more and more features, which i kinda expected, but there is only so much room in that popup box.

https://www.deanbassett.com
Quote · 4 Jun 2012
 
 
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.