DeeEmm

Pragmatism in code

Home

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

Dolphin 6 - Login Redirect MOD

This mod will automatically redirect new members to the profile edit page when logging in for the first time. Every time thereafter members are taken to their profile page

 

DEMO

http://dolphin6.deeemm.com/

Continue reading
  4164 Hits
  0 Comments
4164 Hits
0 Comments

Dolphin 6 - Add / Move Advertising Banner To Block

If you would like to utilise the inbuilt banner manager in Dolphin, you are stuck with the locations lais out in the templates. Sure you can move the banners to another position within the template files, but what about if you wanted the advert to appear in it's own block? Well, here's how...To add the banners to a block you will need to add a PHP block - to to this simply drag one into the desired position in the page builder in the admin panel. I've added one to the left column on the homepage. Rename it with something meaningfull - i named mine 'advertisement' :DNow here's the tricky part... You will need to directly edit the database to be able to add your PHP code. I personally use phpMyAdmin, but there are many other database editors out there.So fire up your favourite database tool and go to the 'PageCompose' table and search / browse for your newly added block.Now add the following PHP code to the 'Content' fieldecho banner_put_nv(2);

(the number 2 relates to the left block - 1, 3 and 4 relate to the top, right and bottom blocks repsectively)

If you are using the borderless block mod - you will also need to wrap this in a div and give it a height as it will overlap the content below it.

Now, once you've entered this- go back to the admin panel and move your newly created block to another position - and then move it back to the desired position. This clears the cache - if you don't do this - your new block will not display. Now navigate to your homepage and check out your new banner ads in a block.

Continue reading
  5212 Hits
  0 Comments
5212 Hits
0 Comments

DOLPHIN - Create Custom Blocks

Just a very quick tutorial this time.i was looking for a way to create a block that didn't have the normal border and header so that I could add in my own custom HTML. After looking through the code, this is very easy to do - in fact it doesn;t even really need a modification (well not in the traditional sense of the word).Basically what you need to do is this...

Go to the Page Builder in the admin interfaceCreate a block by dragging the 'Simple HTML' sample into position.Add your HTML / text etc, give it a meaningful caption and save itNow you will need to get access to your database by using something like phpMyAdmin.Go to the 'Page Compose' table and find the entry for your newly added block - TIP look for the same captionNow edit this record so that the value of 'Design Box' is 0Now you can checkout your new border-less block by viewing your site in a browser.

DM

  4824 Hits
  0 Comments
4824 Hits
0 Comments

Dolphin MOD - Upcoming Events

One thing that has always bugged me about my dolphin site, is that it always shows me events that are waaaay waaaay in the future - This is of little use as it hides the upcoming events - practically meaning that no one knows what is happening in the coming days / weeks / months / etc.

This is easily fixed with a quick hack.

To display events so that they show from the next upcoming event onward...

Edit /inc/classes/BxDolEvents.php

Continue reading
  3105 Hits
  0 Comments
3105 Hits
0 Comments

Dophin X-Site RSS Feed Bouncer

Using Boonex Dolphin software can be a bit taxing on your patience, there are many idiosynchracy's that alter the way that Dolphin works from how you would expect most 'normal' scripts to function. One of these is the way that it displays forum posts within groups, blogs and on the main page.

Like many sites, forum posts are aggregated in RSS feeds, different feeds are available for different users, groups, forums and categories. The feeds are available to anyone who wants to view them. Unfortunately Boonex have decided that they should use the same feeds to aggregate data within the site, whilst this may seem like a great idea on the outside, it does however introduce problems on some servers.

So you have installed Dolphin and are now stuckk looking at te spinning icon that tells you the latest forums posts are loading.. and loading... and loading. In fact it seems that they will never load.

This can be one of two things.

Continue reading
  4714 Hits
  0 Comments
4714 Hits
0 Comments