DeeEmm

Pragmatism in code

Waxing lyrical about life the universe and everything software related since lunchtime 2006.

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
7639 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:
2815 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
2470 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
3728 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
8497 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
5927 Hits
0 Comments

Dolphin - Auto membership level on join

If you would like to automatically apply membership levels to new members, then this mod is for you.

This can also be useful when wanting to differentiate between different member groups - ie - making all female members of a female only member group. Both methods are shown below.

in profile_activate.php

Find

Continue reading
4220 Hits
4 Comments

Syntax highlighting code in TinyMCE

After a recent tutorial a member mailed me to let me know that the code snippets were not displaying correctly. A quick look told me that this was due to my use of the pre tag, which prevented the text from breaking when it reached the bounds of it's containing element.

The fix was relatively easy - add the following hacks to force the text to wrap for pre formatted text...

word-wrap: break-word; /* Internet Explorer 5.5+ */ white-space: -o-pre-wrap; /* Opera 7 */ white-space: -pre-wrap; /* Opera 4-6 */ white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */ white-space: pre-wrap; /* css-3 */

But this got me thinking, and jarred my memory to something I was working on a little while back.

I had previously taken a look at syntax highlighting for WYSIWYG editors, this was for use in the DMCMS project where i wanted to allow full editing of template files from within the Admin panel. This is something that I had implemented on an earlier development version but had then abandoned. (For some reason that i can no longer remember)

Continue reading
6301 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
8124 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
3174 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
2615 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
5541 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
6684 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

5534 Hits
2 Comments

FREE RMS Service

For those of you who have been using Dolphin for a while, you will remember that Boonex used to offer a free RMS hosting service for it's free licenses. This service has long since been discontinued, leaving users to either ensure that they find a combined Web / RMS hosting package, or look for a third party RMS host.

Smoge over at ModMySite, has recently introduced a free RMS hosting package on their own servers, for small low bandwidth sites. There are also a variety of paid packages that should support all sizes of sites from small to large.

ModMySite, are a long time Dolphin support site that has been around since the original days of AEDating, way back in 2003, so they certainly know their stuff.

If you're interested in ModMySites RMS services, click HERE

Continue reading
3334 Hits
0 Comments

FREE MODS

After a little deliberation I have decided to release my mods for free. I am currently holding back a few premium mods, which i will release when I get a bit of feedback from the first round of free releases.

All you need to do is give a positive review over at the Boonex marketplace, and / or post here in the forums.

I'm happy to give these for free to the community, but would appreciate a little bit of interaction in return.

Not too much to ask in my books.

Continue reading
1696 Hits
8 Comments

Dolphin - Flat comments mod updated

I've just updated the mod that converts all threaded comments into flat style comments. The original mod had an issue with the wall posts where it hid the reply button. This issue is now resolved. The mod can be downloaded from either the store here - or the Boonex marketplace.

There are also a few new Dolphin tutorials in the resources section:

How to add a youtube button to TinyMCEHow to remove / edit the Join button on the promo bannerHow to remove the checkboxes fron the keyword search pageHow to increase the size fo the test in the comments boxThese are simply recent posts that I've replied to over at the unity forums, but seeing as the search over there is non-functional, I've decided to also post them here. Don't forget to check back often, as I will add to these when I get time. /DM
4216 Hits
0 Comments

Add Youtube video button to TinyMCE

Not strictly a Dolphin modification, as it applies to TinyMCE in general, but I will outline it here for Dolphin 7. It's a pretty easy modification to do, just two files to edit.

The functionality for this is already in TinyMCE, but for some reason it is not enabled. I've tested this out on version 7.0.2 with no issues.

To enable YouTube /flash video button in the forums

Edit

Continue reading
12440 Hits
4 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
5273 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
3997 Hits
0 Comments