Login
Main menu

Pragmatism in code

Michael Percy AKA DeeEmm - Waxing lyrical about life the universe and everything software related since lunchtime 2006.

Subscribe to this list via RSS Blog posts tagged in Dolphin 7
This tag contains 4 private blog which isn't listed here.
2556

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
Recent Comments - Show all comments
  • DeeEmm
    DeeEmm says #
    Just a quick note. I can confirm that this is working for 7.0.4.
  • DeeEmm
    DeeEmm says #
    Just added a further update. Seems that there was a new issue with Query strings in the URL. Also changed the XML schema to allow
8424

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
2676

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
Tagged in: D7 Dolphin 7 RSS
2360

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

Edit

/inc/banners.inc.php

Search for

...
Continue reading
3668

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
9135

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
Recent Comments - Show all comments
  • DeeEmm
    DeeEmm says #
    Hi Eric, The code should be added to the templates css file (index.css should work). Adding it to the end of the file should suff
  • Eric H
    Eric H says #
    In the part where you hide the stripe, exactly where do you insert that code? First part worked perfectly!
  • dave
    dave says #
    You can also turn off the bottom menu before login. Open inc/classes/BXdoltemplate.phpGo To Line 723: case 'bottom_links':replace:
7824

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
10165

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
3085

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
2493

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
5610

You can (fairly) easily record the userid along with the ip address by adding an extra field to the database table and modifying member.php

Here'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
Recent Comments - Show all comments
  • DeeEmm
    DeeEmm says #
    Ron, try checking the last page of recorded names. The list is in reverse order to what you may expect - newest last. I have some
  • Ron
    Ron says #
    7.0.4 records ip's, but it's not showing the member name for me. It's kind of useless set up the way it is if you can't associate
  • DeeEmm
    DeeEmm says #
    It looks like 7.0.4 already records the members nickname. Happy to take a look, but what would you like it to record?
6656

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
5409

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

Recent Comments - Show all comments
  • DeeEmm
    DeeEmm says #
    Happy to help :lol:
  • Slip
    Slip says #
    Thanks for this. I want to keep all details in the database for future reference and stop multiple registrations. This will do the
5410

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
4071

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
4328

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
2080

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
3034

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
Recent comment in this post - Show all comments
  • DeeEmm
    DeeEmm says #
    This also available as a downloadable MOD from our store - [url]http://www.deeemm.com/store.html?page=shop.product_details&flypage
7684

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
Recent Comments - Show all comments
  • DeeEmm
    DeeEmm says #
    UPDATE.On further investigation it would seem that the main issue is that error_reporting is set to E_ALL in the header.inc.php fi
  • DeeEmm
    DeeEmm says #
    OK The above fix is not the complete answer....A better solution is this...Comment out whole genMySQLErr function.And add am echo'
  • DeeEmm
    DeeEmm says #
    OK - here's my fix for this...edit the following fileBxDolDB.phpfind if( DB_FULL_VISUAL_PROCESSING )replace it with/* if( DB_FULL_
4467

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

Search