[BETA] dgBroken Offsite imgFix (0.0.2)

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Scam Warning
User avatar
darkoo
Registered User
Posts: 174
Joined: Thu Sep 07, 2006 5:32 pm

[BETA] dgBroken Offsite imgFix (0.0.2)

Post by darkoo »

MOD Title: Broken Offsite imgFix
MOD Description: Pretty simple MOD that replaces broken images with a custom image of your choice.
MOD Version: 0.0.2

Works with:
  • phpBB3 3.0
  • Prosilver - Works probably olso on most Prosilver based styles!
  • Subsilver2

MOD Download: Latest Version

Installation Level:
Easy
Installation Time: ~5 Minutes
Format:
Image


Demo Board: dgMods Society
Be nice and make make some kind of donation on my demo board!


(Latest)2008-03-07 Edit:
  • New beta uploaded:
  • Changelog:
    -Some minor changes that makes it possible to install this Mod on other Prosilver based styles, and have custom images for each styles.
    -Subsilver2 installation xml added
2008-03-07 Edit:
  • New beta uploaded:
  • Changelog: Mod works now olso with broken avatars.
Edit:
This is my first MOD be nice! :)
There is some coding that could get better! Help would be appriciated!

Thanks to Highway of Life and
Handyman` !
Even doe they might not know, they are the reason to why I got into learning coding.


*Enjoy
Last edited by darkoo on Tue Mar 18, 2008 6:10 pm, edited 7 times in total.

RedTrinity
Registered User
Posts: 1327
Joined: Sat May 06, 2006 3:32 am

Re: [BETA] Broken Offsite imgFix

Post by RedTrinity »

Great idea! Will have to test it out :D

ETA: Bugger, just went to install it after making an image up and realised its only for Prosilver. If its released with Subsilver2 edits then I will use it, otherwise looks like I will have to give it a miss :(

saaiberke
Registered User
Posts: 1126
Joined: Wed Jul 20, 2005 8:13 am
Location: Gent/Belgium
Contact:

Re: [BETA] Broken Offsite imgFix

Post by saaiberke »

Great :) I will install it right now. Any chance it will work for broken offsite avatars too?

Grtz,


Nic

User avatar
darkoo
Registered User
Posts: 174
Joined: Thu Sep 07, 2006 5:32 pm

Re: [BETA] Broken Offsite imgFix

Post by darkoo »


User avatar
darkoo
Registered User
Posts: 174
Joined: Thu Sep 07, 2006 5:32 pm

Re: [BETA] Broken Offsite imgFix

Post by darkoo »

RedTrinity wrote:Great idea! Will have to test it out :D

ETA: Bugger, just went to install it after making an image up and realised its only for Prosilver. If its released with Subsilver2 edits then I will use it, otherwise looks like I will have to give it a miss :(
Will get it to work on Subsilver2. As soon as the coding is refined to be phpBB3 friendly I will add the subsilver2 Modx Installation.
There will probably be some Mod-gurus that will take a look at this Mod and suggest better coding... :D
Which I will be happy to take!

saaiberke
Registered User
Posts: 1126
Joined: Wed Jul 20, 2005 8:13 am
Location: Gent/Belgium
Contact:

Re: [BETA] Broken Offsite imgFix

Post by saaiberke »

darkoo wrote:New Beta Released!
Go to first post for download.
Great! Thank you very much!

Nic

User avatar
darkoo
Registered User
Posts: 174
Joined: Thu Sep 07, 2006 5:32 pm

Re: [BETA] Broken Offsite imgFix (0.0.2)

Post by darkoo »


kevinroxx
Registered User
Posts: 94
Joined: Fri Dec 14, 2007 9:57 pm

Re: [BETA] Broken Offsite imgFix (0.0.2)

Post by kevinroxx »

Interesting. Will have to install later tonight. Thank you very much!

mdvaldosta
Registered User
Posts: 353
Joined: Sat Mar 26, 2005 12:26 am
Contact:

Re: [BETA] Broken Offsite imgFix (0.0.2)

Post by mdvaldosta »

That is a very cool way to customize your board. Quite creative.

User avatar
darkoo
Registered User
Posts: 174
Joined: Thu Sep 07, 2006 5:32 pm

Re: [BETA] Broken Offsite imgFix (0.0.2)

Post by darkoo »

Thx m8s, you are all welcome! I am happy that you like it.
Hopefully soon I´ll request a validation. But till then there might be some ideas on further developing and better coding suggestions.

madtay
Registered User
Posts: 328
Joined: Tue Jun 27, 2006 10:27 pm
Contact:

Re: [BETA] Broken Offsite imgFix (0.0.2)

Post by madtay »

I tried installing this and placed a link in a thread to a broken image but it did not replace it :?

Im using avalon blue theme but i followed all instructions.. is it just not compatable with my theme ?

User avatar
darkoo
Registered User
Posts: 174
Joined: Thu Sep 07, 2006 5:32 pm

Re: [BETA] Broken Offsite imgFix (0.0.2)

Post by darkoo »

Can I get a link to your forum.. where the broken image is?


Edit: Forgott to ask what is your theme based on?

User avatar
darkoo
Registered User
Posts: 174
Joined: Thu Sep 07, 2006 5:32 pm

Re: [BETA] Broken Offsite imgFix (0.0.2)

Post by darkoo »

And since this is a template editing too, be sure to refresh your template cashe!

madtay
Registered User
Posts: 328
Joined: Tue Jun 27, 2006 10:27 pm
Contact:

Re: [BETA] Broken Offsite imgFix (0.0.2)

Post by madtay »

I think my theme is based on subsilver 2 because thats where i found the code in overall_header:

Find:

Code: Select all

function popup(url, width, height, name)
to add but im not 100% sure...

Here is a link to a thread with a broken image:
http://www.f1racingforums.co.uk/viewtop ... p=129#p129

Edit: I did refresh the template too but still not working.

User avatar
darkoo
Registered User
Posts: 174
Joined: Thu Sep 07, 2006 5:32 pm

Re: [BETA] Broken Offsite imgFix (0.0.2)

Post by darkoo »

It seems that you have forgotten to add this to offsite image links:

Code: Select all

onerror="BrokenImgError(this)"
Inside (includes/bbcode.php)

Locked

Return to “[3.0.x] MODs in Development”