Partner Page

<span class="qte-attr qte_31_32-qte">3.1.x &amp; 3.2.x</span>
Post Reply
User avatar

Topic Author
dmzx Online
Founder
Founder
Posts: 6429
Joined: 13 Jan 2014, 21:45

Partner Page

Post by dmzx »

Extension Name: Partner Page
Author: dmzx

Special thanks to: martin & Sniper_E

Extension Description:
This extension will add a partner page to your forum, where you can list your partners with a description and a logo.
Check permissions for groups that you want to give access to add or view partner page.
If users add a new partner page the Admin will get a notification and need to activate the new partner page in ACP.





code update


Style update
Css update
Add option in ACP and member upload to add Bg_header.gif of your partner.

Screenshots:
Image
Image
Image
Image
Image
Image
Image
Image

Extension Download:
Download-link
Partner Page v1.0.3
Installation:
  1. Download the latest release.
  2. Unzip the downloaded release, and change the name of the folder to `partner`.
  3. In the `ext` directory of your phpBB board, create a new directory named `dmzx` (if it does not already exist).
  4. Copy the `partner` folder to `/ext/dmzx/` if done correctly, you'll have the main extension class at
    (your forum root)/ext/dmzx/partner/composer.json
  5. Navigate in the ACP to `Customise -> Manage extensions`
  6. Look for `Partner Page` under the Disabled Extensions list, and click its `Enable` link.

User avatar

Jaantje
Users
Users
Posts: 356
Joined: 02 Nov 2014, 21:25

Re: Partner Page

Post by Jaantje »

Thanks Guys :tumbsyes:
Grreeetttttzzzzz, Jaantje

User avatar

martin Online
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12

Re: Partner Page

Post by martin »

mine has a posh upload button :rolling:
77.png
You do not have the required permissions to view the files attached to this post.
Image

User avatar

martin Online
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12

Re: Partner Page

Post by martin »

Temp fix for the images to be responsive on mobiles/small screens.

Drag the side of this page martins-place.dyndns.info - Information until the images go away.

dm_partners_body.html
Find This may be a partial find and not the whole line

Code: Select all

<!-- IF partners.S_IMAGE --><dd><div style="text-align: right;"><a href="{partners.URL}" onclick="window.open(this.href); return false"><img src="{partners.IMAGE}" alt="{partners.SITE}" title="{partners.SITE}" /></a><br /><br /></div></dd><!-- ENDIF -->
Replace with Replace the preceding lines with the following

Code: Select all

<!-- IF partners.S_IMAGE --><dd><div class="responsive-hide" style="text-align: right;"><a href="{partners.URL}" onclick="window.open(this.href); return false"><img src="{partners.IMAGE}" alt="{partners.SITE}" title="{partners.SITE}" /></a><br /><br /></div></dd><!-- ENDIF -->
this
33.png
to this
44.png
Before any one shouts yes it should be done with css i know but as stated quick fix ans the ext still needs a little work.
You do not have the required permissions to view the files attached to this post.
Last edited by martin on 27 Oct 2015, 02:23, edited 1 time in total.
Image

User avatar

Topic Author
dmzx Online
Founder
Founder
Posts: 6429
Joined: 13 Jan 2014, 21:45

Re: Partner Page

Post by dmzx »

First post updated

User avatar

martin Online
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12

Re: Partner Page

Post by martin »

Just a few logo's and headbar images.

(oz image does show but linux wont allow it)
logos.png
userlogo.zip
You do not have the required permissions to view the files attached to this post.
Image

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01

Re: Partner Page

Post by Sniper_E »

I get those images straight from the sites I'm adding in my Partners page. But thanks anyways :tumbsyes: .

And I use bg_header.gif now. I converted those .jpg images over to .gif
Last edited by Sniper_E on 28 Oct 2015, 21:51, edited 1 time in total.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

User avatar

martin Online
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12

Re: Partner Page

Post by martin »

It's ok to grab the image url and use that but if the site goes offline ??

Myself i would rather host the said images just to keep things tidy looking.
Image

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01

Re: Partner Page

Post by Sniper_E »

That is an excellent idea. You have changed my mind. I'm set now...
partner_img.gif
And that works even better because I had to adjust the height of spaceace's bg_header image for it to look right.
I would not be able to do that by linking to his image. I don't care what dmzx says about you... You are a genius.

It looks like you need to extend the height on my bg_header image for the bar to show across the bottom.
And it looks like dm needs to shorten the height on my bg_header image.

Are you two using different padding? Why would they look different? I put my site in at my place and it looks right.
I use padding: 10px; in the .partners-logo class and max-height: 68px; in the img.partners-logo-img class.
You do not have the required permissions to view the files attached to this post.
Last edited by Sniper_E on 29 Oct 2015, 06:46, edited 1 time in total.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

User avatar

martin Online
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12

Re: Partner Page

Post by martin »

Not that it really matters but if you update the ext and for some reason you forget and delete this version you just lost all images as your storing them within an ext (your choice) i'm using this path so the images stay ./images/userlogo/ed.png of course the path needs to be made just a safer way to store/keep the images i think.

:yikes: what does dm say about me ?? did he tell you i have to baby sit him too :rolling:

Same as me

Code: Select all

img.partners-logo-img {
   max-width: 500px;
   max-height: 68px;
}

.icon-partners   {
   background-image: url("./images/icon_partners.gif");
}

.buttons div.partners-icon {
   width: 96px;
   height: 25px;
}

.partners-title {
   font-family: Verdana;
   font-size: 1.4em;
   font-weight: bold;
}

.partners-logo {
   text-align: center;
   background-color: #1464B1;
   padding: 10px;
   border: 1px solid #000000;
   box-shadow: 1px 1px 1px #000;
   -webkit-border-radius: 6px;
   -o-border-radius: 6px;
   -moz-border-radius: 6px;
   border-radius: 6px;
}
Last edited by martin on 29 Oct 2015, 09:53, edited 1 time in total.
Image

User avatar

Topic Author
dmzx Online
Founder
Founder
Posts: 6429
Joined: 13 Jan 2014, 21:45

Re: Partner Page

Post by dmzx »

Tell what :question: :wtf:

User avatar

nelflucifer
Users
Users
Posts: 70
Joined: 03 Jan 2016, 12:24

Re: Partner Page

Post by nelflucifer »

ru.zip
You do not have the required permissions to view the files attached to this post.
Image
Learn to read people's thoughts, not forgetting about their.
The extension translate from English to Russian...
English Forums
Available 251 extension with translation into Russian language...

User avatar

Zockgeier
Users
Users
Posts: 5
Joined: 09 Feb 2016, 21:43

Re: Partner Page

Post by Zockgeier »

ThX for Extension. :thumbup:

I translated it to German language.
partner_de.zip
You do not have the required permissions to view the files attached to this post.
Best regards
Zockgeier

User avatar

Superl
Users
Users
Posts: 43
Joined: 04 Dec 2015, 00:19

Re: Partner Page

Post by Superl »

Love it thank you the only thing missing for me is to control the order of the partners. wish we could order them in the acp. For now the newest one will be the first one displaying when it should be the other way around.

Edit: Now I see that they are sorted alphabetically, but still be able to order them would be great

User avatar

Topic Author
dmzx Online
Founder
Founder
Posts: 6429
Joined: 13 Jan 2014, 21:45

Re: Partner Page

Post by dmzx »

First post updated

Post Reply