Pages Module - Free

My 'Support' forum for the Pages Module

Lately I have been communicating with some developers regarding Pages modules since I had some requests from folks and I definitely appreciate their responses. But since I already had some features that did work with the 'Free Pages' module that HoustonLively done, I decided to bite the bullet and completely redo the module so that it worked with 7.1.4

 

Now that it's done, I decided to post it to the Market so it was easier to find without digging through the forums too. Keep in mind that this is ONLY a clone of the Groups module but there are modules available from other developers that will work with this. Check the market listing for details.

Nothing to see here
Quote · 19 Jan 2014

Thanks for submitting this to Market. I have installed the original version and have all the available addons from Andrew installed. Definately another aspect that passes on different features for members. Members can make Memorials, Diaries, or even pages for pets or kids. Many thanks to Houstonlively and it's good to see him back.

  I was wondering if you made any changes to the program from the original version besides the change to Version#.

Vunderba..... Challenge Yourself to be the Best...... Hosting from Zarconia.net
Quote · 20 Jan 2014

I was having some issues with some of the modules from Andrew and he said it may be due to the changes in Dolphin since the Pages module from HoustonLively was created. So instead of trying to track it all down, I just re-cloned the whole thing over again.

Nothing to see here
Quote · 20 Jan 2014

Pages module has been updated. A few privacy issues with Guest and non-admins were fixed.

 

NEW FEATURE: Now you have the ability to add a website to your Page.

Nothing to see here
Quote · 22 Jan 2014

To Create a page take way too long more than 20 minute. video embedding from Youtube by using just the link will be much faster than upload the video from PC.

The video size was only 35MB take 20 minute to create that page.

Quote · 23 Jan 2014

 

To Create a page take way too long more than 20 minute. video embedding from Youtube by using just the link will be much faster than upload the video from PC.

The video size was only 35MB take 20 minute to create that page.

I am not sure I understand your post. The Pages module is nothing but a clone of the Groups module so it shouldn't take any longer to create a 'page' than it does to create a 'group'. As of right now, the only way to add a video is exactly the same as a group, from your PC. I am working with some folks to create a 'video albums' for Pages that will allow embed and upload options.

Nothing to see here
Quote · 23 Jan 2014

Plus it does not allowed "Fans" to Upload Photos or video and so on. For example; it does not show any option for any fans to upload photos or video.

the only option on the Actions block  Leave, Share and Subscribe:

Maybe I am missing something.. Yes that user page allow fans to upload photo or video..

Quote · 23 Jan 2014

When you create/edit a page, in the privacy settings you can choose who can upload photos, videos, sounds, etc. Have you tried setting those to Fans?

Nothing to see here
Quote · 23 Jan 2014

 Yes I selected fans only but on the action block these setting don't show up at all.

When you create/edit a page, in the privacy settings you can choose who can upload photos, videos, sounds, etc. Have you tried setting those to Fans?

 

Quote · 23 Jan 2014

Issue has been resolved. Re-download the package and then upload/overwrite the pages/classes/BxPagesPrivacy.php file.

 

Thanks!

Nothing to see here
Quote · 23 Jan 2014

 Upload by fans work fine now but for the video upload still taking up to 15 minute. Might be my server i guess.

Issue has been resolved. Re-download the package and then upload/overwrite the pages/classes/BxPagesPrivacy.php file.

 

Thanks!

 

Quote · 24 Jan 2014

 

Upload by fans work fine now but for the video upload still taking up to 15 minute. Might be my server i guess.

 Yeah that is something out of my control. You might want to try going into your Admin Panel> Modules> Flash Apps> Video and disable codec h264 check box and see if that helps.

Nothing to see here
Quote · 24 Jan 2014

Zarcon, thanks for taking this over and putting it in the market.  There's no way I had the time to maintain it, nor was I going to pay something to list a free  module.

This, with all the add-on modules now available, give Dolphin sites some unique capabilities. 

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 6 Feb 2014

 

Zarcon, thanks for taking this over and putting it in the market.  There's no way I had the time to maintain it, nor was I going to pay something to list a free  module.

This, with all the add-on modules now available, give Dolphin sites some unique capabilities. 

 No Problem HL. I knew you were busy and could not so I figured I would work with it since I liked the idea you posed.

Nothing to see here
Quote · 6 Feb 2014

One thing that I would like someone to work on, is a 'Contact Us' form for pages, where the page admin can specify an address, telephone number, fax number, main email address, etc.  There should also be a form to send a message to an email address specified by the group admin.  For business pages, it would be useful to have predefined subjects in the email form  that could be selected from a drop down list, with those subjects tied to different email addresses if desired,

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 7 Feb 2014

 

One thing that I would like someone to work on, is a 'Contact Us' form for pages, where the page admin can specify an address, telephone number, fax number, main email address, etc.  There should also be a form to send a message to an email address specified by the group admin.  For business pages, it would be useful to have predefined subjects in the email form  that could be selected from a drop down list, with those subjects tied to different email addresses if desired,

 Hmm.. If I understand correctly, you are referring to a contact form where 'fans/members' can contact the Page admin right?

Nothing to see here
Quote · 7 Feb 2014

 RE:

Hmm.. If I understand correctly, you are referring to a contact form where 'fans/members' can contact the Page admin right?

 No... not necessarily the page admin.  For example, if the 'Contact Us' page had a drop down list in the subject field such as:

SUBJECT                               TO email address

Information request                 info@somecompany.com

Employment Inquiry                humanresources@somecompany.com

Pricing Information                  sales@somecompany.com

Service Request                      servicedepartment@somecompany.com

Appointments                          booking@somecompany.com

General Inquiry                       customerrelations@somecompany.com

 

Those are just some examples, which the group admin would set up for the contact page when setting up the group.  The group admin could set up selections for the subject of a message to be sent, along with a corresponding email address.  All that info would be stored in a DB array for that particular page contact form.  There should be some reasonable limit on how many different subject lines/email addresses a group admin could have.... a minimum of 1 and a maximum of 8 sounds about right.  Real time ajax form validation for email addresses would be nice.... or perhaps client side js validation.

It makes a contact form much more useful when messages can automatically be routed to the proper people at a business.  I suppose it would all work OK using php sendmail, but using smtp is something to consider. 

Other user input fields would be:

First Name, Last Name, email address, Phone Number, Fax, and of course the message body (with a character limit).

Captcha for spam prevention would also be necessary.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 8 Feb 2014

Sounds like a great job for AndrewP

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 8 Feb 2014

Another feature that comes to mind, is control over which features the page admin wants to use.  All page owners might not want to use all the features.  It would be a complex thing to actually turn off features on a per-page basis, but it wouldn't be as involved to just remove/add the features from the page menu.  I visualize an action button that pops up a window where you can check mark the menu items you want to be visible.... this would be available only to page admins.  These same check boxes would be nice to have during group add/edit..... if that could be done without altering Dolphin source files.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 8 Feb 2014

The current built-in features such as Website and RSS Feeds are coded within the files. There may be a way to add a 'enable/disable' checkbox in the create/edit page that will hide/show it from the Page's menu though.

 

As for the 'contact us' idea, it may be easier to add a 'contact' button where someone could send an email to the Page admin but to have an array of choices that pre-populate the email address based on the subject will be much more difficult. Also, for people who use Pages for personal use wouldn't benefit from the example you gave, but may for the 'Contact admin' function.

Nothing to see here
Quote · 8 Feb 2014

OK, so working with Deano, he has added the ability to enable/disable the Website and RSS feature when creating/editing a page.

 

Also, he created a contact us form for Pages that will allow fans/members/visitors to contact the page owner at the website specified or the one used at the website. These features are NOT available with the 'free' version of Pages though. I will post the update with more detail in the Paid Pages forum.

Nothing to see here
Quote · 11 Feb 2014

 RE:

for people who use Pages for personal use wouldn't benefit from the example you gave, but may for the 'Contact admin' function

 That's a really broad assumption.... which I believe to be incorrect.  

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 14 Feb 2014

It looks to me like you broke a function in BxPagesModule by replacing an instance of 'Group' with 'Page' that should not have been replaced,and then got Deano to fix what you broke.

In Your version of BxPagesModule.php

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

    function isEntryAdmin($aDataEntry, $iProfileId = 0)
    {
        if (!$iProfileId)
            $iProfileId = $this->_iProfileId;
        if (($GLOBALS['logged']['member'] || $GLOBALS['logged']['admin']) && $aDataEntry['author_id'] == $iProfileId && isProfileActive($iProfileId))
            return true;
        return $this->_oDb->isPageAdmin($aDataEntry['id'], $iProfileId) && isProfileActive($iProfileId);
    }

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Text in Red should have remained 'Group'.  Once the change is reverted to 'Group', I believe the Deano fix in BxPagesDb.php can be removed.  It worked for me.

 

A thousand pardons if I missed something and I if am wrong about this.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 16 Feb 2014

I don't believe these instances of 'Group' being replaced with 'Page' in BxPagesPrivacy is correct either.

 

 

    /**
     * Check whethere viewer is a member of dynamic page.
     *
     * @param  mixed   $mixedPageId   dynamic page ID.
     * @param  integer $iObjectOwnerId object owner ID.
     * @param  integer $iViewerId      viewer ID.
     * @return boolean result of operation.
     */
    function isDynamicGroupMember($mixedPageId, $iObjectOwnerId, $iViewerId, $iObjectId)
    {
        $aDataEntry = array ('id' => $iObjectId, 'author_id' => $iObjectOwnerId);
        if ('f' == $mixedPageId)  // fans only
            return $this->oModule->isFan ($aDataEntry, $iViewerId, true);
        elseif ('a' == $mixedPageId) // admins only
            return $this->oModule->isEntryAdmin ($aDataEntry, $iViewerId);
        return false;
    }
}

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 16 Feb 2014

 

I don't believe these instances of 'Group' being replaced with 'Page' in BxPagesPrivacy is correct either.

    /**
     * Check whethere viewer is a member of dynamic page.
     *
     * @param  mixed   $mixedPageId   dynamic page ID.
     * @param  integer $iObjectOwnerId object owner ID.
     * @param  integer $iViewerId      viewer ID.
     * @return boolean result of operation.
     */
    function isDynamicGroupMember($mixedPageId, $iObjectOwnerId, $iViewerId, $iObjectId)
    {
        $aDataEntry = array ('id' => $iObjectId, 'author_id' => $iObjectOwnerId);
        if ('f' == $mixedPageId)  // fans only
            return $this->oModule->isFan ($aDataEntry, $iViewerId, true);
        elseif ('a' == $mixedPageId) // admins only
            return $this->oModule->isEntryAdmin ($aDataEntry, $iViewerId);
        return false;
    }
}

 I took a look at a few modules to compare results----> Modzzz Bands, Modzzz Pages, ABQ Pages modules. Results were mixed:

Modzzz Bands-

BxBandsPrivacy.php

     * Check whethere viewer is a member of dynamic band.
     *
     * @param mixed $mixedBandId dynamic band ID.
     * @param integer $iObjectOwnerId object owner ID.
     * @param integer $iViewerId viewer ID.
     * @return boolean result of operation.
     */
    function isDynamicGroupMember($mixedBandId, $iObjectOwnerId, $iViewerId, $iObjectId) {

        $aDataEntry = array ('id' => $iObjectId, 'author_id' => $iObjectOwnerId);
        if ('f' == $mixedBandId)  // fans only                      
            return $this->oModule->isFan ($aDataEntry, $iViewerId, true);
        elseif ('a' == $mixedBandId) // admins only
            return $this->oModule->isEntryAdmin ($aDataEntry, $iViewerId);
        return false;
    }

Modzzz Pages-

BxPagePrivacy.php

     * Check whethere viewer is a member of dynamic page.
     *
     * @param mixed $mixedPageId dynamic page ID.
     * @param integer $iObjectOwnerId object owner ID.
     * @param integer $iViewerId viewer ID.
     * @return boolean result of operation.
     */
    function isDynamicGroupMember($mixedPageId, $iObjectOwnerId, $iViewerId, $iObjectId) {

        $aDataEntry = array ('id' => $iObjectId, 'author_id' => $iObjectOwnerId);
        if ('f' == $mixedPageId)  // fans only                      
            return $this->oModule->isFan ($aDataEntry, $iViewerId, true);
        elseif ('a' == $mixedPageId) // admins only
            return $this->oModule->isEntryAdmin ($aDataEntry, $iViewerId);
        return false;
    }

ABQ Pages- (This one points to what HL is saying)

AqbPagesPrivacy.php

     * Check whethere viewer is a member of dynamic group.
     *
     * @param  mixed   $mixedGroupId   dynamic group ID.
     * @param  integer $iObjectOwnerId object owner ID.
     * @param  integer $iViewerId      viewer ID.
     * @return boolean result of operation.
     */
    function isDynamicGroupMember($mixedGroupId, $iObjectOwnerId, $iViewerId, $iObjectId)
    {
        $aDataEntry = array ('id' => $iObjectId, 'author_id' => $iObjectOwnerId);
        if ('f' == $mixedGroupId)  // fans only
            return $this->oModule->isFan ($aDataEntry, $iViewerId, true);
        elseif ('a' == $mixedGroupId) // admins only
            return $this->oModule->isEntryAdmin ($aDataEntry, $iViewerId);
        return false;
    }

Quote · 16 Feb 2014

@underdog

Some of the replacements do not break functions as long as you replace all the right occurrences.  It only breaks the sensibility of the code.  Other replacements DO break functions.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 16 Feb 2014

 

@underdog

Some of the replacements do not break functions as long as you replace all the right occurrences.  It only breaks the sensibility of the code.  Other replacements DO break functions.

 Awww gotcha- makes sense

Quote · 16 Feb 2014

@HL - I see what you are saying and as I stated in the other post, there were some issues at first with privacy levels and Deano did find the issue and corrected it for me.

 

I guess what I need to know right now is.. Is there any functions that you have found to be broken in the Pages module? I understand that you are saying that it should say isGroupAdmin instead but that has already been compensated for.  

Nothing to see here
Quote · 16 Feb 2014

 RE:

has already been compensated for

 Well, to sum it up, a single instance of incorrectly replacing 'Group' with 'Page' in BxPagesModule.php resulted in Deano adding 30 lines of code to BxPagesDb.php to counter that error, when reverting the change would have fixed the problem.  It's up to you... if you're OK with adding 30 lines of code instead of changing 5 characters of text.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 17 Feb 2014

 

 RE:

has already been compensated for

 Well, to sum it up, a single instance of incorrectly replacing 'Group' with 'Page' in BxPagesModule.php resulted in Deano adding 30 lines of code to BxPagesDb.php to counter that error, when reverting the change would have fixed the problem.  It's up to you... if you're OK with adding 30 lines of code instead of changing 5 characters of text.

There is however an advantage to the way i did it. Those functions can now be altered(if needed) without it affecting the group module or any other clones of it.

So yea, it could be done either way.

https://www.deanbassett.com
Quote · 17 Feb 2014

 

Those functions can now be altered(if needed) without it affecting the group module or any other clones of it.

 And since I have other developers working on projects specifically for the Pages module I have listed (including Deano), I would prefer to keep it this way.

 

By the wording of your posting, I took it as some 'functions' were broken.

Nothing to see here
Quote · 17 Feb 2014

where can you get the free pages module

Quote · 20 May 2016
 
 
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.