DeeEmm

Pragmatism in code

Waxing lyrical about life the universe and everything software related since lunchtime 2006.
This tag contains 4 private blog which isn't listed here.

Sitemap Generator Updated

The DeeEmm Dolphin 7 Sitemap generator has just been updated. The update addresses an issue where multiple URLS are included within the sitemap.

Some configuration parameters have also been added to make it easier to customise the output.

Links from each module can now be easily enabled / disabled from appearing in the sitemap.

Updating is simply a case of overwriting your old sitemap.php file.

Continue reading
2611 Hits
2 Comments

Dolphin 7.0.3 on the horizon | More free MODs

A new blog post by Andrew Boon over at Boonex, has finally announced the upcoming release of 7.0.3. Whilst there is still no commitment to a date, it is scheduled for the beginning of August. This is great news, as for a moment it almost looked like Boonex had forgotten about Dolphin, I was almost certain that the next announcement from them was going to be the release of Trident.

It's good to see Boonex continuing to follow their promise of more regular updates, and whilst I may be very vocal over at Boonex.com about a monthly release cycle, the truth is, anything is better then the year waited for D7, especially when you consider the failure that it was bug wise. As with any of these interim releases, bugs have to be prioritised, so not everyone will get what they want, but give it time and all bugs will eventually get fixed.

It will be interesting to see what kind of balance between bugs and features there are. I personally think that the bugs should have a higher priority than features, but I guess that Boonex policy differs form this, as there are generally some new features released with every update.

New Improved Orca

Continue reading
7603 Hits
0 Comments

Dolphin - Open RSS links in same window

If you do not want a new window opening when you click on links in RSS feeds - such as the forum feed, you will need to do the following.

Edit

/inc/js/jquery.dolRSSFeed.js

find two instanced of

Continue reading
Tags:
2745 Hits
0 Comments

Dolphin - Hide banners from guests

If you want to hide advertising banners from non members - do this...

Edit

/inc/banners.inc.php

Search for

Continue reading
2405 Hits
0 Comments

Dolphin - Include instructions on the 'Add Site' page

The sites module in Dolphin sometiumes does not create the thumbnail, often refreshing the page fixes this. To display a simple tip to your members about this do the following...

Edit

/modules/sites/classes/BxSitesFormAdd.php

find

Continue reading
3653 Hits
0 Comments

Dolphin - Hide Menu Bar from Guests

If you would like to completely hide the menu bar from non-members, then this is the mod for you.

Edit

templates/base/scripts/BxBaseMenu.php

Find

Continue reading
8425 Hits
5 Comments

Dolphin - Redirect users after editing profile

If you would like to redirect users to a different page after editing their profiles, then make the following changes.

Edit

pedit.php

Find...

Continue reading
5866 Hits
0 Comments

Dolphin - Show Group / Events latest forum posts

If you would like to add a block to your Group or Events home pages that displays the latest forum posts , or maybe add a block to the home page for your site, you will need to do the following.

Go to

Builders > Pages Blocks > Groups Home

or Main Events Page for the events page

Continue reading
8113 Hits
0 Comments

Dolphin - Add search by country to Groups

To add an extra search field to your groups - for example 'Country' do the following.

Edit

/modules/boonex/groups/classes/BxGroupsFormSearch.php

Find

Continue reading
3103 Hits
0 Comments

Dolphin - Hide custom pages from non-members

Dolphin is not very good with permissions, as a result it is impossible to assign permissions to individual pages. So if you have created some custom pages for your site that you only want to display to logged in members, you will need the following hack...

Edit

viewPage.php

Find

Continue reading
2542 Hits
0 Comments

Dolphin - Record user Name and ID with IP address

You can (fairly) easily record the userid along with the ip address by adding an extra field to the database table and modifying member.phpHere's how...Add the following fields to the sys_ip_members_visits table in database

ALTER TABLE `sys_ip_members_visits` ADD `UserID` INT( 10 ) NOT NULL

ALTER TABLE `sys_ip_members_visits` ADD `UserName` VARCHAR( 30 ) NOT NULL

 

Continue reading
5470 Hits
11 Comments

Dolphin - Change landing page after login

If you want to direct members to a page other than the standard dashboard page (member.php) after they log in, then follow these simply steps.

Edit member.php

Find the following code

if(!$sUrlRelocate = $_REQUEST['relocate'] or $_REQUEST['relocate'] == $site['url'] or basename( $_REQUEST['relocate'] ) == 'join.php' ) $sUrlRelocate = $_SERVER['PHP_SELF'];

Change it to...

Continue reading
6579 Hits
0 Comments

Dolphin - Remove 'unregister' Links

To disabled the un-register buttons on your site - go to admin > builders > navigation builder and un-check both member and guest check boxes from the unregister link. This will prevent it from being displayed in the top menu and the quick links menu.You will then need to also get rid of the link from the members menu too.To do this you will need to edit your database - look in the sys_menu_member table for the entry named Dashboard - Then you will need to edit the PopupMenu field - simply remove the following text, leaving the rest intact

    'unregister' => array(        'url'     => 'unregister.php',        'icon'    => 'memeber_menu_sub_unregister.png',        'caption' => _t( '_Unregister' ),    ),

Then delete all files in cache folder except for the .htaccess file.

Refresh and enjoy.

/DM

5429 Hits
2 Comments

Dolphin - Remove big join button from promo

There are a few different ways of removing the join button from the promo banner. The method you use will vary depending on your requirements. You can even change the location that it navigates to.

Here's a few different methods.

 

Remove (hide) button via CSS

Continue reading
5206 Hits
0 Comments

Dolphin - Remove checkboxes from keyword search page

If, like me, you do not like the massive long list of checkboxes at the top of the keyword search page, removing them is pretty simple.

Edit the following file...

searchKeyword.php

At about line 97 look for the following text...

Continue reading
3916 Hits
0 Comments

Dolphin 7 - Increase text size in comments box

If you have the tinymce editor enabled for comments boxes, and you wish to increase the size of the text, then you will need to do the following.

To alter the size of the text in the comments area - if you have tinymce enabled for comments.

Edit /tinymce/themes/advanced/skins/default/content.css

look for the following element

Continue reading
4393 Hits
0 Comments

Dolphin 7.0.2 Released

The Boonex team have just released the not so long awaited 7.0.2 release. It seems that they have taken community comments about a shorter release cycle on board and trimmed down the releases to enable them to be released one a month. Got to admit, i was a little skeptical that they would pull it off, but its nice to be proven wrong. Lets hope that this is the shape of things to come.

The 7.0.2 release addresses a number of bugs and enhancements. It also removes the callbacks to the Boonex site to prevent the issues seen during the recent DDOS attacks, where many users were locked out of their admin panels.Probably the most important bug fixed is the bug that prevented profile fields from being updated, happily, this is now fixed.

i have already jumped in and upgraded my D7 site, and so far there are no issues.

/DM

Continue reading
2060 Hits
0 Comments

Dolphin Tag Converter

If like me, you used the migration tool to transfer your Dolphin 6 based site over to Dolphin 7, you will notice that there are some things that need a little tweaking. One of these things for me was the tags.

On D6 tags could use a space as a delimiter, but on Dolphin 7 the space is ignored, this is to allow multi word tags. What this effectively does is create massive long 'tag words' out of those tags that were entered without using a comma as a delimiter in D6.

The following code reads the tags and splits them up if more than one word is detected. it then deletes the original entry and creates a new entry for each word detected using the original data. Single word tags are ignored

$sql_query = mysql_query("SELECT * FROM `sys_tags`");

Continue reading
3080 Hits
1 Comment

Dolphin 7 Security Vulnerability Exposed

It would seem that this weekend has been an active time in the CMS community for security vulnerabilities, first Joomla issue a patch for a potential XSS issue, and now Boonex's Dolphin package has been raising some eyebrows with, an as yet unresolved security issue that exposes the database name, username and password, in plain text to the browser via a verbose error report. This report is triggered by any number of bugs, and could easily be used to compromise a website or server.

The security 'hole' had previously been reported and raised as an issue with the Dolphin developers, who's response was that it had been addressed. Amusingly this seems not to have been the case, with the latest attention being that the bug has now been witnessed on the Boonex admin test site, and the resulting full error report published. - http://www.boonex.com/unity/forums/topic/Hey-BoonEx-Notice-Something-.htm There is some further discussion in the blogs as well - Major Security Risk: Information and Temporary Solution

The community were quick to act, with a couple of suggested workarounds published on modmysite - http://www.modmysite.com/general-issues-comments-questions/10491-db_full_visual_processing.html#post39764 as well as on the Boonex site, but there has been no official response.

As of the time of this post, some three days after the original post, Boonex have still yet to comment, and there has been no official patch available to address the issue.

Continue reading
7437 Hits
4 Comments

Dolphin Forum - Show Expanded Categories

Here's a quick hack to get the forum categories to display as expanded by default on the forum home page.

Edit modules/boonex/forum/classes/Forum.php

Search for the following...

            if (( isset($p['cat']) && $p['cat'] == $r['cat_uri'] ) /*|| 1 == $r['cat_id'] */)            {                $this->setTitle ($r['cat_name']);                $c .= ''.$this->getForumsXML ($r['cat_uri'], 0) . '';            }

Comment the following lines

Continue reading
4554 Hits
0 Comments