MyBB Community Forums

Full Version: OUGC Awards
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
Hi, great plugin, just one problem. Whenever I click the award to go to the awards.php page, I get a 404 error.
Is the awards.php file (correctly) uploaded? You need to check that via FTP.
Great plugin but how can I make the awards appear in multiple rows instead of stretching the postbit margins?
Read the five posts before yours.
(2013-05-03, 09:00 PM)Omar G. Wrote: [ -> ]Read the five posts before yours.
I found this in postbit_ougc_awards:
{$br}<a href="{$mybb->settings['bburl']}/awards.php?view={$award['aid']}" title="{$award['name']}"><img src="{$award['image']}" alt="{$award['name']}" /></a>

...now, I know a little CSS but how can I alter this code to out put 3 rows max with 4 icons max per row? That's all I am asking? Cool

Also, did anyone notice that in the ACP, when you VIEW USERS and try to go to the next page of a long list of users...there are no users listed! It's not a huge issue but I am unable to edit awards already issued to users on and after page 2.
(2013-05-04, 10:39 AM)RocketFoot Wrote: [ -> ]...now, I know a little CSS but how can I alter this code to out put 3 rows max with 4 icons max per row? That's all I am asking? Cool

You may want to add <ul> around all awards and <li> around every award. Then set li width to 25% and float it left.
(2013-05-04, 03:19 PM)Destroy666 Wrote: [ -> ]
(2013-05-04, 10:39 AM)RocketFoot Wrote: [ -> ]...now, I know a little CSS but how can I alter this code to out put 3 rows max with 4 icons max per row? That's all I am asking? Cool

You may want to add <ul> around all awards and <li> around every award. Then set li width to 25% and float it left.

Problem is, the code I posted above is what generates the list of award images...I need to break that down into a table or something so it limits the output to 4 rows and 4 columns.
RF - send me a login etc and I will have a look.
I think you need to remove the {$br} variable first then wrap the variable in postfix/_classic with a div, apply some CSS to that div and it should be possible.

I recall already telling this to an user some posts before. I will be checking the pagination bug, next version everything will be fresh code so it will probably be fixed by then.
Thanks guys! Leefish has fixed me up! I just need to fine tune her code with some centering and I'll be golden!
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49